Home
last modified time | relevance | path

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

1234567

/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()
DNamedDeclPrinterTest.cpp102 namedDecl(hasName(DeclName)).bind("id"), in PrintedNamedDeclCXX98Matches()
114 namedDecl(hasName(DeclName)).bind("id"), in PrintedWrittenNamedDeclCXX11Matches()
/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/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()
DValue.cpp195 if (!hasName()) in getName()
206 if (NewName.isTriviallyEmpty() && !hasName()) in setNameImpl()
244 if (hasName()) { in setNameImpl()
266 if (hasName()) { in takeName()
271 if (V->hasName()) V->setName(""); in takeName()
284 if (!V->hasName()) return; in takeName()
/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/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/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/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()
DCloneFunction.cpp39 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBasicBlock()
47 if (II->hasName()) in CloneBasicBlock()
225 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBlock()
241 if (II->hasName()) in CloneBlock()
293 if (OldTI->hasName()) in CloneBlock()
/external/v8/tools/clang/value_cleanup/
DListValueRewriter.cpp351 callee(cxxMethodDecl(hasName("::base::ListValue::Append"))), in RegisterMatchers()
364 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
383 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
402 hasDeclaration(cxxMethodDecl(hasName( in RegisterMatchers()
422 hasName("::base::StringValue::StringValue"))), in RegisterMatchers()
429 hasName("release"), in RegisterMatchers()
430 ofClass(cxxRecordDecl(hasName("::std::unique_ptr"))))), in RegisterMatchers()
/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/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp48 auto is_bind_call = callee(namedDecl(hasName("::base::Bind"))); in GetMatcher()
52 cxxMemberCallExpr(thisPointerType(namedDecl(hasName("scoped_refptr"))), in GetMatcher()
53 callee(namedDecl(hasName("get")))); in GetMatcher()
/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/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp336 MemI->hasName() ? MemI->getName() + ".phi" : "", in runOnLoop()
356 MemI->hasName() ? MemI->getName() + ".inc" : "", InsPoint); in runOnLoop()
369 PtrInc->hasName() ? PtrInc->getName() + ".cast" : "", InsPoint); in runOnLoop()
405 I->Instr->hasName() ? I->Instr->getName() + ".off" : "", PtrIP); in runOnLoop()
418 Ptr->hasName() ? Ptr->getName() + ".cast" : ""); in runOnLoop()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/javadoc/
DJavadocBlockTag.java68 boolean hasName() { in hasName() method in JavadocBlockTag.Type
91 if (type.hasName()) { in JavadocBlockTag()

1234567