Searched refs:NSAPI (Results 1 – 14 of 14) sorted by relevance
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 60 const NSAPI &NS, Commit &commit) { in rewriteObjCRedundantCallWithLiteral() 71 NS.getNSClassId(NSAPI::ClassId_NSString) == II && in rewriteObjCRedundantCallWithLiteral() 72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel || in rewriteObjCRedundantCallWithLiteral() 73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 76 NS.getNSClassId(NSAPI::ClassId_NSArray) == II && in rewriteObjCRedundantCallWithLiteral() 77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel || in rewriteObjCRedundantCallWithLiteral() 78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) || in rewriteObjCRedundantCallWithLiteral() 81 NS.getNSClassId(NSAPI::ClassId_NSDictionary) == II && in rewriteObjCRedundantCallWithLiteral() 83 NSAPI::NSDict_dictionaryWithDictionary) == Sel || in rewriteObjCRedundantCallWithLiteral() 84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) { in rewriteObjCRedundantCallWithLiteral() [all …]
|
/external/clang/lib/AST/ |
D | NSAPI.cpp | 17 NSAPI::NSAPI(ASTContext &ctx) in NSAPI() function in NSAPI 22 IdentifierInfo *NSAPI::getNSClassId(NSClassIdKindKind K) const { in getNSClassId() 42 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const { in getNSStringSelector() 78 Optional<NSAPI::NSStringMethodKind> 79 NSAPI::getNSStringMethodKind(Selector Sel) const { in getNSStringMethodKind() 89 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const { in getNSArraySelector() 156 Optional<NSAPI::NSArrayMethodKind> NSAPI::getNSArrayMethodKind(Selector Sel) { in getNSArrayMethodKind() 166 Selector NSAPI::getNSDictionarySelector( in getNSDictionarySelector() 257 Optional<NSAPI::NSDictionaryMethodKind> 258 NSAPI::getNSDictionaryMethodKind(Selector Sel) { in getNSDictionaryMethodKind() [all …]
|
D | CMakeLists.txt | 41 NSAPI.cpp
|
D | Android.mk | 63 NSAPI.cpp \
|
/external/clang/include/clang/Edit/ |
D | Rewriters.h | 19 class NSAPI; variable 28 const NSAPI &NS, Commit &commit); 31 const NSAPI &NS, Commit &commit, 35 const NSAPI &NS, Commit &commit);
|
/external/clang/include/clang/AST/ |
D | NSAPI.h | 23 class NSAPI { 25 explicit NSAPI(ASTContext &Ctx);
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 94 std::unique_ptr<NSAPI> NSAPIObj; 128 NSAPIObj.reset(new NSAPI(Context)); in Initialize() 242 const NSAPI &NS, edit::Commit &commit, in rewriteToPropertyDotSyntax() 464 const NSAPI &NS, edit::Commit &commit, in rewriteToObjCProperty() 675 const NSAPI &NS, edit::Commit &commit) { in rewriteToObjCInterfaceDecl() 718 const NSAPI &NS, edit::Commit &commit, in rewriteToNSEnumDecl() 772 const NSAPI &NS, edit::Commit &commit, in rewriteToNSMacroDecl()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 118 IdentifierInfo *NSIdent = NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCStringLiteral() 177 Optional<NSAPI::NSNumberLiteralMethodKind> Kind = in getNSNumberFactoryMethod() 201 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSNumber); in getNSNumberFactoryMethod() 467 NSAPIObj->getNSClassId(NSAPI::ClassId_NSString); in BuildObjCBoxedExpr() 638 NSAPIObj->getNSClassId(NSAPI::ClassId_NSArray), in BuildObjCArrayLiteral() 646 NSAPIObj->getNSClassId(NSAPI::ClassId_NSArray), in BuildObjCArrayLiteral() 659 Sel = NSAPIObj->getNSArraySelector(NSAPI::NSArr_arrayWithObjectsCount); in BuildObjCArrayLiteral() 754 NSAPIObj->getNSClassId(NSAPI::ClassId_NSDictionary), in BuildObjCDictionaryLiteral() 761 NSAPIObj->getNSClassId(NSAPI::ClassId_NSDictionary), in BuildObjCDictionaryLiteral() 775 NSAPI::NSDict_dictionaryWithObjectsForKeysCount); in BuildObjCDictionaryLiteral() [all …]
|
D | SemaChecking.cpp | 8321 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSMutableArray); in GetNSMutableArrayArgumentIndex() 8341 Optional<NSAPI::NSArrayMethodKind> MKOpt = in GetNSMutableArrayArgumentIndex() 8347 NSAPI::NSArrayMethodKind MK = *MKOpt; in GetNSMutableArrayArgumentIndex() 8350 case NSAPI::NSMutableArr_addObject: in GetNSMutableArrayArgumentIndex() 8351 case NSAPI::NSMutableArr_insertObjectAtIndex: in GetNSMutableArrayArgumentIndex() 8352 case NSAPI::NSMutableArr_setObjectAtIndexedSubscript: in GetNSMutableArrayArgumentIndex() 8354 case NSAPI::NSMutableArr_replaceObjectAtIndex: in GetNSMutableArrayArgumentIndex() 8370 S.NSAPIObj->getNSClassId(NSAPI::ClassId_NSMutableDictionary); in GetNSMutableDictionaryArgumentIndex() 8390 Optional<NSAPI::NSDictionaryMethodKind> MKOpt = in GetNSMutableDictionaryArgumentIndex() 8396 NSAPI::NSDictionaryMethodKind MK = *MKOpt; in GetNSMutableDictionaryArgumentIndex() [all …]
|
D | Sema.cpp | 112 for (unsigned I = 0; I != NSAPI::NumNSNumberLiteralMethods; ++I) in Sema() 116 NSAPIObj.reset(new NSAPI(Context)); in Sema()
|
D | SemaDeclObjC.cpp | 2743 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject), in ActOnAtEnd()
|
D | SemaDecl.cpp | 10697 NSAPIObj->getNSClassId(NSAPI::ClassId_NSObject); in ActOnFinishFunctionBody()
|
/external/clang/patches/ |
D | 0004-Add-Android-build-system.patch | 656 + NSAPI.cpp \
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 639 std::unique_ptr<NSAPI> NSAPIObj; 648 ObjCMethodDecl *NSNumberLiteralMethods[NSAPI::NumNSNumberLiteralMethods];
|