/libcore/ojluni/src/main/java/java/util/ |
Dictionary.java | 29 * The <code>Dictionary</code> class is the abstract parent of any 31 * Every key and every value is an object. In any one <tt>Dictionary</tt> 33 * <tt>Dictionary</tt> and a key, the associated element can be looked up. 50 class Dictionary<K,V> { 55 public Dictionary() { 59 * Returns the number of entries (distinct keys) in this dictionary. 61 * @return the number of keys in this dictionary. 66 * Tests if this dictionary maps no keys to value. The general contract 68 * if this dictionary contains no entries. 70 * @return <code>true</code> if this dictionary maps no keys to values [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.cpp | 17 #define LOG_TAG "LatinIME: dictionary.cpp" 19 #include "suggest/core/dictionary/dictionary.h" 22 #include "dictionary/interface/dictionary_header_structure_policy.h" 23 #include "dictionary/property/ngram_context.h" 24 #include "suggest/core/dictionary/dictionary_utils.h" 37 const int Dictionary::HEADER_ATTRIBUTE_BUFFER_SIZE = 32; 39 Dictionary::Dictionary(JNIEnv *env, DictionaryStructureWithBufferPolicy::StructurePolicyPtr 47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession [all...] |
dictionary.h | 24 #include "dictionary/interface/dictionary_header_structure_policy.h" 25 #include "dictionary/interface/dictionary_structure_with_buffer_policy.h" 26 #include "dictionary/interface/ngram_listener.h" 27 #include "dictionary/property/historical_info.h" 28 #include "dictionary/property/word_property.h" 41 class Dictionary { 65 Dictionary(JNIEnv *env, DictionaryStructureWithBufferPolicy::StructurePolicyPtr 109 // Method to iterate all words in the dictionary. 111 // starts iterating the dictionary. 120 DISALLOW_IMPLICIT_CONSTRUCTORS(Dictionary); [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...] |
DictionaryFacilitator.java | 48 Dictionary.TYPE_MAIN, 49 Dictionary.TYPE_CONTACTS, 50 Dictionary.TYPE_USER_HISTORY, 51 Dictionary.TYPE_USER}; 54 Dictionary.TYPE_CONTACTS, 55 Dictionary.TYPE_USER_HISTORY, 56 Dictionary.TYPE_USER};
|
DictionaryCollection.java | 32 * Class for a collection of dictionaries that behave like one dictionary. 34 public final class DictionaryCollection extends Dictionary { 36 protected final CopyOnWriteArrayList<Dictionary> mDictionaries; 44 final Dictionary... dictionaries) { 55 final Collection<Dictionary> dictionaries) { 67 final CopyOnWriteArrayList<Dictionary> dictionaries = mDictionaries; 70 // dictionary and add the rest to it if not null, hence the get(0) 119 for (final Dictionary dict : mDictionaries) 124 public void addDictionary(final Dictionary newDict) { 127 Log.w(TAG, "This collection already contains this dictionary: " + newDict) [all...] |
DictionaryFactory.java | 32 * Factory for dictionary instances. 38 * Initializes a main dictionary collection from a dictionary pack, with explicit flags. 40 * This searches for a content provider providing a dictionary pack for the specified 41 * locale. If none is found, it falls back to the built-in dictionary - if any. 43 * @param locale the locale for which to create the dictionary 49 Log.e(TAG, "No locale defined for dictionary"); 50 return new DictionaryCollection(Dictionary.TYPE_MAIN, locale, 54 final LinkedList<Dictionary> dictList = new LinkedList<>(); 61 false /* useFullEditDistance */, locale, Dictionary.TYPE_MAIN) [all...] |
Dictionary.java | 30 * Abstract base class for a dictionary that can do a fuzzy search for words based on a set of key 33 public abstract class Dictionary { 37 // The following types do not actually come from real dictionary instances, so we create 58 // The following types of dictionary have actual functional instances. We don't need final 59 // phony dictionary instances for them. 62 // User dictionary, the system-managed one. 64 // User history dictionary internal to LatinIME. 67 // The locale for this dictionary. May be null if unknown (phony dictionary for example). 71 * Set out of the dictionary types listed above that are based on data specific to the user [all...] |
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_DicTraverseSession.cpp | 22 #include "dictionary/property/ngram_context.h" 28 class Dictionary; 36 jlong dictionary, jintArray previousWord, jint previousWordLength) { 41 Dictionary *dict = reinterpret_cast<Dictionary *>(dictionary);
|
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...] |
/external/lzma/CPP/7zip/UI/Common/ |
ZipRegistry.h | 41 UInt32 Dictionary;
53 BlockLogSize = NumThreads = Level = Dictionary = Order = UInt32(-1);
|
/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...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
suggestions_output_utils.cpp | 22 #include "dictionary/utils/binary_dictionary_shortcut_iterator.h" 25 #include "suggest/core/dictionary/error_type_utils.h" 151 (wordAttributes.isPossiblyOffensive() ? Dictionary::KIND_FLAG_POSSIBLY_OFFENSIVE : 0) 152 | ((isExactMatch && boostExactMatches) ? Dictionary::KIND_FLAG_EXACT_MATCH : 0) 154 Dictionary::KIND_FLAG_EXACT_MATCH_WITH_INTENTIONAL_OMISSION : 0) 156 Dictionary::KIND_FLAG_APPROPRIATE_FOR_AUTOCORRECTION : 0); 182 finalScore, Dictionary::KIND_CORRECTION | outputTypeFlags, 263 kind = Dictionary::KIND_WHITELIST; 269 kind = Dictionary::KIND_SHORTCUT;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { 101 public static void put<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key, TValue value) { 115 // disambiguates for Dictionary, which implements both IDictionary<T,K> and IDictionary 117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) 105 public static void put<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key, TValue value ) 122 // disambiguates for Dictionary, which implements both IDictionary<T,K> and IDictionary 124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map )
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
object_manager.py | 51 a dictionary mapping from property name to property value. 60 interface2properties = dbus.Dictionary( 94 result = dbus.Dictionary(dict(), 'oa{sa{sv}}') 97 result[dbus_path] = dbus.Dictionary(dict(), 'sa{sv}')
|
dbus_property_exposer.py | 51 results = dbus.Dictionary(dict(), 'sv') 85 results = dbus.Dictionary(dict(), 'sv')
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.h | 23 #include "dictionary/utils/multi_bigram_map.h" 31 class Dictionary; 64 void init(const Dictionary *dictionary, const NgramContext *const ngramContext, 91 // Not in the dictionary word 172 const Dictionary *mDictionary; 184 // Configuration per dictionary
|
dic_traverse_session.cpp | 20 #include "dictionary/interface/dictionary_header_structure_policy.h" 21 #include "dictionary/interface/dictionary_structure_with_buffer_policy.h" 22 #include "dictionary/property/ngram_context.h" 23 #include "suggest/core/dictionary/dictionary.h" 28 // (e.g. main dictionary) from small dictionaries (e.g. contacts...) 32 void DicTraverseSession::init(const Dictionary *const dictionary, 34 mDictionary = dictionary;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugTreeGrammarHelper.cs | 46 private readonly IDictionary<string, BigInteger> localMemory = new Dictionary<string, BigInteger>(); 49 private IDictionary<string, BigInteger> globalMemory = new Dictionary<string, BigInteger>();
|
ProfileTreeGrammarHelper.cs | 46 private readonly IDictionary<string, BigInteger> localMemory = new Dictionary<string, BigInteger>(); 49 private IDictionary<string, BigInteger> globalMemory = new Dictionary<string, BigInteger>();
|
/external/autotest/client/site_tests/peerd_MonitorsDBusConnections/ |
peerd_MonitorsDBusConnections.py | 58 dbus.Dictionary(signature='ss'), 59 dbus.Dictionary(signature='sv'))
|
/external/autotest/client/cros/tendo/ |
peerd_dbus_helper.py | 136 dbus.Dictionary(signature='sv')) 173 options = dbus.Dictionary(signature='sv') 175 options[EXPOSE_SERVICE_SECTION_MDNS] = dbus.Dictionary(
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
UserHistoryDictionary.java | 24 import com.android.inputmethod.latin.Dictionary; 49 super(context, getUserHistoryDictName(NAME, locale, null /* dictFile */, account), locale, Dictionary.TYPE_USER_HISTORY, null); 68 * Uses the currently signed in account to determine the dictionary name. 91 * Add a word to the user history dictionary. 93 * @param userHistoryDictionary the user history dictionary 133 // Strings out of this dictionary should not be considered existing words.
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
DotTreeGenerator.cs | 75 Dictionary<object, int> nodeToNumberMap = new Dictionary<object, int>();
|