/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ReadOnlyBinaryDictionary.java | 27 * This class provides binary dictionary reading operations with locking. An instance of this class 31 public final class ReadOnlyBinaryDictionary extends Dictionary { 33 * A lock for accessing binary dictionary. Only closing binary dictionary is the operation 34 * that change the state of dictionary.
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_policy.h | 22 #include "suggest/policyimpl/dictionary/bigram/dynamic_bigram_list_policy.h" 23 #include "suggest/policyimpl/dictionary/header/header_policy.h" 24 #include "suggest/policyimpl/dictionary/shortcut/dynamic_shortcut_list_policy.h" 25 #include "suggest/policyimpl/dictionary/utils/buffer_with_extendable_buffer.h" 26 #include "suggest/policyimpl/dictionary/utils/mmapped_buffer.h"
|
/external/chromium/net/base/ |
sdch_manager.cc | 29 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, 46 SdchManager::Dictionary::~Dictionary() { 49 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { 52 /* The specific rules of when a dictionary should be advertised in an 53 Avail-Dictionary header are modeled after the rules for cookie scoping. The 55 dictionary may be advertised in the Avail-Dictionaries header exactly when 58 the dictionary. 59 2. If the dictionary has a Port attribute, the request port is one of th 454 Dictionary* dictionary = local [all...] |
sdch_filter_unittest.cc | 29 // Provide sample data and compression results with a sample VCDIFF dictionary. 30 // Note an SDCH dictionary has extra meta-data before the VCDIFF dictionary. 46 // Note SDCH compressed data will include a reference to the SDCH dictionary. 67 std::string NewSdchCompressedData(const std::string dictionary); 77 const std::string dictionary) { 80 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); 82 // Build compressed data that refers to our dictionary. 94 std::string dictionary("test contents"); 95 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash) 145 std::string dictionary; local [all...] |
/external/chromium_org/net/base/ |
sdch_manager.cc | 32 SdchManager::Dictionary::Dictionary(const std::string& dictionary_text, 49 SdchManager::Dictionary::~Dictionary() { 52 bool SdchManager::Dictionary::CanAdvertise(const GURL& target_url) { 55 /* The specific rules of when a dictionary should be advertised in an 56 Avail-Dictionary header are modeled after the rules for cookie scoping. The 58 dictionary may be advertised in the Avail-Dictionaries header exactly when 61 the dictionary. 62 2. If the dictionary has a Port attribute, the request port is one of th 466 Dictionary* dictionary = local [all...] |
sdch_filter_unittest.cc | 24 // Provide sample data and compression results with a sample VCDIFF dictionary. 25 // Note an SDCH dictionary has extra meta-data before the VCDIFF dictionary. 41 // Note SDCH compressed data will include a reference to the SDCH dictionary. 61 std::string NewSdchCompressedData(const std::string dictionary); 71 const std::string dictionary) { 74 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); 76 // Build compressed data that refers to our dictionary. 88 std::string dictionary("test contents"); 89 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash) 139 std::string dictionary; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
dictbe.h | 27 * dictionary to determine language-specific breaks.</p> 117 * <p>Divide up a range of known dictionary characters handled by this break engine.</p> 120 * @param rangeStart The start of the range of dictionary characters 121 * @param rangeEnd The end of the range of dictionary characters 174 * <p>Divide up a range of known dictionary characters handled by this break engine.</p> 177 * @param rangeStart The start of the range of dictionary characters 178 * @param rangeEnd The end of the range of dictionary characters 224 * in order for the dictionary to work properly. 235 * <p>Divide up a range of known dictionary characters handled by this break engine.</p> 238 * @param rangeStart The start of the range of dictionary character [all...] |
/external/chromium_org/chrome/browser/extensions/api/web_request/ |
upload_data_presenter.cc | 26 // Takes |dictionary| of <string, list of strings> pairs, and gets the list 28 ListValue* GetOrCreateList(DictionaryValue* dictionary, 31 if (!dictionary->GetList(key, &list)) { 33 dictionary->SetWithoutPathExpansion(key, list); 45 DictionaryValue* dictionary = new DictionaryValue; local 46 dictionary->SetWithoutPathExpansion(key, value); 47 list->Append(dictionary);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
MainLogBuffer.java | 22 import com.android.inputmethod.latin.Dictionary; 33 * There are three forms of privacy protection: 1) only words in the main dictionary are allowed to 54 * If the words that would form the valid n-gram are not in the dictionary, then words are pushed 56 * dictionary words. 59 * n-gram containing dictionary words. 78 // TODO: Remove dependence on Suggest, and pass in Dictionary as a parameter to an appropriate 82 private Dictionary mDictionaryForTesting; 100 /* package for test */ void setDictionaryForTesting(final Dictionary dictionary) { 101 mDictionaryForTesting = dictionary; 158 final Dictionary dictionary = getDictionary(); local [all...] |
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
internet_options_handler.cc | 461 DictionaryValue dictionary; local 462 FillNetworkInfo(&dictionary, cros); 464 "options.InternetOptions.refreshNetworkData", dictionary); 540 DictionaryValue dictionary; local 541 dictionary.SetBoolean("requirePin", require_pin); 543 "options.InternetOptions.updateSecurityTab", dictionary); 552 DictionaryValue dictionary; local 553 FillNetworkInfo(&dictionary, cros); 555 "options.InternetOptions.setupAttributes", dictionary); 604 DictionaryValue dictionary; local 892 DictionaryValue dictionary; local [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/chromium_org/chrome/browser/extensions/ |
test_extension_prefs.cc | 124 DictionaryValue dictionary; local 125 dictionary.SetString(extension_manifest_keys::kName, name); 126 dictionary.SetString(extension_manifest_keys::kVersion, "0.1"); 127 return AddExtensionWithManifest(dictionary, Manifest::INTERNAL); 131 DictionaryValue dictionary; local 132 dictionary.SetString(extension_manifest_keys::kName, name); 133 dictionary.SetString(extension_manifest_keys::kVersion, "0.1"); 134 dictionary.SetString(extension_manifest_keys::kApp, "true"); 135 dictionary.SetString(extension_manifest_keys::kLaunchWebURL, 137 return AddExtensionWithManifest(dictionary, Manifest::INTERNAL) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCPeerConnection.h | 34 #include "bindings/v8/Dictionary.h" 61 static PassRefPtr<RTCPeerConnection> create(ScriptExecutionContext*, const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState&); 64 void createOffer(PassRefPtr<RTCSessionDescriptionCallback>, PassRefPtr<RTCErrorCallback>, const Dictionary& mediaConstraints, ExceptionState&); 66 void createAnswer(PassRefPtr<RTCSessionDescriptionCallback>, PassRefPtr<RTCErrorCallback>, const Dictionary& mediaConstraints, ExceptionState&); 76 void updateIce(const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState&); 90 void addStream(PassRefPtr<MediaStream>, const Dictionary& mediaConstraints, ExceptionState&); 96 PassRefPtr<RTCDataChannel> createDataChannel(String label, const Dictionary& dataChannelDict, ExceptionState&); 134 static PassRefPtr<RTCConfiguration> parseConfiguration(const Dictionary& configuration, ExceptionState&) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
dic_traverse_session.h | 26 #include "suggest/core/dictionary/multi_bigram_map.h" 31 class Dictionary; 49 const Dictionary *const dictionary, const int *prevWord, const int prevWordLength, 53 tSession->init(dictionary, prevWord, prevWordLength, suggestOptions); 73 void init(const Dictionary *dictionary, const int *prevWord, int prevWordLength, 104 // Not in the dictionary word 197 const Dictionary *mDictionary; 210 // Configuration per dictionary [all...] |
/external/icu4c/data/brkitr/ |
word.txt | 44 # Dictionary character set, for triggering language-based break engines. Currently 47 # characters requiring dictionary break. 54 $dictionary = [$ComplexContext $dictionaryCJK]; 64 # TODO: check if handling of katakana in dictionary makes rules incorrect/void 91 # format char(s), or is not a CJK dictionary character. 147 # special handling for CJK characters: chain for later dictionary segmentation 210 # special handling for CJK characters: chain for later dictionary segmentation 227 # For dictionary-based break 228 $dictionary $dictionary; [all...] |
word_POSIX.txt | 44 # Dictionary character set, for triggering language-based break engines. Currently 47 # characters requiring dictionary break. 54 $dictionary = [$ComplexContext $dictionaryCJK]; 64 # TODO: check if handling of katakana in dictionary makes rules incorrect/void 91 # format char(s), or is not a CJK dictionary character. 147 # special handling for CJK characters: chain for later dictionary segmentation 210 # special handling for CJK characters: chain for later dictionary segmentation 227 # For dictionary-based break 228 $dictionary $dictionary; [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
BenchCon.cpp | 156 FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary)
168 if (dictionary == (UInt32)-1)
174 dictionary = (1 << dicSizeLog);
177 if (dictionary == (UInt32)-1)
178 dictionary = (1 << 22);
182 PrintRequirements(f, "usage:", GetBenchMemoryUsage(numThreads, dictionary), "Benchmark threads: ", numThreads);
207 int pow = (dictionary < ((UInt32)1 << kStartDicLog)) ? kBenchMinDicLogSize : kStartDicLog;
208 while (((UInt32)1 << pow) > dictionary)
210 for (; ((UInt32)1 << pow) <= dictionary; pow++)
241 HRESULT CrcBenchCon(FILE *f, UInt32 numIterations, UInt32 numThreads, UInt32 dictionary)
[all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
DictDecoder.java | 36 * An interface of binary dictionary decoders. 54 * Reads a buffer and returns the memory representation of the dictionary. 57 * FusionDictionary structure. The optional dict argument is an existing dictionary to 58 * which words from the buffer should be added. If it is null, a new dictionary is created. 60 * @param dict an optional dictionary to add words to, or null. 62 * dictionary or not. 63 * @return the created (or merged) dictionary. 71 * Gets the address of the last PtNode of the exact matching word in the dictionary. 85 * Doesn't store a full memory representation of the dictionary. 127 * Opens the dictionary file and makes DictBuffer [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...] |
/libcore/luni/src/main/java/java/util/zip/ |
Inflater.java | 135 * checksum of the preset dictionary if {@link #needsDictionary} returns true. 230 throw new DataFormatException("Needs dictionary"); 239 * dictionary. This method should be called if the first call to {@link #inflate} returns 0, 240 * to determine whether a dictionary is required. If so, {@link #setDictionary} 241 * should be called with the appropriate dictionary before calling {@code 242 * inflate} again. Use {@link #getAdler} to determine which dictionary is required. 270 * Sets the preset dictionary to be used for inflation to {@code dictionary}. 273 public synchronized void setDictionary(byte[] dictionary) { 274 setDictionary(dictionary, 0, dictionary.length) [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
language_options_handler_common.cc | 121 DictionaryValue* dictionary = new DictionaryValue(); local 125 dictionary->SetBoolean(available_locales[i], true); 127 return dictionary; 131 DictionaryValue* dictionary = new DictionaryValue(); local 135 dictionary->SetBoolean(spell_check_languages[i], true); 137 return dictionary;
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
language_options_handler.cc | 106 DictionaryValue* dictionary = new DictionaryValue(); local 107 dictionary->SetString("code", pair.first); 108 dictionary->SetString("displayName", adjusted_display_name); 109 dictionary->SetString("textDirection", directionality); 110 dictionary->SetString("nativeDisplayName", adjusted_native_display_name); 111 language_list->Append(dictionary);
|
language_options_handler_common.h | 49 // dictionary as a set. 57 // dictionary as a set. 78 // Called when the user clicks "Retry" button for a spellcheck dictionary that 82 // Updates the hunspell dictionary that is used for spellchecking. 85 // Returns the hunspell dictionary that is used for spellchecking. Never null. 88 // The hunspell dictionary that is used for spellchecking. Might be null.
|
/external/chromium_org/chromeos/network/ |
certificate_pattern.h | 58 // Creates a new dictionary with the issuer subject pattern as its contents. 62 bool CopyFromDictionary(const base::DictionaryValue& dictionary); 104 // Creates a new dictionary containing the data in the certificate pattern. 108 // the values in the dictionary. Returns false if the dictionary is 110 bool CopyFromDictionary(const base::DictionaryValue& dictionary);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
DictionaryPool.java | 22 import com.android.inputmethod.latin.Dictionary; 41 // How many seconds we wait for a dictionary to become available. Past this delay, we give up in 51 new Dictionary(Dictionary.TYPE_MAIN) { 88 // Our pool is already full. Wait until some dictionary is ready, or TIMEOUT 92 Log.e(TAG, "Deadlock detected ! Resetting dictionary pool");
|