Home
last modified time | relevance | path

Searched refs:Attr (Results 1 – 25 of 210) sorted by relevance

123456789

/external/clang/lib/Sema/
DSemaDeclAttr.cpp175 static unsigned getNumAttributeArgs(const AttributeList &Attr) { in getNumAttributeArgs() argument
177 return Attr.getNumArgs() + Attr.hasParsedType(); in getNumAttributeArgs()
181 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr, in checkAttributeNumArgsImpl() argument
184 if (Comp(getNumAttributeArgs(Attr), Num)) { in checkAttributeNumArgsImpl()
185 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num; in checkAttributeNumArgsImpl()
194 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs() argument
196 return checkAttributeNumArgsImpl(S, Attr, Num, in checkAttributeNumArgs()
203 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs() argument
205 return checkAttributeNumArgsImpl(S, Attr, Num, in checkAttributeAtLeastNumArgs()
212 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtMostNumArgs() argument
[all …]
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp34 bool hasUnknownAttr(AliasAttrs Attr) { return Attr.test(AttrUnknownIndex); } in hasUnknownAttr() argument
37 bool hasCallerAttr(AliasAttrs Attr) { return Attr.test(AttrCaller); } in hasCallerAttr() argument
38 bool hasUnknownOrCallerAttr(AliasAttrs Attr) { in hasUnknownOrCallerAttr() argument
39 return Attr.test(AttrUnknownIndex) || Attr.test(AttrCallerIndex); in hasUnknownOrCallerAttr()
43 bool hasEscapedAttr(AliasAttrs Attr) { return Attr.test(AttrEscapedIndex); } in hasEscapedAttr() argument
66 bool isGlobalOrArgAttr(AliasAttrs Attr) { in isGlobalOrArgAttr() argument
67 return Attr.reset(AttrEscapedIndex) in isGlobalOrArgAttr()
73 AliasAttrs getExternallyVisibleAttrs(AliasAttrs Attr) { in getExternallyVisibleAttrs() argument
74 return Attr & AliasAttrs(ExternalAttrMask); in getExternallyVisibleAttrs()
102 return InstantiatedAttr{*Value, EAttr.Attr}; in instantiateExternalAttribute()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp68 } else if (AttributedTypeLoc Attr = TL.getAs<AttributedTypeLoc>()) { in lookForAttribute() local
69 if (handleAttr(Attr, D)) in lookForAttribute()
71 TL = Attr.getModifiedLoc(); in lookForAttribute()
113 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs.back(); in handleAttr() local
115 Attr.Kind = Kind; in handleAttr()
116 Attr.Loc = Loc; in handleAttr()
117 Attr.ModifiedType = TL.getModifiedLoc().getType(); in handleAttr()
118 Attr.Dcl = D; in handleAttr()
119 Attr.FullyMigratable = FullyMigratable; in handleAttr()
186 MigrationContext::GCAttrOccurrence &Attr = MigrateCtx.GCAttrs[i]; in errorForGCAttrsOnNonObjC() local
[all …]
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp73 GetFlattenedSpellings(const Record &Attr) { in GetFlattenedSpellings() argument
74 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); in GetFlattenedSpellings()
157 for (const auto *Attr : Attrs) { in getParsedAttrList() local
158 if (Attr->getValueAsBit("SemaHandler")) { in getParsedAttrList()
160 if (Attr->isSubClassOf("TargetSpecificAttr") && in getParsedAttrList()
161 !Attr->isValueUnset("ParseKind")) { in getParsedAttrList()
162 AN = Attr->getValueAsString("ParseKind"); in getParsedAttrList()
168 Dupes->push_back(std::make_pair(AN, Attr)); in getParsedAttrList()
173 AN = NormalizeAttrName(Attr->getName()).str(); in getParsedAttrList()
175 R.push_back(std::make_pair(AN, Attr)); in getParsedAttrList()
[all …]
/external/clang/include/clang/AST/
DAttr.h45 class Attr {
79 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in Attr() function
109 Attr *clone(ASTContext &C) const;
122 class StmtAttr : public Attr {
126 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {} in StmtAttr()
129 static bool classof(const Attr *A) { in classof()
135 class InheritableAttr : public Attr {
139 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {} in InheritableAttr()
145 static bool classof(const Attr *A) { in classof()
160 static bool classof(const Attr *A) { in classof()
[all …]
DASTMutationListener.h17 class Attr; variable
117 const Attr *Attr) {} in DeclarationMarkedOpenMPDeclareTarget() argument
131 virtual void AddedAttributeToRecord(const Attr *Attr, in AddedAttributeToRecord() argument
/external/skia/src/xml/
DSkDOM.h29 typedef SkDOMAttr Attr; typedef
52 const Attr* getFirstAttr(const Node*) const;
53 const Attr* getNextAttr(const Node*, const Attr*) const;
54 const char* getAttrName(const Node*, const Attr*) const;
55 const char* getAttrValue(const Node*, const Attr*) const;
82 const Attr* fAttr;
83 const Attr* fStop;
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h131 AttributeSet Attr = in getVoidRetI8XEntryPoint() local
136 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getVoidRetI8XEntryPoint()
149 AttributeSet Attr = AttributeSet(); variable
152 Attr = Attr.addAttribute(C, AttributeSet::FunctionIndex,
155 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
168 AttributeSet Attr = in getI8XRetI8XXI8XEntryPoint() local
171 Attr = Attr.addAttribute(C, 1, Attribute::NoCapture); in getI8XRetI8XXI8XEntryPoint()
176 return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr); in getI8XRetI8XXI8XEntryPoint()
/external/llvm/lib/Support/
DARMBuildAttrs.cpp17 ARMBuildAttrs::AttrType Attr; member
74 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
75 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix); in AttrTypeAsString()
78 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
81 if (ARMAttributeTags[TI].Attr == Attr) in AttrTypeAsString()
91 return ARMAttributeTags[TI].Attr; in AttrTypeFromString()
DThreading.cpp48 pthread_attr_t Attr; in llvm_execute_on_thread() local
52 if (::pthread_attr_init(&Attr) != 0) in llvm_execute_on_thread()
57 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0) in llvm_execute_on_thread()
62 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) in llvm_execute_on_thread()
69 ::pthread_attr_destroy(&Attr); in llvm_execute_on_thread()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DAttList.java23 import org.w3c.dom.Attr;
107 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index))); in getURI()
123 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index))); in getLocalName()
136 return ((Attr) m_attrs.item(i)).getName(); in getQName()
162 return ((Attr) m_attrs.item(i)).getValue(); in getValue()
203 Attr attr = ((Attr) m_attrs.getNamedItem(name)); in getValue()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DAttList.java23 import org.w3c.dom.Attr;
98 String ns = m_dh.getNamespaceOfNode(((Attr) m_attrs.item(index))); in getURI()
114 return m_dh.getLocalNameOfNode(((Attr) m_attrs.item(index))); in getLocalName()
127 return ((Attr) m_attrs.item(i)).getName(); in getQName()
153 return ((Attr) m_attrs.item(i)).getValue(); in getValue()
194 Attr attr = ((Attr) m_attrs.getNamedItem(name)); in getValue()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFAbbreviationDeclaration.cpp41 uint16_t Attr = Data.getULEB128(OffsetPtr); in extract() local
52 if (Attr == 0 && Form == 0) in extract()
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form)); in extract()
74 const char *attrString = AttributeString(Spec.Attr); in dump()
78 OS << format("DW_AT_Unknown_%x", Spec.Attr); in dump()
93 if (AttributeSpecs[i].Attr == attr) in findAttributeIndex()
/external/clang/include/clang/Sema/
DCMakeLists.txt3 SOURCE ../Basic/Attr.td
8 SOURCE ../Basic/Attr.td
13 SOURCE ../Basic/Attr.td
18 SOURCE ../Basic/Attr.td
23 SOURCE ../Basic/Attr.td
/external/webrtc/webrtc/libjingle/xmpp/
Dpresencereceivetask.cc37 Jid from(stanza->Attr(QN_FROM)); in ProcessStart()
57 if (stanza->Attr(QN_TYPE) == STR_ERROR) { in HandlePresence()
70 if (stanza->Attr(QN_TYPE) == STR_UNAVAILABLE) { in DecodeStatus()
116 std::string node = caps->Attr(QN_NODE); in DecodeStatus()
117 std::string ver = caps->Attr(QN_VER); in DecodeStatus()
118 std::string exts = caps->Attr(QN_EXT); in DecodeStatus()
130 std::string stamp = delay->Attr(kQnStamp); in DecodeStatus()
Dxmpplogintask.cc276 if (element->Name() != QN_IQ || element->Attr(QN_ID) != iqId_ || in Advance()
277 element->Attr(QN_TYPE) == "get" || element->Attr(QN_TYPE) == "set") in Advance()
280 if (element->Attr(QN_TYPE) != "result" || element->FirstElement() == NULL || in Advance()
305 if (element->Name() != QN_IQ || element->Attr(QN_ID) != iqId_ || in Advance()
306 element->Attr(QN_TYPE) == "get" || element->Attr(QN_TYPE) == "set") in Advance()
309 if (element->Attr(QN_TYPE) != "result") in Advance()
330 if (element->Attr(QN_XMLNS) != "jabber:client") in HandleStartStream()
333 if (element->Attr(QN_VERSION) != "1.0") in HandleStartStream()
339 streamId_ = element->Attr(QN_ID); in HandleStartStream()
Drostermoduleimpl.cc137 return Jid(raw_xml_->Attr(QN_FROM)); in jid()
145 if (raw_xml_->Attr(QN_TYPE) == "unavailable") in available()
147 else if (raw_xml_->Attr(QN_TYPE) == "error") in available()
281 std::string status = con->Attr(QN_ATTR_STATUS); in connection_status()
304 return muc_user_item->Attr(QN_GOOGLE_USER_ID); in google_user_id()
374 return Jid(raw_xml_->Attr(QN_JID)); in jid()
393 return raw_xml_->Attr(QN_NAME); in name()
416 if (StringToSubscriptionState(raw_xml_->Attr(QN_SUBSCRIPTION), in subscription_state()
417 raw_xml_->Attr(QN_ASK), in subscription_state()
606 (element->Attr(QN_TYPE) == STR_EMPTY || in BroadcastPresence()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DThreading.cpp49 pthread_attr_t Attr; in llvm_execute_on_thread() local
53 if (::pthread_attr_init(&Attr) != 0) in llvm_execute_on_thread()
58 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0) in llvm_execute_on_thread()
63 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) in llvm_execute_on_thread()
70 ::pthread_attr_destroy(&Attr); in llvm_execute_on_thread()
/external/llvm/include/llvm/DebugInfo/DWARF/
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,
DDWARFAbbreviationDeclaration.h23 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} in AttributeSpec()
24 uint16_t Attr; member
/external/abi-compliance-checker/modules/Internals/
DXmlDump.pm84 foreach my $Attr ("Name", "Type", "Size",
87 if(defined $TInfo{$Attr}) {
88 $ABI_DUMP .= addTag(lc($Attr), $TInfo{$Attr});
229 foreach my $Attr ("MnglName", "ShortName", "Class",
232 if(defined $SInfo{$Attr})
234 my $Tag = $Attr;
235 if($TR{$Attr}) {
236 $Tag = $TR{$Attr};
238 $ABI_DUMP .= addTag(lc($Tag), $SInfo{$Attr});
558 foreach my $Attr ("Name", "Type", "Size",
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DThreading.cpp82 pthread_attr_t Attr; in llvm_execute_on_thread() local
86 if (::pthread_attr_init(&Attr) != 0) in llvm_execute_on_thread()
91 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0) in llvm_execute_on_thread()
96 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) in llvm_execute_on_thread()
103 ::pthread_attr_destroy(&Attr); in llvm_execute_on_thread()
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXML.output2 Attr: version='1.0'
14 Attr: attr="val'ue"
15 Attr: attr2='val"ue'
29 Attr: cursor='11'
/external/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVFunction.cpp63 auto Attr = static_cast<SPIRVFuncParamAttrKind>( in foreachAttr() local
65 assert(isValid(Attr)); in foreachAttr()
66 Func(Attr); in foreachAttr()
163 auto Attr = static_cast<SPIRVFuncParamAttrKind>( in foreachReturnValueAttr() local
165 assert(isValid(Attr)); in foreachReturnValueAttr()
166 Func(Attr); in foreachReturnValueAttr()
/external/abi-dumper/
Dabi-dumper.pl1390 my $Attr = $1;
1402 if($Attr eq "import")
1420 if($Attr eq "data_member_location")
1428 if($Attr eq "sibling")
1435 elsif($Attr eq "Type")
1448 elsif(defined $SkipAttr{$Attr})
1470 elsif($Attr eq "name")
1476 elsif(index($Attr, "linkage_name")!=-1)
1480 $Attr = "linkage_name";
1483 elsif(index($Attr, "location")!=-1)
[all …]

123456789