Searched refs:dict (Results 1 – 25 of 36) sorted by relevance
12
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBDictionaryTests+Int32.m | 94 GPBInt32UInt32Dictionary *dict = [[GPBInt32UInt32Dictionary alloc] init]; 95 XCTAssertNotNil(dict); 96 XCTAssertEqual(dict.count, 0U); 97 XCTAssertFalse([dict getUInt32:NULL forKey:11]); 98 [dict enumerateKeysAndUInt32sUsingBlock:^(int32_t aKey, uint32_t aValue, BOOL *stop) { 102 [dict release]; 106 GPBInt32UInt32Dictionary *dict = [GPBInt32UInt32Dictionary dictionaryWithUInt32:100U forKey:11]; 107 XCTAssertNotNil(dict); 108 XCTAssertEqual(dict.count, 1U); 110 XCTAssertTrue([dict getUInt32:NULL forKey:11]); [all …]
|
D | GPBDictionaryTests+String.m | 94 GPBStringUInt32Dictionary *dict = [[GPBStringUInt32Dictionary alloc] init]; 95 XCTAssertNotNil(dict); 96 XCTAssertEqual(dict.count, 0U); 97 XCTAssertFalse([dict getUInt32:NULL forKey:@"foo"]); 98 [dict enumerateKeysAndUInt32sUsingBlock:^(NSString *aKey, uint32_t aValue, BOOL *stop) { 102 [dict release]; 106 …GPBStringUInt32Dictionary *dict = [GPBStringUInt32Dictionary dictionaryWithUInt32:100U forKey:@"fo… 107 XCTAssertNotNil(dict); 108 XCTAssertEqual(dict.count, 1U); 110 XCTAssertTrue([dict getUInt32:NULL forKey:@"foo"]); [all …]
|
D | GPBDictionaryTests+UInt64.m | 94 GPBUInt64UInt32Dictionary *dict = [[GPBUInt64UInt32Dictionary alloc] init]; 95 XCTAssertNotNil(dict); 96 XCTAssertEqual(dict.count, 0U); 97 XCTAssertFalse([dict getUInt32:NULL forKey:31ULL]); 98 [dict enumerateKeysAndUInt32sUsingBlock:^(uint64_t aKey, uint32_t aValue, BOOL *stop) { 102 [dict release]; 106 …GPBUInt64UInt32Dictionary *dict = [GPBUInt64UInt32Dictionary dictionaryWithUInt32:100U forKey:31UL… 107 XCTAssertNotNil(dict); 108 XCTAssertEqual(dict.count, 1U); 110 XCTAssertTrue([dict getUInt32:NULL forKey:31ULL]); [all …]
|
D | GPBDictionaryTests+Int64.m | 94 GPBInt64UInt32Dictionary *dict = [[GPBInt64UInt32Dictionary alloc] init]; 95 XCTAssertNotNil(dict); 96 XCTAssertEqual(dict.count, 0U); 97 XCTAssertFalse([dict getUInt32:NULL forKey:21LL]); 98 [dict enumerateKeysAndUInt32sUsingBlock:^(int64_t aKey, uint32_t aValue, BOOL *stop) { 102 [dict release]; 106 GPBInt64UInt32Dictionary *dict = [GPBInt64UInt32Dictionary dictionaryWithUInt32:100U forKey:21LL]; 107 XCTAssertNotNil(dict); 108 XCTAssertEqual(dict.count, 1U); 110 XCTAssertTrue([dict getUInt32:NULL forKey:21LL]); [all …]
|
D | GPBDictionaryTests+UInt32.m | 94 GPBUInt32UInt32Dictionary *dict = [[GPBUInt32UInt32Dictionary alloc] init]; 95 XCTAssertNotNil(dict); 96 XCTAssertEqual(dict.count, 0U); 97 XCTAssertFalse([dict getUInt32:NULL forKey:1U]); 98 [dict enumerateKeysAndUInt32sUsingBlock:^(uint32_t aKey, uint32_t aValue, BOOL *stop) { 102 [dict release]; 106 GPBUInt32UInt32Dictionary *dict = [GPBUInt32UInt32Dictionary dictionaryWithUInt32:100U forKey:1U]; 107 XCTAssertNotNil(dict); 108 XCTAssertEqual(dict.count, 1U); 110 XCTAssertTrue([dict getUInt32:NULL forKey:1U]); [all …]
|
D | GPBDictionaryTests+Bool.m | 54 GPBBoolUInt32Dictionary *dict = [[GPBBoolUInt32Dictionary alloc] init]; 55 XCTAssertNotNil(dict); 56 XCTAssertEqual(dict.count, 0U); 57 XCTAssertFalse([dict getUInt32:NULL forKey:YES]); 58 [dict enumerateKeysAndUInt32sUsingBlock:^(BOOL aKey, uint32_t aValue, BOOL *stop) { 62 [dict release]; 66 GPBBoolUInt32Dictionary *dict = [GPBBoolUInt32Dictionary dictionaryWithUInt32:100U forKey:YES]; 67 XCTAssertNotNil(dict); 68 XCTAssertEqual(dict.count, 1U); 70 XCTAssertTrue([dict getUInt32:NULL forKey:YES]); [all …]
|
D | GPBDictionaryTests.pddm | 69 //% DICTIONARY_CLASS_DECL##VHELPER(KEY_NAME, VALUE_NAME, VALUE_TYPE) *dict = [[GPB##KEY_NAME##VALU… 70 //% XCTAssertNotNil(dict); 71 //% XCTAssertEqual(dict.count, 0U); 72 //%VALUE_NOT_FOUND##VHELPER(VALUE_NAME, dict, KEY1) 73 //% [dict enumerateKeysAnd##VALUE_NAME$u##sUsingBlock:^(KEY_TYPE KisP##aKey, VALUE_TYPE a##VNAME$u… 77 //% [dict release]; 81 //% DICTIONARY_CLASS_DECL##VHELPER(KEY_NAME, VALUE_NAME, VALUE_TYPE) *dict = [GPB##KEY_NAME##VALUE… 82 //% XCTAssertNotNil(dict); 83 //% XCTAssertEqual(dict.count, 1U); 84 //%DECLARE_VALUE_STORAGE##VHELPER(VALUE_TYPE, VNAME)TEST_VALUE##VHELPER(VALUE_NAME, dict, VNAME, KE… [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | descriptor.py | 293 self.fields_by_number = dict((f.number, f) for f in fields) 294 self.fields_by_name = dict((f.name, f) for f in fields) 300 self.nested_types_by_name = dict((t.name, t) for t in nested_types) 305 self.enum_types_by_name = dict((t.name, t) for t in enum_types) 306 self.enum_values_by_name = dict( 312 self.extensions_by_name = dict((f.name, f) for f in extensions) 316 self.oneofs_by_name = dict((o.name, o) for o in self.oneofs) 324 self._fields_by_camelcase_name = dict( 620 self.values_by_name = dict((v.name, v) for v in values) 621 self.values_by_number = dict((v.number, v) for v in values) [all …]
|
D | json_format.py | 449 if isinstance(value, dict) and not value: 479 if isinstance(value, dict): 505 if not isinstance(value, dict): 528 if not isinstance(value, dict):
|
D | message.py | 290 return dict(serialized=self.SerializePartialToString())
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBMessage.m | 592 id dict = GPBGetObjectIvarWithFieldNoAutocreate(self, field); 593 if (!dict) { 596 dict = CreateMapForField(field, nil); 597 GPBSetRetainedObjectIvarWithFieldInternal(self, field, dict, syntax); 599 return dict; 605 id dict = GPBGetObjectIvarWithFieldNoAutocreate(self, field); 606 if (!dict) { 610 dict = GPBGetObjectIvarWithFieldNoAutocreate(self, field); 611 if (!dict) { 612 dict = CreateMapForField(field, self); [all …]
|
D | GPBDictionary_PackagePrivate.h | 468 size_t GPBDictionaryComputeSizeInternalHelper(NSDictionary *dict, 474 GPBCodedOutputStream *outputStream, NSDictionary *dict, 479 BOOL GPBDictionaryIsInitializedInternalHelper(NSDictionary *dict,
|
/frameworks/ml/nn/tools/systrace_parser/parser/ |
D | output.py | 69 values = dict() 131 output = dict(times=times, self_times=self_times, execution_counts=execution_counts,
|
D | naming.py | 36 subphases = dict(PE=[PHASE_INPUTS_AND_OUTPUTS, PHASE_TRANSFORMATION,
|
D | aggregate.py | 38 execution_counts = dict()
|
/frameworks/ml/nn/tools/systrace_parser/parser/test/ |
D | test_stats.py | 11 self.timevars = dict() 32 dict(t1=self.tracker1, t2=self.tracker2),
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | proto_builder_test.py | 57 self._fields = dict(self.ordered_fields)
|
D | containers.py | 111 return dict(self.items()) == dict(other.items())
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/ |
D | make_test_output.py | 26 tests = defaultdict(dict)
|
/frameworks/ml/nn/tools/ |
D | parse_benchmark.py | 46 data = dict()
|
/frameworks/rs/ |
D | build_rs.py | 30 ORIG_ENV = dict(os.environ) 73 env = dict(ORIG_ENV)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/DevTools/ |
D | pddm.py | 151 self._macros = dict() 320 args = dict(zip(macro.args, arg_values))
|
/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 263 script_organized_dict = collections.defaultdict(dict)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/ |
D | mox.py | 1032 expected = dict([(element, None) for element in self._expected_seq]) 1033 actual = dict([(element, None) for element in actual_seq])
|
/frameworks/ml/nn/tools/test_generator/ |
D | test_generator.py | 147 typesMap = dict() 346 self.SetValue(value[self] if type(value) is dict else value) 698 self.targetOperands = args if type(args) is dict else {i: None for i in args} 985 elif type(feedDict) is dict: 1270 Type.typesMap = dict()
|
12