Home | History | Annotate | Download | only in googletest

Lines Matching refs:pathname_

120   if (pathname_.EndsWithCaseInsensitive(dot_extension.c_str())) {
121 return FilePath(String(pathname_.c_str(), pathname_.length() - 4));
204 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
210 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
251 return pathname_.length() == 3 && IsAbsolutePath();
253 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
259 const char* const name = pathname_.c_str();
261 return pathname_.length() >= 3 &&
294 return !pathname_.empty() &&
295 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
306 if (pathname_.length() == 0 || this->DirectoryExists()) {
325 int result = _mkdir(pathname_.c_str());
327 int result = mkdir(pathname_.c_str(), 0777);
341 ? FilePath(String(pathname_.c_str(), pathname_.length() - 1))
350 if (pathname_.c_str() == NULL) {
351 pathname_ = "";
354 const char* src = pathname_.c_str();
355 char* const dest = new char[pathname_.length() + 1];
357 memset(dest_ptr, 0, pathname_.length() + 1);
375 pathname_ = dest;