/external/libxml2/ |
D | dict.c | 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)) : \ 77 (((dict)->size == MIN_DICT_SIZE) ? \ 78 xmlDictComputeFastQKey(prefix, plen, name, len, (dict)->seed) : \ 79 xmlDictComputeBigQKey(prefix, plen, name, len, (dict)->seed))) 82 #define xmlDictComputeKey(dict, name, len) \ argument [all …]
|
/external/chromium/chrome/browser/printing/cloud_print/ |
D | cloud_print_setup_source.cc | 55 DictionaryValue* dict = &localized_strings; in StartDataRequest() local 59 AddString(dict, "header", IDS_CLOUD_PRINT_SETUP_HEADER); in StartDataRequest() 60 AddString(dict, "explain", IDS_CLOUD_PRINT_SETUP_EXPLAIN); in StartDataRequest() 61 AddString(dict, "anywhereheader", IDS_CLOUD_PRINT_SETUP_ANYWHERE_HEADER); in StartDataRequest() 62 AddString(dict, "anywhereexplain", IDS_CLOUD_PRINT_SETUP_ANYWHERE_EXPLAIN); in StartDataRequest() 63 AddString(dict, "printerheader", IDS_CLOUD_PRINT_SETUP_PRINTER_HEADER); in StartDataRequest() 64 AddString(dict, "printerexplain", IDS_CLOUD_PRINT_SETUP_PRINTER_EXPLAIN); in StartDataRequest() 65 AddString(dict, "sharingheader", IDS_CLOUD_PRINT_SETUP_SHARING_HEADER); in StartDataRequest() 66 AddString(dict, "sharingexplain", IDS_CLOUD_PRINT_SETUP_SHARING_EXPLAIN); in StartDataRequest() 70 SetFontAndTextDirection(dict); in StartDataRequest() [all …]
|
/external/clang/test/Analysis/ |
D | plist-output.m | 85 // CHECK: <dict> 91 // CHECK: <dict> 94 // CHECK: <dict> 98 // CHECK: <dict> 101 // CHECK: <dict> 105 // CHECK: </dict> 106 // CHECK: <dict> 110 // CHECK: </dict> 114 // CHECK: <dict> 118 // CHECK: </dict> [all …]
|
D | plist-output-alternate.m | 62 // CHECK: <dict> 68 // CHECK: <dict> 71 // CHECK: <dict> 75 // CHECK: <dict> 78 // CHECK: <dict> 82 // CHECK: </dict> 83 // CHECK: <dict> 87 // CHECK: </dict> 91 // CHECK: <dict> 95 // CHECK: </dict> [all …]
|
/external/chromium/net/disk_cache/ |
D | net_log_parameters.cc | 20 DictionaryValue* dict = new DictionaryValue(); in ToValue() local 21 dict->SetString("key", key_); in ToValue() 22 dict->SetBoolean("created", created_); in ToValue() 23 return dict; in ToValue() 32 DictionaryValue* dict = new DictionaryValue(); in ToValue() local 33 dict->SetInteger("index", index_); in ToValue() 34 dict->SetInteger("offset", offset_); in ToValue() 35 dict->SetInteger("buf_len", buf_len_); in ToValue() 37 dict->SetBoolean("truncate", truncate_); in ToValue() 38 return dict; in ToValue() [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/chromium/chrome/browser/ui/webui/ |
D | cookies_tree_model_util.cc | 65 DictionaryValue* dict) { in GetCookieTreeNodeDictionary() argument 67 dict->SetString(kKeyId, PointerToHexString(&node)); in GetCookieTreeNodeDictionary() 68 dict->SetString(kKeyTitle, node.GetTitle()); in GetCookieTreeNodeDictionary() 69 dict->SetBoolean(kKeyHasChildren, !!node.child_count()); in GetCookieTreeNodeDictionary() 73 dict->SetString(kKeyType, "origin"); in GetCookieTreeNodeDictionary() 75 dict->SetString(kKeyIcon, "chrome://theme/IDR_BOOKMARK_BAR_FOLDER"); in GetCookieTreeNodeDictionary() 80 dict->SetString(kKeyType, "cookie"); in GetCookieTreeNodeDictionary() 81 dict->SetString(kKeyIcon, "chrome://theme/IDR_COOKIE_ICON"); in GetCookieTreeNodeDictionary() 86 dict->SetString(kKeyName, cookie.Name()); in GetCookieTreeNodeDictionary() 87 dict->SetString(kKeyContent, cookie.Value()); in GetCookieTreeNodeDictionary() [all …]
|
/external/chromium/chrome/browser/ |
D | accessibility_events.cc | 35 void AccessibilityControlInfo::SerializeToDict(DictionaryValue *dict) const { in SerializeToDict() 36 dict->SetString(keys::kNameKey, name_); in SerializeToDict() 37 dict->SetString(keys::kTypeKey, type()); in SerializeToDict() 83 DictionaryValue *dict) const { in SerializeToDict() 84 AccessibilityControlInfo::SerializeToDict(dict); in SerializeToDict() 85 dict->SetBoolean(keys::kCheckedKey, checked_); in SerializeToDict() 86 dict->SetInteger(keys::kItemIndexKey, item_index_); in SerializeToDict() 87 dict->SetInteger(keys::kItemCountKey, item_count_); in SerializeToDict() 101 void AccessibilityCheckboxInfo::SerializeToDict(DictionaryValue *dict) const { in SerializeToDict() 102 AccessibilityControlInfo::SerializeToDict(dict); in SerializeToDict() [all …]
|
/external/chromium/chrome/browser/prefs/ |
D | proxy_config_dictionary_unittest.cc | 21 ProxyConfigDictionary dict(dict_value.get()); in TEST() local 24 ASSERT_TRUE(dict.GetMode(&h.mode)); in TEST() 26 ASSERT_FALSE(dict.GetPacUrl(&h.bypass_list)); in TEST() 27 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST() 28 ASSERT_FALSE(dict.GetBypassList(&h.bypass_list)); in TEST() 34 ProxyConfigDictionary dict(dict_value.get()); in TEST() local 37 ASSERT_TRUE(dict.GetMode(&h.mode)); in TEST() 39 ASSERT_FALSE(dict.GetPacUrl(&h.bypass_list)); in TEST() 40 ASSERT_FALSE(dict.GetProxyServer(&h.proxy_server)); in TEST() 41 ASSERT_FALSE(dict.GetBypassList(&h.bypass_list)); in TEST() [all …]
|
D | pref_service_unittest.cc | 172 void assertProxyMode(const ProxyConfigDictionary& dict, in assertProxyMode() argument 175 ASSERT_TRUE(dict.GetMode(&actual_mode)); in assertProxyMode() 179 void assertProxyServer(const ProxyConfigDictionary& dict, in assertProxyServer() argument 183 ASSERT_TRUE(dict.GetProxyServer(&actual)); in assertProxyServer() 186 EXPECT_FALSE(dict.GetProxyServer(&actual)); in assertProxyServer() 190 void assertPacUrl(const ProxyConfigDictionary& dict, in assertPacUrl() argument 194 ASSERT_TRUE(dict.GetPacUrl(&actual)); in assertPacUrl() 197 EXPECT_FALSE(dict.GetPacUrl(&actual)); in assertPacUrl() 201 void assertBypassList(const ProxyConfigDictionary& dict, in assertBypassList() argument 205 ASSERT_TRUE(dict.GetBypassList(&actual)); in assertBypassList() [all …]
|
/external/skia/tests/ |
D | RefDictTest.cpp | 16 SkRefDict dict; in TestRefDict() local 18 REPORTER_ASSERT(reporter, NULL == dict.find(NULL)); in TestRefDict() 19 REPORTER_ASSERT(reporter, NULL == dict.find("foo")); in TestRefDict() 20 REPORTER_ASSERT(reporter, NULL == dict.find("bar")); in TestRefDict() 22 dict.set("foo", &data0); in TestRefDict() 23 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in TestRefDict() 26 dict.set("foo", &data0); in TestRefDict() 27 REPORTER_ASSERT(reporter, &data0 == dict.find("foo")); in TestRefDict() 30 dict.set("foo", &data1); in TestRefDict() 31 REPORTER_ASSERT(reporter, &data1 == dict.find("foo")); in TestRefDict() [all …]
|
/external/hyphenation/ |
D | hyphen.c | 168 hnj_get_state (HyphenDict *dict, HashTab *hashtab, const char *string) in hnj_get_state() argument 177 hnj_hash_insert (hashtab, string, dict->num_states); in hnj_get_state() 179 if (!(dict->num_states & (dict->num_states - 1))) in hnj_get_state() 181 dict->states = hnj_realloc (dict->states, in hnj_get_state() 182 (dict->num_states << 1) * in hnj_get_state() 185 dict->states[dict->num_states].match = NULL; in hnj_get_state() 186 dict->states[dict->num_states].repl = NULL; in hnj_get_state() 187 dict->states[dict->num_states].fallback_state = -1; in hnj_get_state() 188 dict->states[dict->num_states].num_trans = 0; in hnj_get_state() 189 dict->states[dict->num_states].trans = NULL; in hnj_get_state() [all …]
|
/external/skia/third_party/glu/libtess/ |
D | dict.c | 50 Dict *dict = (Dict *) memAlloc( sizeof( Dict )); in dictNewDict() local 53 if (dict == NULL) return NULL; in dictNewDict() 55 head = &dict->head; in dictNewDict() 61 dict->frame = frame; in dictNewDict() 62 dict->leq = leq; in dictNewDict() 64 return dict; in dictNewDict() 68 void dictDeleteDict( Dict *dict ) in dictDeleteDict() argument 72 for( node = dict->head.next; node != &dict->head; node = node->next ) { in dictDeleteDict() 75 memFree( dict ); in dictDeleteDict() 79 DictNode *dictInsertBefore( Dict *dict, DictNode *node, DictKey key ) in dictInsertBefore() argument [all …]
|
D | dict-list.h | 52 #define dictDeleteDict(dict) __gl_dictListDeleteDict(dict) argument 54 #define dictSearch(dict,key) __gl_dictListSearch(dict,key) argument 55 #define dictInsert(dict,key) __gl_dictListInsert(dict,key) argument 56 #define dictInsertBefore(dict,node,key) __gl_dictListInsertBefore(dict,node,key) argument 57 #define dictDelete(dict,node) __gl_dictListDelete(dict,node) argument 75 void dictDeleteDict( Dict *dict ); 81 DictNode *dictSearch( Dict *dict, DictKey key ); 82 DictNode *dictInsertBefore( Dict *dict, DictNode *node, DictKey key ); 83 void dictDelete( Dict *dict, DictNode *node );
|
D | dict.h | 54 #define dictDeleteDict(dict) __gl_dictListDeleteDict(dict) argument 56 #define dictSearch(dict,key) __gl_dictListSearch(dict,key) argument 57 #define dictInsert(dict,key) __gl_dictListInsert(dict,key) argument 58 #define dictInsertBefore(dict,node,key) __gl_dictListInsertBefore(dict,node,key) argument 59 #define dictDelete(dict,node) __gl_dictListDelete(dict,node) argument 77 void dictDeleteDict( Dict *dict ); 83 DictNode *dictSearch( Dict *dict, DictKey key ); 84 DictNode *dictInsertBefore( Dict *dict, DictNode *node, DictKey key ); 85 void dictDelete( Dict *dict, DictNode *node );
|
/external/chromium/chrome/browser/translate/ |
D | translate_prefs.cc | 57 const DictionaryValue* dict = prefs_->GetDictionary(kPrefTranslateWhitelists); in IsLanguagePairWhitelisted() local 58 if (dict && !dict->empty()) { in IsLanguagePairWhitelisted() 60 if (dict->GetString(original_language, &auto_target_lang) && in IsLanguagePairWhitelisted() 71 DictionaryValue* dict = update.Get(); in WhitelistLanguagePair() local 72 if (!dict) { in WhitelistLanguagePair() 76 dict->SetString(original_language, target_language); in WhitelistLanguagePair() 84 DictionaryValue* dict = update.Get(); in RemoveLanguagePairFromWhitelist() local 85 if (!dict) { in RemoveLanguagePairFromWhitelist() 89 if (dict->Remove(original_language, NULL)) in RemoveLanguagePairFromWhitelist() 94 const DictionaryValue* dict = in GetTranslationDeniedCount() local [all …]
|
/external/llvm/utils/ |
D | llvm-compilers-check | 205 abbrevs = dict(zip(paths, [base for base in unique_bases])) 241 abbrevs = dict(zip(unique_bases, abbrevs)) 262 self.component_abbrev = dict( 354 configure_flags = dict( 355 llvm=dict(debug=["--prefix=" + self.install_prefix, 370 dragonegg=dict(debug=[], 374 configure_env = dict( 375 llvm=dict(debug=dict(CC=self.cc, 377 release=dict(CC=self.cc, 379 paranoid=dict(CC=self.cc, [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_webnavigation_api.cc | 63 DictionaryValue* dict = new DictionaryValue(); in DispatchOnBeforeNavigate() local 64 dict->SetInteger(keys::kTabIdKey, in DispatchOnBeforeNavigate() 66 dict->SetString(keys::kUrlKey, validated_url.spec()); in DispatchOnBeforeNavigate() 67 dict->SetInteger(keys::kFrameIdKey, GetFrameId(is_main_frame, frame_id)); in DispatchOnBeforeNavigate() 68 dict->SetString(keys::kRequestIdKey, in DispatchOnBeforeNavigate() 70 dict->SetDouble(keys::kTimeStampKey, MilliSecondsFromTime(base::Time::Now())); in DispatchOnBeforeNavigate() 71 args.Append(dict); in DispatchOnBeforeNavigate() 85 DictionaryValue* dict = new DictionaryValue(); in DispatchOnCommitted() local 86 dict->SetInteger(keys::kTabIdKey, in DispatchOnCommitted() 88 dict->SetString(keys::kUrlKey, url.spec()); in DispatchOnCommitted() [all …]
|
D | extension_bookmark_helpers.cc | 20 DictionaryValue* dict = new DictionaryValue(); in GetNodeDictionary() local 21 dict->SetString(keys::kIdKey, base::Int64ToString(node->id())); in GetNodeDictionary() 25 dict->SetString(keys::kParentIdKey, base::Int64ToString(parent->id())); in GetNodeDictionary() 26 dict->SetInteger(keys::kIndexKey, parent->GetIndexOf(node)); in GetNodeDictionary() 30 dict->SetString(keys::kUrlKey, node->GetURL().spec()); in GetNodeDictionary() 36 dict->SetDouble(keys::kDateFolderModifiedKey, in GetNodeDictionary() 40 dict->SetString(keys::kTitleKey, node->GetTitle()); in GetNodeDictionary() 44 dict->SetDouble(keys::kDateAddedKey, in GetNodeDictionary() 54 DictionaryValue* dict = GetNodeDictionary(child, true, only_folders); in GetNodeDictionary() local 55 children->Append(dict); in GetNodeDictionary() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | dict.c | 298 VENDOR_DICT *dict; in rc_dict_getattr() local 309 dict = rc_dict_getvendor(vendor); in rc_dict_getattr() 310 if (!dict) { in rc_dict_getattr() 313 attr = dict->attributes; in rc_dict_getattr() 335 VENDOR_DICT *dict; in rc_dict_findattr() local 348 dict = vendor_dictionaries; in rc_dict_findattr() 349 while (dict) { in rc_dict_findattr() 350 attr = dict->attributes; in rc_dict_findattr() 357 dict = dict->next; in rc_dict_findattr() 420 VENDOR_DICT *dict; in rc_dict_findvendor() local [all …]
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | TextCheckerClientEnchant.cpp | 57 EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); in ignoreWordInSpellDocument() local 59 enchant_dict_add_to_session(dict, text.utf8().data(), -1); in ignoreWordInSpellDocument() 68 EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); in learnWord() local 70 enchant_dict_add_to_personal(dict, text.utf8().data(), -1); in learnWord() 113 EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); in checkSpellingOfString() local 114 if (enchant_dict_check(dict, word.get(), wordLength)) { in checkSpellingOfString() 149 EnchantDict* dict = static_cast<EnchantDict*>(dicts->data); in getGuessesForWord() local 150 … gchar** suggestions = enchant_dict_suggest(dict, word.utf8().data(), -1, &numberOfSuggestions); in getGuessesForWord() 156 enchant_dict_free_suggestions(dict, suggestions); in getGuessesForWord() 169 EnchantDict* dict; in updateSpellCheckingLanguage() local [all …]
|
/external/chromium/chrome/browser/sync/ |
D | js_arg_list_unittest.cc | 24 DictionaryValue* dict = new DictionaryValue(); in TEST_F() local 25 list->Append(dict); in TEST_F() 26 dict->SetString("foo", "bar"); in TEST_F() 27 dict->Set("baz", new ListValue()); in TEST_F() 40 DictionaryValue dict; in TEST_F() local 41 dict.SetString("foo", "bar"); in TEST_F() 42 dict.Set("baz", new ListValue()); in TEST_F() 47 vec.push_back(&dict); in TEST_F() 54 list.Append(dict.DeepCopy()); in TEST_F() 58 dict.SetString("baz", "foo"); in TEST_F()
|
/external/clang/test/ARCMT/ |
D | objcmt-subscripting-literals.m.result | 50 + (id)dictionaryWithDictionary:(NSDictionary *)dict; 83 NSDictionary *dict; 88 dict = @{}; 89 dict = @{str: arr}; 90 dict = @{@"key1": @"value1", @"key2": @"value2"}; 91 dict = [NSDictionary dictionaryWithObjectsAndKeys: PAIR(1), PAIR(2), nil]; 92 dict = [NSDictionary dictionaryWithObjectsAndKeys: 102 o = dict[@"key"]; 103 o = TWO(dict[@"key"]); 110 mdict[@"key"] = dict[@"key2"]; [all …]
|
D | objcmt-subscripting-literals.m | 50 + (id)dictionaryWithDictionary:(NSDictionary *)dict; 83 NSDictionary *dict; 88 dict = [NSDictionary dictionary]; 89 dict = [NSDictionary dictionaryWithObject:arr forKey:str]; 90 dict = [NSDictionary dictionaryWithObjectsAndKeys: @"value1", @"key1", @"value2", @"key2", nil]; 91 dict = [NSDictionary dictionaryWithObjectsAndKeys: PAIR(1), PAIR(2), nil]; 92 dict = [NSDictionary dictionaryWithObjectsAndKeys: 102 o = [dict objectForKey:@"key"]; 103 o = TWO([dict objectForKey:@"key"]); 110 [mdict setObject:[dict objectForKey:@"key2"] forKey:@"key"]; [all …]
|
/external/hyphenation/patches/ |
D | 0001-Ehhance-hyphenation-dictionary-reading-from-characte.patch | 81 + HyphenDict *dict = hnj_hyphen_load_from_buffer(addr, sb.st_size); 85 + return dict; 91 HyphenDict *dict[2]; 113 for (i=0;i<MAX_NAME;i++) dict[k]->cset[i]= 0; 114 - fgets(dict[k]->cset, sizeof(dict[k]->cset),f); 115 + get_line(dict[k]->cset, sizeof(dict[k]->cset), dict_contents, 118 if ((dict[k]->cset[i] == '\r') || (dict[k]->cset[i] == '\n')) 119 dict[k]->cset[i] = 0; 121 dict[k]->utf8 = dict[0]->utf8; 135 if (k == 2) dict[0]->nextlevel = dict[1]; [all …]
|