Home | History | Annotate | Download | only in gtest

Lines Matching refs:pathname_

7328   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
7329 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
7412 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
7418 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
7459 return pathname_.length() == 3 && IsAbsolutePath();
7461 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
7467 const char* const name = pathname_.c_str();
7469 return pathname_.length() >= 3 &&
7502 return !pathname_.empty() &&
7503 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
7514 if (pathname_.length() == 0 || this->DirectoryExists()) {
7533 int result = _mkdir(pathname_.c_str());
7535 int result = mkdir(pathname_.c_str(), 0777);
7549 ? FilePath(String(pathname_.c_str(), pathname_.length() - 1))
7558 if (pathname_.c_str() == NULL) {
7559 pathname_ = "";
7562 const char* src = pathname_.c_str();
7563 char* const dest = new char[pathname_.length() + 1];
7565 memset(dest_ptr, 0, pathname_.length() + 1);
7583 pathname_ = dest;