Home
last modified time | relevance | path

Searched refs:ReadVector (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/utils/
Dlua-utils_test.cc133 EXPECT_THAT(ReadVector<int64>(), ElementsAre(1, 2, 3, 4, 5)); in TEST_F()
137 EXPECT_THAT(ReadVector<std::string>(), ElementsAre("hello", "there")); in TEST_F()
141 EXPECT_THAT(ReadVector<bool>(), ElementsAre(true, true, false)); in TEST_F()
149 EXPECT_THAT(ReadVector<int64>(), ElementsAre(1, 2, 3, 4, 5)); in TEST_F()
154 EXPECT_THAT(ReadVector<std::string>(), ElementsAre("hello", "there")); in TEST_F()
159 EXPECT_THAT(ReadVector<bool>(), ElementsAre(true, true, false)); in TEST_F()
271 EXPECT_THAT(ReadVector<std::string>(), in TEST_F()
305 ReadVector<std::string>(), in TEST_F()
329 EXPECT_THAT(ReadVector<std::string>(), ElementsAre("first", "second")); in TEST_F()
Dlua-utils.h282 std::vector<T> ReadVector(const int index = -1) const {
510 for (const auto& element : ReadVector<T>(index)) { in ReadRepeatedField()
/external/v8/src/wasm/
Dwasm-serialization.cc103 Vector<const T> ReadVector(size_t size) { in ReadVector() function in v8::internal::wasm::__anona53c846e0111::Reader
532 auto code_buffer = reader->ReadVector<byte>(code_size); in ReadCode()
533 auto reloc_info = reader->ReadVector<byte>(reloc_size); in ReadCode()
534 auto source_pos = reader->ReadVector<byte>(source_position_size); in ReadCode()
536 reader->ReadVector<byte>(protected_instructions_size); in ReadCode()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc610 result.category = ReadVector<std::string>(/*index=*/kIndexStackTop); in ReadRemoteActionTemplateResult()
660 value = Variant(ReadVector<std::string>(/*index=*/kIndexStackTop)); in ReadExtras()
662 value = Variant(ReadVector<float>(/*index=*/kIndexStackTop)); in ReadExtras()
664 value = Variant(ReadVector<int>(/*index=*/kIndexStackTop)); in ReadExtras()