Searched refs:pathname_ (Results 1 – 2 of 2) sorted by relevance
61 FilePath() : pathname_("") { } in FilePath()62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { } in FilePath()64 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath()74 pathname_ = rhs.pathname_; in Set()77 const std::string& string() const { return pathname_; } in string()78 const char* c_str() const { return pathname_.c_str(); } in c_str()111 bool IsEmpty() const { return pathname_.empty(); } in IsEmpty()200 std::string pathname_; variable
121 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { in RemoveExtension()122 return FilePath(pathname_.substr( in RemoveExtension()123 0, pathname_.length() - dot_extension.length())); in RemoveExtension()206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists()212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists()253 return pathname_.length() == 3 && IsAbsolutePath(); in IsRootDirectory()255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory()261 const char* const name = pathname_.c_str(); in IsAbsolutePath()263 return pathname_.length() >= 3 && in IsAbsolutePath()296 return !pathname_.empty() && in IsDirectory()[all …]