Lines Matching refs:NSAPI

18 #include "clang/AST/NSAPI.h"
60 const NSAPI &NS, Commit &commit) {
71 NS.getNSClassId(NSAPI::ClassId_NSString) == II &&
72 (NS.getNSStringSelector(NSAPI::NSStr_stringWithString) == Sel ||
73 NS.getNSStringSelector(NSAPI::NSStr_initWithString) == Sel)) ||
76 NS.getNSClassId(NSAPI::ClassId_NSArray) == II &&
77 (NS.getNSArraySelector(NSAPI::NSArr_arrayWithArray) == Sel ||
78 NS.getNSArraySelector(NSAPI::NSArr_initWithArray) == Sel)) ||
81 NS.getNSClassId(NSAPI::ClassId_NSDictionary) == II &&
83 NSAPI::NSDict_dictionaryWithDictionary) == Sel ||
84 NS.getNSDictionarySelector(NSAPI::NSDict_initWithDictionary) == Sel))) {
205 const NSAPI &NS,
215 const NSAPI &NS,
225 const NSAPI &NS,
259 const NSAPI &NS,
291 const NSAPI &NS, Commit &commit) {
305 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_objectAtIndex))
308 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_objectForKey))
314 if (Sel == NS.getNSArraySelector(NSAPI::NSMutableArr_replaceObjectAtIndex))
317 if (Sel == NS.getNSDictionarySelector(NSAPI::NSMutableDict_setObjectForKey))
328 const NSAPI &NS, Commit &commit,
331 const NSAPI &NS, Commit &commit);
333 const NSAPI &NS, Commit &commit);
335 const NSAPI &NS, Commit &commit);
337 const NSAPI &NS, Commit &commit);
340 const NSAPI &NS, Commit &commit,
346 if (II == NS.getNSClassId(NSAPI::ClassId_NSArray))
348 if (II == NS.getNSClassId(NSAPI::ClassId_NSDictionary))
350 if (II == NS.getNSClassId(NSAPI::ClassId_NSNumber))
352 if (II == NS.getNSClassId(NSAPI::ClassId_NSString))
369 const NSAPI &NS);
379 const NSAPI &NS, Commit &commit,
391 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_array)) {
398 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObject)) {
408 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObjects) ||
409 Sel == NS.getNSArraySelector(NSAPI::NSArr_initWithObjects)) {
440 static bool getNSArrayObjects(const Expr *E, const NSAPI &NS,
454 if (Cls != NS.getNSClassId(NSAPI::ClassId_NSArray))
458 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_array))
461 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObject)) {
468 if (Sel == NS.getNSArraySelector(NSAPI::NSArr_arrayWithObjects) ||
469 Sel == NS.getNSArraySelector(NSAPI::NSArr_initWithObjects)) {
491 const NSAPI &NS, Commit &commit) {
495 if (Sel == NS.getNSDictionarySelector(NSAPI::NSDict_dictionary)) {
503 NSAPI::NSDict_dictionaryWithObjectForKey)) {
524 NSAPI::NSDict_dictionaryWithObjectsAndKeys) ||
525 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsAndKeys)) {
561 NSAPI::NSDict_dictionaryWithObjectsForKeys) ||
562 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsForKeys)) {
605 const NSAPI &NS) {
613 if (II != NS.getNSClassId(NSAPI::ClassId_NSDictionary))
618 NSAPI::NSDict_dictionaryWithObjectsForKeys) ||
619 Sel == NS.getNSDictionarySelector(NSAPI::NSDict_initWithObjectsForKeys)) {
646 const NSAPI &NS, Commit &commit) {
649 if (NS.isNSNumberLiteralSelector(NSAPI::NSNumberWithChar,
662 const NSAPI &NS, Commit &commit) {
663 if (NS.isNSNumberLiteralSelector(NSAPI::NSNumberWithBool,
755 const NSAPI &NS, Commit &commit) {
780 Optional<NSAPI::NSNumberLiteralMethodKind>
784 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt;
791 case NSAPI::NSNumberWithChar:
792 case NSAPI::NSNumberWithUnsignedChar:
793 case NSAPI::NSNumberWithShort:
794 case NSAPI::NSNumberWithUnsignedShort:
795 case NSAPI::NSNumberWithBool:
798 case NSAPI::NSNumberWithUnsignedInt:
799 case NSAPI::NSNumberWithUnsignedInteger:
801 case NSAPI::NSNumberWithInt:
802 case NSAPI::NSNumberWithInteger:
805 case NSAPI::NSNumberWithUnsignedLong:
807 case NSAPI::NSNumberWithLong:
811 case NSAPI::NSNumberWithUnsignedLongLong:
813 case NSAPI::NSNumberWithLongLong:
817 case NSAPI::NSNumberWithDouble:
819 case NSAPI::NSNumberWithFloat:
974 const NSAPI &NS, Commit &commit) {
984 Optional<NSAPI::NSNumberLiteralMethodKind>
988 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt;
1007 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType())
1011 if ((MK == NSAPI::NSNumberWithInteger ||
1012 MK == NSAPI::NSNumberWithUnsignedInteger) &&
1016 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() &&
1109 const NSAPI &NS, Commit &commit) {
1147 const NSAPI &NS, Commit &commit) {
1150 if (Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithUTF8String) ||
1151 Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithCString)) {
1157 if (Sel == NS.getNSStringSelector(NSAPI::NSStr_stringWithCStringEncoding)) {