Home
last modified time | relevance | path

Searched refs:setObject (Results 1 – 25 of 171) sorted by relevance

1234567

/external/antlr/runtime/ObjC/Framework/test/runtime/misc/
DTestDictionary.m35 [testDict setObject:obj1 forKey:key1];
50 [testDict setObject:obj1 forKey:key1];
51 [testDict setObject:obj2 forKey:key2];
64 [testDict setObject:obj1 forKey:key1];
65 [testDict setObject:@"obj102" forKey:@"a102"];
66 [testDict setObject:@"obj103" forKey:@"a103"];
67 [testDict setObject:@"obj104" forKey:@"a104"];
68 [testDict setObject:@"obj105" forKey:@"a105"];
69 [testDict setObject:@"obj106" forKey:@"a106"];
70 [testDict setObject:@"obj107" forKey:@"a107"];
[all …]
/external/clang/test/SemaObjC/
Dcircular-container.m12 - (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index;
18 - (void)setObject:(id)object forKey:(id)key;
19 - (void)setObject:(id)object forKeyedSubscript:(id)key;
38 - (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index;
40 - (void)setObject:(id)object atIndex:(NSUInteger)index;
58 …[_dictionary setObject:_dictionary forKey:@"key"]; // expected-warning {{adding '_dictionary' to '…
69 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
91 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
112 …[a setObject:a atIndexedSubscript:0]; // expected-warning {{adding 'a' to 'a' might cause circular…
119 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
[all …]
Dobjc-container-subscripting-attr.m7 - (void)setObject:(id)object forKeyedSubscript:(id)key __attribute__((unavailable)); // expected-no…
11 obj[obj] = obj; // expected-error {{'setObject:forKeyedSubscript:' is unavailable}}
Dobjc-dictionary-literal.m33 - (void)setObject:(id)object forKeyedSubscript:(id)key;
42 - (void)setObject:(id)object atIndexedSubscript:(NSInteger)index;
58 [@{@"foo" : @"bar"} setObject:nil forKeyedSubscript:@"gorf"];
60 [@{@"foo" : @"bar"} setObject:pvoid forKeyedSubscript:@"gorf"];
/external/llvm-project/clang/test/SemaObjC/
Dcircular-container.m12 - (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index;
18 - (void)setObject:(id)object forKey:(id)key;
19 - (void)setObject:(id)object forKeyedSubscript:(id)key;
38 - (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index;
40 - (void)setObject:(id)object atIndex:(NSUInteger)index;
58 …[_dictionary setObject:_dictionary forKey:@"key"]; // expected-warning {{adding '_dictionary' to '…
69 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
91 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
112 …[a setObject:a atIndexedSubscript:0]; // expected-warning {{adding 'a' to 'a' might cause circular…
119 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
[all …]
Dobjc-container-subscripting-attr.m7 - (void)setObject:(id)object forKeyedSubscript:(id)key __attribute__((unavailable)); // expected-no…
11 obj[obj] = obj; // expected-error {{'setObject:forKeyedSubscript:' is unavailable}}
Dobjc-dictionary-literal.m33 - (void)setObject:(id)object forKeyedSubscript:(id)key;
42 - (void)setObject:(id)object atIndexedSubscript:(NSInteger)index;
58 [@{@"foo" : @"bar"} setObject:nil forKeyedSubscript:@"gorf"];
60 [@{@"foo" : @"bar"} setObject:pvoid forKeyedSubscript:@"gorf"];
/external/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
78 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key;
127 [mdict setObject:@"value" forKey:@"key"];
129 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
130 [mdict setObject:[dict objectForKey:@"key2"] forKey:
137 [mdict setObject:[dict objectForKey:
144 [mdict setObject:@"value" forKey:[dict objectForKey:
151 [mdict setObject:@"val" forKey:[dict objectForKey:@"key2"]];
152 …[mdict setObject:[dict objectForKey:@"key1"] forKey:[dict objectForKey:[NSArray arrayWithObject:@"…
[all …]
Dobjcmt-subscripting-literals.m.result48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
78 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key;
130 [mdict setObject:dict[@"key2"] forKey:
193 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
209 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx __attribute__((unavailable));
/external/llvm-project/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
78 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key;
127 [mdict setObject:@"value" forKey:@"key"];
129 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
130 [mdict setObject:[dict objectForKey:@"key2"] forKey:
137 [mdict setObject:[dict objectForKey:
144 [mdict setObject:@"value" forKey:[dict objectForKey:
151 [mdict setObject:@"val" forKey:[dict objectForKey:@"key2"]];
152 …[mdict setObject:[dict objectForKey:@"key1"] forKey:[dict objectForKey:[NSArray arrayWithObject:@"…
[all …]
Dobjcmt-subscripting-literals.m.result48 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
78 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key;
130 [mdict setObject:dict[@"key2"] forKey:
193 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
209 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx __attribute__((unavailable));
/external/llvm-project/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/
Dmain.m13 [mutabledict setObject:@"123" forKey:@23];
14 [mutabledict setObject:[NSURL URLWithString:@"http://www.apple.com"] forKey:@"foobar"];
15 [mutabledict setObject:@[@"a",@12] forKey:@57];
16 [mutabledict setObject:dictionary forKey:@"sourceofstuff"];
/external/llvm-project/clang/test/Analysis/diagnostics/
Dmacros.m11 - (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
26 …[d setObject:o forKey:[o description]]; // expected-warning {{Key argument to 'setObject:forKey:' …
28 … // expected-note@-2 {{Key argument to 'setObject:forKey:' cannot be nil}}
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DST.stg153 - (STAttrMap *) setObject:(id)aValue forKey:(NS*)String attrName
155 [super setObject:value forKey:attrName];
160 [super setObject:[NSNumber numberWithInteger:value] forKey:attrName];
185 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
221 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
239 - (STAttrMap *) setObject:(id)aValue forKey:(NSString *)aAttrName
241 [super setObject:aValue forKey:aAttrName];
247 [super setObject:[NSNumber numberWithInteger:aValue] forKey:aAttrName];
328 <if(args)>[[STAttrMap newSTAttrMap] <args:{a | setObject:<a.value> forKey:@"<a.name>"]}><endif>]
336 <if(args)> [[STAttrMap newSTAttrMap]<args:{a | setObject:<a.value> forKey:@"<a.name>"]}>]
[all …]
/external/clang/test/Analysis/
DNSContainers.m48 - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx __attribute__((availability(macosx,int…
84 - (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
94 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key __attribute__((availability(macosx,…
130 …[marray setObject:0 atIndexedSubscript:1]; // expected-warning {{Argument to 'NSMutableArray' meth…
146 …[d setObject:0 forKey:key]; // expected-warning {{Value argument to 'setObject:forKey:' cannot be …
150 …[d setObject:obj forKey:0]; // expected-warning {{Key argument to 'setObject:forKey:' cannot be ni…
251 [D setObject: value forKey: key]; // no-warning
259 [Table setObject:Value forKey:Object]; // no warning
/external/google-breakpad/src/client/mac/sender/
Duploader.mm123 [config setObject:(value ? value : data) forKey:key];
239 [parameters_ setObject:[config objectForKey:key] forKey:key];
246 [parameters_ setObject:clientID forKey:@"guid"];
265 [ud setObject:crashClientID forKey:kClientIdPreferenceKey];
422 [serverDictionary_ setObject:socorroDictionary_ forKey:kSocorroServerType];
423 [serverDictionary_ setObject:googleDictionary_ forKey:kGoogleServerType];
425 [googleDictionary_ setObject:@"ptime" forKey:@BREAKPAD_PROCESS_UP_TIME];
426 [googleDictionary_ setObject:@"email" forKey:@BREAKPAD_EMAIL];
427 [googleDictionary_ setObject:@"comments" forKey:@BREAKPAD_COMMENTS];
428 [googleDictionary_ setObject:@"prod" forKey:@BREAKPAD_PRODUCT];
[all …]
/external/llvm-project/clang/test/CodeGenObjC/
Dobjc-container-subscripting.m9 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
16 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
22 - (void)setObject:(id)object forKeyedSubscript:(id)key;
/external/clang/test/CodeGenObjC/
Dobjc-container-subscripting.m9 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
16 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
22 - (void)setObject:(id)object forKeyedSubscript:(id)key;
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/
Dmain.m457 [newMutableDictionary setObject:@"foo" forKey:@"bar0"];
458 [newMutableDictionary setObject:@"foo" forKey:@"bar1"];
459 [newMutableDictionary setObject:@"foo" forKey:@"bar2"];
460 [newMutableDictionary setObject:@"foo" forKey:@"bar3"];
461 [newMutableDictionary setObject:@"foo" forKey:@"bar4"];
462 [newMutableDictionary setObject:@"foo" forKey:@"bar5"];
463 [newMutableDictionary setObject:@"foo" forKey:@"bar6"];
464 [newMutableDictionary setObject:@"foo" forKey:@"bar7"];
465 [newMutableDictionary setObject:@"foo" forKey:@"bar8"];
466 [newMutableDictionary setObject:@"foo" forKey:@"bar9"];
[all …]
/external/llvm-project/clang/test/Analysis/
DNSContainers.m50 - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx __attribute__((availability(macosx,int…
86 - (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
96 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key __attribute__((availability(macosx,…
132 …[marray setObject:0 atIndexedSubscript:1]; // expected-warning {{Argument to 'NSMutableArray' meth…
148 …[d setObject:0 forKey:key]; // expected-warning {{Value argument to 'setObject:forKey:' cannot be …
152 …[d setObject:obj forKey:0]; // expected-warning {{Key argument to 'setObject:forKey:' cannot be ni…
253 [D setObject: value forKey: key]; // no-warning
261 [Table setObject:Value forKey:Object]; // no warning
/external/clang/test/Rewriter/
Dobjc-modern-container-subscript.mm14 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
21 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
27 - (void)setObject:(id)object forKeyedSubscript:(id)key;
/external/llvm-project/clang/test/Rewriter/
Dobjc-modern-container-subscript.mm14 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
21 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
27 - (void)setObject:(id)object forKeyedSubscript:(id)key;
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNodeSetForDOM.java45 setObject(new NodeSetDTM(dtmMgr)); in XNodeSetForDOM()
72 setObject(nsdtm); in XNodeSetForDOM()
86 setObject(nsdtm); in XNodeSetForDOM()
/external/antlr/runtime/ObjC/Framework/
DDoubleKeyMap.m14 - (id) setObject:(id)v forKey1:(id)k1 forKey2:(id)k2
20 [data setObject:data2 forKey:k1];
25 [data2 setObject:v forKey:k2];
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DNodeSequence.java85 setObject(v); in SetVector()
568 super.setObject(nv); in setItem()
777 protected void setObject(Object obj) { in setObject() method in NodeSequence
781 super.setObject(obj); in setObject()
797 super.setObject(cache.getVector()); in setObject()
799 super.setObject(obj); in setObject()

1234567