Home
last modified time | relevance | path

Searched refs:forKey (Results 1 – 25 of 48) sorted by relevance

12

/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/owasp/sanitizer/src/tests/org/owasp/html/
DCssSchemaTest.java55 assertSame(key, CssSchema.DISALLOWED, CssSchema.DEFAULT.forKey(key)); in testDangerousProperties()
62 CssSchema.Property property = CssSchema.DEFAULT.forKey(propName); in testDangerousTokens()
86 assertSame(key, custom.forKey(key), CssSchema.DEFAULT.forKey(key)); in testCustom()
89 CssSchema.Property cssFloat = custom.forKey("float"); in testCustom()
/external/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m61 + (id)dictionaryWithObject:(id)object forKey:(id)key;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
107 dict = [NSDictionary dictionaryWithObject:arr forKey:str];
123 o = [NSDictionary dictionaryWithObject:[NSDictionary dictionary] forKey:@"key"];
127 [mdict setObject:@"value" forKey:@"key"];
129 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
130 [mdict setObject:[dict objectForKey:@"key2"] forKey:
143 ] forKey:@"key"];
144 [mdict setObject:@"value" forKey:[dict objectForKey:
151 [mdict setObject:@"val" forKey:[dict objectForKey:@"key2"]];
[all …]
Dobjcmt-subscripting-unavailable.m38 + (id)dictionaryWithObject:(id)object forKey:(id)key;
53 - (void)setObject:(id)anObject forKey:(id)aKey;
68 dict = [NSDictionary dictionaryWithObject:arr forKey:str];
75 [mdict setObject:@"value" forKey:@"key"];
77 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
Dobjcmt-subscripting-unavailable.m.result38 + (id)dictionaryWithObject:(id)object forKey:(id)key;
53 - (void)setObject:(id)anObject forKey:(id)aKey;
75 [mdict setObject:@"value" forKey:@"key"];
77 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"];
Dobjcmt-subscripting-literals-in-arc.m.result61 + (id)dictionaryWithObject:(id)object forKey:(id)key;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
Dobjcmt-subscripting-literals.m.result61 + (id)dictionaryWithObject:(id)object forKey:(id)key;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
130 [mdict setObject:dict[@"key2"] forKey:
Dobjcmt-subscripting-literals-in-arc.m61 + (id)dictionaryWithObject:(id)object forKey:(id)key;
74 - (void)setObject:(id)anObject forKey:(id)aKey;
Dobjcmt-instancetype.m.result72 + (instancetype)dictionaryWithObject:(id)object forKey:(id)key;
87 - (void)setObject:(id)anObject forKey:(id)aKey;
Dobjcmt-instancetype.m72 + (id)dictionaryWithObject:(id)object forKey:(id)key;
87 - (void)setObject:(id)anObject forKey:(id)aKey;
/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];
158 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName
160 [super setObject:[NSNumber numberWithInteger:value] forKey:attrName];
185 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
186 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName;
221 - (STAttrMap *) setObject:(id)value forKey:(NSString *)attrName;
222 - (STAttrMap *) setObjectWithInt:(NSInteger)value forKey:(NSString *)attrName;
239 - (STAttrMap *) setObject:(id)aValue forKey:(NSString *)aAttrName
241 [super setObject:aValue forKey:aAttrName];
[all …]
/external/google-breakpad/src/client/mac/sender/
Duploader.mm125 [config setObject:(value ? value : data) forKey:key];
193 [ud setBool:YES forKey:kApplePrefsSyncExcludeAllKey];
228 forKey:urlParameterKey];
231 forKey:urlParameterKey];
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];
[all …]
Duploader.h83 - (void)addServerParameter:(id)value forKey:(NSString *)key;
/external/clang/test/Analysis/
DNSContainers.m76 + (id)dictionaryWithObject:(id)object forKey:(id <NSCopying>)key;
84 - (void)setObject:(id)anObject forKey:(id <NSCopying>)aKey;
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…
167 …NSDictionary dictionaryWithObject:0 forKey:key]; // expected-warning {{Value argument to 'dictiona…
170 …NSDictionary dictionaryWithObject:obj forKey:0]; // expected-warning {{Key argument to 'dictionary…
251 [D setObject: value forKey: key]; // no-warning
259 [Table setObject:Value forKey:Object]; // no warning
/external/clang/test/SemaObjC/
Dcircular-container.m18 - (void)setObject:(id)object forKey:(id)key;
20 - (void)setValue:(id)value forKey:(NSString *)key;
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…
119 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
121 …[d setValue:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depende…
176 …[super setObject:self forKey:@"key"]; // expected-warning {{adding 'self' to 'super' might cause c…
177 [super setObject:nil forKey:@"key"]; // no-warning
178 …[self setObject:self forKey:@"key"]; // expected-warning {{adding 'self' to 'self' might cause cir…
[all …]
Dcocoa-api-usage.m49 + (id)dictionaryWithObject:(id)object forKey:(id)key;
64 - (void)setObject:(id)anObject forKey:(id)aKey;
Dcocoa-api-usage.m.fixed49 + (id)dictionaryWithObject:(id)object forKey:(id)key;
64 - (void)setObject:(id)anObject forKey:(id)aKey;
/external/clang/test/CodeGenObjCXX/
Dblock-in-template-inst.mm6 - (void)setObject:(id)obj forKey:(id)key;
22 [_spDeviceCache setObject:0 forKey:0];
/external/google-breakpad/src/tools/mac/symupload/
Dsymupload.m105 [parameters setObject:compactedID forKey:@"debug_identifier"];
109 [parameters setObject:[moduleParts objectAtIndex:1] forKey:@"os"];
110 [parameters setObject:[moduleParts objectAtIndex:2] forKey:@"cpu"];
111 [parameters setObject:[moduleParts objectAtIndex:4] forKey:@"debug_file"];
112 [parameters setObject:[moduleParts objectAtIndex:4] forKey:@"code_file"];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDoubleKeyMap.m20 [data setObject:data2 forKey:k1];
25 [data2 setObject:v forKey:k2];
DAMutableDictionary.h44 - (void) setObject:(id)obj forKey:(id)aKey;
/external/owasp/sanitizer/src/main/org/owasp/html/
DStylingPolicy.java97 cssProperty = cssSchema.forKey(propertyName); in sanitizeCssProperties()
113 ? cssSchema.forKey(key) in sanitizeCssProperties()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMissingBindingSuggestions.java33 static ImmutableList<String> forKey(BindingGraph topLevelGraph, BindingKey key) { in forKey() method in MissingBindingSuggestions
/external/google-breakpad/src/client/ios/
DBreakpadController.h96 - (void)addUploadParameter:(NSString*)value forKey:(NSString*)key;
/external/google-breakpad/src/client/mac/tests/
DBreakpadFramework_Test.mm98 [breakpadParams setObject:@"UnitTests" forKey:@BREAKPAD_PRODUCT];
99 [breakpadParams setObject:@"1.0" forKey:@BREAKPAD_VERSION];
100 [breakpadParams setObject:@"http://staging" forKey:@BREAKPAD_URL];

12