Home
last modified time | relevance | path

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

1234

/external/antlr/antlr-3.4/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"];
Dobjc-container-subscripting-1.m16 array[10] = 0; // expected-warning {{instance method '-setObject:atIndexedSubscript:' not found (re…
21 p_array[10] = 0; // expected-warning {{instance method '-setObject:atIndexedSubscript:' not found (…
Dobjc-container-subscripting-2.m8 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
13 - (void)setObject:(id)object forKeyedSubscript:(size_t)key;
/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;
125 [mdict setObject:@"value" forKey:@"key"];
127 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
128 [mdict setObject:[dict objectForKey:@"key2"] forKey:
135 [mdict setObject:[dict objectForKey:
142 [mdict setObject:@"value" forKey:[dict objectForKey:
149 [mdict setObject:@"val" forKey:[dict objectForKey:@"key2"]];
150 …[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;
128 [mdict setObject:dict[@"key2"] forKey:
191 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx;
207 - (void)setObject:(id)obj atIndexedSubscript:(unsigned)idx __attribute__((unavailable));
Dobjcmt-subscripting-unavailable.m.result53 - (void)setObject:(id)anObject forKey:(id)aKey;
75 [mdict setObject:@"value" forKey:@"key"];
77 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
Dobjcmt-subscripting-unavailable.m53 - (void)setObject:(id)anObject forKey:(id)aKey;
75 [mdict setObject:@"value" forKey:@"key"];
77 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
/external/lldb/test/functionalities/data-formatter/rdar-11988289/
Dmain.m22 [mutabledict setObject:@"123" forKey:@23];
23 [mutabledict setObject:[NSURL URLWithString:@"http://www.apple.com"] forKey:@"foobar"];
24 [mutabledict setObject:@[@"a",@12] forKey:@57];
25 [mutabledict setObject:dictionary forKey:@"puartist"];
/external/google-breakpad/src/client/mac/sender/
Duploader.mm125 [config setObject:(value ? value : data) forKey:key];
235 [parameters_ setObject:[config objectForKey:key] forKey:key];
242 [parameters_ setObject:clientID forKey:@"guid"];
261 [ud setObject:crashClientID forKey:kClientIdPreferenceKey];
417 [serverDictionary_ setObject:socorroDictionary_ forKey:kSocorroServerType];
418 [serverDictionary_ setObject:googleDictionary_ forKey:kGoogleServerType];
420 [googleDictionary_ setObject:@"ptime" forKey:@BREAKPAD_PROCESS_UP_TIME];
421 [googleDictionary_ setObject:@"email" forKey:@BREAKPAD_EMAIL];
422 [googleDictionary_ setObject:@"comments" forKey:@BREAKPAD_COMMENTS];
423 [googleDictionary_ setObject:@"prod" forKey:@BREAKPAD_PRODUCT];
[all …]
/external/clang/test/Analysis/
DNSContainers.m46 - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx __attribute__((availability(macosx,int…
82 - (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
92 - (void)setObject:(id)obj forKeyedSubscript:(id <NSCopying>)key __attribute__((availability(macosx,…
128 …[marray setObject:0 atIndexedSubscript:1]; // expected-warning {{Argument to 'NSMutableArray' meth…
144 …[d setObject:0 forKey:key]; // expected-warning {{Value argument to 'setObject:forKey:' cannot be …
148 …[d setObject:obj forKey:0]; // expected-warning {{Key argument to 'setObject:forKey:' cannot be ni…
250 [D setObject: value forKey: key]; // no-warning
258 [Table setObject:Value forKey:Object]; // no warning
/external/antlr/antlr-3.4/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/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/lldb/tools/lldb-perf/darwin/formatters/
Dfmts_tester.mm29 [nsmutabledictionary setObject:@1 forKey:@1];
30 [nsmutabledictionary setObject:@2 forKey:@2];
31 [nsmutabledictionary setObject:@"hello" forKey:@"world"];
32 [nsmutabledictionary setObject:@3 forKey:@3];
/external/lldb/test/functionalities/data-formatter/data-formatter-objc/
Dmain.m351 [newMutableDictionary setObject:@"foo" forKey:@"bar0"];
352 [newMutableDictionary setObject:@"foo" forKey:@"bar1"];
353 [newMutableDictionary setObject:@"foo" forKey:@"bar2"];
354 [newMutableDictionary setObject:@"foo" forKey:@"bar3"];
355 [newMutableDictionary setObject:@"foo" forKey:@"bar4"];
356 [newMutableDictionary setObject:@"foo" forKey:@"bar5"];
357 [newMutableDictionary setObject:@"foo" forKey:@"bar6"];
358 [newMutableDictionary setObject:@"foo" forKey:@"bar7"];
359 [newMutableDictionary setObject:@"foo" forKey:@"bar8"];
360 [newMutableDictionary setObject:@"foo" forKey:@"bar9"];
[all …]
/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/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()
DXBoolean.java72 setObject(b); in XBoolean()
136 setObject(new Boolean(m_val)); in object()
/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()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDoubleKeyMap.m14 - (id) setObject:(id)v forKey1:(id)k1 forKey2:(id)k2
20 [data setObject:data2 forKey:k1];
25 [data2 setObject:v forKey:k2];
/external/clang/test/PCH/
Dobjc_container.h5 - (void)setObject:(id)object atIndexedSubscript:(unsigned int)index;
10 - (void)setObject:(id)object forKeyedSubscript:(id)key;
/external/clang/test/Index/
Dindex-subscripting-literals.m8 - (void)setObject:(id)object atIndexedSubscript:(int)index;
17 - (void)setObject:(id)object forKeyedSubscript:(id)key;
46 // CHECK-NEXT: [indexEntityReference]: kind: objc-instance-method | name: setObject:atIndexedSubscr…
60 // CHECK-NEXT: [indexEntityReference]: kind: objc-instance-method | name: setObject:forKeyedSubscri…
/external/clang/test/CodeGenObjCXX/
Dobjc-container-subscripting-1.mm9 - (void)setObject:(id)object atIndexedSubscript:(size_t)index;
19 - (void)setObject:(id)object forKeyedSubscript:(id<NSCopying>)key;

1234