Searched refs:irhs (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/googletest/googlemock/src/ |
H A D | gmock-matchers.cc | 158 size_t irhs = left_[ilhs]; in Compute() local 159 if (irhs == kUnused) continue; in Compute() 160 result.push_back(ElementMatcherPair(ilhs, irhs)); in Compute() 185 for (size_t irhs = 0; irhs < graph_->RhsSize(); ++irhs) { in TryAugment() local 186 if ((*seen)[irhs]) continue; in TryAugment() 187 if (!graph_->HasEdge(ilhs, irhs)) continue; in TryAugment() 189 (*seen)[irhs] = 1; in TryAugment() 200 if (right_[irhs] == kUnused || TryAugment(right_[irhs], seen)) { in TryAugment() 202 left_[ilhs] = irhs; in TryAugment() 203 right_[irhs] = ilhs; in TryAugment() [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 423 for (size_t irhs = 0; irhs < graph_->RhsSize(); ++irhs) { in Compute() local 425 RecurseInto(irhs); in Compute() 450 bool RecurseInto(size_t irhs) { in RecurseInto() argument 451 if (rhs_used_[irhs] != kUnused) { in RecurseInto() 458 if (!graph_->HasEdge(ilhs, irhs)) { in RecurseInto() 461 PushMatch(ilhs, irhs); in RecurseInto() 465 for (size_t mi = irhs + 1; mi < graph_->RhsSize(); ++mi) { in RecurseInto() 513 size_t irhs = matches[i].second; in TEST_P() local 514 EXPECT_TRUE(graph.HasEdge(ilhs, irhs)); in TEST_P() 516 EXPECT_FALSE(seen_matcher[irhs]); in TEST_P() [all …]
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 3524 bool HasEdge(size_t ilhs, size_t irhs) const { 3525 return matched_[SpaceIndex(ilhs, irhs)] == 1; 3527 void SetEdge(size_t ilhs, size_t irhs, bool b) { 3528 matched_[SpaceIndex(ilhs, irhs)] = b ? 1 : 0; 3541 size_t SpaceIndex(size_t ilhs, size_t irhs) const { 3542 return ilhs * num_matchers_ + irhs; 3669 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) { 3671 matchers_[irhs].MatchAndExplain(*elem_first, &dummy)); 3678 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) { 3679 matrix.SetEdge(ilhs, irhs, *did_match_iter++ != 0);
|