Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_serializer_test.cpp46 auto root_node = property_info_area->root_node(); in TEST() local
47 EXPECT_STREQ("root", root_node.name()); in TEST()
48 EXPECT_STREQ("default", property_info_area->context(root_node.context_index())); in TEST()
49 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST()
51 EXPECT_EQ(0U, root_node.num_prefixes()); in TEST()
52 EXPECT_EQ(0U, root_node.num_exact_matches()); in TEST()
54 ASSERT_EQ(2U, root_node.num_child_nodes()); in TEST()
58 ASSERT_TRUE(root_node.FindChildForString("test", 4, &test_node)); in TEST()
103 ASSERT_TRUE(root_node.FindChildForString("this", 4, &long_string_node)); in TEST()
143 auto root_node = property_info_area->root_node(); in TEST() local
[all …]
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp401 struct ufdt_node* root_node = overlay_trees[i]->root; in ufdt_combine_all_overlays() local
402 for_each_node(it, root_node) { in ufdt_combine_all_overlays()
405 ((struct ufdt_node_fdt_node *)root_node)->child = nullptr; in ufdt_combine_all_overlays()
/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() function
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp115 auto trie_node = root_node(); in GetPropertyInfoIndexes()