Home
last modified time | relevance | path

Searched refs:NSArray (Results 1 – 25 of 554) sorted by relevance

12345678910>>...23

/external/clang/test/CodeGenObjC/
Dlocal-static-block.m5 @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 …]
Dfor-in.m5 @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/
Darc-setter-property-match.m5 @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 …]
Dcocoa-api-usage.m19 @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}}
Dcocoa-api-usage.m.fixed19 @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}}
Dnarrow-property-type-in-cont-class.m5 @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/
D2008-04-15-LiveVariableBug.ll6 %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/
Dobjcmt-subscripting-literals.m23 @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 …]
Dobjcmt-property.m40 @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 …]
Dobjcmt-subscripting-literals-in-arc.m23 @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 …]
Dobjcmt-subscripting-unavailable.m13 @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 …]
Dobjcmt-subscripting-literals-in-arc.m.result23 @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;
Dobjcmt-property.m.result40 @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;
Dobjcmt-subscripting-unavailable.m.result13 @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;
Dobjcmt-instancetype.m18 @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}}
Dobjcmt-instancetype.m.result18 @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}}
Dobjcmt-subscripting-literals.m.result23 @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/
Dfixit-static-object-decl.m14 @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/
D2008-03-24-CoalescerBug.ll4 %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/
Drefence-assign-write-barrier.mm4 @interface NSArray interface
5 - (NSArray*) retain;
9 void NSAssignArray(NSArray*& target, NSArray* newValue)
14 NSArray* oldValue = target;
/external/chromium_org/third_party/mozilla/
DNSPasteboard+Utils.h50 - (int) declareURLPasteboardWithAdditionalTypes:(NSArray*)additionalTypes owner:(id)newOwner;
53 - (void) setURLs:(NSArray*)inUrls withTitles:(NSArray*)inTitles;
54 - (void) getURLs:(NSArray**)outUrls
55 andTitles:(NSArray**)outTitles
DNSPasteboard+Utils.mm73 - (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/
Dbrowser_accessibility_cocoa.h58 @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/
DArrayIterator.h54 __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/
Dliterals.mm41 @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 …]

12345678910>>...23