Home
last modified time | relevance | path

Searched refs:getCodePointCount (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestion_results.cpp30 suggestedWord.getCodePointCount(); in outputSuggestions()
34 suggestedWord.getCodePointCount(), true /* needsNullTermination */); in outputSuggestions()
73 && codePointCount < mWorstSuggestion.getCodePointCount())) { in addSuggestion()
102 DUMP_SUGGESTION(it->getCodePoint(), it->getCodePointCount(), index, it->getScore()); in dumpSuggestions()
Dsuggested_word.h35 return left.getCodePointCount() < right.getCodePointCount(); in operator()
53 int getCodePointCount() const { in getCodePointCount() function
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_reading_helper.h148 + ptNodeParams.getCodePointCount(); in getTotalCodePointCount()
153 const int nodeCodePointCount = ptNodeParams.getCodePointCount(); in fetchMergedNodeCodePointsInReverseOrder()
173 ptNodeParams.getCodePointCount(); in readChildNode()
189 ptNodeParams.getCodePointCount(); in readParentNode()
Dpt_node_params.h164 return getCodePointCount() > 0 && !CharUtils::isInUnicodeSpace(getCodePoints()[0]) in representsNonWordInfo()
169 return getCodePointCount() > 0 && getCodePoints()[0] == CODE_POINT_BEGINNING_OF_SENTENCE in representsBeginningOfSentence()
184 AK_FORCE_INLINE uint8_t getCodePointCount() const { in getCodePointCount() function
Ddynamic_pt_reading_helper.cpp233 const int nodeCodePointCount = ptNodeParams.getCodePointCount(); in getTerminalPtNodePositionOfWord()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp251 sourcePtNodeParams.getCodePointCount() > 1 /* hasMultipleChars */); in addNgramEntry()
322 ptNodeParams->getCodePointCount() > 1 /* hasMultipleChars */); in addShortcutTarget()
335 hasBigrams, ptNodeParams->getCodePointCount() > 1 /* hasMultipleChars */); in updatePtNodeHasBigramsAndShortcutTargetsFlags()
355 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()
392 ptNodeParams->getCodePointCount() > 1 /* hasMultipleChars */); in writePtNodeAndGetTerminalIdAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp302 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()
337 ptNodeParams->getCodePointCount() > 1 /* hasMultipleChars */); in writePtNodeAndGetTerminalIdAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dchar_utils.h56 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) { in getCodePointCount() function