/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
ver4_patricia_trie_writing_helper.cpp | 17 #include "dictionary/structure/v4/ver4_patricia_trie_writing_helper.h" 22 #include "dictionary/header/header_policy.h" 23 #include "dictionary/structure/v4/shortcut/ver4_shortcut_list_policy.h" 24 #include "dictionary/structure/v4/ver4_dict_buffers.h" 25 #include "dictionary/structure/v4/ver4_dict_constants.h" 26 #include "dictionary/structure/v4/ver4_patricia_trie_node_reader.h" 27 #include "dictionary/structure/v4/ver4_patricia_trie_node_writer.h" 28 #include "dictionary/structure/v4/ver4_pt_node_array_reader.h" 29 #include "dictionary/utils/buffer_with_extendable_buffer.h" 30 #include "dictionary/utils/file_utils.h [all...] |
ver4_patricia_trie_policy.cpp | 17 #include "dictionary/structure/v4/ver4_patricia_trie_policy.h" 24 #include "dictionary/interface/ngram_listener.h" 25 #include "dictionary/property/ngram_context.h" 26 #include "dictionary/property/ngram_property.h" 27 #include "dictionary/property/unigram_property.h" 28 #include "dictionary/property/word_property.h" 29 #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h" 30 #include "dictionary/structure/v4/ver4_patricia_trie_node_reader.h" 31 #include "dictionary/utils/forgetting_curve_utils.h" 32 #include "dictionary/utils/multi_bigram_map.h [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
format_utils.h | 28 * Methods to handle binary dictionary format version. 46 // 32 bit magic number is stored at the beginning of the dictionary header to reject 47 // unsupported or obsolete dictionary formats.
|
format_utils.cpp | 17 #include "dictionary/utils/format_utils.h" 19 #include "dictionary/utils/byte_array_utils.h" 32 AKLOGE("Dictionary versions 2 and 201 are incompatible with this version"); 49 // If the dictionary is less than 4 bytes, we can't even read the magic number, so we don't 59 // Dictionary format version number (2 bytes)
|
dict_file_writing_utils.cpp | 17 #include "dictionary/utils/dict_file_writing_utils.h" 25 #include "dictionary/header/header_policy.h" 26 #include "dictionary/structure/backward/v402/ver4_dict_buffers.h" 27 #include "dictionary/structure/pt_common/dynamic_pt_writing_utils.h" 28 #include "dictionary/structure/v4/ver4_dict_buffers.h" 29 #include "dictionary/utils/buffer_with_extendable_buffer.h" 30 #include "dictionary/utils/entry_counters.h" 31 #include "dictionary/utils/file_utils.h" 32 #include "dictionary/utils/format_utils.h" 58 AKLOGE("Cannot create dictionary %s because format version %d is not supported." [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
WnnDictionary.java | 21 * The interface of dictionary searcher used by {@link OpenWnn}. 100 /** Index of the user dictionary for {@link #setDictionary(int, int, int)} */ 102 /** Index of the learn dictionary for {@link #setDictionary(int, int, int)} */ 107 * Whether this dictionary module is active. 108 * @return {@code true} if this dictionary module is active; {@code false} if not. 115 * When the flag set true, the user dictionary is locked. 117 * @param flag {@code true} if the user dictionary is locked; {@code false} if the user dictionary is unlocked. 122 * Clear all dictionary settings. 131 * Sets a dictionary information for using specified dictionary [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
namedict.py | 16 """DNS name dictionary""" 22 """A dictionary whose keys are dns.name.Name objects. 24 added to the dictionary. 41 """Find the deepest match to I{name} in the dictionary. 43 The deepest match is the longest name in the dictionary which is
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
ver4_patricia_trie_writing_helper.h | 21 * dictionary/structure/v4/ver4_patricia_trie_writing_helper.h 28 #include "dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.h" 29 #include "dictionary/structure/backward/v402/content/terminal_position_lookup_table.h" 30 #include "dictionary/utils/entry_counters.h" 52 // This method cannot be const because the original dictionary buffer will be updated to detect
|
ver4_patricia_trie_writing_helper.cpp | 21 * dictionary/structure/v4/ver4_patricia_trie_writing_helper.cpp 24 #include "dictionary/structure/backward/v402/ver4_patricia_trie_writing_helper.h" 29 #include "dictionary/header/header_policy.h" 30 #include "dictionary/structure/backward/v402/bigram/ver4_bigram_list_policy.h" 31 #include "dictionary/structure/backward/v402/shortcut/ver4_shortcut_list_policy.h" 32 #include "dictionary/structure/backward/v402/ver4_dict_buffers.h" 33 #include "dictionary/structure/backward/v402/ver4_dict_constants.h" 34 #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" 35 #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_writer.h" 36 #include "dictionary/structure/backward/v402/ver4_pt_node_array_reader.h [all...] |
ver4_patricia_trie_policy.cpp | 22 * dictionary/structure/v4/ver4_patricia_trie_policy.cpp 25 #include "dictionary/structure/backward/v402/ver4_patricia_trie_policy.h" 31 #include "dictionary/interface/ngram_listener.h" 32 #include "dictionary/property/ngram_context.h" 33 #include "dictionary/property/ngram_property.h" 34 #include "dictionary/property/unigram_property.h" 35 #include "dictionary/property/word_property.h" 36 #include "dictionary/structure/pt_common/dynamic_pt_reading_helper.h" 37 #include "dictionary/structure/backward/v402/ver4_patricia_trie_node_reader.h" 38 #include "dictionary/utils/forgetting_curve_utils.h [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
DictDecoder.java | 34 * An interface of binary dictionary decoders. 52 * Reads a buffer and returns the memory representation of the dictionary. 58 * dictionary or not. 59 * @return the created dictionary. 66 * Gets the address of the last PtNode of the exact matching word in the dictionary. 80 * Doesn't store a full memory representation of the dictionary. 114 * Opens the dictionary file and makes DictBuffer. 138 * When operating on a big dictionary, this class is preferred. 167 * When operating on a small dictionary, this class is preferred. 193 * on a dictionary [all...] |
/external/lzma/xz-embedded/ |
xz.h | 36 * dictionary doesn't need to be allocated as 41 * dictionary buffer. All data structures are 44 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is 82 * @XZ_MEMLIMIT_ERROR: A bigger LZMA2 dictionary would be needed than 158 * @dict_max: Maximum size of the LZMA2 dictionary (history buffer) for 160 * (mode == XZ_SINGLE). LZMA2 dictionary is always 2^n bytes 163 * In the kernel, dictionary sizes of 64 KiB, 128 KiB, 256 KiB, 166 * dictionary can be fine and useful. 170 * fail. The output space is used as the dictionary buffer, which is why 171 * there is no need to allocate the dictionary as part of the decoder' [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
OpenWnnEngineJAJP.java | 44 /** Current dictionary type */ 46 /** Dictionary type (default) */ 48 /** Dictionary type (Japanese standard) */ 50 /** Dictionary type (English standard) */ 52 /** Dictionary type (Japanese person's name) */ 54 /** Dictionary type (User dictionary) */ 56 /** Dictionary type (Japanese EISU-KANA conversion) */ 58 /** Dictionary type (e-mail/URI) */ 60 /** Dictionary type (Japanese postal address) * [all...] |
/external/autotest/client/site_tests/desktopui_SonicExtension/ |
config_json_iterator.py | 70 """Sets config dictionary. 85 @return Dictionary of the config file. 100 """Returns dictionary of aggregated config files. 104 @return Dictionary containing the aggregated config files. 127 """Returns a merged dictionary. 129 @param dict_one: Dictionary to merge (first). 130 @param dict_two: Dictionary to merge (second). 132 @return Dictionary containing merged result. 133 @raises ConfigJsonIteratorError: if no dictionary given. 136 raise ConfigJsonIteratorError('Input is not a dictionary') [all...] |
/prebuilts/go/darwin-x86/src/compress/zlib/ |
writer_test.go | 25 // Tests that compressing and then decompressing the given file at the given compression level and dictionary 44 // Make dictionary, if given. 165 const dictionary = "0123456789." 167 testFileLevelDict(t, fn, DefaultCompression, dictionary) 168 testFileLevelDict(t, fn, NoCompression, dictionary) 170 testFileLevelDict(t, fn, level, dictionary) 176 const dictionary = "0123456789." 180 testFileLevelDictReset(t, fn, NoCompression, []byte(dictionary)) 181 testFileLevelDictReset(t, fn, DefaultCompression, []byte(dictionary)) 203 t.Errorf("result too large (got %d, want <= %d bytes). Is the dictionary being used?", len(output), expectedMaxSize [all...] |
/prebuilts/go/linux-x86/src/compress/zlib/ |
writer_test.go | 25 // Tests that compressing and then decompressing the given file at the given compression level and dictionary 44 // Make dictionary, if given. 165 const dictionary = "0123456789." 167 testFileLevelDict(t, fn, DefaultCompression, dictionary) 168 testFileLevelDict(t, fn, NoCompression, dictionary) 170 testFileLevelDict(t, fn, level, dictionary) 176 const dictionary = "0123456789." 180 testFileLevelDictReset(t, fn, NoCompression, []byte(dictionary)) 181 testFileLevelDictReset(t, fn, DefaultCompression, []byte(dictionary)) 203 t.Errorf("result too large (got %d, want <= %d bytes). Is the dictionary being used?", len(output), expectedMaxSize [all...] |
/device/google/dragon/audio/hal/ |
iniparser.c | 96 @brief Get number of sections in a dictionary 97 @param d Dictionary to examine 98 @return int Number of sections found in dictionary 100 This function returns the number of sections found in a dictionary. 102 dictionary: a section name is given as "section" whereas a key is 112 int iniparser_getnsec(dictionary * d) 131 @brief Get name for section n in a dictionary. 132 @param d Dictionary to examine 136 This function locates the n-th section in a dictionary and returns 138 dictionary. Do not free or modify the returned string [all...] |
/external/protobuf/python/google/protobuf/ |
reflection.py | 104 def __new__(cls, name, bases, dictionary): 117 dictionary: The class dictionary of the class we're 118 constructing. dictionary[_DESCRIPTOR_KEY] must contain 125 descriptor = dictionary[GeneratedProtocolMessageType._DESCRIPTOR_KEY] 126 bases = _NewMessage(bases, descriptor, dictionary) 129 new_class = superclass.__new__(cls, name, bases, dictionary) 133 def __init__(cls, name, bases, dictionary): 145 dictionary: The class dictionary of the class we'r [all...] |
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
LZMAInputStream.java | 39 * Largest dictionary size supported by this implementation. 68 * the given dictionary size and LZMA properties byte (lc, lp, and pb). 70 * @param dictSize LZMA dictionary size as bytes, should be 91 "LZMA dictionary is too big for this implementation"); 106 * the given dictionary size, lc, and lp. Note that pb isn't needed. 108 * @param dictSize LZMA dictionary size as bytes, must be 128 // Roughly 10 KiB for the base state + LZ decoder's dictionary buffer 138 "LZMA dictionary is too big for this implementation"); 140 // For performance reasons, use a 4 KiB dictionary if something 143 // dictionary is just a few bytes. But we need to handle the specia [all...] |
LZMA2Options.java | 41 * Minimum dictionary size is 4 KiB. 46 * Maximum dictionary size for compression is 768 MiB. 53 * If you really need bigger dictionary for decompression, 59 * The default dictionary size is 8 MiB. 223 * Sets the dictionary size in bytes. 225 * The dictionary (or history buffer) holds the most recently seen 226 * uncompressed data. Bigger dictionary usually means better compression. 240 "LZMA2 dictionary size must be at least 4 KiB: " 245 "LZMA2 dictionary size must not exceed " 252 * Gets the dictionary size in bytes [all...] |
/external/ppp/pppd/plugins/radius/ |
dict.c | 29 * Purpose: Initialize the dictionary. Read all ATTRIBUTES into 56 error( "rc_read_dictionary: couldn't open dictionary %s: %s", 76 error("rc_read_dictionary: invalid vendor on line %d of dictionary %s", 83 error("rc_read_dictionary: invalid name length on line %d of dictionary %s", 111 error("rc_read_dictionary: invalid attribute on line %d of dictionary %s", 122 error("rc_read_dictionary: invalid name length on line %d of dictionary %s", 130 error("rc_read_dictionary: invalid name length on line %d of dictionary %s", 138 error("rc_read_dictionary: invalid value on line %d of dictionary %s", 163 error("rc_read_dictionary: invalid type on line %d of dictionary %s", 173 error("rc_read_dictionary: unknown vendor on line %d of dictionary %s" [all...] |
/external/google-breakpad/src/client/mac/sender/ |
uploader.h | 51 NSMutableDictionary *serverDictionary_; // The dictionary mapping a 53 // dictionary of server 55 NSMutableDictionary *socorroDictionary_; // The dictionary for 57 NSMutableDictionary *googleDictionary_; // The dictionary for 59 NSMutableDictionary *extraServerVars_; // A dictionary containing 81 // This method adds a key/value pair to the dictionary that
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/rbbi/ |
readme.html | 16 dictionary from a Unicode text file containing a list of Thai words. 28 <h3>How To Build The Thai Word Break Dictionary</h3> 30 ported to ICU4C - the dictionary builder tool was never ported, so you 31 have to use the Java tool to build the dictionary file for ICU4C. On 37 word break dictionary for ICU4C and 44 <li>Run the following command line to build the Thai dictionary file:<br>
|
/external/pdfium/third_party/freetype/src/type1/ |
t1parse.h | 45 /* base_dict :: A pointer to the top-level dictionary. */ 47 /* base_len :: The length in bytes of the top dictionary. */ 49 /* private_dict :: A pointer to the private dictionary. */ 51 /* private_len :: The length in bytes of the private dictionary. */ 58 /* single_block :: A boolean. Indicates that the private dictionary */ 59 /* is stored in lieu of the base dictionary. */
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
dictionary_structure_with_buffer_policy.h | 23 #include "dictionary/property/historical_info.h" 24 #include "dictionary/property/word_attributes.h" 25 #include "dictionary/property/word_property.h" 26 #include "dictionary/utils/binary_dictionary_shortcut_iterator.h" 109 // Method to iterate all words in the dictionary. 111 // starts iterating the dictionary.
|