/external/libxml2/ |
D | dict.c | 70 #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/lldb/source/Host/macosx/cfcpp/ |
D | CFCMutableDictionary.cpp | 50 CFMutableDictionaryRef dict = get(); in GetCount() local 51 if (dict) in GetCount() 52 return ::CFDictionaryGetCount (dict); in GetCount() 60 CFMutableDictionaryRef dict = get(); in GetCountOfKey() local 61 if (dict) in GetCountOfKey() 62 return ::CFDictionaryGetCountOfKey (dict, key); in GetCountOfKey() 70 CFMutableDictionaryRef dict = get(); in GetCountOfValue() local 71 if (dict) in GetCountOfValue() 72 return ::CFDictionaryGetCountOfValue (dict, value); in GetCountOfValue() 79 CFMutableDictionaryRef dict = get(); in GetKeysAndValues() local [all …]
|
/external/ltrace/ |
D | dict.c | 32 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 …]
|
D | value_dict.c | 36 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 …]
|
D | dict.h | 28 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/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
D | SkPdfMapper_autogen.h | 187 …bool SkPdfDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkPdfDictionary… 188 …bool SkPdfDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, const char* abr… 190 …bool SkPdfXObjectDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkPdfXOb… 191 …bool SkPdfXObjectDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, const ch… 193 …bool SkPdfFontDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkPdfFontDi… 194 …bool SkPdfFontDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, const char*… 196 …bool SkPdfTrueTypeFontDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkP… 197 …bool SkPdfTrueTypeFontDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, con… 199 …bool SkPdfStreamCommonDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkP… 200 …bool SkPdfStreamCommonDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, con… [all …]
|
D | SkPdfMapper_autogen.cpp | 1365 bool SkPdfMapper::SkPdfDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, SkP… in SkPdfDictionaryFromDictionary() argument 1366 const SkPdfNativeObject* value = dict->get(key); in SkPdfDictionaryFromDictionary() 1374 bool SkPdfMapper::SkPdfDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* key, con… in SkPdfDictionaryFromDictionary() argument 1375 if (SkPdfDictionaryFromDictionary(dict, key, data)) return true; in SkPdfDictionaryFromDictionary() 1377 return SkPdfDictionaryFromDictionary(dict, abr, data); in SkPdfDictionaryFromDictionary() 1384 bool SkPdfMapper::SkPdfXObjectDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* k… in SkPdfXObjectDictionaryFromDictionary() argument 1385 const SkPdfNativeObject* value = dict->get(key); in SkPdfXObjectDictionaryFromDictionary() 1393 bool SkPdfMapper::SkPdfXObjectDictionaryFromDictionary(const SkPdfNativeObject* dict, const char* k… in SkPdfXObjectDictionaryFromDictionary() argument 1394 if (SkPdfXObjectDictionaryFromDictionary(dict, key, data)) return true; in SkPdfXObjectDictionaryFromDictionary() 1396 return SkPdfXObjectDictionaryFromDictionary(dict, abr, data); in SkPdfXObjectDictionaryFromDictionary() [all …]
|
/external/clang/test/Analysis/ |
D | objc-radar17039661.m | 64 // 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 …]
|
D | edges-new.mm | 595 // 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 …]
|
D | plist-output.m | 199 // 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 …]
|
D | plist-output-alternate.m | 62 // 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 …]
|
D | retain-release.m | 436 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… 2158 // CHECK-NEXT: <dict> 2161 // CHECK-NEXT: <dict> 2165 // CHECK-NEXT: <dict> 2168 // CHECK-NEXT: <dict> [all …]
|
D | null-deref-path-notes.m | 56 // 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 …]
|
D | retain-release-path-notes.m | 334 // 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 …]
|
D | objc-arc.m | 236 // 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 …]
|
D | retain-release-path-notes-gc.m | 78 // 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/ |
D | dict.c | 138 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/ |
D | path-notes.m | 179 // 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/ |
D | xz_dec_lzma2.c | 264 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/clang/test/Analysis/diagnostics/ |
D | undef-value-param.m | 79 // 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/ |
D | RefDictTest.cpp | 20 SkRefDict dict; in DEF_TEST() local 22 REPORTER_ASSERT(reporter, NULL == dict.find(NULL)); in DEF_TEST() 23 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in DEF_TEST() 24 REPORTER_ASSERT(reporter, NULL == 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/ |
D | transcode.c | 24 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/ |
D | info.c | 60 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/skia/experimental/PdfViewer/ |
D | SkPdfFont.cpp | 230 SkPdfFont* SkPdfFont::fontFromPdfDictionaryOnce(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict) { in fontFromPdfDictionaryOnce() argument 236 switch (doc->mapper()->mapFontDictionary(dict)) { in fontFromPdfDictionaryOnce() 238 return fontFromType0FontDictionary(doc, dict->asType0FontDictionary()); in fontFromPdfDictionaryOnce() 241 return fontFromTrueTypeFontDictionary(doc, dict->asTrueTypeFontDictionary()); in fontFromPdfDictionaryOnce() 244 return fontFromType1FontDictionary(doc, dict->asType1FontDictionary()); in fontFromPdfDictionaryOnce() 247 return fontFromMultiMasterFontDictionary(doc, dict->asMultiMasterFontDictionary()); in fontFromPdfDictionaryOnce() 250 return fontFromType3FontDictionary(doc, dict->asType3FontDictionary()); in fontFromPdfDictionaryOnce() 258 SkPdfFont* SkPdfFont::fontFromPdfDictionary(SkPdfNativeDoc* doc, SkPdfFontDictionary* dict) { in fontFromPdfDictionary() argument 259 if (dict == NULL) { in fontFromPdfDictionary() 263 if (!dict->hasData(SkPdfNativeObject::kFont_Data)) { in fontFromPdfDictionary() [all …]
|
/external/llvm/utils/ |
D | llvm-compilers-check | 211 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 …]
|