Home
last modified time | relevance | path

Searched refs:VectorContainsValue (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Dtarjan_unittest.cc69 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_a)); in TEST()
70 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_b)); in TEST()
71 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_c)); in TEST()
72 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_d)); in TEST()
73 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_e)); in TEST()
81 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_f)); in TEST()
89 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_g)); in TEST()
90 EXPECT_TRUE(utils::VectorContainsValue(vertex_indexes, n_h)); in TEST()
Dtarjan.cc62 } else if (utils::VectorContainsValue(stack_, vertex_next)) { in Tarjan()
76 if (utils::VectorContainsValue(component, required_vertex_)) { in Tarjan()
/system/update_engine/common/
Dutils.h285 bool VectorContainsValue(const std::vector<T>& vect, const T& value) { in VectorContainsValue() function