reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
   62   FilePath(const FilePath& rhs) : pathname_(rhs.pathname_) { }
   74     pathname_ = rhs.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(); }
utils/unittest/googletest/src/gtest-filepath.cc
  126   if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) {
  127     return FilePath(pathname_.substr(
  128         0, pathname_.length() - dot_extension.length()));
  217   return posix::Stat(pathname_.c_str(), &file_stat) == 0;
  260   return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
  260   return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]);
  266   const char* const name = pathname_.c_str();
  301   return !pathname_.empty() &&
  302          IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
  302          IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]);
  313   if (pathname_.length() == 0 || this->DirectoryExists()) {
  334   int result = mkdir(pathname_.c_str(), 0777);
  348       ? FilePath(pathname_.substr(0, pathname_.length() - 1))
  348       ? FilePath(pathname_.substr(0, pathname_.length() - 1))
  357   if (pathname_.c_str() == NULL) {
  358     pathname_ = "";
  361   const char* src = pathname_.c_str();
  362   char* const dest = new char[pathname_.length() + 1];
  364   memset(dest_ptr, 0, pathname_.length() + 1);
  382   pathname_ = dest;