Searched refs:pathname_ (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h61 FilePath() : pathname_("") { }
62 FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
64 explicit FilePath(const std::string& pathname) : pathname_(pathname) {
74 pathname_ = rhs.pathname_;
77 const std::string& string() const { return pathname_; }
78 const char* c_str() const { return pathname_.c_str(); }
111 bool IsEmpty() const { return pathname_.empty(); }
200 std::string pathname_; member in class:testing::internal::FilePath
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc126 if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) {
127 return FilePath(pathname_.substr(
128 0, pathname_.length() - dot_extension.length()));
211 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
217 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
258 return pathname_.length() == 3 && IsAbsolutePath();
260 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
266 const char* const name = pathname_.c_str();
268 return pathname_
[all...]

Completed in 6 milliseconds