Lines Matching refs:pathname_
7996 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()
7997 return FilePath(pathname_.substr( in RemoveExtension()
7998 0, pathname_.length() - dot_extension.length())); in RemoveExtension()
8081 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()
8087 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()
8128 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()
8130 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()
8136 const char* const name = pathname_.c_str(); in IsAbsolutePath()
8138 return pathname_.length() >= 3 && in IsAbsolutePath()
8171 return !pathname_.empty() && in IsDirectory()
8172 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory()
8183 if (pathname_.length() == 0 || this->DirectoryExists()) { in CreateDirectoriesRecursively()
8202 int result = _mkdir(pathname_.c_str()); in CreateFolder()
8204 int result = mkdir(pathname_.c_str(), 0777); in CreateFolder()
8218 ? FilePath(pathname_.substr(0, pathname_.length() - 1)) in RemoveTrailingPathSeparator()
8227 if (pathname_.c_str() == NULL) { in Normalize()
8228 pathname_ = ""; in Normalize()
8231 const char* src = pathname_.c_str(); in Normalize()
8232 char* const dest = new char[pathname_.length() + 1]; in Normalize()
8234 memset(dest_ptr, 0, pathname_.length() + 1); in Normalize()
8252 pathname_ = dest; in Normalize()