Searched refs:ilhs (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/googletest/googlemock/src/ |
H A D | gmock-matchers.cc | 147 for (size_t ilhs = 0; ilhs < graph_->LhsSize(); ++ilhs) { in Compute() local 150 GTEST_CHECK_(left_[ilhs] == kUnused) in Compute() 151 << "ilhs: " << ilhs << ", left_[ilhs]: " << left_[ilhs]; in Compute() 154 TryAugment(ilhs, &seen); in Compute() 157 for (size_t ilhs = 0; ilhs < left_.size(); ++ilhs) { in Compute() local 158 size_t irhs = left_[ilhs]; in Compute() 160 result.push_back(ElementMatcherPair(ilhs, irhs)); in Compute() 184 bool TryAugment(size_t ilhs, ::std::vector<char>* seen) { in TryAugment() argument 187 if (!graph_->HasEdge(ilhs, irhs)) continue; in TryAugment() 202 left_[ilhs] = irhs; in TryAugment() [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-misc_test.cc | 454 for (size_t ilhs = 0; ilhs < graph_->LhsSize(); ++ilhs) { in RecurseInto() local 455 if (lhs_used_[ilhs] != kUnused) { in RecurseInto() 458 if (!graph_->HasEdge(ilhs, irhs)) { in RecurseInto() 461 PushMatch(ilhs, irhs); in RecurseInto() 512 size_t ilhs = matches[i].first; in TEST_P() local 514 EXPECT_TRUE(graph.HasEdge(ilhs, irhs)); in TEST_P() 515 EXPECT_FALSE(seen_element[ilhs]); in TEST_P() 517 seen_element[ilhs] = true; in TEST_P()
|
/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; 3677 for (size_t ilhs = 0; ilhs != num_elements; ++ilhs) { 3679 matrix.SetEdge(ilhs, irhs, *did_match_iter++ != 0);
|