/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
H A D | utf8_utils_test.cpp | 31 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 D | offdevice_intermediate_dict_test.cpp | 50 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 D | utf8_utils.h | 32 static std::vector<int> getCodePoints(const std::string &utf8Str);
|
H A D | utf8_utils.cpp | 34 /* 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 D | word_property.h | 41 const CodePointArrayView getCodePoints() const { function in class:latinime::WordProperty
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
H A D | pt_node_params.h | 56 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 D | dynamic_pt_reading_helper.h | 137 return ptNodeParams.getCodePoints()[index] == codePoint; 154 const int *const nodeCodePoints = ptNodeParams.getCodePoints();
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
H A D | offdevice_intermediate_dict.cpp | 25 const CodePointArrayView codePoints = wordProperty.getCodePoints();
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | jni_data_utils.cpp | 32 const CodePointArrayView codePoints = wordProperty.getCodePoints();
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionary.java | 245 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 D | ver4_patricia_trie_node_writer.cpp | 302 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) {
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
H A D | ver4_patricia_trie_node_writer.cpp | 355 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) {
|