Searched refs:serialized_trie (Results 1 – 3 of 3) sorted by relevance
/system/core/property_service/libpropertyinfoserializer/ |
D | property_info_serializer_test.cpp | 34 auto serialized_trie = std::string(); in TEST() local 36 ASSERT_TRUE(BuildTrie(property_info, "default", "default", &serialized_trie, &build_trie_error)) in TEST() 39 auto property_info_area = reinterpret_cast<const PropertyInfoArea*>(serialized_trie.data()); in TEST() 69 EXPECT_STREQ("test", serialized_trie.data() + prefix->name_offset); in TEST() 80 EXPECT_STREQ("test1", serialized_trie.data() + match1->name_offset); in TEST() 81 EXPECT_STREQ("test2", serialized_trie.data() + match2->name_offset); in TEST() 82 EXPECT_STREQ("test3", serialized_trie.data() + match3->name_offset); in TEST() 121 EXPECT_STREQ("string", serialized_trie.data() + final_match->name_offset); in TEST() 135 auto serialized_trie = std::string(); in TEST() local 137 ASSERT_TRUE(BuildTrie(property_info, "default", "default", &serialized_trie, &build_trie_error)) in TEST() [all …]
|
D | property_info_serializer.cpp | 31 std::string* serialized_trie, std::string* error) { in BuildTrie() argument 42 *serialized_trie = trie_serializer.SerializeTrie(trie_builder); in BuildTrie()
|
/system/core/property_service/libpropertyinfoserializer/include/property_info_serializer/ |
D | property_info_serializer.h | 41 std::string* serialized_trie, std::string* error);
|