Home
last modified time | relevance | path

Searched refs:toVector (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp150 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/
Doffdevice_intermediate_dict_pt_node.h34 : 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/
Dver4_patricia_trie_policy.cpp466 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/
Dpatricia_trie_policy.cpp454 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/
Dver4_patricia_trie_policy.cpp540 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/
Dint_array_view.h132 AK_FORCE_INLINE std::vector<int> toVector() const { in toVector() function
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp413 CodePointArrayView(wordCodePoints, wordLength).toVector(), in latinime_BinaryDictionary_addNgramEntry()