Home
last modified time | relevance | path

Searched refs:toVector (Results 1 – 8 of 8) 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/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp94 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector() function
1895 advertiser_id, false, toVector(env, data), in setAdvertisingDataNative()
1904 advertiser_id, true, toVector(env, data), in setScanResponseDataNative()
1948 advertiser_id, toVector(env, data), in setPeriodicAdvertisingDataNative()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp413 CodePointArrayView(wordCodePoints, wordLength).toVector(), in latinime_BinaryDictionary_addNgramEntry()