Lines Matching refs:str

189   internal::string str() const { return ss_.str(); }
192 void Clear() { ss_.str(""); }
335 // The following two specializations allow the user to write str
336 // instead of Eq(str) and "foo" instead of Eq("foo") when a string
347 // Allows the user to write str instead of Eq(str) sometimes, where
348 // str is a string object.
364 // Allows the user to write str instead of Eq(str) sometimes, where
365 // str is a string object.
373 // The following two specializations allow the user to write str
374 // instead of Eq(str) and "foo" instead of Eq("foo") when a StringPiece
385 // Allows the user to write str instead of Eq(str) sometimes, where
386 // str is a string object.
405 // Allows the user to write str instead of Eq(str) sometimes, where
406 // str is a string object.
718 PrintIfNotEmpty(inner_listener.str(), listener->stream());
768 PrintIfNotEmpty(listener.str(), os);
1128 StrEqualityMatcher(const StringType& str, bool expect_eq,
1130 : string_(str), expect_eq_(expect_eq), case_sensitive_(case_sensitive) {}
1518 *listener << listener1.str();
1524 *listener << listener2.str();
1529 const internal::string s1 = listener1.str();
1530 const internal::string s2 = listener2.str();
1690 *listener << listener1.str();
1696 *listener << listener2.str();
1701 const internal::string s1 = listener1.str();
1702 const internal::string s2 = listener2.str();
1863 ss << "\n Actual: " << listener.str();
1864 return AssertionFailure() << ss.str();
2435 PrintIfNotEmpty(size_listener.str(), listener->stream());
2496 PrintIfNotEmpty(distance_listener.str(), listener->stream());
2670 PrintIfNotEmpty(inner_listener.str(), listener->stream());
2772 PrintIfNotEmpty(inner_listener.str(), listener->stream());
2829 PrintIfNotEmpty(inner_listener.str(), listener->stream());
2956 const internal::string explanation = inner_listener.str();
3045 PrintIfNotEmpty(first_inner_listener.str(), listener->stream());
3052 PrintIfNotEmpty(second_inner_listener.str(), listener->stream());
3055 ExplainSuccess(first_inner_listener.str(), second_inner_listener.str(),
3183 explanations[exam_pos] = s.str();
3909 // Property(&Foo::str, StartsWith("hi"))
3910 // matches a Foo object x iff x.str() starts with "hi".
3953 // Matches a string equal to str.
3955 StrEq(const internal::string& str) {
3957 str, true, true));
3960 // Matches a string not equal to str.
3962 StrNe(const internal::string& str) {
3964 str, false, true));
3967 // Matches a string equal to str, ignoring case.
3969 StrCaseEq(const internal::string& str) {
3971 str, true, false));
3974 // Matches a string not equal to str, ignoring case.
3976 StrCaseNe(const internal::string& str) {
3978 str, false, false));
4028 // Matches a string equal to str.
4030 StrEq(const internal::wstring& str) {
4032 str, true, true));
4035 // Matches a string not equal to str.
4037 StrNe(const internal::wstring& str) {
4039 str, false, true));
4042 // Matches a string equal to str, ignoring case.
4044 StrCaseEq(const internal::wstring& str) {
4046 str, true, false));
4049 // Matches a string not equal to str, ignoring case.
4051 StrCaseNe(const internal::wstring& str) {
4053 str, false, false));