Home | History | Annotate | Download | only in gtest

Lines Matching refs:c_str

63   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
64 return FilePath(String(pathname_.c_str(), pathname_.GetLength() - 4));
76 const char* const last_sep = strrchr(c_str(), kPathSeparator);
87 const char* const last_sep = strrchr(c_str(), kPathSeparator);
88 return FilePath(last_sep ? String(c_str(), last_sep + 1 - c_str())
104 return FilePath(String::Format("%s%c%s.%s", dir.c_str(), kPathSeparator,
105 base_name.c_str(), extension));
107 return FilePath(String::Format("%s%c%s_%d.%s", dir.c_str(), kPathSeparator,
108 base_name.c_str(), number, extension));
116 return _stat(pathname_.c_str(), &file_stat) == 0;
119 return stat(pathname_.c_str(), &file_stat) == 0;
131 result = _stat(removed_sep.c_str(), &file_stat) == 0 &&
136 result = stat(pathname_.c_str(), &file_stat) == 0 &&
190 int result = _mkdir(pathname_.c_str());
192 int result = mkdir(pathname_.c_str(), 0777);
205 ? FilePath(String(pathname_.c_str(), pathname_.GetLength() - 1))