Home
last modified time | relevance | path

Searched refs:trie (Results 1 – 5 of 5) sorted by relevance

/system/core/property_service/libpropertyinfoserializer/
Dtrie_serializer.cpp60 auto trie = arena_->AllocateObject<TrieNodeInternal>(&trie_offset); in WriteTrieNode() local
62 trie->property_entry = WritePropertyEntry(builder_node.property_entry()); in WriteTrieNode()
70 trie->num_prefixes = sorted_prefix_matches.size(); in WriteTrieNode()
73 trie->prefix_entries = prefix_entries_array_offset; in WriteTrieNode()
86 trie->num_exact_matches = sorted_exact_matches.size(); in WriteTrieNode()
90 trie->exact_match_entries = exact_match_entries_array_offset; in WriteTrieNode()
102 trie->num_child_nodes = sorted_children.size(); in WriteTrieNode()
104 trie->child_nodes = children_offset_array_offset; in WriteTrieNode()
/system/tools/hidl/test/hidl_test/
DAndroid.bp33 "android.hardware.tests.trie@1.0",
49 "android.hardware.tests.trie@1.0-impl",
Dhidl_test.h44 using ::android::hardware::tests::trie::V1_0::ITrie; in runOnEachServer()
Dhidl_test_client.cpp138 using ::android::hardware::tests::trie::V1_0::ITrie;
139 using ::android::hardware::tests::trie::V1_0::TrieNode;
513 trie::V1_0::TrieNode trieNode; in TEST_F()
521 LOG(INFO) << PrintToString(trie::V1_0::E1::OK); in TEST_F()
522 LOG(INFO) << PrintToString(trie::V1_0::E1::ANOTHER); in TEST_F()
523 LOG(INFO) << PrintToString(trie::V1_0::E2::ACCEPT); in TEST_F()
527 EXPECT_TRUE(PrintToString(trie::V1_0::E1::OK).find("OK") != std::string::npos); in TEST_F()
528 EXPECT_TRUE(PrintToString(trie::V1_0::E1::ANOTHER).find("ANOTHER") != std::string::npos); in TEST_F()
529 EXPECT_TRUE(PrintToString(trie::V1_0::E2::ACCEPT).find("ACCEPT") != std::string::npos); in TEST_F()
1965 trieInterface->newTrie([&](const TrieNode& trie) { in TEST_F() argument
[all …]
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h172 TrieNode root_node() const { return trie(header()->root_offset); } in root_node()
186 TrieNode trie(uint32_t offset) const { in trie() function