Searched refs:dependents (Results 1 – 2 of 2) sorted by relevance
/art/runtime/ |
D | cha_test.cc | 46 auto dependents = cha.GetDependents(METHOD1); in TEST_F() local 47 ASSERT_EQ(dependents.size(), 1u); in TEST_F() 48 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F() 49 ASSERT_EQ(dependents[0].second, METHOD_HEADER2); in TEST_F() 54 dependents = cha.GetDependents(METHOD1); in TEST_F() 55 ASSERT_EQ(dependents.size(), 2u); in TEST_F() 56 ASSERT_EQ(dependents[0].first, METHOD2); in TEST_F() 57 ASSERT_EQ(dependents[0].second, METHOD_HEADER2); in TEST_F() 58 ASSERT_EQ(dependents[1].first, METHOD3); in TEST_F() 59 ASSERT_EQ(dependents[1].second, METHOD_HEADER3); in TEST_F() [all …]
|
D | cha.cc | 63 ListOfDependentPairs& dependents = map_it->second; in RemoveDependentsWithMethodHeaders() local 64 dependents.erase( in RemoveDependentsWithMethodHeaders() 66 dependents.begin(), in RemoveDependentsWithMethodHeaders() 67 dependents.end(), in RemoveDependentsWithMethodHeaders() 71 dependents.end()); in RemoveDependentsWithMethodHeaders() 74 if (dependents.empty()) { in RemoveDependentsWithMethodHeaders()
|