/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_util.py | 12 from lib2to3.fixer_util import Attr, Name, Call, Comma 66 self.assertStr(Attr(Name("a"), Name("b")), "a.b") 67 self.assertStr(Attr(call, Name("b")), "foo().b") 70 attr = Attr(Name("a"), Name("b")) 71 self.assertEqual(type(attr), list)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_util.py | 12 from lib2to3.fixer_util import Attr, Name, Call, Comma 66 self.assertStr(Attr(Name("a"), Name("b")), "a.b") 67 self.assertStr(Attr(call, Name("b")), "foo().b") 70 attr = Attr(Name("a"), Name("b")) 71 self.assertEqual(type(attr), list)
|
/external/clang/lib/Index/ |
CommentToXML.cpp | 13 #include "clang/AST/Attr.h" 207 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); 208 Result << Attr.Name; 209 if (!Attr.Value.empty()) 210 Result << "=\"" << Attr.Value << "\""; [all...] |
/external/llvm/lib/IR/ |
Attributes.cpp | 484 for (Attribute Attr : SortedAttrs) 485 Attr.Profile(ID); 582 Attribute Attr = *II; 585 if (Attr.isStringAttribute()) continue; 587 Attribute::AttrKind Kind = Attr.getKindAsEnum(); 693 Attribute Attr; 696 Attr = Attribute::getWithAlignment(C, B.getAlignment()); 699 Attr = Attribute::getWithStackAlignment(C, B.getStackAlignment()); 702 Attr = Attribute::getWithDereferenceableBytes( 706 Attr = Attribute::getWithDereferenceableOrNullBytes [all...] |
AsmWriter.cpp | [all...] |
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 60 GetFlattenedSpellings(const Record &Attr) { 61 std::vector<Record *> Spellings = Attr.getValueAsListOfDefs("Spellings"); 137 std::vector<Record *> Attrs = Records.getAllDerivedDefinitions("Attr"); 140 for (const auto *Attr : Attrs) { 141 if (Attr->getValueAsBit("SemaHandler")) { 143 if (Attr->isSubClassOf("TargetSpecificAttr") && 144 !Attr->isValueUnset("ParseKind")) { 145 AN = Attr->getValueAsString("ParseKind"); 151 Dupes->push_back(std::make_pair(AN, Attr)); 156 AN = NormalizeAttrName(Attr->getName()).str() [all...] |
/external/llvm/lib/Analysis/ |
InlineCost.cpp | 119 bool paramHasAttr(Argument *A, Attribute::AttrKind Attr); 517 bool CallAnalyzer::paramHasAttr(Argument *A, Attribute::AttrKind Attr) { 519 return CandidateCS.paramHasAttr(ArgNo+1, Attr); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
BaseAccountType.java | 94 private interface Attr { [all...] |
/external/clang/include/clang/AST/ |
Comment.h | 489 const Attribute &Attr = Attrs.back(); 490 SourceLocation L = Attr.ValueRange.getEnd(); 494 Range.setEnd(Attr.getNameLocEnd());
|
/external/clang/lib/AST/ |
ASTDumper.cpp | 16 #include "clang/AST/Attr.h" 56 // Attr names (CleanupAttr, GuardedByAttr, etc) 232 void dumpAttr(const Attr *A); 804 void ASTDumper::dumpAttr(const Attr *A) { 810 #define ATTR(X) case attr::X: OS << #X; break; 815 OS << "Attr"; [all...] |
/external/clang/lib/Parse/ |
ParseDeclCXX.cpp | [all...] |
ParseExprCXX.cpp | [all...] |
ParseDecl.cpp | 520 const AttributeList *Attr = Attrs.getList(); 521 if (Attr && Attr->getMaxArgs() && !NumArgs) { [all...] |
/external/llvm/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 288 Attribute Attr = *I; 289 if (Attr.isEnumAttribute()) { 291 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 292 } else if (Attr.isIntAttribute()) { 294 Record.push_back(getAttrKindEncoding(Attr.getKindAsEnum())); 295 Record.push_back(Attr.getValueAsInt()); 297 StringRef Kind = Attr.getKindAsString(); 298 StringRef Val = Attr.getValueAsString(); [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/xml/dom/ |
minidom.py | 211 # Overridden in Element and Attr where localName can be Non-Null 335 class Attr(Node): 353 # Add the single child node that represents the value of the attr 452 defproperty(Attr, "isId", doc="True if this attribute is an ID.") 453 defproperty(Attr, "localName", doc="Namespace-local name of this attribute.") 454 defproperty(Attr, "schemaType", doc="Schema type for this attribute.") 533 node = Attr(attname) 538 if not isinstance(value, Attr): 539 raise TypeError, "value must be a string or Attr object" 580 if not isinstance(node, Attr) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/xml/dom/ |
minidom.py | 211 # Overridden in Element and Attr where localName can be Non-Null 335 class Attr(Node): 353 # Add the single child node that represents the value of the attr 452 defproperty(Attr, "isId", doc="True if this attribute is an ID.") 453 defproperty(Attr, "localName", doc="Namespace-local name of this attribute.") 454 defproperty(Attr, "schemaType", doc="Schema type for this attribute.") 533 node = Attr(attname) 538 if not isinstance(value, Attr): 539 raise TypeError, "value must be a string or Attr object" 580 if not isinstance(node, Attr) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
minidom.py | 211 # Overridden in Element and Attr where localName can be Non-Null 335 class Attr(Node): 353 # Add the single child node that represents the value of the attr 452 defproperty(Attr, "isId", doc="True if this attribute is an ID.") 453 defproperty(Attr, "localName", doc="Namespace-local name of this attribute.") 454 defproperty(Attr, "schemaType", doc="Schema type for this attribute.") 533 node = Attr(attname) 538 if not isinstance(value, Attr): 539 raise TypeError, "value must be a string or Attr object" 580 if not isinstance(node, Attr) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
minidom.py | 211 # Overridden in Element and Attr where localName can be Non-Null 335 class Attr(Node): 353 # Add the single child node that represents the value of the attr 452 defproperty(Attr, "isId", doc="True if this attribute is an ID.") 453 defproperty(Attr, "localName", doc="Namespace-local name of this attribute.") 454 defproperty(Attr, "schemaType", doc="Schema type for this attribute.") 533 node = Attr(attname) 538 if not isinstance(value, Attr): 539 raise TypeError, "value must be a string or Attr object" 580 if not isinstance(node, Attr) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
TargetLowering.cpp | [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonISelLowering.cpp | 598 auto Attr = 600 if (!CI->isTailCall() || Attr.getValueAsString() == "true") 686 auto Attr = MF.getFunction()->getFnAttribute("disable-tail-calls"); 687 if (Attr.getValueAsString() == "true") [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | 606 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) { 607 TLM = GetLLVMTLSModel(Attr->getModel()); [all...] |
/external/clang/lib/Sema/ |
SemaTemplate.cpp | [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | [all...] |