/external/clang/test/CodeGenObjC/ |
D | local-static-block.m | 5 @class NSArray; 7 static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, un… function 11 NSArray *separatedAddresses = ((NSArray*)0); 12 separatedAddresses = ArrayRecurs((NSArray *)rawAddress, level+1); 14 return (NSArray *)0; 19 …static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, u… 23 NSArray *separatedAddresses = ((NSArray*)0); 24 separatedAddresses = ArrayRecurs((NSArray *)rawAddress, level+1); 26 return (NSArray *)0; 30 …static NSArray *(^ArrayRecurs)(NSArray *addresses, unsigned long level) = ^(NSArray *addresses, u… [all …]
|
D | for-in.m | 5 @interface NSArray interface 6 +(NSArray*) arrayWithObjects: (id) first, ...; 22 NSArray *array = [NSArray arrayWithObjects: L1(0), (void*)0]; 26 …for (NSString *i in array) { // expected-warning {{collection expression type 'NSArray *' may not … 32 NSArray *array = [NSArray arrayWithObjects: L6(0), (void*)0]; 36 …for (NSString *i in array) { // expected-warning {{collection expression type 'NSArray *' may not … 47 void t2(NSArray *array) { 48 …for (NSArray *array in array) { // expected-warning {{collection expression type 'NSArray *' may n…
|
/external/clang/test/SemaObjC/ |
D | arc-setter-property-match.m | 5 @class NSArray; 9 NSArray *_names1; 10 NSArray *_names2; 11 NSArray *_names3; 12 NSArray *_names4; 14 @property (readwrite, strong) NSArray *names1; // <-- warning: Type of property.... 15 - (void)setNames1:(NSArray *)names; argument 16 @property (readwrite, strong) __strong NSArray *names2; // <-- warning: Type of property.... 17 - (void)setNames2:(NSArray *)names; argument 18 @property (readwrite, strong) __strong NSArray *names3; // <-- OK [all …]
|
D | cocoa-api-usage.m | 19 @interface NSArray : NSObject interface 24 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 29 + (id)arrayWithArray:(NSArray *)array; argument 33 - (id)initWithArray:(NSArray *)array; argument 38 @interface NSMutableArray : NSArray 53 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 58 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 82 NSArray *arr = [NSArray arrayWithArray:@[str]]; // expected-warning {{redundant}}
|
D | cocoa-api-usage.m.fixed | 19 @interface NSArray : NSObject 24 @interface NSArray (NSArrayCreation) 29 + (id)arrayWithArray:(NSArray *)array; 33 - (id)initWithArray:(NSArray *)array; 38 @interface NSMutableArray : NSArray 53 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 58 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 82 NSArray *arr = @[str]; // expected-warning {{redundant}}
|
D | narrow-property-type-in-cont-class.m | 5 @interface NSArray @end interface 7 @interface NSMutableArray : NSArray 11 @property(nonatomic,readonly,retain) NSArray* outline; 17 @property(nonatomic,readwrite,retain) NSArray* err_outline; // expected-error {{type of property 'N…
|
/external/llvm/test/CodeGen/X86/ |
D | 2008-04-15-LiveVariableBug.ll | 6 %struct.NSArray = type { %struct.NSObject } 8 …Object*, i8*, %struct.NSView*, %struct.NSView*, %struct.NSView*, %struct.NSArray*, %struct._SPFlag… 9 ….NSArray*, %struct.NSPrintInfo*, i64, %struct.NSView*, %struct.NSObject*, %struct.NSObject*, %stru… 10 … type { %struct.NSObject, %struct.NSDocument*, %struct.NSURL*, %struct.NSArray*, %struct.NSArray* } 11 %struct.NSError = type { %struct.NSObject, i8*, i64, %struct.NSArray*, %struct.NSArray* } 12 …%struct.NSImage = type { %struct.NSObject, %struct.NSArray*, %struct.CGPoint, %struct._BCFlags2, %… 13 %struct.NSMutableArray = type { %struct.NSArray } 19 …t.NSObject, %struct.NSArray*, %struct.NSMutableArray*, %struct.NSMutableArray*, %struct.NSArray*, … 20 %struct.NSURL = type { %struct.NSObject, %struct.NSArray*, %struct.NSURL*, i8*, i8* } 21 …= type { %struct.NSObject, %struct.NSObject*, %struct.NSObject*, %struct.NSArray*, i64, %struct._S… [all …]
|
/external/clang/test/ARCMT/ |
D | objcmt-subscripting-literals.m | 23 @interface NSArray : NSObject interface 27 @interface NSArray (NSExtendedArray) interface in NSExtendedArray 31 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 36 + (id)arrayWithArray:(NSArray *)array; argument 40 - (id)initWithArray:(NSArray *)array; argument 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 93 NSArray *ivarArr; 99 NSArray *arr; [all …]
|
D | objcmt-property.m | 40 @class NSArray; 44 NSArray *_names1; 45 NSArray *_names2; 46 NSArray *_names3; 47 NSArray *_names4; 49 - (void)setNames1:(NSArray *)names; argument 50 - (void)setNames4:(__strong NSArray *)names; argument 51 - (void)setNames3:(__strong NSArray *)names; argument 52 - (void)setNames2:(NSArray *)names; argument 53 - (NSArray *) names2; [all …]
|
D | objcmt-subscripting-literals-in-arc.m | 23 @interface NSArray : NSObject interface 27 @interface NSArray (NSExtendedArray) interface in NSExtendedArray 31 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 36 + (id)arrayWithArray:(NSArray *)array; argument 40 - (id)initWithArray:(NSArray *)array; argument 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 90 NSArray *ivarArr; 96 NSArray *arr; [all …]
|
D | objcmt-subscripting-unavailable.m | 13 @interface NSArray : NSObject interface 17 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 22 + (id)arrayWithArray:(NSArray *)array; argument 26 - (id)initWithArray:(NSArray *)array; argument 29 @interface NSMutableArray : NSArray 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 61 NSArray *arr; 64 arr = [NSArray array]; 65 arr = [NSArray arrayWithObject:str]; [all …]
|
D | objcmt-subscripting-literals-in-arc.m.result | 23 @interface NSArray : NSObject 27 @interface NSArray (NSExtendedArray) 31 @interface NSArray (NSArrayCreation) 36 + (id)arrayWithArray:(NSArray *)array; 40 - (id)initWithArray:(NSArray *)array; 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 90 NSArray *ivarArr; 96 NSArray *arr;
|
D | objcmt-property.m.result | 40 @class NSArray; 44 NSArray *_names1; 45 NSArray *_names2; 46 NSArray *_names3; 47 NSArray *_names4; 53 @property(retain) NSArray * names2; 54 @property(retain) NSArray * names3; 55 @property(retain) NSArray * names4; 56 @property(retain) NSArray * names1;
|
D | objcmt-subscripting-unavailable.m.result | 13 @interface NSArray : NSObject 17 @interface NSArray (NSArrayCreation) 22 + (id)arrayWithArray:(NSArray *)array; 26 - (id)initWithArray:(NSArray *)array; 29 @interface NSMutableArray : NSArray 42 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 47 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 61 NSArray *arr;
|
D | objcmt-instancetype.m | 18 @interface NSArray : NSObject interface 23 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 28 + arrayWithArray:(NSArray *)array; argument 32 - (id)initWithArray:(NSArray *)array; argument 37 @interface NSMutableArray : NSArray 52 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 57 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; argument 81 NSArray *arr = [NSArray arrayWithArray:@[str]]; // expected-warning {{redundant}}
|
D | objcmt-instancetype.m.result | 18 @interface NSArray : NSObject 23 @interface NSArray (NSArrayCreation) 28 + (instancetype) arrayWithArray:(NSArray *)array; 32 - (instancetype)initWithArray:(NSArray *)array; 37 @interface NSMutableArray : NSArray 52 + (instancetype)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 57 - (instancetype)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 81 NSArray *arr = [NSArray arrayWithArray:@[str]]; // expected-warning {{redundant}}
|
D | objcmt-subscripting-literals.m.result | 23 @interface NSArray : NSObject 27 @interface NSArray (NSExtendedArray) 31 @interface NSArray (NSArrayCreation) 36 + (id)arrayWithArray:(NSArray *)array; 40 - (id)initWithArray:(NSArray *)array; 43 @interface NSMutableArray : NSArray 65 + (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 70 - (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys; 93 NSArray *ivarArr; 99 NSArray *arr; [all …]
|
/external/clang/test/FixIt/ |
D | fixit-static-object-decl.m | 14 @interface NSArray interface 22 NSArray func() { 23 NSArray P; 27 NSArray (func2)() { return 0; } function 31 auto l1 = [] () -> NSArray { return 0; }; 36 NSArray pluginNames = [NSArray arrayWithObjects];
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2008-03-24-CoalescerBug.ll | 4 %struct.NSArray = type { %struct..0objc_object } 5 %struct.NSMutableArray = type { %struct.NSArray } 8 … type { %struct..0objc_object, %struct.NSMutableArray*, %struct.NSArray*, %struct.NSArray*, %struc… 17 …Symbols* %self, %struct.objc_selector* %_cmd, %struct.NSArray* %name, i64 %address, %struct.NSArra… 21 …ct.NSArray*)*)( %struct..0objc_object* null, %struct.objc_selector* null, %struct.NSArray* bitcast…
|
/external/clang/test/CodeGenObjCXX/ |
D | refence-assign-write-barrier.mm | 4 @interface NSArray interface 5 - (NSArray*) retain; 9 void NSAssignArray(NSArray*& target, NSArray* newValue) 14 NSArray* oldValue = target;
|
/external/chromium_org/third_party/mozilla/ |
D | NSPasteboard+Utils.h | 50 - (int) declareURLPasteboardWithAdditionalTypes:(NSArray*)additionalTypes owner:(id)newOwner; 53 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles; 54 - (void) getURLs:(NSArray**)outUrls 55 andTitles:(NSArray**)outTitles
|
D | NSPasteboard+Utils.mm | 73 - (int)declareURLPasteboardWithAdditionalTypes:(NSArray*)additionalTypes owner:(id)newOwner 75 NSArray* allTypes = [additionalTypes arrayByAddingObjectsFromArray: argument 76 [NSArray arrayWithObjects: 93 NSArray* urlList = [NSArray arrayWithObject:url]; 94 NSArray* titleList = nil; 96 titleList = [NSArray arrayWithObject:title]; 106 - (void)setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles 125 [self addTypes:[NSArray arrayWithObject:NSFilenamesPboardType] owner:nil]; 130 [clipboardData addObject:[NSArray arrayWithArray:inUrls]]; 175 - (void) getURLs:(NSArray**)outUrls [all …]
|
/external/chromium_org/content/browser/accessibility/ |
D | browser_accessibility_cocoa.h | 58 @property(nonatomic, readonly) NSArray* children; 59 @property(nonatomic, readonly) NSArray* columns; 60 @property(nonatomic, readonly) NSArray* columnHeaders; 89 @property(nonatomic, readonly) NSArray* rowHeaders; 91 @property(nonatomic, readonly) NSArray* rows; 98 @property(nonatomic, readonly) NSArray* tabs; 105 @property(nonatomic, readonly) NSArray* visibleCells; 106 @property(nonatomic, readonly) NSArray* visibleColumns; 107 @property(nonatomic, readonly) NSArray* visibleRows;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ArrayIterator.h | 54 __strong NSArray *anArray; 58 + (ArrayIterator *) newIterator:(NSArray *)array; 62 - (id) initWithArray:(NSArray *)array; 68 - (NSArray *)allObjects; 77 @property (retain) NSArray *anArray;
|
/external/clang/test/SemaObjCXX/ |
D | literals.mm | 41 @interface NSArray : NSObject <NSCopying> interface 45 @interface NSArray (NSArrayCreation) interface in NSArrayCreation 82 void test_convertibility(ConvertibleTo<NSArray*> toArray, 86 ExplicitlyConvertibleTo<NSArray *> toArrayExplicit) { 93 …; // expected-error{{collection element of type 'ExplicitlyConvertibleTo<NSArray *>' is not an Obj… 103 …[ PrivateConvertibleTo<NSArray*>() ]; // expected-error{{operator NSArray *' is a private member o… 112 template void test_array_literals(NSArray*); 128 template void test_dictionary_literals(id, NSArray*); 129 template void test_dictionary_literals(NSArray*, id); 143 template void test_variadic_array_literal(id, NSArray*); [all …]
|