Home
last modified time | relevance | path

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

1234567

/external/clang/lib/Sema/
DSemaDeclAttr.cpp171 static unsigned getNumAttributeArgs(const AttributeList &Attr) { in getNumAttributeArgs() argument
173 return Attr.getNumArgs() + Attr.hasParsedType(); in getNumAttributeArgs()
177 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr, in checkAttributeNumArgsImpl() argument
180 if (Comp(getNumAttributeArgs(Attr), Num)) { in checkAttributeNumArgsImpl()
181 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num; in checkAttributeNumArgsImpl()
190 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs() argument
192 return checkAttributeNumArgsImpl(S, Attr, Num, in checkAttributeNumArgs()
199 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs() argument
201 return checkAttributeNumArgsImpl(S, Attr, Num, in checkAttributeAtLeastNumArgs()
208 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtMostNumArgs() argument
[all …]
/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.cpp60 GetFlattenedSpellings(const Record &Attr) { in GetFlattenedSpellings() argument
61 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); in GetFlattenedSpellings()
140 for (const auto *Attr : Attrs) { in getParsedAttrList() local
141 if (Attr->getValueAsBit("SemaHandler")) { in getParsedAttrList()
143 if (Attr->isSubClassOf("TargetSpecificAttr") && in getParsedAttrList()
144 !Attr->isValueUnset("ParseKind")) { in getParsedAttrList()
145 AN = Attr->getValueAsString("ParseKind"); in getParsedAttrList()
151 Dupes->push_back(std::make_pair(AN, Attr)); in getParsedAttrList()
156 AN = NormalizeAttrName(Attr->getName()).str(); in getParsedAttrList()
158 R.push_back(std::make_pair(AN, Attr)); in getParsedAttrList()
[all …]
/external/skia/include/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;
83 const Attr* fAttr;
84 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/clang/include/clang/AST/
DAttr.h44 class Attr {
78 Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex, in Attr() function
108 Attr *clone(ASTContext &C) const;
121 class InheritableAttr : public Attr {
125 : Attr(AK, R, SpellingListIndex, IsLateParsed, DuplicatesAllowed) {} in InheritableAttr()
131 static bool classof(const Attr *A) { in classof()
145 static bool classof(const Attr *A) { in classof()
155 const Attr *At) {
162 const Attr *At) {
/external/llvm/lib/Support/
DARMBuildAttrs.cpp17 ARMBuildAttrs::AttrType Attr; member
73 StringRef AttrTypeAsString(unsigned Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
74 return AttrTypeAsString(static_cast<AttrType>(Attr), HasTagPrefix); in AttrTypeAsString()
77 StringRef AttrTypeAsString(AttrType Attr, bool HasTagPrefix) { in AttrTypeAsString() argument
80 if (ARMAttributeTags[TI].Attr == Attr) in AttrTypeAsString()
90 return ARMAttributeTags[TI].Attr; in AttrTypeFromString()
DThreading.cpp47 pthread_attr_t Attr; in llvm_execute_on_thread() local
51 if (::pthread_attr_init(&Attr) != 0) in llvm_execute_on_thread()
56 if (::pthread_attr_setstacksize(&Attr, RequestedStackSize) != 0) in llvm_execute_on_thread()
61 if (::pthread_create(&Thread, &Attr, ExecuteOnThread_Dispatch, &Info) != 0) in llvm_execute_on_thread()
68 ::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()
DUnImplNode.java26 import org.w3c.dom.Attr;
290 public Attr removeAttributeNode(Attr oldAttr) throws DOMException in removeAttributeNode()
307 public Attr setAttributeNode(Attr newAttr) throws DOMException in setAttributeNode()
356 public Attr getAttributeNode(String name) in getAttributeNode()
443 public Attr setAttributeNodeNS(Attr newAttr) throws DOMException in setAttributeNodeNS()
459 public Attr getAttributeNodeNS(String namespaceURI, String localName) in getAttributeNodeNS()
913 public Attr createAttribute(String name) throws DOMException in createAttribute()
989 public Attr createAttributeNS(String namespaceURI, String qualifiedName) in createAttributeNS()
1927 public void setIdAttributeNode(Attr at, boolean makeId) { in setIdAttributeNode()
/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()
DDWARFDebugInfoEntry.cpp60 dumpAttribute(OS, u, &offset, AttrSpec.Attr, AttrSpec.Form, indent); in dump()
235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue() argument
239 uint32_t AttrIdx = AbbrevDecl->findAttributeIndex(Attr); in getAttributeValue()
260 const DWARFUnit *U, const uint16_t Attr, const char *FailValue) const { in getAttributeValueAsString() argument
262 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsString()
269 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsAddress() argument
271 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsAddress()
278 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsUnsignedConstant() argument
280 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsUnsignedConstant()
287 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsReference() argument
[all …]
/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
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/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 …]
Djingleinfotask.cc46 if (stanza->Attr(QN_TYPE) != STR_RESULT) in HandleStanza()
74 Jid from(stanza->Attr(QN_FROM)); in HandleStanza()
99 std::string host = server->Attr(QN_JINGLE_INFO_HOST); in ProcessStart()
100 std::string port = server->Attr(QN_JINGLE_INFO_UDP); in ProcessStart()
112 std::string host = server->Attr(QN_JINGLE_INFO_HOST); in ProcessStart()
Dmucroomdiscoverytask.cc39 const std::string name(identity->Attr(QN_NAME)); in HandleResult()
51 features.insert(feature->Attr(QN_VAR)); in HandleResult()
58 const std::string key(field->Attr(QN_VAR)); in HandleResult()
59 extended_info[key] = field->Attr(QN_XDATA_VALUE); in HandleResult()
Dxmpptask.cc109 result->AddAttr(QN_TO, query->Attr(QN_FROM)); in MakeIqResult()
111 result->AddAttr(QN_ID, query->Attr(QN_ID)); in MakeIqResult()
121 if (stanza->Attr(QN_ID) != id) in MatchResponseIq()
129 Jid from(stanza->Attr(QN_FROM)); in MatchStanzaFrom()
149 if (stanza->Attr(QN_TYPE) != type) in MatchRequestIq()
/external/llvm/lib/IR/
DAttributes.cpp484 for (Attribute Attr : SortedAttrs) in get() local
485 Attr.Profile(ID); in get()
582 Attribute Attr = *II; in Raw() local
585 if (Attr.isStringAttribute()) continue; in Raw()
587 Attribute::AttrKind Kind = Attr.getKindAsEnum(); in Raw()
693 Attribute Attr; in get() local
696 Attr = Attribute::getWithAlignment(C, B.getAlignment()); in get()
699 Attr = Attribute::getWithStackAlignment(C, B.getStackAlignment()); in get()
702 Attr = Attribute::getWithDereferenceableBytes( in get()
706 Attr = Attribute::getWithDereferenceableOrNullBytes( in get()
[all …]
/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/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'

1234567