Searched refs:toVector (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 150 EXPECT_EQ(intVector, intArrayView.toVector()); in TEST() 151 EXPECT_EQ(std::vector<int>(), CodePointArrayView().toVector()); in TEST() 172 EXPECT_EQ(std::vector<int>({1}), intArrayViews[0].toVector()); in TEST() 173 EXPECT_EQ(std::vector<int>({3, 3}), intArrayViews[1].toVector()); in TEST() 174 EXPECT_EQ(std::vector<int>({3}), intArrayViews[2].toVector()); in TEST() 179 EXPECT_EQ(std::vector<int>({1}), intArrayViews[0].toVector()); in TEST() 180 EXPECT_EQ(std::vector<int>({3, 3, 2, 3}), intArrayViews[1].toVector()); in TEST() 185 EXPECT_EQ(intVector, intArrayViews[0].toVector()); in TEST() 194 EXPECT_EQ(std::vector<int>({1, 2}), intArrayViews[0].toVector()); in TEST() 195 EXPECT_EQ(std::vector<int>(), intArrayViews[1].toVector()); in TEST() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_pt_node.h | 34 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), mChildrenPtNodeArray(), in OffdeviceIntermediateDictPtNode() 40 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), mChildrenPtNodeArray(), in OffdeviceIntermediateDictPtNode() 46 : mPtNodeCodePoints(ptNodeCodePoints.toVector()), in OffdeviceIntermediateDictPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 466 const NgramProperty ngramProperty(*ngramContext, wordCodePoints.toVector(), probabilityForNgram, in updateEntriesForWordWithNgramContext() 595 CodePointArrayView(bigramWord1CodePoints, codePointCount).toVector(), in getWordProperty() 613 CodePointArrayView(shortcutTarget, shortcutTargetLength).toVector(), in getWordProperty() 620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 454 CodePointArrayView(bigramWord1CodePoints, word1CodePointCount).toVector(), in getWordProperty() 474 CodePointArrayView(shortcutTargetCodePoints, shortcutTargetLength).toVector(), in getWordProperty() 481 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 540 CodePointArrayView(ngramTargetCodePoints, codePointCount).toVector(), in getWordProperty() 557 CodePointArrayView(shortcutTarget, shortcutTargetLength).toVector(), in getWordProperty() 569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | int_array_view.h | 132 AK_FORCE_INLINE std::vector<int> toVector() const { in toVector() function
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 413 CodePointArrayView(wordCodePoints, wordLength).toVector(), in latinime_BinaryDictionary_addNgramEntry()
|