Searched refs:prevWordLength (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/ |
D | bigram_dictionary.cpp | 101 int BigramDictionary::getBigrams(const int32_t *prevWord, int prevWordLength, int *codes, in getBigrams() argument 112 int pos = getBigramListPositionForWord(prevWord, prevWordLength); in getBigrams() 147 const int prevWordLength) { in getBigramListPositionForWord() argument 148 if (0 >= prevWordLength) return 0; in getBigramListPositionForWord() 150 int pos = BinaryFormat::getTerminalPosition(root, prevWord, prevWordLength); in getBigramListPositionForWord() 167 const int prevWordLength, std::map<int, int> *map, uint8_t *filter) { in fillBigramAddressToFrequencyMapAndFilter() argument 170 int pos = getBigramListPositionForWord(prevWord, prevWordLength); in fillBigramAddressToFrequencyMapAndFilter()
|
D | bigram_dictionary.h | 33 int getBigramListPositionForWord(const int32_t *prevWord, const int prevWordLength); 34 void fillBigramAddressToFrequencyMapAndFilter(const int32_t *prevWord, const int prevWordLength,
|
D | dictionary.h | 38 int *codes, int codesSize, const int32_t* prevWordChars, const int prevWordLength, in getSuggestions() argument 43 prevWordLength, &bigramMap, bigramFilter); in getSuggestions()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 143 jsize prevWordLength = prevWordChars ? env->GetArrayLength(prevWordForBigrams) : 0; in latinime_BinaryDictionary_getSuggestions() local 145 arraySize, prevWordChars, prevWordLength, useFullEditDistance, in latinime_BinaryDictionary_getSuggestions() 159 jintArray prevWordArray, jint prevWordLength, jintArray inputArray, jint inputArraySize, in latinime_BinaryDictionary_getBigrams() argument 167 int count = dictionary->getBigrams(prevWord, prevWordLength, inputCodes, in latinime_BinaryDictionary_getBigrams()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 92 private native int getBigramsNative(long dict, int[] prevWord, int prevWordLength, in getBigramsNative() argument
|