Home
last modified time | relevance | path

Searched full:dict (Results 1 – 25 of 4386) sorted by relevance

12345678910>>...176

/external/cronet/third_party/protobuf/objectivec/Tests/
DGPBDictionaryTests+UInt32.m86 GPBUInt32UInt32Dictionary *dict = [[GPBUInt32UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:1U]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(uint32_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBUInt32UInt32Dictionary *dict = [[GPBUInt32UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:1U];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Int32.m86 GPBInt32UInt32Dictionary *dict = [[GPBInt32UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:11]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(int32_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBInt32UInt32Dictionary *dict = [[GPBInt32UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:11];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Int64.m86 GPBInt64UInt32Dictionary *dict = [[GPBInt64UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:21LL]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(int64_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBInt64UInt32Dictionary *dict = [[GPBInt64UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:21LL];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+UInt64.m86 GPBUInt64UInt32Dictionary *dict = [[GPBUInt64UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:31ULL]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(uint64_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBUInt64UInt32Dictionary *dict = [[GPBUInt64UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:31ULL];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+String.m86 GPBStringUInt32Dictionary *dict = [[GPBStringUInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:@"foo"]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(NSString *aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBStringUInt32Dictionary *dict = [[GPBStringUInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:@"foo"];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Bool.m55 GPBBoolUInt32Dictionary *dict = [[GPBBoolUInt32Dictionary alloc] init];
56 XCTAssertNotNil(dict);
57 XCTAssertEqual(dict.count, 0U);
58 XCTAssertFalse([dict getUInt32:NULL forKey:YES]);
59 [dict enumerateKeysAndUInt32sUsingBlock:^(BOOL aKey, uint32_t aValue, BOOL *stop) {
63 [dict release];
67 GPBBoolUInt32Dictionary *dict = [[GPBBoolUInt32Dictionary alloc] init];
68 [dict setUInt32:100U forKey:YES];
69 XCTAssertNotNil(dict);
70 XCTAssertEqual(dict.count, 1U);
[all …]
/external/protobuf/objectivec/Tests/
DGPBDictionaryTests+UInt64.m86 GPBUInt64UInt32Dictionary *dict = [[GPBUInt64UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:31ULL]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(uint64_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBUInt64UInt32Dictionary *dict = [[GPBUInt64UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:31ULL];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Int32.m86 GPBInt32UInt32Dictionary *dict = [[GPBInt32UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:11]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(int32_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBInt32UInt32Dictionary *dict = [[GPBInt32UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:11];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+UInt32.m86 GPBUInt32UInt32Dictionary *dict = [[GPBUInt32UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:1U]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(uint32_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBUInt32UInt32Dictionary *dict = [[GPBUInt32UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:1U];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Int64.m86 GPBInt64UInt32Dictionary *dict = [[GPBInt64UInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:21LL]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(int64_t aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBInt64UInt32Dictionary *dict = [[GPBInt64UInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:21LL];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+String.m86 GPBStringUInt32Dictionary *dict = [[GPBStringUInt32Dictionary alloc] init];
87 XCTAssertNotNil(dict);
88 XCTAssertEqual(dict.count, 0U);
89 XCTAssertFalse([dict getUInt32:NULL forKey:@"foo"]);
90 [dict enumerateKeysAndUInt32sUsingBlock:^(NSString *aKey, uint32_t aValue, BOOL *stop) {
94 [dict release];
98 GPBStringUInt32Dictionary *dict = [[GPBStringUInt32Dictionary alloc] init];
99 [dict setUInt32:100U forKey:@"foo"];
100 XCTAssertNotNil(dict);
101 XCTAssertEqual(dict.count, 1U);
[all …]
DGPBDictionaryTests+Bool.m55 GPBBoolUInt32Dictionary *dict = [[GPBBoolUInt32Dictionary alloc] init];
56 XCTAssertNotNil(dict);
57 XCTAssertEqual(dict.count, 0U);
58 XCTAssertFalse([dict getUInt32:NULL forKey:YES]);
59 [dict enumerateKeysAndUInt32sUsingBlock:^(BOOL aKey, uint32_t aValue, BOOL *stop) {
63 [dict release];
67 GPBBoolUInt32Dictionary *dict = [[GPBBoolUInt32Dictionary alloc] init];
68 [dict setUInt32:100U forKey:YES];
69 XCTAssertNotNil(dict);
70 XCTAssertEqual(dict.count, 1U);
[all …]
/external/zstd/tests/regression/
Dresults.csv62 github, level -5 with dict, compress cctx, …
64 github, level -3 with dict, compress cctx, …
66 github, level -1 with dict, compress cctx, …
68 github, level 0 with dict, compress cctx, …
70 github, level 1 with dict, compress cctx, …
72 github, level 3 with dict, compress cctx, …
74 github, level 4 with dict, compress cctx, …
76 github, level 5 with dict, compress cctx, …
78 github, level 6 with dict, compress cctx, …
80 github, level 7 with dict, compress cctx, …
[all …]
/external/cronet/net/cookies/
Dcookie_monster_netlog_params.cc12 base::Value::Dict NetLogCookieMonsterConstructorParams(bool persistent_store) { in NetLogCookieMonsterConstructorParams()
13 base::Value::Dict dict; in NetLogCookieMonsterConstructorParams() local
14 dict.Set("persistent_store", persistent_store); in NetLogCookieMonsterConstructorParams()
15 return dict; in NetLogCookieMonsterConstructorParams()
18 base::Value::Dict NetLogCookieMonsterCookieAdded( in NetLogCookieMonsterCookieAdded()
23 return base::Value::Dict(); in NetLogCookieMonsterCookieAdded()
25 base::Value::Dict dict; in NetLogCookieMonsterCookieAdded() local
26 dict.Set("name", cookie->Name()); in NetLogCookieMonsterCookieAdded()
27 dict.Set("value", cookie->Value()); in NetLogCookieMonsterCookieAdded()
28 dict.Set("domain", cookie->Domain()); in NetLogCookieMonsterCookieAdded()
[all …]
/external/jacoco/org.jacoco.doc/diagrams/
Dflow.graffle4 <dict>
39 <dict>
65 </dict>
877 <dict>
883 <dict>
891 <dict>
893 <dict>
896 </dict>
898 <dict>
901 </dict>
[all …]
Dimplementation.graffle4 <dict>
15 <dict>
23 <dict>
25 <dict>
28 </dict>
30 <dict>
33 </dict>
34 </dict>
35 </dict>
52 <dict>
[all …]
/external/cronet/net/quic/
Dquic_event_logger.cc18 base::Value::Dict NetLogQuicPacketParams( in NetLogQuicPacketParams()
22 base::Value::Dict dict; in NetLogQuicPacketParams() local
23 dict.Set("self_address", self_address.ToString()); in NetLogQuicPacketParams()
24 dict.Set("peer_address", peer_address.ToString()); in NetLogQuicPacketParams()
25 dict.Set("size", static_cast<int>(packet_size)); in NetLogQuicPacketParams()
26 return dict; in NetLogQuicPacketParams()
29 base::Value::Dict NetLogQuicPacketSentParams( in NetLogQuicPacketSentParams()
35 base::Value::Dict dict; in NetLogQuicPacketSentParams() local
36 dict.Set("transmission_type", in NetLogQuicPacketSentParams()
38 dict.Set("packet_number", NetLogNumberValue(packet_number.ToUint64())); in NetLogQuicPacketSentParams()
[all …]
/external/google-breakpad/src/common/
Dlong_string_dictionary_unittest.cc42 LongStringDictionary dict; in TEST() local
45 dict.SetKeyValue("key1", "value1"); in TEST()
46 dict.SetKeyValue("key2", "value2"); in TEST()
47 dict.SetKeyValue("key3", "value3"); in TEST()
49 EXPECT_EQ("value1", dict.GetValueForKey("key1")); in TEST()
50 EXPECT_EQ("value2", dict.GetValueForKey("key2")); in TEST()
51 EXPECT_EQ("value3", dict.GetValueForKey("key3")); in TEST()
52 EXPECT_EQ(3u, dict.GetCount()); in TEST()
54 EXPECT_EQ("", dict.GetValueForKey("key4")); in TEST()
57 dict.RemoveKey("key3"); in TEST()
[all …]
/external/libxml2/
Ddict.c2 * dict.c: dictionary of reusable strings, just used to avoid allocation
26 #include "private/dict.h"
35 * Note2: the fast function used for a small dict won't protect very
55 #include <libxml/dict.h>
69 #define xmlDictComputeKey(dict, name, len) \ argument
70 (((dict)->size == MIN_DICT_SIZE) ? \
71 xmlDictComputeFastKey(name, len, (dict)->seed) : \
72 xmlDictComputeBigKey(name, len, (dict)->seed))
74 #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ argument
76 (xmlDictComputeKey(dict, name, len)) : \
[all …]
/external/cronet/third_party/libxml/src/
Ddict.c2 * dict.c: dictionary of reusable strings, just used to avoid allocation
26 #include "private/dict.h"
35 * Note2: the fast function used for a small dict won't protect very
55 #include <libxml/dict.h>
69 #define xmlDictComputeKey(dict, name, len) \ argument
70 (((dict)->size == MIN_DICT_SIZE) ? \
71 xmlDictComputeFastKey(name, len, (dict)->seed) : \
72 xmlDictComputeBigKey(name, len, (dict)->seed))
74 #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ argument
76 (xmlDictComputeKey(dict, name, len)) : \
[all …]
/external/clang/test/Analysis/
Dobjc-radar17039661.m64 // CHECK: <dict>
67 // CHECK: <dict>
71 // CHECK: <dict>
74 // CHECK: <dict>
78 // CHECK: </dict>
79 // CHECK: <dict>
83 // CHECK: </dict>
87 // CHECK: <dict>
91 // CHECK: </dict>
92 // CHECK: <dict>
[all …]
Dmalloc-plist.c211 // CHECK-NEXT: <dict>
214 // CHECK-NEXT: <dict>
218 // CHECK-NEXT: <dict>
221 // CHECK-NEXT: <dict>
225 // CHECK-NEXT: </dict>
226 // CHECK-NEXT: <dict>
230 // CHECK-NEXT: </dict>
234 // CHECK-NEXT: <dict>
238 // CHECK-NEXT: </dict>
239 // CHECK-NEXT: <dict>
[all …]
Dedges-new.mm595 // CHECK-NEXT: <dict>
598 // CHECK-NEXT: <dict>
601 // CHECK-NEXT: <dict>
605 // CHECK-NEXT: </dict>
609 // CHECK-NEXT: <dict>
613 // CHECK-NEXT: </dict>
614 // CHECK-NEXT: <dict>
618 // CHECK-NEXT: </dict>
626 // CHECK-NEXT: </dict>
627 // CHECK-NEXT: <dict>
[all …]
/external/cronet/third_party/brotli/common/
Dshared_dictionary.c275 BrotliSharedDictionary* dict) { in ParseDictionary() argument
290 dict->prefix_size[dict->num_prefix] = chunk_size; in ParseDictionary()
291 dict->prefix[dict->num_prefix] = &encoded[pos]; in ParseDictionary()
292 dict->num_prefix++; in ParseDictionary()
298 if (!ReadUint8(encoded, size, &pos, &dict->num_word_lists)) { in ParseDictionary()
301 if (dict->num_word_lists > SHARED_BROTLI_NUM_DICTIONARY_CONTEXTS) { in ParseDictionary()
305 if (dict->num_word_lists != 0) { in ParseDictionary()
306 dict->words_instances = (BrotliDictionary*)dict->alloc_func( in ParseDictionary()
307 dict->memory_manager_opaque, in ParseDictionary()
308 dict->num_word_lists * sizeof(*dict->words_instances)); in ParseDictionary()
[all …]
/external/cronet/net/disk_cache/
Dnet_log_parameters.cc18 base::Value::Dict NetLogReadWriteDataParams(int index, in NetLogReadWriteDataParams()
22 base::Value::Dict dict; in NetLogReadWriteDataParams() local
23 dict.Set("index", index); in NetLogReadWriteDataParams()
24 dict.Set("offset", offset); in NetLogReadWriteDataParams()
25 dict.Set("buf_len", buf_len); in NetLogReadWriteDataParams()
27 dict.Set("truncate", truncate); in NetLogReadWriteDataParams()
28 return dict; in NetLogReadWriteDataParams()
31 base::Value::Dict NetLogReadWriteCompleteParams(int bytes_copied) { in NetLogReadWriteCompleteParams()
33 base::Value::Dict dict; in NetLogReadWriteCompleteParams() local
35 dict.Set("net_error", bytes_copied); in NetLogReadWriteCompleteParams()
[all …]

12345678910>>...176