Searched refs:Attr (Results 1 - 25 of 267) sorted by relevance

1234567891011

/external/clang/lib/AST/
H A DAttrImpl.cpp10 // This file contains out-of-line virtual methods for Attr classes.
14 #include "clang/AST/Attr.h"
21 Attr::~Attr() { }
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DAttr.cpp24 #include "core/dom/Attr.h"
40 Attr::Attr(Element& element, const QualifiedName& name) function in class:blink::Attr
48 Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& standaloneValue) function in class:blink::Attr
57 PassRefPtrWillBeRawPtr<Attr> Attr::create(Element& element, const QualifiedName& name)
59 RefPtrWillBeRawPtr<Attr> attr = adoptRefWillBeNoop(new Attr(element, name));
64 PassRefPtrWillBeRawPtr<Attr> Att
[all...]
H A DAttr.h33 // Attr can have Text children
39 class Attr FINAL : public ContainerNode {
42 static PassRefPtrWillBeRawPtr<Attr> create(Element&, const QualifiedName&);
43 static PassRefPtrWillBeRawPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
44 virtual ~Attr();
68 Attr(Element&, const QualifiedName&);
69 Attr(Document&, const QualifiedName&, const AtomicString& value);
91 // Attr wraps either an element/name, or a name/value pair (when it's a standalone Node.)
103 DEFINE_NODE_TYPE_CASTS(Attr, isAttributeNode());
H A DElementRareData.cpp52 WillBeHeapVector<RefPtrWillBeMember<Attr> >& ElementRareData::ensureAttrNodeList()
55 m_attrNodeList = adoptPtrWillBeNoop(new WillBeHeapVector<RefPtrWillBeMember<Attr> >());
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp146 static unsigned getNumAttributeArgs(const AttributeList &Attr) { argument
148 return Attr.getNumArgs() + Attr.hasParsedType();
153 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, argument
155 if (getNumAttributeArgs(Attr) != Num) {
156 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
157 << Attr.getName() << Num;
166 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, argument
168 if (getNumAttributeArgs(Attr) < Num) {
169 S.Diag(Attr
179 checkUInt32Argument(Sema &S, const AttributeList &Attr, const Expr *Expr, uint32_t &Val, unsigned Idx = UINT_MAX) argument
202 checkAttrMutualExclusion(Sema &S, Decl *D, const AttributeList &Attr) argument
216 checkFunctionOrMethodParameterIndex(Sema &S, const Decl *D, const AttributeList &Attr, unsigned AttrArgNum, const Expr *IdxExpr, uint64_t &Idx) argument
264 checkStringLiteralArgumentAttr(const AttributeList &Attr, unsigned ArgNum, StringRef &Str, SourceLocation *ArgLocation) argument
299 handleSimpleAttribute(Sema &S, Decl *D, const AttributeList &Attr) argument
331 threadSafetyCheckIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) argument
453 checkAttrArgsAreCapabilityObjs(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args, int Sidx = 0, bool ParamIdxOk = false) argument
535 handlePtGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
545 checkGuardedByAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, Expr* &Arg) argument
560 handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
569 handlePtGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
583 checkAcquireOrderAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
608 handleAcquiredAfterAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
621 handleAcquiredBeforeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
634 checkLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
644 handleAssertSharedLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
657 handleAssertExclusiveLockAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
672 checkTryLockFunAttrCommon(Sema &S, Decl *D, const AttributeList &Attr, SmallVectorImpl<Expr *> &Args) argument
690 handleSharedTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
703 handleExclusiveTrylockFunctionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
716 handleLockReturnedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
730 handleLocksExcludedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
748 handleEnableIfAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
776 handleConsumableAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
799 checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, const AttributeList &Attr) argument
817 handleCallableWhenAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
850 handleParamTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
890 handleReturnTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
941 handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
968 handleTestTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
996 handleExtVectorTypeAttr(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
1002 handlePackedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1022 checkIBOutletCommon(Sema &S, Decl *D, const AttributeList &Attr) argument
1048 handleIBOutlet(Sema &S, Decl *D, const AttributeList &Attr) argument
1057 handleIBOutletCollection(Sema &S, Decl *D, const AttributeList &Attr) argument
1118 attrNonNullArgCheck(Sema &S, QualType T, const AttributeList &Attr, SourceRange R, bool isReturnValue = false) argument
1133 handleNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1178 handleNonNullAttrParameter(Sema &S, ParmVarDecl *D, const AttributeList &Attr) argument
1199 handleReturnsNonNullAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1310 handleWeakRefAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1374 handleAliasAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1390 handleColdAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1398 handleHotAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1406 handleTLSModelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1426 handleKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1436 handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1450 handleCommonAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1486 handleAnalyzerNoReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1509 handleVecReturnAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1564 handleDependencyAttr(Sema &S, Scope *Scope, Decl *D, const AttributeList &Attr) argument
1581 handleUsedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1598 handleConstructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1616 handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1635 handleAttrWithMessage(Sema &S, Decl *D, const AttributeList &Attr) argument
1653 handleObjCSuppresProtocolAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1848 handleAvailabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
1916 handleVisibilityAttr(Sema &S, Decl *D, const AttributeList &Attr, bool isTypeVisibility) argument
1969 handleObjCMethodFamilyAttr(Sema &S, Decl *decl, const AttributeList &Attr) argument
1999 handleObjCNSObject(Sema &S, Decl *D, const AttributeList &Attr) argument
2028 handleBlocksAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2048 handleSentinelAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2146 handleWarnUnusedResult(Sema &S, Decl *D, const AttributeList &Attr) argument
2165 handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2190 handleWorkGroupSize(Sema &S, Decl *D, const AttributeList &Attr) argument
2215 handleVecTypeHint(Sema &S, Decl *D, const AttributeList &Attr) argument
2260 handleSectionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2283 handleCleanupAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2348 handleFormatArgAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2420 handleInitPriorityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2482 handleFormatAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2605 handleTransparentUnionAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2674 handleAnnotateAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2692 handleAlignedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
2884 handleModeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3001 handleNoDebugAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3019 handleAlwaysInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3029 handleOptimizeNoneAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3039 handleGlobalAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3055 handleGNUInlineAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3067 handleCallConvAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3219 CheckRegparmAttr(const AttributeList &Attr, unsigned &numParams) argument
3253 handleLaunchBoundsAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3277 handleArgumentWithTypeTagAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3322 handleTypeTagForDatatypeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3372 handleNSConsumedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3400 handleNSReturnsRetainedAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3531 handleCFAuditedTransferAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3541 handleCFUnknownTransferAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3551 handleObjCBridgeAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
3565 handleObjCBridgeMutableAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
3579 handleObjCBridgeRelatedAttr(Sema &S, Scope *Sc, Decl *D, const AttributeList &Attr) argument
3597 handleObjCDesignatedInitializer(Sema &S, Decl *D, const AttributeList &Attr) argument
3610 handleObjCOwnershipAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3618 handleObjCPreciseLifetimeAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3663 handleUuidAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3708 handleMSInheritanceAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3722 handleDeclspecThreadAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3741 handleARMInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3770 handleMSP430InterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3806 handleInterruptAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3814 handleX86ForceAlignArgPointerAttr(Sema &S, Decl *D, const AttributeList& Attr) argument
3917 handleCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3941 handleAssertCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3948 handleAcquireCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3960 handleTryAcquireCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3974 handleReleaseCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
3985 handleRequiresCapabilityAttr(Sema &S, Decl *D, const AttributeList &Attr) argument
4006 handleCommonAttributeFeatures(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr) argument
4042 ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, const AttributeList &Attr, bool IncludeCXX11Attributes) argument
[all...]
/external/clang/lib/Basic/
H A DAttributes.cpp7 const IdentifierInfo *Attr, const llvm::Triple &T,
9 StringRef Name = Attr->getName();
6 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const llvm::Triple &T, const LangOptions &LangOpts) argument
/external/llvm/lib/DebugInfo/
H A DDWARFAbbreviationDeclaration.h26 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} argument
27 uint16_t Attr; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec
H A DDWARFAbbreviationDeclaration.cpp41 uint16_t Attr = Data.getULEB128(OffsetPtr); local
52 if (Attr == 0 && Form == 0)
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form));
74 const char *attrString = AttributeString(Spec.Attr);
78 OS << format("DW_AT_Unknown_%x", Spec.Attr);
93 if (AttributeSpecs[i].Attr == attr)
H A DDWARFDebugInfoEntry.h89 bool getAttributeValue(const DWARFUnit *U, const uint16_t Attr,
92 const char *getAttributeValueAsString(const DWARFUnit *U, const uint16_t Attr,
95 uint64_t getAttributeValueAsAddress(const DWARFUnit *U, const uint16_t Attr,
99 const uint16_t Attr,
102 uint64_t getAttributeValueAsReference(const DWARFUnit *U, const uint16_t Attr,
106 const uint16_t Attr,
/external/chromium_org/third_party/skia/include/xml/
H A DSkDOM.h26 typedef SkDOMAttr Attr; typedef in class:SkDOM
46 const Attr* getFirstAttr(const Node*) const;
47 const Attr* getNextAttr(const Node*, const Attr*) const;
48 const char* getAttrName(const Node*, const Attr*) const;
49 const char* getAttrValue(const Node*, const Attr*) const;
77 const Attr* fAttr;
78 const Attr* fStop;
/external/skia/include/xml/
H A DSkDOM.h26 typedef SkDOMAttr Attr; typedef in class:SkDOM
46 const Attr* getFirstAttr(const Node*) const;
47 const Attr* getNextAttr(const Node*, const Attr*) const;
48 const char* getAttrName(const Node*, const Attr*) const;
49 const char* getAttrValue(const Node*, const Attr*) const;
77 const Attr* fAttr;
78 const Attr* fStop;
/external/clang/include/clang/AST/
H A DAttr.h1 //===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
10 // This file defines the Attr interface and subclasses.
41 /// Attr - This represents one attribute.
42 class Attr { class in namespace:clang
49 /// attribute defined in Attr.td file.
55 virtual ~Attr();
76 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex = 0) function in class:clang::Attr
104 virtual Attr *clone(ASTContext &C) const = 0;
118 class InheritableAttr : public Attr {
122 : Attr(A
[all...]
/external/llvm/lib/Support/
H A DARMBuildAttrs.cpp17 ARMBuildAttrs::AttrType Attr; member in struct:__anon25899::__anon25900
73 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { argument
74 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix);
77 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { argument
80 if (ARMAttributeTags[TI].Attr == Attr)
90 return ARMAttributeTags[TI].Attr;
H A DThreading.cpp47 pthread_attr_t Attr; local
51 if (::pthread_attr_init(&Attr) != 0)
56 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0)
61 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0)
68 ::pthread_attr_destroy(&Attr);
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dsessionsendtask.h68 if (stanza->Attr(buzz::QN_TYPE) == "set") {
71 ASSERT((stanza->Attr(buzz::QN_TYPE) == "result") ||
72 (stanza->Attr(buzz::QN_TYPE) == "error"));
78 set_task_id(stanza_->Attr(buzz::QN_ID));
103 if (stanza_->Attr(buzz::QN_TYPE) == buzz::STR_SET) {
116 if (next->Attr(buzz::QN_TYPE) == buzz::STR_RESULT) {
128 buzz::Jid(stanza_->Attr(buzz::QN_TO)), task_id()))
130 if (stanza->Attr(buzz::QN_TYPE) == buzz::STR_RESULT ||
131 stanza->Attr(buzz::QN_TYPE) == buzz::STR_ERROR) {
/external/chromium_org/remoting/host/
H A Dhost_change_notification_listener.cc47 if (stanza->Name() != buzz::QN_IQ || stanza->Attr(buzz::QN_TYPE) != "set")
56 host_changed_element->Attr(QName(kChromotingXmlNamespace, "hostid"));
57 const std::string& from = stanza->Attr(buzz::QN_FROM);
58 const std::string& to = stanza->Attr(buzz::QN_TO);
62 host_changed_element->Attr(QName(kChromotingXmlNamespace, "operation"));
/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) {
69 if (handleAttr(Attr, D))
71 TL = Attr.getModifiedLoc();
113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); local
115 Attr.Kind = Kind;
116 Attr.Loc = Loc;
117 Attr.ModifiedType = TL.getModifiedLoc().getType();
118 Attr.Dcl = D;
119 Attr.FullyMigratable = FullyMigratable;
188 MigrationContext::GCAttrOccurrence &Attr local
204 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; local
340 GCAttrOccurrence &Attr = GCAttrs[i]; local
[all...]
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dmucroomdiscoverytask.cc56 const std::string name(identity->Attr(QN_NAME));
68 features.insert(feature->Attr(QN_VAR));
75 const std::string key(field->Attr(QN_VAR));
76 extended_info[key] = field->Attr(QN_XDATA_VALUE);
/external/clang/include/clang/Basic/
H A DAttributes.h36 const IdentifierInfo *Attr, const llvm::Triple &T,
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DAttList.java23 import org.w3c.dom.Attr;
107 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
123 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index)));
136 return ((Attr) m_attrs.item(i)).getName();
162 return ((Attr) m_attrs.item(i)).getValue();
203 Attr attr = ((Attr) m_attrs.getNamedItem(name));
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DAttList.java23 import org.w3c.dom.Attr;
98 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index)));
114 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index)));
127 return ((Attr) m_attrs.item(i)).getName();
153 return ((Attr) m_attrs.item(i)).getValue();
194 Attr attr = ((Attr) m_attrs.getNamedItem(name));
/external/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h133 AttributeSet Attr = local
138 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
151 AttributeSet Attr = AttributeSet(); local
154 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
157 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
170 AttributeSet Attr = local
173 Attr = Attr.addAttribute(C, 1, Attribute::NoCapture);
178 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
[all...]
/external/clang/include/clang/Sema/
H A DMakefile10 $(ObjDir)/AttrTemplateInstantiate.inc.tmp : $(TD_SRC_DIR)/Attr.td \
16 $(ObjDir)/AttrParsedAttrList.inc.tmp : $(TD_SRC_DIR)/Attr.td \
22 $(ObjDir)/AttrParsedAttrKinds.inc.tmp : $(TD_SRC_DIR)/Attr.td \
28 $(ObjDir)/AttrSpellingListIndex.inc.tmp : $(TD_SRC_DIR)/Attr.td \
34 $(ObjDir)/AttrParsedAttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td \
/external/clang/include/clang/Serialization/
H A DMakefile9 $(ObjDir)/AttrPCHRead.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
15 $(ObjDir)/AttrPCHWrite.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \
/external/clang/include/clang/Parse/
H A DMakefile9 $(ObjDir)/AttrParserStringSwitches.inc.tmp : $(TD_SRC_DIR)/Attr.td $(CLANG_TBLGEN) \

Completed in 1500 milliseconds

1234567891011