Home
last modified time | relevance | path

Searched refs:Idents (Results 1 – 25 of 186) sorted by relevance

12345678

/external/clang/lib/AST/
DNSAPI.cpp38 return (ClassIds[K] = &Ctx.Idents.get(ClassName[K])); in getNSClassId()
48 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector()
52 &Ctx.Idents.get("stringWithUTF8String")); in getNSStringSelector()
56 &Ctx.Idents.get("initWithUTF8String")); in getNSStringSelector()
60 &Ctx.Idents.get("stringWithCString"), in getNSStringSelector()
61 &Ctx.Idents.get("encoding") in getNSStringSelector()
67 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector()
70 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector()
95 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("array")); in getNSArraySelector()
98 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithArray")); in getNSArraySelector()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp138 UIMethods.insert({&Ctx.Idents.get(#receiver), \
143 {Ctx.Selectors.getNullarySelector(&Ctx.Idents.get(#method)), argument});
146 {Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(#method)), argument});
162 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods()
163 &Ctx.Idents.get("tag")}; in initUIMethods()
166 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods()
167 &Ctx.Idents.get("selectedImage")}; in initUIMethods()
179 &Ctx.Idents.get("rowActionWithStyle"), &Ctx.Idents.get("title"), in initUIMethods()
180 &Ctx.Idents.get("handler")}; in initUIMethods()
191 &Ctx.Idents.get("radioButtonWithTitle"), &Ctx.Idents.get("target"), in initUIMethods()
[all …]
DNonnullGlobalConstantsChecker.cpp62 NSStringII = &Ctx.Idents.get("NSString"); in initIdentifierInfo()
63 CFStringRefII = &Ctx.Idents.get("CFStringRef"); in initIdentifierInfo()
64 CFBooleanRefII = &Ctx.Idents.get("CFBooleanRef"); in initIdentifierInfo()
65 CFNullRefII = &Ctx.Idents.get("CFNullRef"); in initIdentifierInfo()
DPointerArithChecker.cpp210 AllocFunctions.insert(&C.Idents.get("alloca")); in initAllocIdentifiers()
211 AllocFunctions.insert(&C.Idents.get("malloc")); in initAllocIdentifiers()
212 AllocFunctions.insert(&C.Idents.get("realloc")); in initAllocIdentifiers()
213 AllocFunctions.insert(&C.Idents.get("calloc")); in initAllocIdentifiers()
214 AllocFunctions.insert(&C.Idents.get("valloc")); in initAllocIdentifiers()
DNSErrorChecker.cpp60 II = &D->getASTContext().Idents.get("NSError"); in checkASTDecl()
118 II = &D->getASTContext().Idents.get("CFErrorRef"); in checkASTDecl()
234 NSErrorII = &Ctx.Idents.get("NSError"); in checkLocation()
236 CFErrorII = &Ctx.Idents.get("CFErrorRef"); in checkLocation()
DMallocSizeofChecker.cpp55 II_malloc(&Ctx->Idents.get("malloc")), in CastedAllocFinder()
56 II_calloc(&Ctx->Idents.get("calloc")), in CastedAllocFinder()
57 II_realloc(&Ctx->Idents.get("realloc")) {} in CastedAllocFinder()
/external/llvm-project/clang/lib/AST/
DNSAPI.cpp37 return (ClassIds[K] = &Ctx.Idents.get(ClassName[K])); in getNSClassId()
47 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector()
51 &Ctx.Idents.get("stringWithUTF8String")); in getNSStringSelector()
55 &Ctx.Idents.get("initWithUTF8String")); in getNSStringSelector()
59 &Ctx.Idents.get("stringWithCString"), in getNSStringSelector()
60 &Ctx.Idents.get("encoding") in getNSStringSelector()
66 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector()
69 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector()
83 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("array")); in getNSArraySelector()
86 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithArray")); in getNSArraySelector()
[all …]
DComparisonCategories.cpp82 &Ctx.Idents.get(ComparisonCategories::getResultString(ValueKind))); in lookupValueInfo()
93 Ctx.getTranslationUnitDecl()->lookup(&Ctx.Idents.get("std")); in lookupStdNamespace()
104 DeclContextLookupResult Lookup = StdNS->lookup(&Ctx.Idents.get(Name)); in lookupCXXRecordDecl()
/external/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp140 UIMethods.insert({&Ctx.Idents.get(#receiver), \
145 {Ctx.Selectors.getNullarySelector(&Ctx.Idents.get(#method)), argument});
148 {Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(#method)), argument});
164 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods()
165 &Ctx.Idents.get("tag")}; in initUIMethods()
168 &Ctx.Idents.get("initWithTitle"), &Ctx.Idents.get("image"), in initUIMethods()
169 &Ctx.Idents.get("selectedImage")}; in initUIMethods()
181 &Ctx.Idents.get("rowActionWithStyle"), &Ctx.Idents.get("title"), in initUIMethods()
182 &Ctx.Idents.get("handler")}; in initUIMethods()
208 IdentifierInfo *setTitleNSBrowser[] = {&Ctx.Idents.get("setTitle"), in initUIMethods()
[all …]
DStreamChecker.cpp115 II_fopen = &Ctx.Idents.get("fopen"); in REGISTER_MAP_WITH_PROGRAMSTATE()
117 II_tmpfile = &Ctx.Idents.get("tmpfile"); in REGISTER_MAP_WITH_PROGRAMSTATE()
119 II_fclose = &Ctx.Idents.get("fclose"); in REGISTER_MAP_WITH_PROGRAMSTATE()
121 II_fread = &Ctx.Idents.get("fread"); in REGISTER_MAP_WITH_PROGRAMSTATE()
123 II_fwrite = &Ctx.Idents.get("fwrite"); in REGISTER_MAP_WITH_PROGRAMSTATE()
125 II_fseek = &Ctx.Idents.get("fseek"); in REGISTER_MAP_WITH_PROGRAMSTATE()
127 II_ftell = &Ctx.Idents.get("ftell"); in REGISTER_MAP_WITH_PROGRAMSTATE()
129 II_rewind = &Ctx.Idents.get("rewind"); in REGISTER_MAP_WITH_PROGRAMSTATE()
131 II_fgetpos = &Ctx.Idents.get("fgetpos"); in REGISTER_MAP_WITH_PROGRAMSTATE()
133 II_fsetpos = &Ctx.Idents.get("fsetpos"); in REGISTER_MAP_WITH_PROGRAMSTATE()
[all …]
DChrootChecker.cpp72 II_chroot = &Ctx.Idents.get("chroot"); in evalCall()
74 II_chdir = &Ctx.Idents.get("chdir"); in evalCall()
132 II_chroot = &Ctx.Idents.get("chroot"); in checkPreStmt()
134 II_chdir = &Ctx.Idents.get("chdir"); in checkPreStmt()
DSelectorExtras.h23 II.push_back(&Ctx.Idents.get(First)); in getKeywordSelectorImpl()
26 II.push_back(&Ctx.Idents.get(s)); in getKeywordSelectorImpl()
DNSErrorChecker.cpp61 II = &D->getASTContext().Idents.get("NSError"); in checkASTDecl()
108 II = &D->getASTContext().Idents.get("CFErrorRef"); in checkASTDecl()
225 NSErrorII = &Ctx.Idents.get("NSError"); in checkLocation()
227 CFErrorII = &Ctx.Idents.get("CFErrorRef"); in checkLocation()
DPointerArithChecker.cpp213 AllocFunctions.insert(&C.Idents.get("alloca")); in initAllocIdentifiers()
214 AllocFunctions.insert(&C.Idents.get("malloc")); in initAllocIdentifiers()
215 AllocFunctions.insert(&C.Idents.get("realloc")); in initAllocIdentifiers()
216 AllocFunctions.insert(&C.Idents.get("calloc")); in initAllocIdentifiers()
217 AllocFunctions.insert(&C.Idents.get("valloc")); in initAllocIdentifiers()
DMallocSizeofChecker.cpp56 II_malloc(&Ctx->Idents.get("malloc")), in CastedAllocFinder()
57 II_calloc(&Ctx->Idents.get("calloc")), in CastedAllocFinder()
58 II_realloc(&Ctx->Idents.get("realloc")) {} in CastedAllocFinder()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIFunctionClassifier.cpp30 IdentInfo_MPI_Send = &ASTCtx.Idents.get("MPI_Send"); in initPointToPointIdentifiers()
35 IdentInfo_MPI_Isend = &ASTCtx.Idents.get("MPI_Isend"); in initPointToPointIdentifiers()
41 IdentInfo_MPI_Ssend = &ASTCtx.Idents.get("MPI_Ssend"); in initPointToPointIdentifiers()
46 IdentInfo_MPI_Issend = &ASTCtx.Idents.get("MPI_Issend"); in initPointToPointIdentifiers()
52 IdentInfo_MPI_Bsend = &ASTCtx.Idents.get("MPI_Bsend"); in initPointToPointIdentifiers()
57 IdentInfo_MPI_Ibsend = &ASTCtx.Idents.get("MPI_Ibsend"); in initPointToPointIdentifiers()
63 IdentInfo_MPI_Rsend = &ASTCtx.Idents.get("MPI_Rsend"); in initPointToPointIdentifiers()
68 IdentInfo_MPI_Irsend = &ASTCtx.Idents.get("MPI_Irsend"); in initPointToPointIdentifiers()
73 IdentInfo_MPI_Recv = &ASTCtx.Idents.get("MPI_Recv"); in initPointToPointIdentifiers()
78 IdentInfo_MPI_Irecv = &ASTCtx.Idents.get("MPI_Irecv"); in initPointToPointIdentifiers()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIFunctionClassifier.cpp31 IdentInfo_MPI_Send = &ASTCtx.Idents.get("MPI_Send"); in initPointToPointIdentifiers()
36 IdentInfo_MPI_Isend = &ASTCtx.Idents.get("MPI_Isend"); in initPointToPointIdentifiers()
42 IdentInfo_MPI_Ssend = &ASTCtx.Idents.get("MPI_Ssend"); in initPointToPointIdentifiers()
47 IdentInfo_MPI_Issend = &ASTCtx.Idents.get("MPI_Issend"); in initPointToPointIdentifiers()
53 IdentInfo_MPI_Bsend = &ASTCtx.Idents.get("MPI_Bsend"); in initPointToPointIdentifiers()
58 IdentInfo_MPI_Ibsend = &ASTCtx.Idents.get("MPI_Ibsend"); in initPointToPointIdentifiers()
64 IdentInfo_MPI_Rsend = &ASTCtx.Idents.get("MPI_Rsend"); in initPointToPointIdentifiers()
69 IdentInfo_MPI_Irsend = &ASTCtx.Idents.get("MPI_Irsend"); in initPointToPointIdentifiers()
74 IdentInfo_MPI_Recv = &ASTCtx.Idents.get("MPI_Recv"); in initPointToPointIdentifiers()
79 IdentInfo_MPI_Irecv = &ASTCtx.Idents.get("MPI_Irecv"); in initPointToPointIdentifiers()
[all …]
/external/llvm-project/clang/lib/Analysis/
DObjCNoReturn.cpp30 NSExceptionII(&C.Idents.get("NSException")) in ObjCNoReturn()
36 II.push_back(&C.Idents.get("raise")); in ObjCNoReturn()
37 II.push_back(&C.Idents.get("format")); in ObjCNoReturn()
42 II.push_back(&C.Idents.get("arguments")); in ObjCNoReturn()
/external/clang/lib/Analysis/
DObjCNoReturn.cpp31 NSExceptionII(&C.Idents.get("NSException")) in ObjCNoReturn()
37 II.push_back(&C.Idents.get("raise")); in ObjCNoReturn()
38 II.push_back(&C.Idents.get("format")); in ObjCNoReturn()
43 II.push_back(&C.Idents.get("arguments")); in ObjCNoReturn()
/external/clang/unittests/AST/
DASTVectorTest.cpp31 SourceMgr(Diags, FileMgr), Idents(LangOpts, nullptr), in ASTVectorTest()
32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} in ASTVectorTest()
40 IdentifierTable Idents; member in clang::ast::__anon67094f510111::ASTVectorTest
/external/llvm-project/clang/unittests/AST/
DASTVectorTest.cpp31 SourceMgr(Diags, FileMgr), Idents(LangOpts, nullptr), in ASTVectorTest()
32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {} in ASTVectorTest()
40 IdentifierTable Idents; member in clang::ast::__anon0a6320bf0111::ASTVectorTest
DASTContextParentMapTest.cpp89 auto &Foo = *TU.lookup(&Ctx.Idents.get("foo")).front(); in TEST()
90 auto &Bar = *cast<DeclContext>(Foo).lookup(&Ctx.Idents.get("bar")).front(); in TEST()
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DTraversalScope.cpp38 auto &Foo = *TU.lookup(&Ctx.Idents.get("foo")).front(); in TEST()
39 auto &Bar = *cast<DeclContext>(Foo).lookup(&Ctx.Idents.get("bar")).front(); in TEST()
/external/clang/lib/Sema/
DSema.cpp137 DeclarationName DN = &Context.Idents.get(Name); in addImplicitTypedef()
162 DeclarationName Int128 = &Context.Idents.get("__int128_t"); in Initialize()
166 DeclarationName UInt128 = &Context.Idents.get("__uint128_t"); in Initialize()
176 DeclarationName SEL = &Context.Idents.get("SEL"); in Initialize()
182 DeclarationName Id = &Context.Idents.get("id"); in Initialize()
187 DeclarationName Class = &Context.Idents.get("Class"); in Initialize()
192 DeclarationName Protocol = &Context.Idents.get("Protocol"); in Initialize()
198 DeclarationName ConstantString = &Context.Idents.get("__NSConstantString"); in Initialize()
205 IdResolver.begin(&Context.Idents.get("type_info")) == IdResolver.end()) in Initialize()
252 DeclarationName MSVaList = &Context.Idents.get("__builtin_ms_va_list"); in Initialize()
[all …]
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCDeclVendor.cpp164 ast_ctx.Idents.get(name.GetStringRef()); in GetDeclForISA()
330 &ast_ctx.Idents.get(llvm::StringRef(name_cursor))); in BuildMethod()
334 selector_components.push_back(&ast_ctx.Idents.get( in BuildMethod()
494 clang::SourceLocation(), &m_ast_ctx.getASTContext().Idents.get(name), in FinishDecl()
549 ast_ctx.Idents.get(name.GetStringRef()); in FindDecls()

12345678