/device/google/dragon/audio/hal/ |
iniparser.h | 28 #include "dictionary.h" 32 @brief Get number of sections in a dictionary 33 @param d Dictionary to examine 34 @return int Number of sections found in dictionary 36 This function returns the number of sections found in a dictionary. 38 dictionary: a section name is given as "section" whereas a key is 49 int iniparser_getnsec(dictionary * d); 54 @brief Get name for section n in a dictionary. 55 @param d Dictionary to examine 59 This function locates the n-th section in a dictionary and return [all...] |
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...] |
/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])
|
/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/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...] |
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...] |
/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/ppp/pppd/plugins/radius/etc/ |
radiusclient.conf | 48 # dictionary of allowed attributes and values 50 dictionary /usr/local/etc/radiusclient/dictionary
|
/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...] |