Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/external/libxml2/
Ddict.c70 #define xmlDictComputeKey(dict, name, len) \ argument
71 (((dict)->size == MIN_DICT_SIZE) ? \
72 xmlDictComputeFastKey(name, len, (dict)->seed) : \
73 xmlDictComputeBigKey(name, len, (dict)->seed))
75 #define xmlDictComputeQKey(dict, prefix, plen, name, len) \ argument
77 (xmlDictComputeKey(dict, name, len)) : \
78 (((dict)->size == MIN_DICT_SIZE) ? \
79 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) : \
80 xmlDictComputeBigQKey(prefix, plen, name, len, (dict)->seed)))
83 #define xmlDictComputeKey(dict, name, len) \ argument
[all …]
/external/ltrace/
Ddict.c32 bitp(struct dict *dict, size_t n) in bitp() argument
34 return VECT_ELEMENT(&dict->status, struct status_bits, n); in bitp()
38 dict_init(struct dict *dict, in dict_init() argument
47 vect_init(&dict->keys, key_size); in dict_init()
48 vect_init(&dict->values, value_size); in dict_init()
49 VECT_INIT(&dict->status, struct status_bits); in dict_init()
50 dict->size = 0; in dict_init()
52 dict->hash1 = hash1; in dict_init()
53 dict->hash2 = hash2; in dict_init()
54 dict->eq = eq; in dict_init()
[all …]
Dvalue_dict.c36 val_dict_init(struct value_dict *dict) in val_dict_init() argument
38 VECT_INIT(&dict->numbered, struct value); in val_dict_init()
39 VECT_INIT(&dict->named, struct named_value); in val_dict_init()
94 val_dict_push_next(struct value_dict *dict, struct value *val) in val_dict_push_next() argument
96 return VECT_PUSHBACK(&dict->numbered, val); in val_dict_push_next()
100 val_dict_push_named(struct value_dict *dict, struct value *val, in val_dict_push_named() argument
106 if (VECT_PUSHBACK(&dict->named, &element) < 0) { in val_dict_push_named()
115 val_dict_count(struct value_dict *dict) in val_dict_count() argument
117 return vect_size(&dict->numbered); in val_dict_count()
121 val_dict_get_num(struct value_dict *dict, size_t num) in val_dict_get_num() argument
[all …]
Ddict.h28 struct dict { struct
46 void dict_init(struct dict *dict, argument
74 int dict_clone(struct dict *target, const struct dict *source,
87 const struct dict *_source_d = (SRC_DICTP); \
108 size_t dict_size(const struct dict *dict);
111 int dict_empty(const struct dict *dict);
116 int dict_insert(struct dict *dict, void *key, void *value);
128 void *dict_find(struct dict *dict, const void *key);
160 int dict_erase(struct dict *dict, const void *key,
169 struct dict *_d = (DICTP); \
[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 …]
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 …]
Dplist-output.m199 // CHECK-NEXT: <dict>
202 // CHECK-NEXT: <dict>
205 // CHECK-NEXT: <dict>
209 // CHECK-NEXT: </dict>
213 // CHECK-NEXT: <dict>
217 // CHECK-NEXT: </dict>
218 // CHECK-NEXT: <dict>
222 // CHECK-NEXT: </dict>
230 // CHECK-NEXT: </dict>
231 // CHECK-NEXT: <dict>
[all …]
Dretain-release.m436 CFDictionaryRef dict = DADiskCopyDescription(d); // expected-warning{{leak}}
437 if (dict) NSLog(@"ok");
727 …NSMutableDictionary *dict = [[NSMutableDictionary dictionaryWithCapacity:4] retain]; // expected-w…
729 [dict setObject:@"foo" forKey:@"bar"];
731 NSLog(@"%@", dict);
739 …NSMutableDictionary *dict = [[NSMutableDictionary dictionaryWithCapacity:4] retain]; // expected-w…
2192 // CHECK-NEXT: <dict>
2195 // CHECK-NEXT: <dict>
2199 // CHECK-NEXT: <dict>
2202 // CHECK-NEXT: <dict>
[all …]
Dgenerics.m333 // CHECK-NEXT: <dict>
336 // CHECK-NEXT: <dict>
339 // CHECK-NEXT: <dict>
343 // CHECK-NEXT: </dict>
347 // CHECK-NEXT: <dict>
351 // CHECK-NEXT: </dict>
352 // CHECK-NEXT: <dict>
356 // CHECK-NEXT: </dict>
364 // CHECK-NEXT: </dict>
365 // CHECK-NEXT: <dict>
[all …]
Dretain-release-path-notes.m334 // CHECK-NEXT: <dict>
337 // CHECK-NEXT: <dict>
341 // CHECK-NEXT: <dict>
344 // CHECK-NEXT: <dict>
348 // CHECK-NEXT: </dict>
349 // CHECK-NEXT: <dict>
353 // CHECK-NEXT: </dict>
357 // CHECK-NEXT: <dict>
361 // CHECK-NEXT: </dict>
362 // CHECK-NEXT: <dict>
[all …]
Dplist-output-alternate.m62 // CHECK-NEXT: <dict>
65 // CHECK-NEXT: <dict>
68 // CHECK-NEXT: <dict>
72 // CHECK-NEXT: </dict>
76 // CHECK-NEXT: <dict>
80 // CHECK-NEXT: </dict>
81 // CHECK-NEXT: <dict>
85 // CHECK-NEXT: </dict>
93 // CHECK-NEXT: </dict>
94 // CHECK-NEXT: <dict>
[all …]
Dbug_hash_test.m32 // CHECK-NEXT: <dict>
35 // CHECK-NEXT: <dict>
39 // CHECK-NEXT: <dict>
42 // CHECK-NEXT: <dict>
46 // CHECK-NEXT: </dict>
47 // CHECK-NEXT: <dict>
51 // CHECK-NEXT: </dict>
55 // CHECK-NEXT: <dict>
59 // CHECK-NEXT: </dict>
60 // CHECK-NEXT: <dict>
[all …]
Dnull-deref-path-notes.m56 // CHECK-NEXT: <dict>
59 // CHECK-NEXT: <dict>
63 // CHECK-NEXT: <dict>
66 // CHECK-NEXT: <dict>
70 // CHECK-NEXT: </dict>
71 // CHECK-NEXT: <dict>
75 // CHECK-NEXT: </dict>
79 // CHECK-NEXT: <dict>
83 // CHECK-NEXT: </dict>
84 // CHECK-NEXT: <dict>
[all …]
Dobjc-arc.m236 // CHECK-NEXT: <dict>
239 // CHECK-NEXT: <dict>
242 // CHECK-NEXT: <dict>
246 // CHECK-NEXT: </dict>
250 // CHECK-NEXT: <dict>
254 // CHECK-NEXT: </dict>
255 // CHECK-NEXT: <dict>
259 // CHECK-NEXT: </dict>
267 // CHECK-NEXT: </dict>
268 // CHECK-NEXT: <dict>
[all …]
Dretain-release-path-notes-gc.m78 // CHECK-NEXT: <dict>
81 // CHECK-NEXT: <dict>
85 // CHECK-NEXT: <dict>
88 // CHECK-NEXT: <dict>
92 // CHECK-NEXT: </dict>
93 // CHECK-NEXT: <dict>
97 // CHECK-NEXT: </dict>
101 // CHECK-NEXT: <dict>
105 // CHECK-NEXT: </dict>
106 // CHECK-NEXT: <dict>
[all …]
/external/e2fsprogs/e2fsck/
Ddict.c138 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil) in free_nodes() argument
142 free_nodes(dict, node->left, nil); in free_nodes()
143 free_nodes(dict, node->right, nil); in free_nodes()
144 dict->freenode(node, dict->context); in free_nodes()
156 static int verify_bintree(dict_t *dict) in verify_bintree() argument
160 first = dict_first(dict); in verify_bintree()
162 if (dict->dupes) { in verify_bintree()
163 while (first && (next = dict_next(dict, first))) { in verify_bintree()
164 if (dict->compare(first->key, next->key) > 0) in verify_bintree()
169 while (first && (next = dict_next(dict, first))) { in verify_bintree()
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.m179 // CHECK-NEXT: <dict>
182 // CHECK-NEXT: <dict>
186 // CHECK-NEXT: <dict>
189 // CHECK-NEXT: <dict>
193 // CHECK-NEXT: </dict>
194 // CHECK-NEXT: <dict>
198 // CHECK-NEXT: </dict>
202 // CHECK-NEXT: <dict>
206 // CHECK-NEXT: </dict>
207 // CHECK-NEXT: <dict>
[all …]
/external/lzma/xz-embedded/
Dxz_dec_lzma2.c264 struct dictionary dict; member
286 static void dict_reset(struct dictionary *dict, struct xz_buf *b) in dict_reset() argument
288 if (DEC_IS_SINGLE(dict->mode)) { in dict_reset()
289 dict->buf = b->out + b->out_pos; in dict_reset()
290 dict->end = b->out_size - b->out_pos; in dict_reset()
293 dict->start = 0; in dict_reset()
294 dict->pos = 0; in dict_reset()
295 dict->limit = 0; in dict_reset()
296 dict->full = 0; in dict_reset()
300 static void dict_limit(struct dictionary *dict, size_t out_max) in dict_limit() argument
[all …]
/external/libweave/src/
Dconfig.cc61 void MigrateFromV0(base::DictionaryValue* dict) { in MigrateFromV0() argument
63 if (dict->GetString(config_keys::kCloudId, &cloud_id) && !cloud_id.empty()) in MigrateFromV0()
66 if (dict->Remove(config_keys::kDeviceId, &tmp)) in MigrateFromV0()
67 dict->Set(config_keys::kCloudId, std::move(tmp)); in MigrateFromV0()
157 base::DictionaryValue* dict = nullptr; in LoadState() local
158 if (!value || !value->GetAsDictionary(&dict)) { in LoadState()
164 dict->GetInteger(config_keys::kVersion, &loaded_version); in LoadState()
173 MigrateFromV0(dict); in LoadState()
179 if (dict->GetString(config_keys::kClientId, &tmp)) in LoadState()
182 if (dict->GetString(config_keys::kClientSecret, &tmp)) in LoadState()
[all …]
/external/clang/test/Analysis/diagnostics/
Dundef-value-param.m79 // CHECK-NEXT: <dict>
82 // CHECK-NEXT: <dict>
86 // CHECK-NEXT: <dict>
89 // CHECK-NEXT: <dict>
93 // CHECK-NEXT: </dict>
94 // CHECK-NEXT: <dict>
98 // CHECK-NEXT: </dict>
102 // CHECK-NEXT: <dict>
106 // CHECK-NEXT: </dict>
107 // CHECK-NEXT: <dict>
[all …]
/external/skia/tests/
DRefDictTest.cpp20 SkRefDict dict; in DEF_TEST() local
22 REPORTER_ASSERT(reporter, nullptr == dict.find(nullptr)); in DEF_TEST()
23 REPORTER_ASSERT(reporter, nullptr == dict.find("foo")); in DEF_TEST()
24 REPORTER_ASSERT(reporter, nullptr == dict.find("bar")); in DEF_TEST()
26 dict.set("foo", &data0); in DEF_TEST()
27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
30 dict.set("foo", &data0); in DEF_TEST()
31 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in DEF_TEST()
34 dict.set("foo", &data1); in DEF_TEST()
35 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in DEF_TEST()
[all …]
/external/libxml2/os400/
Dtranscode.c24 xmlZapDict(xmlDictPtr * dict) in xmlZapDict() argument
27 if (dict && *dict) { in xmlZapDict()
28 xmlDictFree(*dict); in xmlZapDict()
29 *dict = (xmlDictPtr) NULL; in xmlZapDict()
47 xmlDictPtr * dict, void (*freeproc)(const void *)) in xmlTranscodeResult() argument
71 if (!l && dict) in xmlTranscodeResult()
74 if (dict && !*dict) in xmlTranscodeResult()
75 err = !(*dict = xmlDictCreate()); in xmlTranscodeResult()
103 if (!dict) { in xmlTranscodeResult()
111 ret = (char *) xmlDictLookup(*dict, in xmlTranscodeResult()
[all …]
/external/selinux/policycoreutils/sepolicy/
Dinfo.c60 static int py_insert_long(PyObject *dict, const char *name, int value) in py_insert_long() argument
65 rt = PyDict_SetItemString(dict, name, obj); in py_insert_long()
70 static int py_insert_bool(PyObject *dict, const char *name, int value) in py_insert_bool() argument
75 rt = PyDict_SetItemString(dict, name, obj); in py_insert_bool()
95 PyObject *dict = NULL; in get_sens() local
115 dict = PyDict_New(); in get_sens()
116 if (!dict) goto err; in get_sens()
126 if (py_insert_string(dict, lvl_name, tmp)) in get_sens()
140 py_decref(dict); dict = NULL; in get_sens()
146 return dict; in get_sens()
[all …]
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dconfig.py31 class Config(dict):
76 assert isinstance(values, dict)
81 assert isinstance(defaults, dict)
111 return dict.__getitem__(self, module)
123 assert isinstance(values, dict), 'Module configuration must be a dict.'
124 dict.__setitem__(self, module, SubConfig(module, values))
141 return dict.get(self, module, default)
153 assert isinstance(values, dict), 'Module configuration must be a dict.'
155 dict.__setitem__(self, module, SubConfig(module))
157 module_dict = dict.__getitem__(self, module)
[all …]
/external/llvm/utils/
Dllvm-compilers-check211 abbrevs = dict(zip(paths, [base for base in unique_bases]))
247 abbrevs = dict(zip(unique_bases, abbrevs))
268 self.component_abbrev = dict(
368 configure_flags = dict(
369 llvm=dict(debug=["--prefix=" + self.install_prefix,
381 dragonegg=dict(debug=[],
390 configure_env = dict(
391 llvm=dict(debug=dict(CC=self.cc,
393 release=dict(CC=self.cc,
395 paranoid=dict(CC=self.cc,
[all …]

12345678910>>...39