Home
last modified time | relevance | path

Searched refs:hasName (Results 1 – 25 of 244) sorted by relevance

12345678910

/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp29 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
32 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
35 recordDecl(hasName("T"))))))))); in TEST()
37 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
40 recordDecl(hasName("T"))))), in TEST()
43 callExpr(allOf(callee(functionDecl(hasName("f"))), in TEST()
46 recordDecl(hasName("T"))))), in TEST()
52 DeclarationMatcher HasClassX = recordDecl(has(recordDecl(hasName("X")))); in TEST()
57 recordDecl(hasName("Y"), has(recordDecl(hasName("X")))); in TEST()
68 has(recordDecl(hasName("X"))), in TEST()
[all …]
DASTMatchersTraversalTest.cpp24 cxxRecordDecl(hasMethod(hasName("func"))))); in TEST()
36 cxxRecordDecl(hasName("B"), isDerivedFrom(recordDecl())))); in TEST()
46 recordDecl(hasDeclContext(namespaceDecl(hasName("M")))))); in TEST()
53 recordDecl(hasDeclContext(namespaceDecl(hasName("N")))))); in TEST()
61 hasName("M"), hasDeclContext(namespaceDecl())))))); in TEST()
105 varDecl(hasName("i"), has(isInteger())))); in TEST()
107 varDecl(hasName("i"), has(isInteger())))); in TEST()
117 varDecl(hasName("i"), hasType(qualType(has(builtinType())))))); in TEST()
120 varDecl(hasName("i"), hasType(qualType(has(pointerType())))))); in TEST()
125 expr(hasType(pointsTo(recordDecl(hasName("X")))), in TEST()
[all …]
DASTMatchersNodeTest.cpp31 EXPECT_FALSE(Finder.addDynamicMatcher(hasName("x"), nullptr)); in TEST()
41 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST()
91 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST()
104 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); in TEST()
106 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); in TEST()
109 varDecl(hasName("MyVar2"), in TEST()
119 DeclarationMatcher ClassX = classTemplateDecl(hasName("X")); in TEST()
125 DeclarationMatcher ClassX = classTemplateDecl(hasName("X")); in TEST()
133 classTemplateDecl(hasName("X"), in TEST()
134 hasDescendant(fieldDecl(hasName("a")))))); in TEST()
[all …]
DASTMatchersInternalTest.cpp25 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST()
63 DeclarationMatcher HasClassB = just(has(recordDecl(hasName("B")).bind("b"))); in TEST()
86 polymorphicHas(recordDecl(hasName("B")).bind("b")); in TEST()
98 polymorphicHas(recordDecl(hasName("B"))); in TEST()
185 functionDecl(isInline(), hasName("f")))); in TEST()
187 namespaceDecl(isInline(), hasName("m")))); in TEST()
196 recordDecl(hasName("X"), isExpansionInMainFile()))); in TEST()
227 recordDecl(isExpansionInFileMatching("b.*"), hasName("B")), true, in TEST()
233 recordDecl(isExpansionInFileMatching("f.*"), hasName("X")), false, in TEST()
/external/clang/unittests/AST/
DDeclPrinterTest.cpp107 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
130 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
463 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
474 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
483 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
492 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
501 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
510 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
519 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
528 cxxConstructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
[all …]
DASTContextParentMapTest.cpp28 cxxMethodDecl(hasParent(recordDecl(hasName("C")))))); in TEST()
55 cxxMethodDecl(hasName("f"), in TEST()
60 cxxMethodDecl(hasName("f"), in TEST()
66 hasName("f"), in TEST()
DASTImporterTest.cpp229 declRefExpr(hasDeclaration(varDecl(hasName("ptr"))), in TEST()
243 has(labelStmt(hasDeclaration(labelDecl(hasName("loop"))))), in TEST()
244 has(addrLabelExpr(hasDeclaration(labelDecl(hasName("loop"))))) in TEST()
271 hasName("f"), in TEST()
301 hasName("C"), in TEST()
309 hasName("X"), in TEST()
/external/proguard/src/proguard/obfuscate/
DMemberNameFilter.java56 if (hasName(programField)) in visitProgramField()
65 if (hasName(programClass, programMethod)) in visitProgramMethod()
74 if (hasName(libraryField)) in visitLibraryField()
83 if (hasName(libraryClass, libraryMethod)) in visitLibraryMethod()
95 private boolean hasName(Clazz clazz) in hasName() method in MemberNameFilter
104 private boolean hasName(Clazz clazz, Method method) in hasName() method in MemberNameFilter
107 hasName(method) || in hasName()
108 (hasName(clazz) && in hasName()
116 private boolean hasName(Member member) in hasName() method in MemberNameFilter
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp299 recordDecl(anyOf(hasName("net::NetworkTrafficAnnotationTag"), in RunMatchers()
300 hasName("net::PartialNetworkTrafficAnnotationTag"))) in RunMatchers()
303 anyOf(hasName("net::NetworkTrafficAnnotationTag"), in RunMatchers()
304 hasName("net::PartialNetworkTrafficAnnotationTag"))))))); in RunMatchers()
307 anyOf(hasName("DefineNetworkTrafficAnnotation"), in RunMatchers()
308 hasName("net::DefineNetworkTrafficAnnotation")))), in RunMatchers()
316 hasName("DefinePartialNetworkTrafficAnnotation"), in RunMatchers()
317 hasName("net::DefinePartialNetworkTrafficAnnotation")))), in RunMatchers()
326 anyOf(hasName("CompleteNetworkTrafficAnnotation"), in RunMatchers()
327 hasName("net::CompleteNetworkTrafficAnnotation")))), in RunMatchers()
[all …]
/external/llvm/lib/IR/
DSymbolTableListTraitsImpl.h50 if (I->hasName()) in setSymTabObject()
57 if (I->hasName()) in setSymTabObject()
68 if (V->hasName()) in addNodeToList()
77 if (V->hasName()) in removeNodeFromList()
97 bool HasName = V.hasName(); in transferNodesFromList()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DSymbolTableListTraitsImpl.h50 if (I->hasName()) in setSymTabObject()
57 if (I->hasName()) in setSymTabObject()
68 if (V->hasName()) in addNodeToList()
77 if (V->hasName()) in removeNodeFromList()
96 bool HasName = V.hasName(); in transferNodesFromList()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DSymbolTableListTraitsImpl.h51 if (I->hasName()) in setSymTabObject()
59 if (I->hasName()) in setSymTabObject()
71 if (V->hasName()) in addNodeToList()
80 if (V->hasName()) in removeNodeFromList()
101 bool HasName = V.hasName(); in transferNodesFromList()
DValue.cpp165 if (NewName.isTriviallyEmpty() && !hasName()) in setName()
204 if (hasName()) { in setName()
224 if (hasName()) { in takeName()
229 if (V->hasName()) V->setName(""); in takeName()
243 if (!V->hasName()) return; in takeName()
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp27 if (!AI->hasName()) in ComputeNumbering()
32 if (!FI->hasName()) in ComputeNumbering()
38 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering()
49 if (V->hasName()) { in printValue()
113 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDiffConsumer.cpp28 if (!AI->hasName()) in ComputeNumbering()
33 if (!FI->hasName()) in ComputeNumbering()
39 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering()
48 if (V->hasName()) { in printValue()
108 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/
DDiffConsumer.cpp27 if (!AI->hasName()) in ComputeNumbering()
32 if (!FI->hasName()) in ComputeNumbering()
38 if (!BI->hasName() && !BI->getType()->isVoidTy()) in ComputeNumbering()
49 if (V->hasName()) { in printValue()
113 if (L->hasName() && R->hasName() && L->getName() == R->getName()) in header()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInstructionNamer.cpp36 if (!Arg.hasName()) in runOnFunction()
40 if (!BB.hasName()) in runOnFunction()
44 if (!I.hasName() && !I.getType()->isVoidTy()) in runOnFunction()
DNameAnonGlobals.cpp42 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
48 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
71 if (GV.hasName()) in nameUnamedGlobals()
/external/llvm/lib/Transforms/Utils/
DInstructionNamer.cpp37 if (!AI->hasName() && !AI->getType()->isVoidTy()) in runOnFunction()
41 if (!BB.hasName()) in runOnFunction()
45 if (!I.hasName() && !I.getType()->isVoidTy()) in runOnFunction()
DNameAnonFunctions.cpp39 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
45 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
67 if (F.hasName()) in nameUnamedFunctions()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DInstructionNamer.cpp37 if (!AI->hasName() && !AI->getType()->isVoidTy()) in runOnFunction()
41 if (!BB->hasName()) in runOnFunction()
45 if (!I->hasName() && !I->getType()->isVoidTy()) in runOnFunction()
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp68 auto is_passed = namedDecl(hasName("::base::Passed")); in GetMatcher()
69 auto is_bind_once_call = callee(namedDecl(hasName("::base::BindOnce"))); in GetMatcher()
151 classTemplateSpecializationDecl(hasName("::base::OnceCallback"))))); in GetMatcher()
154 hasName("::base::RepeatingCallback"))))); in GetMatcher()
157 callExpr(callee(namedDecl(hasName("::base::Bind")))).bind("target"); in GetMatcher()
199 namedDecl(hasName("::base::RepeatingCallback")); in GetMatcher()
250 namedDecl(hasName("::base::RepeatingCallback"))))), in GetMatcher()
600 classTemplateSpecializationDecl(hasName("::base::OnceCallback"))))); in GetMatcher()
603 hasName("::base::RepeatingCallback"))))); in GetMatcher()
607 callee(namedDecl(hasName("::base::AdaptCallbackForRepeating")))) in GetMatcher()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp329 functionDecl(anyOf(hasName("CheckEQImpl"), hasName("CheckNEImpl"))); in main()
332 hasName("::testing::internal::EqHelper")))), in main()
333 hasName("Compare")), in main()
334 hasName("::testing::internal::CmpHelperNE"))); in main()
337 isSameOrDerivedFrom(hasName("::testing::AssertionResult"))))); in main()
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkArchives.cpp49 if (I->hasName()) { in GetAllUndefinedSymbols()
61 if (I->hasName()) { in GetAllUndefinedSymbols()
73 if (I->hasName()) in GetAllUndefinedSymbols()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DEraRules.java69 boolean hasName = true; in getInstance()
86 hasName = false; in getInstance()
113 if (hasName) { in getInstance()

12345678910