Home | History | Annotate | Download | only in gtest

Lines Matching refs:pathname_

7955   if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) {
7956 return FilePath(pathname_.substr(
7957 0, pathname_.length() - dot_extension.length()));
8040 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
8046 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
8087 return pathname_.length() == 3 && IsAbsolutePath();
8089 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
8095 const char* const name = pathname_.c_str();
8097 return pathname_.length() >= 3 &&
8130 return !pathname_.empty() &&
8131 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
8142 if (pathname_.length() == 0 || this->DirectoryExists()) {
8161 int result = _mkdir(pathname_.c_str());
8163 int result = mkdir(pathname_.c_str(), 0777);
8177 ? FilePath(pathname_.substr(0, pathname_.length() - 1))
8186 if (pathname_.c_str() == NULL) {
8187 pathname_ = "";
8190 const char* src = pathname_.c_str();
8191 char* const dest = new char[pathname_.length() + 1];
8193 memset(dest_ptr, 0, pathname_.length() + 1);
8211 pathname_ = dest;