Searched refs:codePointCountToAdd (Results 1 – 2 of 2) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 206 int codePointCountToAdd = wordCodePoints.size(); in addUnigramEntry() local 207 memmove(codePointsToAdd, wordCodePoints.data(), sizeof(int) * codePointCountToAdd); in addUnigramEntry() 209 codePointCountToAdd = CharUtils::attachBeginningOfSentenceMarker(codePointsToAdd, in addUnigramEntry() 210 codePointCountToAdd, MAX_WORD_LENGTH); in addUnigramEntry() 212 if (codePointCountToAdd <= 0) { in addUnigramEntry() 215 const CodePointArrayView codePointArrayView(codePointsToAdd, codePointCountToAdd); in addUnigramEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 293 int codePointCountToAdd = wordCodePoints.size(); in addUnigramEntry() local 294 memmove(codePointsToAdd, wordCodePoints.data(), sizeof(int) * codePointCountToAdd); in addUnigramEntry() 296 codePointCountToAdd = CharUtils::attachBeginningOfSentenceMarker(codePointsToAdd, in addUnigramEntry() 297 codePointCountToAdd, MAX_WORD_LENGTH); in addUnigramEntry() 299 if (codePointCountToAdd <= 0) { in addUnigramEntry() 302 const CodePointArrayView codePointArrayView(codePointsToAdd, codePointCountToAdd); in addUnigramEntry()
|