Home
last modified time | relevance | path

Searched refs:getCodePoints (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/
Doffdevice_intermediate_dict_test.cpp50 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty0.getCodePoints())); in TEST()
54 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty1.getCodePoints())); in TEST()
58 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty2.getCodePoints())); in TEST()
62 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty3.getCodePoints())); in TEST()
66 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty4.getCodePoints())); in TEST()
70 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty5.getCodePoints())); in TEST()
75 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty0.getCodePoints())); in TEST()
76 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty1.getCodePoints())); in TEST()
77 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty2.getCodePoints())); in TEST()
78 EXPECT_NE(nullptr, dict.getWordProperty(wordProperty3.getCodePoints())); in TEST()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Dutf8_utils_test.cpp31 const std::vector<int> codePoints = Utf8Utils::getCodePoints(""); in TEST()
35 const std::vector<int> codePoints = Utf8Utils::getCodePoints("test"); in TEST()
43 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\u3042a\u03C2\u0410"); in TEST()
51 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\U0001F36A?\U0001F752"); in TEST()
59 EXPECT_TRUE(Utf8Utils::getCodePoints("\xC0\xAF").empty()); in TEST()
60 EXPECT_TRUE(Utf8Utils::getCodePoints("\xE0\x80\xAF").empty()); in TEST()
61 EXPECT_TRUE(Utf8Utils::getCodePoints("\xF0\x80\x80\xAF").empty()); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_params.h56 memcpy(mCodePoints, ptNodeParams.getCodePoints(), sizeof(int) * mCodePointCount); in PtNodeParams()
164 return getCodePointCount() > 0 && !CharUtils::isInUnicodeSpace(getCodePoints()[0]) in representsNonWordInfo()
169 return getCodePointCount() > 0 && getCodePoints()[0] == CODE_POINT_BEGINNING_OF_SENTENCE in representsBeginningOfSentence()
189 AK_FORCE_INLINE const int *getCodePoints() const { in getCodePoints() function
Ddynamic_pt_reading_helper.h137 return ptNodeParams.getCodePoints()[index] == codePoint; in isMatchedCodePoint()
154 const int *const nodeCodePoints = ptNodeParams.getCodePoints(); in fetchMergedNodeCodePointsInReverseOrder()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java245 static int[] getCodePoints(final String word) { in getCodePoints() method in FusionDictionary
276 add(getCodePoints(word), probabilityInfo, isNotAWord, isPossiblyOffensive); in add()
310 add(getCodePoints(word1), new ProbabilityInfo(0), false /* isNotAWord */, in setBigram()
508 final int[] codePoints = getCodePoints(string); in findWordInTree()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dutf8_utils.h32 static std::vector<int> getCodePoints(const std::string &utf8Str);
Dutf8_utils.cpp34 /* static */ std::vector<int> Utf8Utils::getCodePoints(const std::string &utf8Str) { in getCodePoints() function in latinime::dicttoolkit::Utf8Utils
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dword_property.h41 const CodePointArrayView getCodePoints() const { in getCodePoints() function
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/
Doffdevice_intermediate_dict.cpp25 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in addWord()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp32 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in outputWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp302 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp355 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()