Searched refs:toVector (Results 1 – 8 of 8) 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/apps/Bluetooth/jni/ |
D | com_android_bluetooth_gatt.cpp | 100 static std::vector<uint8_t> toVector(JNIEnv* env, jbyteArray ba) { in toVector() function 1891 advertiser_id, false, toVector(env, data), in setAdvertisingDataNative() 1900 advertiser_id, true, toVector(env, data), in setScanResponseDataNative() 1944 advertiser_id, toVector(env, data), in setPeriodicAdvertisingDataNative()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 413 CodePointArrayView(wordCodePoints, wordLength).toVector(), in latinime_BinaryDictionary_addNgramEntry()
|