HomeSort by relevance Sort by last modified time
    Searched defs:dictionary (Results 1 - 25 of 125) sorted by null

1 2 3 4 5

  /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/brotli/java/org/brotli/wrapper/common/
common_jni.cc 9 #include "../common/dictionary.h"
16 * Set data to be brotli dictionary data.
19 * @returns false if dictionary data was already set; otherwise true
36 const BrotliDictionary* dictionary = BrotliGetDictionary(); local
37 if (dictionary->data != data) {
SetRfcDictionaryTest.java 38 FileInputStream dictionary = new FileInputStream(System.getProperty("RFC_DICTIONARY")); local
43 while ((readBytes = dictionary.read(data, offset, data.length - offset)) != -1) {
50 dictionary.close();
53 fail("dictionary size mismatch");
71 /* "leftdatadataleft" encoded with dictionary words. */
74 FileInputStream dictionary = new FileInputStream(System.getProperty("RFC_DICTIONARY")); local
76 BrotliCommon.setDictionaryData(dictionary);
78 dictionary.close();
  /external/protobuf/objectivec/
GPBDictionary.h 51 + (instancetype)dictionary; variable
57 + (instancetype)dictionaryWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;
63 - (instancetype)initWithDictionary:(GPBUInt32UInt32Dictionary *)dictionary;
86 + (instancetype)dictionary; variable
92 + (instancetype)dictionaryWithDictionary:(GPBUInt32Int32Dictionary *)dictionary;
98 - (instancetype)initWithDictionary:(GPBUInt32Int32Dictionary *)dictionary;
121 + (instancetype)dictionary; variable
127 + (instancetype)dictionaryWithDictionary:(GPBUInt32UInt64Dictionary *)dictionary;
133 - (instancetype)initWithDictionary:(GPBUInt32UInt64Dictionary *)dictionary;
156 + (instancetype)dictionary; variable
191 + (instancetype)dictionary; variable
226 + (instancetype)dictionary; variable
261 + (instancetype)dictionary; variable
297 + (instancetype)dictionary; variable
362 + (instancetype)dictionary; variable
397 + (instancetype)dictionary; variable
432 + (instancetype)dictionary; variable
467 + (instancetype)dictionary; variable
502 + (instancetype)dictionary; variable
537 + (instancetype)dictionary; variable
572 + (instancetype)dictionary; variable
607 + (instancetype)dictionary; variable
643 + (instancetype)dictionary; variable
708 + (instancetype)dictionary; variable
743 + (instancetype)dictionary; variable
778 + (instancetype)dictionary; variable
813 + (instancetype)dictionary; variable
848 + (instancetype)dictionary; variable
883 + (instancetype)dictionary; variable
918 + (instancetype)dictionary; variable
953 + (instancetype)dictionary; variable
989 + (instancetype)dictionary; variable
1054 + (instancetype)dictionary; variable
1089 + (instancetype)dictionary; variable
1124 + (instancetype)dictionary; variable
1159 + (instancetype)dictionary; variable
1194 + (instancetype)dictionary; variable
1229 + (instancetype)dictionary; variable
1264 + (instancetype)dictionary; variable
1299 + (instancetype)dictionary; variable
1335 + (instancetype)dictionary; variable
1400 + (instancetype)dictionary; variable
1435 + (instancetype)dictionary; variable
1470 + (instancetype)dictionary; variable
1505 + (instancetype)dictionary; variable
1540 + (instancetype)dictionary; variable
1575 + (instancetype)dictionary; variable
1610 + (instancetype)dictionary; variable
1645 + (instancetype)dictionary; variable
1681 + (instancetype)dictionary; variable
1746 + (instancetype)dictionary; variable
1781 + (instancetype)dictionary; variable
1816 + (instancetype)dictionary; variable
1851 + (instancetype)dictionary; variable
1886 + (instancetype)dictionary; variable
1921 + (instancetype)dictionary; variable
1956 + (instancetype)dictionary; variable
1991 + (instancetype)dictionary; variable
2027 + (instancetype)dictionary; variable
    [all...]
  /external/brotli/java/org/brotli/dec/
DictionaryData.java 12 * Built-in dictionary data.
14 * When this class is loaded, it sets its data: {@link Dictionary#setData(ByteBuffer)}.
51 ByteBuffer dictionary = ByteBuffer.allocateDirect(122784); external variable declarations
    [all...]
SetDictionaryTest.java 21 * Tests for {@link Dictionary}.
47 // No dictionary set; still decoding should succeed, if no dictionary entries are used.
53 // Decoding of dictionary item must fail.
64 // Load dictionary data.
67 ByteBuffer dictionary = dictionaryChannel.map(FileChannel.MapMode.READ_ONLY, 0, 122784).load(); local
68 Dictionary.setData(dictionary);
70 // Retry decoding of dictionary item.
  /external/clang/test/PCH/
objc_container.h 19 NSMutableDictionary *dictionary; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
  /external/toolchain-utils/mem_tests/
clean_data.py 22 dictionary = dict() variable
26 dictionary[new_time] = line
28 for key in dictionary.keys():
29 output_file.write(dictionary[key])
  /libcore/luni/src/main/native/
ZipUtilities.cpp 54 const Bytef* dictionary = reinterpret_cast<const Bytef*>(&dictionaryBytes[0]); local
57 err = inflateSetDictionary(&stream, dictionary, len);
59 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:__anon20908::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...]
  /external/libchrome/base/trace_event/
heap_profiler_type_name_deduplicator_unittest.cc 51 const DictionaryValue* dictionary; local
52 ASSERT_TRUE(type_names->GetAsDictionary(&dictionary));
57 ASSERT_TRUE(dictionary->GetString("1", &value));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
example.c 34 const char dictionary[] = "hello"; variable
35 uLong dictId; /* Adler32 value of the dictionary */
424 * Test deflate() with preset dictionary
441 (const Bytef*)dictionary, sizeof(dictionary));
461 * Test inflate() with a preset dictionary
490 fprintf(stderr, "unexpected dictionary");
493 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
494 sizeof(dictionary));
506 printf("inflate with dictionary: %s\n", (char *)uncompr);
    [all...]
  /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 80 case base::Value::Type::DICTIONARY:
