/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_test.cpp | 50 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/ |
D | utf8_utils_test.cpp | 31 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/ |
D | pt_node_params.h | 56 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
|
D | dynamic_pt_reading_helper.h | 137 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/ |
D | FusionDictionary.java | 245 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/ |
D | utf8_utils.h | 32 static std::vector<int> getCodePoints(const std::string &utf8Str);
|
D | utf8_utils.cpp | 34 /* 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/ |
D | word_property.h | 41 const CodePointArrayView getCodePoints() const { in getCodePoints() function
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict.cpp | 25 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in addWord()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 32 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 302 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 355 ptNodeParams->getCodePoints(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) { in writePtNodeAndGetTerminalIdAndAdvancePosition()
|