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

  /packages/inputmethods/LatinIME/native/src/
bigram_dictionary.cpp 31 : DICT(dict + NEW_DICTIONARY_HEADER_SIZE), MAX_WORD_LENGTH(maxWordLength),
57 && length < Dictionary::wideStrLen(mBigramChars + insertAt * MAX_WORD_LENGTH))) {
70 memmove((char*) mBigramChars + (insertAt + 1) * MAX_WORD_LENGTH * sizeof(short),
71 (char*) mBigramChars + (insertAt ) * MAX_WORD_LENGTH * sizeof(short),
72 (mMaxBigrams - insertAt - 1) * sizeof(short) * MAX_WORD_LENGTH);
73 unsigned short *dest = mBigramChars + (insertAt ) * MAX_WORD_LENGTH;
131 uint16_t bigramBuffer[MAX_WORD_LENGTH];
134 const int length = BinaryFormat::getWordAtAddress(root, bigramPos, MAX_WORD_LENGTH,
bigram_dictionary.h 41 const int MAX_WORD_LENGTH;
unigram_dictionary.cpp 41 MAX_WORD_LENGTH(maxWordLength), MAX_WORDS(maxWords),
165 short unsigned int* w = mOutputChars + j * MAX_WORD_LENGTH;
166 char s[MAX_WORD_LENGTH];
167 for (int i = 0; i <= MAX_WORD_LENGTH; i++) s[i] = w[i];
187 const int maxDepth = min(mInputLength * MAX_DEPTH_MULTIPLIER, MAX_WORD_LENGTH);
273 if (length > MAX_WORD_LENGTH) {
301 memmove((char*) mOutputChars + (insertAt + 1) * MAX_WORD_LENGTH * sizeof(short),
302 (char*) mOutputChars + insertAt * MAX_WORD_LENGTH * sizeof(short),
303 (MAX_WORDS - insertAt - 1) * sizeof(short) * MAX_WORD_LENGTH);
304 unsigned short *dest = mOutputChars + insertAt * MAX_WORD_LENGTH;
    [all...]
unigram_dictionary.h 110 const int MAX_WORD_LENGTH;
135 // MAX_WORD_LENGTH_INTERNAL must be bigger than MAX_WORD_LENGTH
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java 39 public static final int MAX_WORD_LENGTH = 48;
50 private final int[] mInputCodes = new int[MAX_WORD_LENGTH * MAX_PROXIMITY_CHARS_SIZE];
51 private final char[] mOutputChars = new char[MAX_WORD_LENGTH * MAX_WORDS];
52 private final char[] mOutputChars_bigrams = new char[MAX_WORD_LENGTH * MAX_BIGRAMS];
125 MAX_WORD_LENGTH, MAX_WORDS, MAX_PROXIMITY_CHARS_SIZE);
149 mOutputChars_bigrams, mBigramScores, MAX_WORD_LENGTH, MAX_BIGRAMS,
154 final int start = j * MAX_WORD_LENGTH;
156 while (len < MAX_WORD_LENGTH && mOutputChars_bigrams[start + len] != 0) {
174 final int start = j * MAX_WORD_LENGTH;
176 while (len < MAX_WORD_LENGTH && mOutputChars[start + len] != 0)
    [all...]
WordComposer.java 51 final int N = BinaryDictionary.MAX_WORD_LENGTH;
122 if (newIndex < BinaryDictionary.MAX_WORD_LENGTH) {
UserBigramDictionary.java 227 if (word1.length() < MAX_WORD_LENGTH && word2.length() < MAX_WORD_LENGTH) {
ExpandableDictionary.java 35 protected static final int MAX_WORD_LENGTH = 32;
41 private char[] mWordBuilder = new char[MAX_WORD_LENGTH];
115 mCodes = new int[MAX_WORD_LENGTH][];
153 return MAX_WORD_LENGTH;
486 private final char[] mLookedUpString = new char[MAX_WORD_LENGTH];
500 int index = MAX_WORD_LENGTH;
507 callback.addWord(mLookedUpString, index, MAX_WORD_LENGTH - index, freq, mDicTypeId,
    [all...]
  /external/chromium/net/base/
registry_controlled_domain_unittest.cc 12 #undef MAX_WORD_LENGTH
  /packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/
BinaryDictInputOutput.java 118 private static final int MAX_WORD_LENGTH = 48;
769 static final int[] characterBuffer = new int[MAX_WORD_LENGTH]
    [all...]

Completed in 191 milliseconds