263 case base::Value::Type::DICTIONARY: {
264 const base::DictionaryValue* dictionary = NULL; local
265 value.GetAsDictionary(&dictionary);
268 for (base::DictionaryValue::Iterator iter(*dictionary);
  /external/libmojo/mojo/edk/js/
drain_data.cc 13 #include "gin/dictionary.h"
112 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(isolate_); local
113 dictionary.Set("result", result);
114 dictionary.Set("buffer", array_buffer);
115 v8::Handle<v8::Value> settled_value(ConvertToV8(isolate_, dictionary));
core.cc 15 #include "gin/dictionary.h"
38 gin::Dictionary WaitHandle(const gin::Arguments& args,
43 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(isolate); local
47 dictionary.Set("result", result);
51 dictionary.Set("signalsState", v8::Null(isolate).As<v8::Value>());
53 gin::Dictionary signalsStateDict = gin::Dictionary::CreateEmpty(isolate);
57 dictionary.Set("signalsState", signalsStateDict)
68 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(isolate); local
98 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
163 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
187 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
195 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
240 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
253 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
267 gin::Dictionary dictionary = gin::Dictionary::CreateEmpty(args.isolate()); local
    [all...]
  /toolchain/binutils/binutils-2.27/zlib/
example.c 34 const char dictionary[] = "hello"; variable
35 uLong dictId; /* Adler32 value of the dictionary */
424 * Test deflate() with preset dictionary
441 (const Bytef*)dictionary, sizeof(dictionary));
461 * Test inflate() with a preset dictionary
490 fprintf(stderr, "unexpected dictionary");
493 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
494 sizeof(dictionary));
506 printf("inflate with dictionary: %s\n", (char *)uncompr)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
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...]
  /external/lz4/lib/
lz4.h 245 * Use this function to load a static dictionary into LZ4_stream.
246 * Any previous data will be forgotten, only 'dictionary' will remain in memory.
248 * Return : dictionary size, in bytes (necessarily <= 64 KB)
250 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
253 * Compress buffer content 'src', using data from previously compressed blocks as dictionary to improve compression ratio.
265 * dictionary is immediately usable, you can therefore call LZ4_compress_fast_continue().
266 * Return : saved dictionary size in bytes (necessarily <= dictSize), or 0 if error.
282 * Use this function to instruct where to find the dictionary.
286 LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
339 const uint8_t* dictionary; member in struct:__anon28648
357 const unsigned char* dictionary; member in struct:__anon28650
    [all...]
  /external/python/cpython2/Modules/zlib/
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...]
  /external/python/cpython3/Modules/zlib/
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...]
  /external/zlib/src/test/
example.c 34 static const char dictionary[] = "hello"; variable
35 static 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...]
  /toolchain/binutils/binutils-2.27/zlib/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...]

Completed in 744 milliseconds

1 2 3 4 5