Lines Matching refs:std

85   explicit MatchResultListener(::std::ostream* os) : stream_(os) {}
98 ::std::ostream* stream() { return stream_; }
107 ::std::ostream* const stream_;
126 virtual void DescribeTo(::std::ostream* os) const = 0;
134 virtual void DescribeNegationTo(::std::ostream* os) const {
179 // virtual void DescribeTo(::std::ostream* os) const = 0;
180 // virtual void DescribeNegationTo(::std::ostream* os) const;
195 ::std::stringstream ss_;
241 explicit StreamMatchResultListener(::std::ostream* os)
267 void DescribeTo(::std::ostream* os) const { impl_->DescribeTo(os); }
270 void DescribeNegationTo(::std::ostream* os) const {
275 void ExplainMatchResultTo(T x, ::std::ostream* os) const {
453 virtual void DescribeTo(::std::ostream* os) const {
457 virtual void DescribeNegationTo(::std::ostream* os) const {
580 virtual void DescribeTo(::std::ostream* os) const {
584 virtual void DescribeNegationTo(::std::ostream* os) const {
679 ::std::ostream* os) {
745 ::std::ostream* os) {
787 ::std::ostream* /* os */) {}
812 ::std::ostream* os) {
863 virtual void DescribeTo(::std::ostream* os) const { *os << "is anything"; }
864 virtual void DescribeNegationTo(::std::ostream* os) const {
910 virtual void DescribeTo(::std::ostream* os) const {
914 virtual void DescribeNegationTo(::std::ostream* os) const {
989 void DescribeTo(::std::ostream* os) const { *os << "is NULL"; }
990 void DescribeNegationTo(::std::ostream* os) const {
1009 void DescribeTo(::std::ostream* os) const { *os << "isn't NULL"; }
1010 void DescribeNegationTo(::std::ostream* os) const {
1068 virtual void DescribeTo(::std::ostream* os) const {
1073 virtual void DescribeNegationTo(::std::ostream* os) const {
1158 void DescribeTo(::std::ostream* os) const {
1162 void DescribeNegationTo(::std::ostream* os) const {
1167 void DescribeToHelper(bool expect_eq, ::std::ostream* os) const {
1214 void DescribeTo(::std::ostream* os) const {
1219 void DescribeNegationTo(::std::ostream* os) const {
1261 void DescribeTo(::std::ostream* os) const {
1266 void DescribeNegationTo(::std::ostream* os) const {
1307 void DescribeTo(::std::ostream* os) const {
1312 void DescribeNegationTo(::std::ostream* os) const {
1353 void DescribeTo(::std::ostream* os) const {
1359 void DescribeNegationTo(::std::ostream* os) const {
1393 static ::std::ostream& GetDesc(::std::ostream& os) { // NOLINT
1405 virtual void DescribeTo(::std::ostream* os) const {
1408 virtual void DescribeNegationTo(::std::ostream* os) const {
1453 virtual void DescribeTo(::std::ostream* os) const {
1457 virtual void DescribeNegationTo(::std::ostream* os) const {
1497 virtual void DescribeTo(::std::ostream* os) const {
1505 virtual void DescribeNegationTo(::std::ostream* os) const {
1561 typedef ::std::pair<Head, typename MatcherListTail::ListType> ListType;
1588 typedef ::std::pair<Matcher1, Matcher2> ListType;
1592 return ::std::pair<Matcher1, Matcher2>(matcher1, matcher2);
1669 virtual void DescribeTo(::std::ostream* os) const {
1677 virtual void DescribeNegationTo(::std::ostream* os) const {
1779 void DescribeTo(::std::ostream* os) const {
1783 void DescribeNegationTo(::std::ostream* os) const {
1859 ::std::stringstream ss;
1956 virtual void DescribeTo(::std::ostream* os) const {
1960 const ::std::streamsize old_precision = os->precision(
1961 ::std::numeric_limits<FloatType>::digits10 + 2);
1977 virtual void DescribeNegationTo(::std::ostream* os) const {
1979 const ::std::streamsize old_precision = os->precision(
1980 ::std::numeric_limits<FloatType>::digits10 + 2);
2071 virtual void DescribeTo(::std::ostream* os) const {
2076 virtual void DescribeNegationTo(::std::ostream* os) const {
2113 void DescribeTo(::std::ostream* os) const {
2118 void DescribeNegationTo(::std::ostream* os) const {
2135 static void GetCastTypeDescription(::std::ostream* os) {
2168 // We don't want an std::bad_cast here, so do the cast with pointers.
2187 void DescribeTo(::std::ostream* os) const {
2192 void DescribeNegationTo(::std::ostream* os) const {
2248 void DescribeTo(::std::ostream* os) const {
2253 void DescribeNegationTo(::std::ostream* os) const {
2360 virtual void DescribeTo(::std::ostream* os) const {
2365 virtual void DescribeNegationTo(::std::ostream* os) const {
2419 virtual void DescribeTo(::std::ostream* os) const {
2423 virtual void DescribeNegationTo(::std::ostream* os) const {
2467 typedef typename std::iterator_traits<
2473 virtual void DescribeTo(::std::ostream* os) const {
2477 virtual void DescribeNegationTo(::std::ostream* os) const {
2485 using std::begin;
2486 using std::end;
2487 DistanceType distance = std::distance(begin(container), end(container));
2489 DistanceType distance = std::distance(container.begin(), container.end());
2537 void DescribeTo(::std::ostream* os) const {
2541 void DescribeNegationTo(::std::ostream* os) const {
2558 ::std::ostream* const os = listener->stream();
2631 // Transforms std::pair<const Key, Value> into std::pair<Key, Value>
2639 virtual void DescribeTo(::std::ostream* os) const {
2644 virtual void DescribeNegationTo(::std::ostream* os) const {
2652 ::std::vector<LhsValue> sorted_container(lhs_stl_container.begin(),
2654 ::std::sort(
2676 const Matcher<const ::std::vector<LhsValue>&> matcher_;
2733 virtual void DescribeTo(::std::ostream* os) const {
2740 virtual void DescribeNegationTo(::std::ostream* os) const {
2852 virtual void DescribeTo(::std::ostream* os) const {
2857 virtual void DescribeNegationTo(::std::ostream* os) const {
2881 virtual void DescribeTo(::std::ostream* os) const {
2886 virtual void DescribeNegationTo(::std::ostream* os) const {
2935 // Key(inner_matcher) matches an std::pair whose 'first' field matches
2937 // std::map that contains at least one element whose key is >= 5.
2964 virtual void DescribeTo(::std::ostream* os) const {
2970 virtual void DescribeNegationTo(::std::ostream* os) const {
3016 virtual void DescribeTo(::std::ostream* os) const {
3024 virtual void DescribeNegationTo(::std::ostream* os) const {
3126 virtual void DescribeTo(::std::ostream* os) const {
3145 virtual void DescribeNegationTo(::std::ostream* os) const {
3169 ::std::vector<internal::string> explanations(count());
3248 ::std::vector<Matcher<const Element&> > matchers_;
3294 ::std::vector<char> matched_;
3297 typedef ::std::pair<size_t, size_t> ElementMatcherPair;
3298 typedef ::std::vector<ElementMatcherPair> ElementMatcherPairs;
3316 typedef ::std::vector<const MatcherDescriberInterface*> MatcherDescriberVec;
3319 void DescribeToImpl(::std::ostream* os) const;
3322 void DescribeNegationToImpl(::std::ostream* os) const;
3325 const ::std::vector<string>& element_printouts,
3367 virtual void DescribeTo(::std::ostream* os) const {
3372 virtual void DescribeNegationTo(::std::ostream* os) const {
3379 ::std::vector<string> element_printouts;
3406 typedef ::std::vector<Matcher<const Element&> > MatcherVec;
3410 ::std::vector<string>* element_printouts,
3413 ::std::vector<char> did_match;
3425 ::std::vector<char>::const_iterator did_match_iter = did_match.begin();
3461 typedef ::std::vector<Matcher<const Element&> > MatcherVec;
3465 ::std::back_inserter(matchers));
3486 typedef ::std::vector<Matcher<const Element&> > MatcherVec;
3490 ::std::back_inserter(matchers));
3518 ::std::vector<T> matchers_;
3537 const ::std::vector<T> matchers_;
3584 virtual void DescribeTo(::std::ostream* os) const {
3645 typename ::std::iterator_traits<Iter>::value_type>
3647 typedef typename ::std::iterator_traits<Iter>::value_type T;
3672 ElementsAreArray(::std::initializer_list<T> xs) {
3687 typename ::std::iterator_traits<Iter>::value_type>
3689 typedef typename ::std::iterator_traits<Iter>::value_type T;
3715 UnorderedElementsAreArray(::std::initializer_list<T> xs) {
3725 // is not the global namespace or ::std.
3937 // We recommend deriving your functor classes from std::unary_function.
3981 // Creates a matcher that matches any string, std::string, or C string
4056 // Creates a matcher that matches any wstring, std::wstring, or C wide string
4134 // can be used instead of SizeIs with containers such as std::forward_list which
4200 inline internal::PointwiseMatcher<TupleMatcher, std::vector<T> > Pointwise(
4201 const TupleMatcher& tuple_matcher, std::initializer_list<T> rhs) {
4202 return Pointwise(tuple_matcher, std::vector<T>(rhs));
4239 ::std::vector<internal::BoundSecondMatcher<Tuple2Matcher, Second> > matchers;
4257 std::initializer_list<T> rhs) {
4258 return UnorderedPointwise(tuple2_matcher, std::vector<T>(rhs));
4267 // ::std::set<int> page_ids;
4274 // ::std::map<int, size_t> page_lengths;
4277 // Contains(::std::pair<const int, size_t>(1, 100)));
4280 // EXPECT_THAT(user_ids, Contains(Eq(::std::string("tom"))));
4293 // ::std::set<int> page_ids;
4304 // ::std::map<int, size_t> page_lengths;
4312 // EXPECT_THAT(user_ids, Not(Each(Eq(::std::string("tom")))));
4318 // Key(inner_matcher) matches an std::pair whose 'first' field matches
4320 // std::map that contains at least one element whose key is >= 5.
4326 // Pair(first_matcher, second_matcher) matches a std::pair whose 'first' field
4329 // to match a std::map<int, string> that contains exactly one element whose key