Home
last modified time | relevance | path

Searched defs:wordId (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_test.cpp34 const int wordId = 100; in TEST() local
56 const int wordId = 100; in TEST() local
79 for (const int wordId : wordIds) { in TEST() local
98 const int wordId = 100; in TEST() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp61 const int wordId = isTerminal ? ptNodeParams.getTerminalId() : NOT_A_WORD_ID; in createAndGetAllChildDicNodes() local
72 int Ver4PatriciaTriePolicy::getCodePointsAndReturnCodePointCount(const int wordId, in getCodePointsAndReturnCodePointCount()
108 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext()
223 const int wordId = getWordId(codePointArrayView, false /* forceLowerCaseSearch */); in addUnigramEntry() local
252 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in removeUnigramEntry() local
317 const int wordId = getWordId(CodePointArrayView(*ngramProperty->getTargetCodePoints()), in addNgramEntry() local
359 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in removeNgramEntry() local
382 int wordId = getWordId(wordCodePoints, false /* tryLowerCaseSearch */); in updateEntriesForWordWithNgramContext() local
506 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in getWordProperty() local
Dver4_patricia_trie_node_writer.cpp206 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry()
226 const int wordId) { in removeNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h48 WordIdAndProbabilityEntry(const int wordId, const ProbabilityEntry &probabilityEntry) in WordIdAndProbabilityEntry()
156 ProbabilityEntry getProbabilityEntry(const int wordId) const { in getProbabilityEntry()
160 bool setProbabilityEntry(const int wordId, const ProbabilityEntry *const probabilityEntry) { in setProbabilityEntry()
165 bool removeProbabilityEntry(const int wordId) { in removeProbabilityEntry()
Dlanguage_model_dict_content.cpp43 const int wordId, const bool mustMatchAllPrevWords, in getWordAttributes()
132 const int wordId, const ProbabilityEntry *const probabilityEntry) { in setNgramProbabilityEntry()
144 const int wordId) { in removeNgramProbabilityEntry()
179 const int wordId = entry.key(); in exportAllNgramEntriesRelatedToWordInner() local
221 const int wordId, const bool isValid, const HistoricalInfo historicalInfo, in updateAllEntriesOnInputWord()
298 for (const int wordId : prevWordIds) { in createAndGetBitmapEntryIndex() local
320 for (const int wordId : prevWordIds) { in getBitmapEntryIndex() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp60 int PatriciaTriePolicy::getCodePointsAndReturnCodePointCount(const int wordId, in getCodePointsAndReturnCodePointCount()
83 const int wordId, const int maxCodePointCount, int *const outCodePoints, in getCodePointsAndProbabilityAndReturnCodePointCount()
294 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext()
419 const int wordId = PatriciaTrieReadingUtils::isTerminal(flags) ? ptNodePos : NOT_A_WORD_ID; in createAndGetLeavingChildNode() local
428 const int wordId = getWordId(wordCodePoints, false /* forceLowerCaseSearch */); in getWordProperty() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_vector.h63 const int wordId, const CodePointArrayView mergedCodePoints) { in pushLeavingChild()
Ddic_node.h139 const int wordId, const CodePointArrayView mergedCodePoints) { in initAsChild()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp106 const int wordId = dictStructurePolicy->getWordId(codePointArrayView, in getWordId() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h40 void init(const int childrenPos, const int nodeCodePoint, const int wordId, in init()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp97 const int wordId = in addNgramEntry() local
114 const int wordId = in removeNgramEntry() local
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java273 String wordId = uri.getPathSegments().get(1); in delete() local
302 String wordId = uri.getPathSegments().get(1); in update() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.cpp81 const int wordId = isTerminal ? ptNodeParams.getHeadPos() : NOT_A_WORD_ID; in createAndGetAllChildDicNodes() local
91 int Ver4PatriciaTriePolicy::getCodePointsAndReturnCodePointCount(const int wordId, in getCodePointsAndReturnCodePointCount()
119 const WordIdArrayView prevWordIds, const int wordId, in getWordAttributesInContext()
Dver4_patricia_trie_node_writer.cpp234 bool Ver4PatriciaTrieNodeWriter::addNgramEntry(const WordIdArrayView prevWordIds, const int wordId, in addNgramEntry()
257 const int wordId) { in removeNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp116 const int wordId = mDictionaryStructureWithBufferPolicy->getWordId(codePoints, in getNgramProbability() local