Home
last modified time | relevance | path

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

1234

/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/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()
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()
DSelectorExtras.h23 II.push_back(&Ctx.Idents.get(First)); in getKeywordSelectorImpl()
26 II.push_back(&Ctx.Idents.get(s)); in getKeywordSelectorImpl()
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()
DCheckObjCDealloc.cpp778 NSObjectII = &Ctx.Idents.get("NSObject"); in initIdentifierInfoAndSelectors()
779 SenTestCaseII = &Ctx.Idents.get("SenTestCase"); in initIdentifierInfoAndSelectors()
780 XCTestCaseII = &Ctx.Idents.get("XCTestCase"); in initIdentifierInfoAndSelectors()
781 Block_releaseII = &Ctx.Idents.get("_Block_release"); in initIdentifierInfoAndSelectors()
782 CIFilterII = &Ctx.Idents.get("CIFilter"); in initIdentifierInfoAndSelectors()
784 IdentifierInfo *DeallocII = &Ctx.Idents.get("dealloc"); in initIdentifierInfoAndSelectors()
785 IdentifierInfo *ReleaseII = &Ctx.Idents.get("release"); in initIdentifierInfoAndSelectors()
DVforkChecker.cpp90 II_vfork = &AC.Idents.get("vfork"); in isVforkCall()
115 VforkWhitelist.insert(&AC.Idents.get(*id)); in isCallWhitelisted()
DMallocChecker.cpp537 II_alloca = &Ctx.Idents.get("alloca"); in initIdentifierInfo()
538 II_malloc = &Ctx.Idents.get("malloc"); in initIdentifierInfo()
539 II_free = &Ctx.Idents.get("free"); in initIdentifierInfo()
540 II_realloc = &Ctx.Idents.get("realloc"); in initIdentifierInfo()
541 II_reallocf = &Ctx.Idents.get("reallocf"); in initIdentifierInfo()
542 II_calloc = &Ctx.Idents.get("calloc"); in initIdentifierInfo()
543 II_valloc = &Ctx.Idents.get("valloc"); in initIdentifierInfo()
544 II_strdup = &Ctx.Idents.get("strdup"); in initIdentifierInfo()
545 II_strndup = &Ctx.Idents.get("strndup"); in initIdentifierInfo()
546 II_wcsdup = &Ctx.Idents.get("wcsdup"); in initIdentifierInfo()
[all …]
DObjCSuperDeallocChecker.cpp235 IIdealloc = &Ctx.Idents.get("dealloc"); in initIdentifierInfoAndSelectors()
236 IINSObject = &Ctx.Idents.get("NSObject"); in initIdentifierInfoAndSelectors()
DBasicObjCFoundationChecks.cpp437 II = &Ctx.Idents.get("CFNumberCreate"); in checkPreStmt()
554 Retain = &Ctx.Idents.get("CFRetain"); in checkPreStmt()
555 Release = &Ctx.Idents.get("CFRelease"); in checkPreStmt()
556 MakeCollectable = &Ctx.Idents.get("CFMakeCollectable"); in checkPreStmt()
557 Autorelease = &Ctx.Idents.get("CFAutorelease"); in checkPreStmt()
1033 CountSelectorII = &C.getASTContext().Idents.get("count"); in isCollectionCountMethod()
/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/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::__anoncc3ebd330111::ASTVectorTest
/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 …]
DSemaPseudoObject.cpp609 &S.Context.Idents.get(setterName->getName().substr(3)); in findGetter()
1120 &S.Context.Idents.get("objectForKeyedSubscript") in CheckKeyForObjCARCConversion()
1163 &S.Context.Idents.get("objectForKeyedSubscript") in findAtIndexGetter()
1170 &S.Context.Idents.get("objectAtIndexedSubscript") in findAtIndexGetter()
1194 arrayRef ? &S.Context.Idents.get("index") in findAtIndexGetter()
1195 : &S.Context.Idents.get("key"), in findAtIndexGetter()
1271 &S.Context.Idents.get("setObject"), in findAtIndexSetter()
1272 &S.Context.Idents.get("forKeyedSubscript") in findAtIndexSetter()
1279 &S.Context.Idents.get("setObject"), in findAtIndexSetter()
1280 &S.Context.Idents.get("atIndexedSubscript") in findAtIndexSetter()
[all …]
DSemaStmtAsm.cpp621 LookupResult BaseResult(*this, &Context.Idents.get(Base), SourceLocation(), in LookupInlineAsmField()
648 LookupResult FieldResult(*this, &Context.Idents.get(NextMember), in LookupInlineAsmField()
682 NameInfo.setName(&Context.Idents.get(Member)); in LookupInlineAsmVarDeclField()
694 LookupResult FieldResult(*this, &Context.Idents.get(Member), AsmLoc, in LookupInlineAsmVarDeclField()
DSemaExprObjC.cpp97 NSIdent = &Context.Idents.get("NSConstantString"); in BuildObjCStringLiteral()
99 NSIdent = &Context.Idents.get(StringClass); in BuildObjCStringLiteral()
296 &CX.Idents.get("value"), in getNSNumberFactoryMethod()
530 IdentifierInfo *II = &Context.Idents.get("stringWithUTF8String"); in BuildObjCBoxedExpr()
550 &Context.Idents.get("value"), in BuildObjCBoxedExpr()
634 &Context.Idents.get("valueWithBytes"), in BuildObjCBoxedExpr()
635 &Context.Idents.get("objCType") in BuildObjCBoxedExpr()
665 &Context.Idents.get("bytes"), in BuildObjCBoxedExpr()
675 &Context.Idents.get("type"), in BuildObjCBoxedExpr()
796 &Context.Idents.get("objects"), in BuildObjCArrayLiteral()
[all …]
/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents; in GCCollectableCallsChecker()
DTransAPIUses.cpp41 IdentifierTable &ids = Pass.Ctx.Idents; in APIChecker()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp593 IdentifierInfo* II = &Context->Idents.get("load"); in ImplementationIsNonLazy()
865 &Context->Idents.get(RecName.c_str())); in getIvarAccessString()
877 &Context->Idents.get(D->getNameAsString()), in getIvarAccessString()
2310 IdentifierInfo *SelGetUidIdent = &Context->Idents.get("sel_registerName"); in SynthSelGetUidFunctionDecl()
2405 IdentifierInfo *msgSendIdent = &Context->Idents.get("__rw_objc_super"); in SynthSuperConstructorFunctionDecl()
2422 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend"); in SynthMsgSendFunctionDecl()
2441 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSendSuper"); in SynthMsgSendSuperFunctionDecl()
2455 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_stret"); in SynthMsgSendStretFunctionDecl()
2476 &Context->Idents.get("objc_msgSendSuper_stret"); in SynthMsgSendSuperStretFunctionDecl()
2491 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_fpret"); in SynthMsgSendFpretFunctionDecl()
[all …]
DRewriteObjC.cpp2221 IdentifierInfo *SelGetUidIdent = &Context->Idents.get("sel_registerName"); in SynthSelGetUidFunctionDecl()
2313 IdentifierInfo *msgSendIdent = &Context->Idents.get("__rw_objc_super"); in SynthSuperConstructorFunctionDecl()
2330 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend"); in SynthMsgSendFunctionDecl()
2349 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSendSuper"); in SynthMsgSendSuperFunctionDecl()
2353 &Context->Idents.get("objc_super")); in SynthMsgSendSuperFunctionDecl()
2371 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_stret"); in SynthMsgSendStretFunctionDecl()
2392 &Context->Idents.get("objc_msgSendSuper_stret"); in SynthMsgSendSuperStretFunctionDecl()
2396 &Context->Idents.get("objc_super")); in SynthMsgSendSuperStretFunctionDecl()
2415 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_fpret"); in SynthMsgSendFpretFunctionDecl()
2434 IdentifierInfo *getClassIdent = &Context->Idents.get("objc_getClass"); in SynthGetClassFunctionDecl()
[all …]
/external/clang/include/clang/AST/
DASTContext.h459 IdentifierTable &Idents;
1453 NSObjectName = &Idents.get("NSObject"); in getNSObjectName()
1462 NSCopyingName = &Idents.get("NSCopying"); in getNSCopyingName()
1471 BoolName = &Idents.get("bool"); in getBoolName()
1477 MakeIntegerSeqName = &Idents.get("__make_integer_seq"); in getMakeIntegerSeqName()
1483 TypePackElementName = &Idents.get("__type_pack_element"); in getTypePackElementName()
2606 IdentifierInfo* II = &Ctx.Idents.get(name); in GetNullarySelector()
2612 IdentifierInfo* II = &Ctx.Idents.get(name); in GetUnarySelector()

1234