Home
last modified time | relevance | path

Searched refs:irhs (Results 1 – 4 of 4) sorted by relevance

/external/gmock/src/
Dgmock-matchers.cc233 size_t irhs = left_[ilhs]; in Compute() local
234 if (irhs == kUnused) continue; in Compute()
235 result.push_back(ElementMatcherPair(ilhs, irhs)); in Compute()
260 for (size_t irhs = 0; irhs < graph_->RhsSize(); ++irhs) { in TryAugment() local
261 if ((*seen)[irhs]) in TryAugment()
263 if (!graph_->HasEdge(ilhs, irhs)) in TryAugment()
266 (*seen)[irhs] = 1; in TryAugment()
277 if (right_[irhs] == kUnused || TryAugment(right_[irhs], seen)) { in TryAugment()
279 left_[ilhs] = irhs; in TryAugment()
280 right_[irhs] = ilhs; in TryAugment()
[all …]
/external/gmock/include/gmock/
Dgmock-matchers.h3026 bool HasEdge(size_t ilhs, size_t irhs) const {
3027 return matched_[SpaceIndex(ilhs, irhs)] == 1;
3029 void SetEdge(size_t ilhs, size_t irhs, bool b) {
3030 matched_[SpaceIndex(ilhs, irhs)] = b ? 1 : 0;
3043 size_t SpaceIndex(size_t ilhs, size_t irhs) const {
3044 return ilhs * num_matchers_ + irhs;
3178 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
3179 did_match.push_back(Matches(matchers_[irhs])(*elem_first));
3186 for (size_t irhs = 0; irhs != matchers_.size(); ++irhs) {
3187 matrix.SetEdge(ilhs, irhs, *did_match_iter++ != 0);
/external/gmock/test/
Dgmock-matchers_test.cc4743 for (size_t irhs = 0; irhs < graph_->RhsSize(); ++irhs) { in Compute() local
4745 RecurseInto(irhs); in Compute()
4771 bool RecurseInto(size_t irhs) { in RecurseInto() argument
4772 if (rhs_used_[irhs] != kUnused) { in RecurseInto()
4779 if (!graph_->HasEdge(ilhs, irhs)) { in RecurseInto()
4782 PushMatch(ilhs, irhs); in RecurseInto()
4786 for (size_t mi = irhs + 1; mi < graph_->RhsSize(); ++mi) { in RecurseInto()
4836 size_t irhs = matches[i].second; in TEST_P() local
4837 EXPECT_TRUE(graph.HasEdge(ilhs, irhs)); in TEST_P()
4839 EXPECT_FALSE(seen_matcher[irhs]); in TEST_P()
[all …]
/external/icu/icu4c/source/i18n/
DdecNumber.c4913 Int ilhs, irhs, iacc; /* item counts in the arrays */ in decMultiplyOp() local
4985 irhs=(rhs->digits+FASTDIGS-1)/FASTDIGS; /* .. */ in decMultiplyOp()
4986 iacc=ilhs+irhs; in decMultiplyOp()
4993 needbytes=irhs*sizeof(uInt); in decMultiplyOp()