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

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

Completed in 179 milliseconds