/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
String.py | 232 # given in a dictionary.
235 # @param MacroDefinitions The macro definitions in the form of dictionary
253 # dictionary.
256 # @param MacroDefinitions The macro definitions in the form of dictionary
485 # The result is saved to Dictionary
488 # @param Dictionary: To store data after parsing
496 def GetSingleValueOfKeyFromLines(Lines, Dictionary, CommentCharacter, KeySplitCharacter, ValueSplitFlag, ValueSplitCharacter):
534 if Key[0] in Dictionary:
536 Dictionary[Key[0]] = Value
539 Dictionary[Key[0]].extend(Value) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeWizard.cs | 180 IDictionary<string, int> m = new Dictionary<string, int>(); 216 IDictionary<int, IList> m = new Dictionary<int, IList>(); 371 IDictionary<string, object> labels = new Dictionary<string, object>(); // reused for each _parse 563 tokenTypeToStreamIndexesMap = new Dictionary<int, IList<int>>(); // first indexing op
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeWizard.cs | 203 IDictionary<string, int> m = new Dictionary<string, int>(); 244 IDictionary<int, IList> m = new Dictionary<int, IList>(); 427 IDictionary<string, object> labels = new Dictionary<string, object>(); // reused for each _parse 640 tokenTypeToStreamIndexesMap = new Dictionary<int, IList<int>>(); // first indexing op
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
service.py | 24 @param service_info: dictionary of string,string items comprising 74 @return dbus.Dictionary containing this service's metadata. 77 return dbus.Dictionary(self.service_info, 'ss')
|
/external/brotli/java/org/brotli/dec/ |
DecodeTest.java | 51 private byte[] decompressWithDictionary(byte[] data, byte[] dictionary) throws IOException { 56 input, BrotliInputStream.DEFAULT_INTERNAL_BUFFER_SIZE, dictionary); 69 String dictionary) throws IOException { 72 byte[] dictionaryBytes = Transform.readUniBytes(dictionary); 182 new Dictionary();
|
Decode.java | 407 int ringBufferSizeWithSlack = newSize + Dictionary.MAX_TRANSFORMED_WORD_LENGTH; 412 /* Prepend custom dictionary, if any. */ 571 /* Ignore custom dictionary bytes. */ 781 if (state.copyLength >= Dictionary.MIN_WORD_LENGTH 782 && state.copyLength <= Dictionary.MAX_WORD_LENGTH) { 783 int offset = Dictionary.OFFSETS_BY_LENGTH[state.copyLength]; 785 int shift = Dictionary.SIZE_BITS_BY_LENGTH[state.copyLength]; 792 Dictionary.getData(), offset, state.copyLength,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
PersonalDictionaryLookup.java | 51 * This class provides the ability to look into the system-wide "Personal dictionary". It loads the 58 * Note, that the initial dictionary loading happens asynchronously so it is possible (hopefully 69 * To avoid loading too many dictionary entries in memory, we cap them at this number. If 80 * Note, this value should be low enough to allow the "Add to dictionary" feature in the 85 * 3. User selects "Add to dictionary". The red underline disappears while the OOV is 128 * Content observer for changes to the personal dictionary. It has the following properties: 132 * when the dictionary is edited through its settings UI, when sometimes multiple 133 * notifications are sent for the edited entry, but also for the entire dictionary). 199 * We store a map from a dictionary word to the set of locales & raw string(as it appears) 230 mDictionaryStats.add(new DictionaryStats(ANY_LOCALE, Dictionary.TYPE_USER, 0)) [all...] |
ContactsBinaryDictionary.java | 55 super(context, getDictName(name, locale, dictFile), locale, Dictionary.TYPE_CONTACTS, 77 * Typically called whenever the dictionary is created for the first time or 78 * recreated when we think that there are updates to the dictionary. 90 * Loads device accounts to the dictionary. 110 * Loads data within content providers to the dictionary. 115 Log.i(TAG, "No permission to read contacts. Not loading the Dictionary."); 130 * Adds the words in a name (e.g., firstname/lastname) to the binary dictionary along with their
|
UserBinaryDictionary.java | 39 * An expandable dictionary that stores the words in the user dictionary provider into a binary 40 * dictionary file to use it from native code. 45 // The user dictionary provider uses an empty string to mean "all languages". 61 super(context, getDictName(name, locale, dictFile), locale, Dictionary.TYPE_USER, dictFile); 65 // If we don't have a locale, insert into the "all locales" user dictionary. 174 Log.e(TAG, "SQLiteException in the remote User dictionary process.", e); 179 Log.e(TAG, "SQLiteException in the remote User dictionary process.", e); 185 // The default frequency for the user dictionary is 250 for historical reasons. 186 // Latin IME considers a good value for the default user dictionary frequenc [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
suggestion_results.cpp | 57 addSuggestion(codePoints, codePointCount, probability, Dictionary::KIND_PREDICTION,
|
/packages/inputmethods/LatinIME/tools/dicttool/ |
Android.mk | 47 latin/Dictionary.java \
|
/prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 9 // fuzzer::Dictionary 85 class Dictionary { 113 // Parses one dictionary entry. 117 // Parses the dictionary file, fills Units, returns true iff all lines
|
FuzzerDefs.h | 44 class Dictionary;
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 9 // fuzzer::Dictionary 89 class Dictionary { 117 // Parses one dictionary entry. 121 // Parses the dictionary file, fills Units, returns true iff all lines
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 9 // fuzzer::Dictionary 89 class Dictionary { 117 // Parses one dictionary entry. 121 // Parses the dictionary file, fills Units, returns true iff all lines
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 9 // fuzzer::Dictionary 89 class Dictionary { 117 // Parses one dictionary entry. 121 // Parses the dictionary file, fills Units, returns true iff all lines
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerDictionary.h | 9 // fuzzer::Dictionary 89 class Dictionary { 117 // Parses one dictionary entry. 121 // Parses the dictionary file, fills Units, returns true iff all lines
|
/external/v8/src/ |
code-stub-assembler.h | [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
BinaryDictionaryTests.java | 92 throw new IOException("Empty dictionary " + file.getAbsolutePath() 112 assertTrue("binaryDictionary must be valid for existing valid dictionary file.", 119 assertFalse("binaryDictionary must be invalid for not existing dictionary file.", 171 assertEquals(Dictionary.NOT_A_PROBABILITY, binaryDictionary.getFrequency(invalidLongWord)); 246 // Test a word that isn't contained within the dictionary. 291 assertEquals(Dictionary.NOT_A_PROBABILITY, 293 assertEquals(Dictionary.NOT_A_PROBABILITY, 295 assertEquals(Dictionary.NOT_A_PROBABILITY, 307 assertEquals(Dictionary.NOT_A_PROBABILITY, 353 assertEquals(bigramProbability != Dictionary.NOT_A_PROBABILITY [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ST.stg | 132 new Dictionary\<string, object>() { <args:optionalArgument(); separator=", "> }
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
WordProperty.java | 21 import com.android.inputmethod.latin.Dictionary; 35 * This is chiefly used to iterate a dictionary. 194 return getProbability() != Dictionary.NOT_A_PROBABILITY;
|
/external/llvm/lib/Fuzzer/ |
FuzzerDriver.cpp | 328 std::vector<Unit> Dictionary; 330 if (!ParseDictionaryFile(FileToString(Flags.dict), &Dictionary)) 332 if (Flags.verbosity > 0 && !Dictionary.empty()) 333 Printf("Dictionary: %zd entries\n", Dictionary.size()); 353 for (auto &U: Dictionary)
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
String.py | 159 # dictionary.
162 # @param MacroDefinitions The macro definitions in the form of dictionary
390 # The result is saved to Dictionary
393 # @param Dictionary: To store data after parsing
403 def GetSingleValueOfKeyFromLines(Lines, Dictionary, CommentCharacter, KeySplitCharacter, \
442 if Key[0] in Dictionary:
444 Dictionary[Key[0]] = Value
447 Dictionary[Key[0]].extend(Value)
449 Dictionary[DataType.TAB_INF_DEFINES_MACRO][Key[0]] = Value[0]
455 Dictionary[DataType.TAB_INF_DEFINES_DEFINE] = DefineValues [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_find.py | 110 P2PFindDict = dbus.Dictionary(
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaAlone.cs | 67 Dictionary,
87 " -d{N}: set dictionary - [0, 29], default: 23 (8MB)\n" +
171 Int32 dictionary = 1 << 21;
172 if (parser[(int)Key.Dictionary].ThereIs)
175 if (!GetNumber((string)parser[(int)Key.Dictionary].PostStrings[0], out dicLog))
177 dictionary = (Int32)1 << dicLog;
192 return LzmaBench.LzmaBenchmark(numIterations, (UInt32)dictionary);
243 dictionary = 1 << 23;
285 (Int32)(dictionary),
314 if (trainFileSize > dictionary)
[all...] |