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

  /libcore/luni/src/main/java/java/util/
Dictionary.java 24 * Dictionary is an abstract class which is the superclass of all classes that
30 public abstract class Dictionary<K, V> {
34 public Dictionary() {
39 * Returns an enumeration on the elements of this dictionary.
41 * @return an enumeration of the values of this dictionary.
60 * Returns true if this dictionary has no key/value pairs.
62 * @return {@code true} if this dictionary has no key/value pairs,
69 * Returns an enumeration on the keys of this dictionary.
71 * @return an enumeration of the keys of this dictionary.
79 * Associate {@code key} with {@code value} in this dictionary. If {@cod
    [all...]
Hashtable.java 41 public class Hashtable<K, V> extends Dictionary<K, V>
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DictionaryTest.java 27 import java.util.Dictionary;
30 @TestTargetClass(Dictionary.class)
33 class Mock_Dictionary extends Dictionary {
74 method = "Dictionary",
78 Dictionary md = new Mock_Dictionary();
  /packages/inputmethods/LatinIME/native/src/
dictionary.cpp 22 //#define LOG_TAG "dictionary.cpp"
26 #include "dictionary.h"
37 Dictionary::Dictionary(void *dict, int typedLetterMultiplier, int fullWordMultiplier)
45 Dictionary::~Dictionary()
49 int Dictionary::getSuggestions(int *codes, int codesSize, unsigned short *outWords, int *frequencies,
90 Dictionary::registerNextLetter(unsigned short c)
98 Dictionary::getVersionNumber()
105 // Checks whether it has the latest dictionary or the old dictionar
    [all...]
dictionary.h 22 // 22-bit address = ~4MB dictionary size limit, which on average would be about 200k-300k words
36 class Dictionary {
38 Dictionary(void *dict, int typedLetterMultipler, int fullWordMultiplier);
48 ~Dictionary();
  /external/chromium/net/base/
sdch_manager.h 12 // can find a dictionary (based on a server specification of a hash), store a
13 // dictionary, and make judgements about what URLs can use, set, etc. a
14 // dictionary.
17 // (containing metadata) as well as a VCDIFF dictionary (for use by a VCDIFF
36 // A browser may register a fetcher that is used by the dictionary managers to
44 // The Schedule() method is called when there is a need to get a dictionary
77 // Dictionary selection for use problems.
85 // Dictionary saving problems.
95 // Dictionary loading problems.
113 // Dictionary manager issues
    [all...]
sdch_manager.cc 151 /* The user agent may retrieve a dictionary from the dictionary URL if all of
153 1 The dictionary URL host name matches the referrer URL host name
154 2 The dictionary URL host name domain matches the parent domain of the
158 4 The dictionary URL is not an HTTPS URL.
256 if (!Dictionary::CanSet(domain, path, ports, dictionary_url))
272 UMA_HISTOGRAM_COUNTS("Sdch3.Dictionary size loaded", dictionary_text.size());
273 DLOG(INFO) << "Loaded dictionary with client hash " << client_hash <<
275 Dictionary* dictionary local
    [all...]
sdch_filter.h 6 // This decoding uses a pre-cached dictionary of text fragments to decode
57 // Identify the suggested dictionary, and initialize underlying decompressor.
78 // After assembling an entire dictionary hash (the first 9 bytes of the
86 // We hold an in-memory copy of the dictionary during the entire decoding, as
89 scoped_refptr<SdchManager::Dictionary> dictionary_;
105 // an applicable dictionary can't be found.
109 // This is used to restrict use of a dictionary to a specific URL or path.
sdch_filter.cc 123 // Initialize decoder only after we have a dictionary in hand.
174 // before we *really* advertised SDCH and a dictionary.
182 // not to use sdch, even though there is a dictionary. To be
193 // We need a meta-refresh since we don't have the dictionary.
195 // cached content that was saved when we had a dictionary.
205 // Meta-refresh won't help, as we didn't advertise an SDCH dictionary!!
308 const size_t kServerIdLength = 9; // Dictionary hash plus null from server.
331 SdchManager::Dictionary* dictionary = NULL; local
335 url_, &dictionary); local
    [all...]
sdch_filter_unittest.cc 27 // Provide sample data and compression results with a sample VCDIFF dictionary.
28 // Note an SDCH dictionary has extra meta-data before the VCDIFF dictionary.
44 // Note SDCH compressed data will include a reference to the SDCH dictionary.
65 std::string NewSdchCompressedData(const std::string dictionary);
75 const std::string dictionary) {
78 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash);
80 // Build compressed data that refers to our dictionary.
92 std::string dictionary("test contents");
93 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash)
143 std::string dictionary; local
    [all...]
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 24 #include "dictionary.h"
49 fprintf(stderr, "DICT: Dictionary buffer is null\n");
52 Dictionary *dictionary = new Dictionary(dict, typedLetterMultiplier, fullWordMultiplier); local
53 return (jint) dictionary;
61 Dictionary *dictionary = (Dictionary*) dict; local
62 if (dictionary == NULL) return 0
89 Dictionary *dictionary = (Dictionary*) dict; local
113 Dictionary *dictionary = (Dictionary*) dict; local
126 Dictionary *dictionary = (Dictionary*) dict; local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Dictionary.java 20 * Abstract base class for a dictionary that can do a fuzzy search for words based on a set of key
23 abstract public class Dictionary {
39 * Interface to be implemented by classes requesting words to be fetched from the dictionary.
51 * @param dicTypeId of the dictionary where word was from
60 * Searches for words in the dictionary that match the characters in the composer. Matched
67 * Pass in null if you don't want the dictionary to look up next letters.
74 * Searches for pairs in the bigram dictionary that matches the previous word and all the
81 * Pass in null if you don't want the dictionary to look up next letters.
89 * Checks if the given word occurs in the dictionary
Suggest.java 31 * This class loads a dictionary and provides a list of suggestions for a given sequence of
35 public class Suggest implements Dictionary.WordCallback {
63 // If you add a type of dictionary, increment DIC_TYPE_LAST_ID
70 private Dictionary mUserDictionary;
72 private Dictionary mAutoDictionary;
74 private Dictionary mContactsDictionary;
76 private Dictionary mUserBigramDictionary;
144 * Sets an optional user dictionary resource to be loaded. The user dictionary is consulted
145 * before the main dictionary, if set
    [all...]
LatinImeLogger.java 19 import com.android.inputmethod.latin.Dictionary.DataType;
BinaryDictionary.java 30 * Implements a static, compacted, binary dictionary of standard words.
32 public class BinaryDictionary extends Dictionary {
71 * Create a dictionary from a raw resource file
73 * @param resId the resource containing the raw binary dictionary
83 * Create a dictionary from a byte buffer. This is used for testing.
85 * @param byteBuffer a ByteBuffer containing the binary dictionary
117 // merging separated dictionary into one if dictionary is separated
139 Log.w(TAG, "No available memory for binary dictionary");
ExpandableDictionary.java 25 * Base class for an in-memory dictionary that can grow dynamically and can
28 public class ExpandableDictionary extends Dictionary {
129 /** Override to load your dictionary here, on a background thread. */
226 * optimized for speed, assuming that the user dictionary will only be a few hundred words in
  /external/v8/src/
objects.cc 401 StringDictionary* dictionary = property_dictionary(); local
402 int entry = dictionary->FindEntry(name);
406 PropertyDetails details = dictionary->DetailsAt(entry);
418 JSGlobalPropertyCell::cast(dictionary->ValueAt(entry));
420 dictionary->DetailsAtPut(entry, details.AsDeleted());
422 return dictionary->DeleteProperty(entry, mode);
1423 StringDictionary* dictionary = property_dictionary(); local
1668 NumberDictionary* dictionary = JSObject::cast(pt)->element_dictionary(); local
2312 NumberDictionary* dictionary = element_dictionary(); local
2403 NumberDictionary* dictionary = element_dictionary(); local
2743 NumberDictionary* dictionary = element_dictionary(); local
2869 NumberDictionary* dictionary = js_object->element_dictionary(); local
5144 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local
5725 NumberDictionary* dictionary = NumberDictionary::cast(elms); local
5851 NumberDictionary* dictionary = element_dictionary(); local
6008 NumberDictionary* dictionary = element_dictionary(); local
6061 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local
6088 NumberDictionary* dictionary = NumberDictionary::cast(elements()); local
7329 Object* dictionary = property_dictionary()->Add(name, cell, details); local
    [all...]
objects.h 72 // - Dictionary
    [all...]
objects-inl.h 1121 // In the assert below Dictionary is covered under FixedArray.
1129 // In the assert below Dictionary is covered under FixedArray.
    [all...]
  /external/chromium/sdch/open-vcdiff/vsprojects/
vcdiff_test.bat 53 -dictionary %DICTIONARY_FILE% -target %TARGET_FILE% -delta %DELTA_FILE% ^
60 encode -dictionary %DICTIONARY_FILE% ^
65 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
82 encode -dictionary %DICTIONARY_FILE% ^
87 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
102 encode -dictionary %DICTIONARY_FILE% ^
107 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
121 encode -dictionary %DICTIONARY_FILE% ^
126 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
139 rem If using the wrong dictionary, and dictionary is smaller than the origina
    [all...]
  /frameworks/base/docs/html/resources/
resources_toc.cs 240 <span class="en">Searchable Dictionary v2</span>
  /external/v8/test/mjsunit/
unicode-test.js     [all...]
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 462 milliseconds