Home
last modified time | relevance | path

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

123

/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp22 DeclarationMatcher HasEmptyName = recordDecl(hasName("")); in TEST()
49 DeclarationMatcher NamedX = namedDecl(hasName("X")); in TEST()
93 DeclarationMatcher ClassX = recordDecl(recordDecl(hasName("X"))); in TEST()
118 recordDecl(hasName("Z"), isDerivedFrom("X")); in TEST()
249 varDecl(hasName("z_float"), in TEST()
253 varDecl(hasName("z_float"), in TEST()
257 varDecl(hasName("z_char"), in TEST()
274 varDecl(hasName("z_float"), in TEST()
278 varDecl(hasName("z_float"), in TEST()
282 varDecl(hasName("z_char"), in TEST()
[all …]
/external/clang/unittests/AST/
DDeclPrinterTest.cpp104 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX98Matches()
125 namedDecl(hasName(DeclName)).bind("id"), in PrintedDeclCXX11Matches()
386 functionDecl(hasName("A"), isExplicitTemplateSpecialization()).bind("id"), in TEST()
397 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
407 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
417 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
427 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
437 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
447 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
457 constructorDecl(ofClass(hasName("A"))).bind("id"), in TEST()
[all …]
/external/webkit/Source/WebCore/html/parser/
DXSSFilter.cpp68 static bool hasName(const HTMLToken& token, const QualifiedName& name) in hasName() function
240 if (hasName(token, scriptTag)) in filterTokenInitial()
242 else if (hasName(token, objectTag)) in filterTokenInitial()
244 else if (hasName(token, paramTag)) in filterTokenInitial()
246 else if (hasName(token, embedTag)) in filterTokenInitial()
248 else if (hasName(token, appletTag)) in filterTokenInitial()
250 else if (hasName(token, iframeTag)) in filterTokenInitial()
252 else if (hasName(token, metaTag)) in filterTokenInitial()
254 else if (hasName(token, baseTag)) in filterTokenInitial()
256 else if (hasName(token, formTag)) in filterTokenInitial()
[all …]
/external/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.cpp177 if (NewName.isTriviallyEmpty() && !hasName()) in setName()
216 if (hasName()) { in setName()
238 if (hasName()) { in takeName()
243 if (V->hasName()) V->setName(""); in takeName()
257 if (!V->hasName()) return; in takeName()
DAsmWriter.cpp458 if (!I->hasName()) in processModule()
474 if (!I->hasName()) in processModule()
488 if (!AI->hasName()) in processFunction()
498 if (!BB->hasName()) in processFunction()
503 if (!I->getType()->isVoidTy() && !I->hasName()) in processFunction()
578 assert(!V->hasName() && "Doesn't need a slot!"); in CreateModuleSlot()
593 assert(!V->getType()->isVoidTy() && !V->hasName() && "Doesn't need a slot!"); in CreateFunctionSlot()
1014 if (V->hasName()) { in WriteAsOperandInternal()
1123 V->hasName() || isa<GlobalValue>(V))) { in WriteAsOperand()
1450 if (!GA->hasName()) in printAlias()
[all …]
DValueSymbolTable.cpp37 assert(V->hasName() && "Can't insert nameless Value into symbol table"); in reinsertValue()
DTypeFinder.cpp100 if (!OnlyNamed || STy->hasName()) in incorporateType()
/external/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()
50 if (V->hasName()) { in printValue()
114 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()
DCloneFunction.cpp42 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBasicBlock()
50 if (II->hasName()) in CloneBasicBlock()
237 if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); in CloneBlock()
284 if (II->hasName()) in CloneBlock()
336 if (OldTI->hasName()) in CloneBlock()
DBasicBlockUtils.cpp164 if (!PredBB->hasName()) in MergeBlockIntoPredecessor()
203 if (I.hasName() && !V->hasName()) in ReplaceInstWithValue()
/external/llvm/lib/Linker/
DLinkArchives.cpp48 if (I->hasName()) { in GetAllUndefinedSymbols()
60 if (I->hasName()) { in GetAllUndefinedSymbols()
72 if (I->hasName()) in GetAllUndefinedSymbols()
DLinkModules.cpp228 if (!SrcSTy->hasName()) continue; in linkDefinedTypeBodies()
231 if (!DstSTy->hasName() || DstSTy->getName().size() > SrcName.size()) { in linkDefinedTypeBodies()
407 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()
611 if (!ST->hasName()) continue; in computeTypeMapping()
/external/llvm/unittests/VMCore/
DTypesTest.cpp27 EXPECT_FALSE(Struct->hasName()); in TEST()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp86 declRefExpr(to(varDecl(hasName("a"))))))))), in TEST()
/external/llvm/lib/Target/NVPTX/
DNVPTXUtilities.cpp202 assert(val.hasName() && "Found texture variable with no name"); in getTextureName()
207 assert(val.hasName() && "Found surface variable with no name"); in getSurfaceName()
212 assert(val.hasName() && "Found sampler variable with no name"); in getSamplerName()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp95 assert(F.hasName() && FnStart != 0 && "Bad symbol to add"); in NotifyFunctionEmitted()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp34 if (!F->hasName()) return false; in callIsSmall()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp299 if (I->hasName() && I->getName()[0] == '\01') in SplitFunctionsOutOfModule()
390 if (!BB->hasName()) BB->setName("tmpbb"); in ExtractMappedBlocksFromModule()
/external/llvm/lib/Target/
DMangler.cpp190 if (GV->hasName()) { in getNameWithPrefix()
/external/llvm/lib/Archive/
DArchive.cpp212 if (AI->hasName()) in getSymbols()
/external/llvm/include/llvm/
DValue.h111 bool hasName() const { return Name != 0 && SubclassID != MDStringVal; } in hasName() function
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp150 if (V->hasName()) in print()
161 if((*UI)->hasName()) in print()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1056 AST_MATCHER_P(NamedDecl, hasName, std::string, Name) { in AST_MATCHER_P() argument
1137 return isDerivedFrom(hasName(BaseName)); in isDerivedFrom()
1149 return isA(hasName(BaseName)); in isA()

123