Lines Matching refs:g_
357 GraphCycles g_; member in absl::synchronization_internal::GraphCyclesTest
370 id_[i] = g_.GetId(Ptr(i)); in GraphCyclesTest()
372 CheckInvariants(g_); in GraphCyclesTest()
376 return g_.InsertEdge(Get(id_, x), Get(id_, y)); in AddEdge()
385 CheckInvariants(g_); in AddMultiples()
390 int np = g_.FindPath(Get(id_, x), Get(id_, y), ABSL_ARRAYSIZE(path), path); in Path()
399 snprintf(buf, sizeof(buf), "%d", Num(g_.Ptr(path[i]))); in Path()
408 CheckInvariants(g_); in TEST_F()
415 CheckInvariants(g_); in TEST_F()
421 CheckInvariants(g_); in TEST_F()
424 CheckInvariants(g_); in TEST_F()
435 CheckInvariants(g_); in TEST_F()
443 g_.RemoveNode(g_.Ptr(id_[3])); in TEST_F()
455 CheckInvariants(g_); in TEST_F()
457 CheckInvariants(g_); in TEST_F()
459 CheckInvariants(g_); in TEST_F()