Searched refs:test_node (Results 1 – 3 of 3) sorted by relevance
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder_test.cpp | 54 auto* test_node = builder_root.FindChild("test"); in TEST() local 55 EXPECT_EQ("test", test_node->name()); in TEST() 56 ASSERT_NE(nullptr, test_node->context()); in TEST() 57 EXPECT_EQ("1st", *test_node->context()); in TEST() 58 ASSERT_NE(nullptr, test_node->type()); in TEST() 59 EXPECT_EQ("1st_type", *test_node->type()); in TEST() 61 EXPECT_EQ(0U, test_node->children().size()); in TEST() 62 EXPECT_EQ(1U, test_node->prefixes().size()); in TEST() 64 auto& property_entry = test_node->prefixes()[0]; in TEST() 71 EXPECT_EQ(3U, test_node->exact_matches().size()); in TEST() [all …]
|
D | property_info_serializer_test.cpp | 57 TrieNode test_node; in TEST() local 58 ASSERT_TRUE(root_node.FindChildForString("test", 4, &test_node)); in TEST() 60 EXPECT_STREQ("test", test_node.name()); in TEST() 61 EXPECT_STREQ("1st", property_info_area->context(test_node.context_index())); in TEST() 62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); in TEST() 64 EXPECT_EQ(0U, test_node.num_child_nodes()); in TEST() 66 EXPECT_EQ(1U, test_node.num_prefixes()); in TEST() 68 auto prefix = test_node.prefix(0); in TEST() 75 EXPECT_EQ(3U, test_node.num_exact_matches()); in TEST() 77 auto match1 = test_node.exact_match(0); in TEST() [all …]
|
/system/update_engine/payload_generator/ |
D | inplace_generator.cc | 384 Vertex::Index test_node = (*op_indexes)[i]; in AssignBlockForAdjoiningCuts() local 385 if (!(*graph)[test_node].valid) in AssignBlockForAdjoiningCuts() 389 ranges.AddRepeatedExtents((*graph)[test_node].aop.op.dst_extents()); in AssignBlockForAdjoiningCuts() 392 ranges.SubtractRepeatedExtents((*graph)[test_node].aop.op.src_extents()); in AssignBlockForAdjoiningCuts() 396 edge_i = (*graph)[test_node].out_edges.begin(), in AssignBlockForAdjoiningCuts() 397 edge_e = (*graph)[test_node].out_edges.end(); in AssignBlockForAdjoiningCuts() 421 block_suppliers.push_back(make_pair(test_node, ranges)); in AssignBlockForAdjoiningCuts()
|