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

1 2 3 4 5 6 7 8 91011>>

  /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"));
variant_dictionary.h 18 // GetVariantValueOrDefault tries to retrieve the named key from the dictionary
22 const T GetVariantValueOrDefault(const VariantDictionary& dictionary,
24 VariantDictionary::const_iterator it = dictionary.find(key);
25 if (it == dictionary.end()) {
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/
RTCICEServer+JSON.h 15 + (RTCICEServer *)serverFromJSONDictionary:(NSDictionary *)dictionary;
17 + (NSArray *)serversFromCEODJSONDictionary:(NSDictionary *)dictionary;
RTCMediaConstraints+JSON.h 16 (NSDictionary *)dictionary;
RTCICEServer+JSON.m 21 + (RTCICEServer *)serverFromJSONDictionary:(NSDictionary *)dictionary {
22 NSString *url = dictionary[kRTCICEServerUrlKey];
23 NSString *username = dictionary[kRTCICEServerUsernameKey];
24 NSString *credential = dictionary[kRTCICEServerCredentialKey];
32 + (NSArray *)serversFromCEODJSONDictionary:(NSDictionary *)dictionary {
33 NSString *username = dictionary[kRTCICEServerUsernameKey];
34 NSString *password = dictionary[kRTCICEServerPasswordKey];
35 NSArray *uris = dictionary[kRTCICEServerUrisKey];
RTCICECandidate+JSON.h 15 + (RTCICECandidate *)candidateFromJSONDictionary:(NSDictionary *)dictionary;
RTCSessionDescription+JSON.h 16 (NSDictionary *)dictionary;
RTCICECandidate+JSON.m 23 + (RTCICECandidate *)candidateFromJSONDictionary:(NSDictionary *)dictionary {
24 NSString *mid = dictionary[kRTCICECandidateMidKey];
25 NSString *sdp = dictionary[kRTCICECandidateSdpKey];
26 NSNumber *num = dictionary[kRTCICECandidateMLineIndexKey];
RTCSessionDescription+JSON.m 19 (NSDictionary *)dictionary {
20 NSString *type = dictionary[kRTCSessionDescriptionTypeKey];
21 NSString *sdp = dictionary[kRTCSessionDescriptionSdpKey];
RTCMediaConstraints+JSON.m 20 (NSDictionary *)dictionary {
21 NSDictionary *mandatory = dictionary[kRTCMediaConstraintsMandatoryKey];
  /tools/test/connectivity/acts/framework/acts/controllers/relay_lib/
helpers.py 24 def validate_key(key, dictionary, expected_type, source):
27 key: The key in dictionary.
28 dictionary: The dictionary that should contain key.
33 The value of dictionary[key] if no error was raised.
38 if key not in dictionary:
39 raise RelayConfigError(MISSING_KEY_ERR_MSG % (key, source, dictionary))
41 if not isinstance(dictionary[key], string_types):
43 (key, dictionary[key], expected_type,
44 dictionary))
    [all...]
  /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])
  /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...]
  /packages/inputmethods/LatinIME/native/jni/
NativeFileList.mk 23 $(addprefix dictionary/header/, \
26 dictionary/property/ngram_context.cpp \
27 dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp \
28 $(addprefix dictionary/structure/pt_common/, \
37 $(addprefix dictionary/structure/v2/, \
41 $(addprefix dictionary/structure/v4/, \
50 $(addprefix dictionary/structure/v4/content/, \
57 $(addprefix dictionary/utils/, \
74 $(addprefix suggest/core/dictionary/, \
75 dictionary.cpp
    [all...]
com_android_inputmethod_latin_BinaryDictionary.cpp 25 #include "dictionary/property/unigram_property.h"
26 #include "dictionary/property/ngram_context.h"
27 #include "dictionary/property/word_property.h"
28 #include "dictionary/structure/dictionary_structure_with_buffer_policy_factory.h"
31 #include "suggest/core/dictionary/dictionary.h"
65 Dictionary *const dictionary = local
66 new Dictionary(env, std::move(dictionaryStructureWithBufferPolicy));
68 return reinterpret_cast<jlong>(dictionary);
94 Dictionary *const dictionary = local
101 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
112 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
119 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
129 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
137 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
171 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
187 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
265 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
275 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
287 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
304 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
334 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
363 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
388 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
401 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
421 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
439 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
458 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
513 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
529 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
547 Dictionary *dictionary = reinterpret_cast<Dictionary *>(dict); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DicTraverseSession.java 51 long dictionary, int[] previousWord, int previousWordLength);
56 public DicTraverseSession(Locale locale, long dictionary, long dictSize) {
59 initSession(dictionary);
66 public void initSession(long dictionary) {
67 initSession(dictionary, null, 0);
70 public void initSession(long dictionary, int[] previousWord, int previousWordLength) {
72 mNativeDicTraverseSession, dictionary, previousWord, previousWordLength);
  /external/clang/test/PCH/
objc_container.h 19 NSMutableDictionary *dictionary; local
22 oldObject = dictionary[key];
24 dictionary[key] = newObject;
  /external/libmojo/mojo/edk/js/
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...]
  /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) {
  /external/nanopb-c/generator/google/protobuf/
reflection.py 100 def __new__(cls, name, bases, dictionary):
113 dictionary: The class dictionary of the class we're
114 constructing. dictionary[_DESCRIPTOR_KEY] must contain
121 descriptor = dictionary[GeneratedProtocolMessageType._DESCRIPTOR_KEY]
122 bases = _NewMessage(bases, descriptor, dictionary)
125 new_class = superclass.__new__(cls, name, bases, dictionary)
129 def __init__(cls, name, bases, dictionary):
141 dictionary: The class dictionary of the class we'r
    [all...]
  /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...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
WnnEngine.java 32 /** The identifier of the learning dictionary */
34 /** The identifier of the user dictionary */
119 * candidates to the learning dictionary or update the frequency
128 * Register a word to the user's dictionary.
131 * @return Number of registered words in the user's dictionary after the operation; minus value if a error occurs.
136 * Delete a word from the user's dictionary.
144 * Delete all words from the user's dictionary.
146 * @param dictionary {@code DICTIONARY_TYPE_LEARN} or {@code DICTIONARY_TYPE_USER}
149 public boolean initializeDictionary(int dictionary);
152 * Delete all words from the user's dictionary of the specified language
    [all...]
  /external/brotli/c/enc/
static_dict.h 7 /* Class to model the static dictionary. */
12 #include "../common/dictionary.h"
23 /* Matches data against static dictionary words, and for each length l,
31 const BrotliDictionary* dictionary,
  /external/brotli/research/
deorummolae.h 14 * Generate a dictionary for given samples.
16 * @param dictionary storage for generated dictionary
17 * @param dictionary_size_limit maximal dictionary size
21 * @return generated dictionary size
23 size_t DM_generate(uint8_t* dictionary, size_t dictionary_size_limit,
  /external/ppp/pppd/plugins/radius/etc/
radiusclient.conf 48 # dictionary of allowed attributes and values
50 dictionary /usr/local/etc/radiusclient/dictionary

Completed in 781 milliseconds

1 2 3 4 5 6 7 8 91011>>