/external/libbrillo/brillo/ |
variant_dictionary_unittest.cc | 15 VariantDictionary dictionary; local 16 dictionary.emplace("a", 1); 17 dictionary.emplace("b", "string"); 20 EXPECT_EQ(1, GetVariantValueOrDefault<int>(dictionary, "a")); 21 EXPECT_EQ("string", GetVariantValueOrDefault<const char*>(dictionary, "b")); 24 EXPECT_EQ("", GetVariantValueOrDefault<std::string>(dictionary, "missing")); 25 EXPECT_EQ(0, GetVariantValueOrDefault<int>(dictionary, "missing"));
|
/external/clang/test/PCH/ |
objc_container.h | 19 NSMutableDictionary *dictionary; local 22 oldObject = dictionary[key]; 24 dictionary[key] = newObject;
|
/device/google/dragon/audio/hal/ |
dictionary.h | 4 @file dictionary.h 6 @brief Implements a dictionary for string variables. 8 This module implements a simple dictionary object, i.e. a list 33 @brief Dictionary object 37 in the dictionary is speeded up by the use of a (hopefully collision-free) 42 int n ; /** Number of entries in dictionary */ 47 } dictionary ; typedef in typeref:struct:_dictionary_ 70 @brief Create a new dictionary object. 71 @param size Optional initial size of the dictionary. 72 @return 1 newly allocated dictionary objet [all...] |
/libcore/luni/src/main/native/ |
ZipUtilities.cpp | 53 const Bytef* dictionary = reinterpret_cast<const Bytef*>(&dictionaryBytes[0]); local 56 err = inflateSetDictionary(&stream, dictionary, len); 58 err = deflateSetDictionary(&stream, dictionary, len);
|
/external/google-breakpad/src/processor/ |
postfix_evaluator.h | 35 // in postfix (reverse Polish) notation and a dictionary mapping constants 45 // which reference the dictionary. The supported binary operators are + 54 // The dictionary is provided as a map with string keys. Keys beginning 57 // dictionary. These variables do not need to exist prior to calling 95 // (^) will not be supported. |dictionary| may be NULL, but evaluation 98 PostfixEvaluator(DictionaryType *dictionary, const MemoryRegion *memory) 99 : dictionary_(dictionary), memory_(memory), stack_() {} 102 // execution will be stored in one (or more) variables in the dictionary. 104 // variables in the dictionary in an indeterminate state. If assigned is 105 // non-NULL, any keys set in the dictionary as a result of evaluatio 116 DictionaryType* dictionary() const { return dictionary_; } function in class:google_breakpad::PostfixEvaluator [all...] |
postfix_evaluator_unittest.cc | 96 // The dictionary used for all tests in the set. 97 PostfixEvaluator<unsigned int>::DictionaryType *dictionary; member in struct:__anon11489::EvaluateTestSet 235 // The same dictionary will be used for each test in the set. Earlier 236 // tests can affect the state of the dictionary for later tests. 237 postfix_evaluator.set_dictionary(evaluate_test_set->dictionary); 239 // Use a new validity dictionary for each test set. 271 evaluate_test_set->dictionary->find(identifier); 273 // The identifier must exist in the dictionary. 274 if (dictionary_iterator == evaluate_test_set->dictionary->end()) { 283 // The value in the dictionary must be the same as the expected value [all...] |
stackwalker_x86.cc | 203 // Set up the dictionary for the PostfixEvaluator. %ebp and %esp are used 206 PostfixEvaluator<uint32_t>::DictionaryType dictionary; local 208 dictionary["$ebp"] = last_frame->context.ebp; 209 dictionary["$esp"] = last_frame->context.esp; 215 dictionary[".cbCalleeParams"] = last_frame_callee_parameter_size; 216 dictionary[".cbSavedRegs"] = last_frame_info->saved_register_size; 217 dictionary[".cbLocals"] = last_frame_info->local_size; 257 dictionary[".cbParams"] = last_frame_info->parameter_size; 261 // Given the dictionary and the program string, it is possible to compute 359 dictionary[".raSearchStart"] = raSearchStart [all...] |
/external/libchrome/base/trace_event/ |
heap_profiler_type_name_deduplicator_unittest.cc | 60 const DictionaryValue* dictionary; local 61 ASSERT_TRUE(type_names->GetAsDictionary(&dictionary)); 66 ASSERT_TRUE(dictionary->GetString("1", &type_name));
|
/external/autotest/frontend/client/src/autotest/afe/ |
JobStatusDataSource.java | 24 private JSONObject dictionary; field in class:JobStatusDataSource 29 // retrieve the dictionary from static data 31 dictionary = staticData.getData("status_dictionary").isObject(); 35 if (dictionary.containsKey(status)) { 36 return dictionary.get(status).isString().stringValue();
|
/external/libchrome/dbus/ |
values_util.cc | 261 const base::DictionaryValue* dictionary = NULL; local 262 value.GetAsDictionary(&dictionary); 265 for (base::DictionaryValue::Iterator iter(*dictionary);
|
/external/libweave/src/privet/ |
privet_manager.cc | 132 const base::DictionaryValue* dictionary = ∅ local 134 value->GetAsDictionary(&dictionary); 136 VLOG(3) << "Input: " << *dictionary; 139 request->GetPath(), auth_header, dictionary,
|
privet_handler_unittest.cc | 38 base::DictionaryValue* dictionary) { 50 dictionary->MergeDictionary(dictionary_ptr); 65 const base::DictionaryValue& dictionary) { 68 return dictionary.GetInteger("error.http_status", &code) && 69 code == expected.code && dictionary.GetString("error.code", &reason) && 116 base::DictionaryValue dictionary; local 117 LoadTestJson(json_input, &dictionary); 118 return HandleRequest(api, &dictionary); 123 base::DictionaryValue dictionary; local 124 handler_->HandleRequest(api, auth_header_, &dictionary, [all...] |
/external/v8/src/runtime/ |
runtime-object.cc | 60 // Attempt dictionary lookup. 61 GlobalDictionary* dictionary = receiver->global_dictionary(); local 62 int entry = dictionary->FindEntry(key); 64 DCHECK(dictionary->ValueAt(entry)->IsPropertyCell()); 65 PropertyCell* cell = PropertyCell::cast(dictionary->ValueAt(entry)); 75 // Attempt dictionary lookup. 76 NameDictionary* dictionary = receiver->property_dictionary(); local 77 int entry = dictionary->FindEntry(key); 79 (dictionary->DetailsAt(entry).type() == DATA)) { 80 Object* value = dictionary->ValueAt(entry) [all...] |
/external/v8/test/mjsunit/ |
array-constructor-feedback.js | 36 dictionary : 'dictionary elements', 52 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 119 // based on the move to a dictionary for the array. 235 assertKind(elements_kind.dictionary, bar(large_size));
|
array-feedback.js | 34 dictionary : 'dictionary elements', 50 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
|
array-literal-feedback.js | 35 dictionary : 'dictionary elements', 51 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
|
opt-elements-kind.js | 39 dictionary : 'dictionary elements', 55 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
|
osr-elements-kind.js | 39 dictionary : 'dictionary elements', 55 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
|
allocation-site-info.js | 35 dictionary : 'dictionary elements', 51 if (%HasDictionaryElements(obj)) return elements_kind.dictionary;
|
elements-kind.js | 34 dictionary : 'dictionary elements', 50 if (%HasDictionaryElements(obj)) return elements_kind.dictionary; 113 assertKind(elements_kind.dictionary, temp);
|
/external/zlib/src/test/ |
example.c | 34 const char dictionary[] = "hello"; variable 35 uLong dictId; /* Adler32 value of the dictionary */ 455 * Test deflate() with preset dictionary 472 (const Bytef*)dictionary, (int)sizeof(dictionary)); 492 * Test inflate() with a preset dictionary 521 fprintf(stderr, "unexpected dictionary"); 524 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, 525 (int)sizeof(dictionary)); 537 printf("inflate with dictionary: %s\n", (char *)uncompr) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
DictionaryFacilitatorImpl.java | 68 // dictionary. 80 DICT_TYPE_TO_CLASS.put(Dictionary.TYPE_USER_HISTORY, UserHistoryDictionary.class); 81 DICT_TYPE_TO_CLASS.put(Dictionary.TYPE_USER, UserBinaryDictionary.class); 82 DICT_TYPE_TO_CLASS.put(Dictionary.TYPE_CONTACTS, ContactsBinaryDictionary.class); 128 * The locale associated with the dictionary group. 133 * The user account associated with the dictionary group. 137 @Nullable private Dictionary mMainDict; 154 @Nullable final Dictionary mainDict, 159 // The main dictionary can be asynchronously loaded. 172 public void setMainDict(final Dictionary mainDict) 594 final ExpandableBinaryDictionary dictionary = mDictionaryGroup.getSubDict(dictName); local 627 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); local 668 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); local 686 final Dictionary dictionary = mDictionaryGroup.getDict(dictType); local 697 final ExpandableBinaryDictionary dictionary = mDictionaryGroup.getSubDict(dictName); local 725 final ExpandableBinaryDictionary dictionary = mDictionaryGroup.getSubDict(dictType); local [all...] |
/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 154 " -d{N}: set dictionary - [0,28], default: 23 (8MB)\n" +
183 int dictionary = (1 << 21);
local 185 dictionary = params.DictionarySize;
188 SevenZip.LzmaBench.LzmaBenchmark(params.NumBenchmarkPasses, dictionary);
207 throw new Exception("Incorrect dictionary size");
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
DictionaryMaker.java | 108 + " Converts a source dictionary file to one or several outputs.\n" 109 + " Source can be a binary dictionary file or a combined format file.\n" 201 FusionDictionary dictionary = readInputFromParsedArgs(parsedArgs); local 202 writeOutputToParsedArgs(parsedArgs, dictionary); 209 * @return the read dictionary. 223 * Read a dictionary from the name of a binary file. 225 * @param binaryFilename the name of the file in the binary dictionary format. 226 * @return the read dictionary. 239 * Read a dictionary from the name of a combined file. 242 * @return the read dictionary [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/rbbi/ |
BuildDictionaryFile.java | 40 BuildDictionaryFile dictionary = new BuildDictionaryFile(); local 41 dictionary.build(filename, encoding); 46 dictionary.writeDictionaryFile(out); 52 dictionary.printWordList("", 0, listing); [all...] |