Home | History | Annotate | Download | only in gtest

Lines Matching defs:c_str

1727   RE(const ::std::string& regex) { Init(regex.c_str()); }  // NOLINT
1730 RE(const ::string& regex) { Init(regex.c_str()); } // NOLINT
1747 return FullMatch(str.c_str(), re);
1750 return PartialMatch(str.c_str(), re);
1755 return FullMatch(str.c_str(), re);
1758 return PartialMatch(str.c_str(), re);
2664 static String ShowCStringQuoted(const char* c_str);
2673 static const char* CloneCString(const char* c_str);
2688 static LPCWSTR AnsiToUtf16(const char* c_str);
2799 ConstructNonNull(str.c_str(), str.length());
2802 operator ::std::string() const { return ::std::string(c_str(), length()); }
2806 ConstructNonNull(str.c_str(), str.length());
2809 operator ::string() const { return ::string(c_str(), length()); }
2813 bool empty() const { return (c_str() != NULL) && (length() == 0); }
2847 const char* c_str() const { return c_str_; }
2858 if (rhs.c_str() == NULL) {
2862 ConstructNonNull(rhs.c_str(), rhs.length());
2889 if (str.c_str() == NULL) {
2892 const char* const c_str = str.c_str();
2894 if (c_str[i] == '\0') {
2897 os << c_str[i];
3003 const char* c_str() const { return pathname_.c_str(); }
3036 bool IsEmpty() const { return c_str() == NULL || *c_str() == '\0'; }
7017 FormatFileLocation(file, line).c_str(), test_name, case_name);
7078 case_name, index).c_str(),
7079 GetPrefixUntilComma(test_names).c_str(),
7080 String::Format("TypeParam = %s", GetTypeName<Type>().c_str()).c_str(),
7272 gtest_ar_, text, #actual, #expected).c_str())
8995 test_case_name_stream << instantiation_name.c_str() << "/";
8996 test_case_name_stream << test_info->test_case_base_name.c_str();
9003 test_name_stream << test_info->test_base_name.c_str() << "/" << i;
9005 test_case_name_stream.GetString().c_str(),
9006 test_name_stream.GetString().c_str(),
15295 const char* file_name() const { return file_name_.c_str(); }
15302 const char* summary() const { return summary_.c_str(); }
15305 const char* message() const { return message_.c_str(); }
15861 return message_.get() != NULL && message_->c_str() != NULL ?
15862 message_->c_str() : "";
16051 return key_.c_str();
16056 return value_.c_str();
16297 const char* name() const { return name_.c_str(); }
16300 const char* comment() const { return comment_.c_str(); }