Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DNSAPI.cpp33 return (ClassIds[K] = &Ctx.Idents.get(ClassName[K])); in getNSClassId()
43 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithString")); in getNSStringSelector()
47 &Ctx.Idents.get("stringWithUTF8String")); in getNSStringSelector()
51 &Ctx.Idents.get("stringWithCString"), in getNSStringSelector()
52 &Ctx.Idents.get("encoding") in getNSStringSelector()
58 Sel= Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("stringWithCString")); in getNSStringSelector()
61 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("initWithString")); in getNSStringSelector()
86 Sel = Ctx.Selectors.getNullarySelector(&Ctx.Idents.get("array")); in getNSArraySelector()
89 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithArray")); in getNSArraySelector()
92 Sel = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get("arrayWithObject")); in getNSArraySelector()
[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/lib/StaticAnalyzer/Checkers/
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.cpp71 II_chroot = &Ctx.Idents.get("chroot"); in evalCall()
73 II_chdir = &Ctx.Idents.get("chdir"); in evalCall()
131 II_chroot = &Ctx.Idents.get("chroot"); in checkPreStmt()
133 II_chdir = &Ctx.Idents.get("chdir"); in checkPreStmt()
DCheckObjCDealloc.cpp132 IdentifierInfo* NSObjectII = &Ctx.Idents.get("NSObject"); in checkObjCDealloc()
133 IdentifierInfo* SenTestCaseII = &Ctx.Idents.get("SenTestCase"); in checkObjCDealloc()
154 IdentifierInfo* II = &Ctx.Idents.get("dealloc"); in checkObjCDealloc()
203 IdentifierInfo* RII = &Ctx.Idents.get("release"); in checkObjCDealloc()
207 IdentifierInfo* SelfII = &Ctx.Idents.get("self"); in checkObjCDealloc()
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()
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()
DSimpleStreamChecker.cpp281 IIfopen = &Ctx.Idents.get("fopen"); in initIdentifierInfo()
282 IIfclose = &Ctx.Idents.get("fclose"); in initIdentifierInfo()
DBasicObjCFoundationChecks.cpp439 II = &Ctx.Idents.get("CFNumberCreate"); in checkPreStmt()
555 Retain = &Ctx.Idents.get("CFRetain"); in checkPreStmt()
556 Release = &Ctx.Idents.get("CFRelease"); in checkPreStmt()
557 MakeCollectable = &Ctx.Idents.get("CFMakeCollectable"); in checkPreStmt()
558 Autorelease = &Ctx.Idents.get("CFAutorelease"); in checkPreStmt()
1038 CountSelectorII = &C.getASTContext().Idents.get("count"); in isCollectionCountMethod()
DObjCMissingSuperCallChecker.cpp114 IdentifierInfo *II = &Ctx.Idents.get(Descriptor.SelectorName); in fillSelectors()
DMallocChecker.cpp488 II_malloc = &Ctx.Idents.get("malloc"); in initIdentifierInfo()
489 II_free = &Ctx.Idents.get("free"); in initIdentifierInfo()
490 II_realloc = &Ctx.Idents.get("realloc"); in initIdentifierInfo()
491 II_reallocf = &Ctx.Idents.get("reallocf"); in initIdentifierInfo()
492 II_calloc = &Ctx.Idents.get("calloc"); in initIdentifierInfo()
493 II_valloc = &Ctx.Idents.get("valloc"); in initIdentifierInfo()
494 II_strdup = &Ctx.Idents.get("strdup"); in initIdentifierInfo()
495 II_strndup = &Ctx.Idents.get("strndup"); in initIdentifierInfo()
496 II_kmalloc = &Ctx.Idents.get("kmalloc"); in initIdentifierInfo()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp334 IDecl->lookupNestedProtocol(&Context.Idents.get("NSCopying"))) in PropertyMemoryAttribute()
359 if (UseNsIosOnlyMacro && Context.Idents.get("NS_NONATOMIC_IOSONLY").hasMacroDefinition()) { in rewriteToObjCProperty()
804 if (!Ctx.Idents.get("NS_OPTIONS").hasMacroDefinition()) in migrateNSEnumDecl()
807 else if (!Ctx.Idents.get("NS_ENUM").hasMacroDefinition()) in migrateNSEnumDecl()
821 if (IsNSIntegerType && !Ctx.Idents.get("NS_ENUM").hasMacroDefinition()) in migrateNSEnumDecl()
824 if (IsNSUIntegerType && !Ctx.Idents.get("NS_OPTIONS").hasMacroDefinition()) in migrateNSEnumDecl()
917 !IDecl->lookupInheritedClass(&Ctx.Idents.get(ClassName))) { in migrateMethodInstanceType()
1029 IdentifierInfo *II = &Ctx.Idents.get(NameString); in IsValidIdentifier()
1074 getterName = &Ctx.Idents.get(CGetterName); in migrateProperty()
1137 !Ctx.Idents.get("NS_RETURNS_INNER_POINTER").hasMacroDefinition()) in migrateNsReturnsInnerPointer()
[all …]
DTransGCCalls.cpp30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents; in GCCollectableCallsChecker()
DTransAPIUses.cpp41 IdentifierTable &ids = Pass.Ctx.Idents; in APIChecker()
DTransRetainReleaseDealloc.cpp49 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate")); in RetainReleaseDeallocRemover()
51 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize")); in RetainReleaseDeallocRemover()
DTransAutoreleasePool.cpp74 PoolII = &pass.Ctx.Idents.get("NSAutoreleasePool"); in AutoreleasePoolRewriter()
76 &pass.Ctx.Idents.get("drain")); in AutoreleasePoolRewriter()
/external/clang/lib/Sema/
DSema.cpp59 BoolMacro = PP.getMacroInfo(&Context.Idents.get("bool"))) { in getPrintingPolicy()
136 DeclarationName DN = &Context.Idents.get(Name); in addImplicitTypedef()
158 DeclarationName Int128 = &Context.Idents.get("__int128_t"); in Initialize()
162 DeclarationName UInt128 = &Context.Idents.get("__uint128_t"); in Initialize()
172 DeclarationName SEL = &Context.Idents.get("SEL"); in Initialize()
178 DeclarationName Id = &Context.Idents.get("id"); in Initialize()
183 DeclarationName Class = &Context.Idents.get("Class"); in Initialize()
188 DeclarationName Protocol = &Context.Idents.get("Protocol"); in Initialize()
195 if (IdResolver.begin(&Context.Idents.get("type_info")) == IdResolver.end()) in Initialize()
214 DeclarationName BuiltinVaList = &Context.Idents.get("__builtin_va_list"); in Initialize()
[all …]
DSemaPseudoObject.cpp573 &S.Context.Idents.get(setterName->getName().substr(3)); in findGetter()
1095 &S.Context.Idents.get("objectForKeyedSubscript") in CheckKeyForObjCARCConversion()
1141 &S.Context.Idents.get("objectForKeyedSubscript") in findAtIndexGetter()
1148 &S.Context.Idents.get("objectAtIndexedSubscript") in findAtIndexGetter()
1172 arrayRef ? &S.Context.Idents.get("index") in findAtIndexGetter()
1173 : &S.Context.Idents.get("key"), in findAtIndexGetter()
1252 &S.Context.Idents.get("setObject"), in findAtIndexSetter()
1253 &S.Context.Idents.get("forKeyedSubscript") in findAtIndexSetter()
1260 &S.Context.Idents.get("setObject"), in findAtIndexSetter()
1261 &S.Context.Idents.get("atIndexedSubscript") in findAtIndexSetter()
[all …]
DSemaCodeComplete.cpp2021 if (SemaRef.getASTContext().Idents.get("alignof").hasMacroDefinition()) in AddOrdinaryNameResults()
2095 Context.Idents.get("nil").hasMacroDefinition()) in MaybeAddSentinel()
2097 else if (Context.Idents.get("NULL").hasMacroDefinition()) in MaybeAddSentinel()
4980 Context.Idents.get("IBAction").hasMacroDefinition()) { in CodeCompleteObjCPassingType()
6240 IdentifierInfo *SelectorId = &Context.Idents.get(SelectorName); in AddObjCKeyValueCompletions()
6259 IdentifierInfo *SelectorId = &Context.Idents.get(SelectorName); in AddObjCKeyValueCompletions()
6311 IdentifierInfo *SelectorId = &Context.Idents.get(SelectorName); in AddObjCKeyValueCompletions()
6334 IdentifierInfo *SelectorId = &Context.Idents.get(SelectorName); in AddObjCKeyValueCompletions()
6361 IdentifierInfo *SelectorId = &Context.Idents.get(SelectorName); in AddObjCKeyValueCompletions()
6383 &Context.Idents.get(SelectorName), in AddObjCKeyValueCompletions()
[all …]
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp340 …result_ptr_id = &Ctx.Idents.get("$__lldb_expr_result"); // functions actually should be treated li… in SynthesizeBodyResult()
342 result_ptr_id = &Ctx.Idents.get("$__lldb_expr_result_ptr"); in SynthesizeBodyResult()
371 IdentifierInfo &result_id = Ctx.Idents.get("$__lldb_expr_result"); in SynthesizeBodyResult()
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp192 clang::IdentifierInfo &identifier_info = ast_ctx->Idents.get(name.GetStringRef()); in GetDeclForISA()
354 selector_components.push_back(&ast_ctx.Idents.get(llvm::StringRef(name_cursor))); in BuildMethod()
360 …selector_components.push_back(&ast_ctx.Idents.get(llvm::StringRef(name_cursor, colon_loc - name_cu… in BuildMethod()
614 clang::IdentifierInfo &identifier_info = ast_ctx->Idents.get(name.GetStringRef()); in FindTypes()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp607 IdentifierInfo* II = &Context->Idents.get("load"); in ImplementationIsNonLazy()
888 &Context->Idents.get(RecName.c_str())); in getIvarAccessString()
900 &Context->Idents.get(D->getNameAsString()), in getIvarAccessString()
2348 IdentifierInfo *SelGetUidIdent = &Context->Idents.get("sel_registerName"); in SynthSelGetUidFunctionDecl()
2443 IdentifierInfo *msgSendIdent = &Context->Idents.get("__rw_objc_super"); in SynthSuperConstructorFunctionDecl()
2460 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend"); in SynthMsgSendFunctionDecl()
2479 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSendSuper"); in SynthMsgSendSuperFunctionDecl()
2493 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_stret"); in SynthMsgSendStretFunctionDecl()
2514 &Context->Idents.get("objc_msgSendSuper_stret"); in SynthMsgSendSuperStretFunctionDecl()
2529 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_fpret"); in SynthMsgSendFpretFunctionDecl()
[all …]
DRewriteObjC.cpp2233 IdentifierInfo *SelGetUidIdent = &Context->Idents.get("sel_registerName"); in SynthSelGetUidFunctionDecl()
2326 IdentifierInfo *msgSendIdent = &Context->Idents.get("__rw_objc_super"); in SynthSuperConstructorFunctionDecl()
2343 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend"); in SynthMsgSendFunctionDecl()
2362 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSendSuper"); in SynthMsgSendSuperFunctionDecl()
2366 &Context->Idents.get("objc_super")); in SynthMsgSendSuperFunctionDecl()
2384 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_stret"); in SynthMsgSendStretFunctionDecl()
2405 &Context->Idents.get("objc_msgSendSuper_stret"); in SynthMsgSendSuperStretFunctionDecl()
2409 &Context->Idents.get("objc_super")); in SynthMsgSendSuperStretFunctionDecl()
2428 IdentifierInfo *msgSendIdent = &Context->Idents.get("objc_msgSend_fpret"); in SynthMsgSendFpretFunctionDecl()
2447 IdentifierInfo *getClassIdent = &Context->Idents.get("objc_getClass"); in SynthGetClassFunctionDecl()
[all …]
/external/lldb/source/Symbol/
DClangASTContext.cpp1160 name && name[0] ? &ast->Idents.get(name) : NULL); in CreateRecordType()
1193 identifier_info = &ast->Idents.get(name); in CreateTemplateParameterList()
1291 IdentifierInfo &identifier_info = ast->Idents.get(class_name); in CreateClassTemplateDecl()
1749 &ast->Idents.get(name), in CreateObjCClass()
1809 IdentifierInfo &identifier_info = ast->Idents.get(name); in GetUniqueNamespaceDeclaration()
1922 DeclarationName (&ast->Idents.get(name)), in CreateFunctionDeclaration()
1990 name && name[0] ? &ast->Idents.get(name) : NULL, in CreateParameterDeclaration()
2068 name && name[0] ? &ast->Idents.get(name) : NULL, in CreateEnumerationType()

123