Home | History | Annotate | Download | only in support

Lines Matching defs:count_

17     unary_counting_predicate(Predicate p) : p_(p), count_(0) {}
20 bool operator () (const Arg &a) const { ++count_; return p_(a); }
21 size_t count() const { return count_; }
22 void reset() { count_ = 0; }
26 mutable size_t count_;
34 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {}
37 bool operator () (const Arg1 &a1, const Arg2 &a2) const { ++count_; return p_(a1, a2); }
38 size_t count() const { return count_; }
39 void reset() { count_ = 0; }
43 mutable size_t count_;