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_) { }
   68   FilePath& operator=(const FilePath& rhs) {
   68   FilePath& operator=(const FilePath& rhs) {
   73   void Set(const FilePath& rhs) {
   81   static FilePath GetCurrentDir();
   87   static FilePath MakeFileName(const FilePath& directory,
   87   static FilePath MakeFileName(const FilePath& directory,
   88                                const FilePath& base_name,
   95   static FilePath ConcatPaths(const FilePath& directory,
   95   static FilePath ConcatPaths(const FilePath& directory,
   96                               const FilePath& relative_path);
  106   static FilePath GenerateUniqueFileName(const FilePath& directory,
  106   static FilePath GenerateUniqueFileName(const FilePath& directory,
  107                                          const FilePath& base_name,
  116   FilePath RemoveTrailingPathSeparator() const;
  124   FilePath RemoveDirectoryName() const;
  132   FilePath RemoveFileName() const;
  138   FilePath RemoveExtension(const char* extension) const;
utils/unittest/googletest/src/gtest-filepath.cc
   99 FilePath FilePath::GetCurrentDir() {
  124 FilePath FilePath::RemoveExtension(const char* extension) const {
  155 FilePath FilePath::RemoveDirectoryName() const {
  166 FilePath FilePath::RemoveFileName() const {
  183 FilePath FilePath::MakeFileName(const FilePath& directory,
  183 FilePath FilePath::MakeFileName(const FilePath& directory,
  184                                 const FilePath& base_name,
  199 FilePath FilePath::ConcatPaths(const FilePath& directory,
  199 FilePath FilePath::ConcatPaths(const FilePath& directory,
  200                                const FilePath& relative_path) {
  203   const FilePath dir(directory.RemoveTrailingPathSeparator());
  231   const FilePath& path(*this);
  286 FilePath FilePath::GenerateUniqueFileName(const FilePath& directory,
  286 FilePath FilePath::GenerateUniqueFileName(const FilePath& directory,
  287                                           const FilePath& base_name,
  289   FilePath full_pathname;
  317   const FilePath parent(this->RemoveTrailingPathSeparator().RemoveFileName());
  346 FilePath FilePath::RemoveTrailingPathSeparator() const {
utils/unittest/googletest/src/gtest-internal-inl.h
  415 GTEST_API_ FilePath GetCurrentExecutableName();
  656       original_working_dir_.Set(FilePath::GetCurrentDir());
  817   internal::FilePath original_working_dir_;
utils/unittest/googletest/src/gtest.cc
  399 FilePath GetCurrentExecutableName() {
  400   FilePath result;
  433     return internal::FilePath::ConcatPaths(
  438   internal::FilePath output_name(colon + 1);
  444     output_name = internal::FilePath::ConcatPaths(
  451   internal::FilePath result(internal::FilePath::GenerateUniqueFileName(
  451   internal::FilePath result(internal::FilePath::GenerateUniqueFileName(
 3435   FilePath output_file(output_file_);
 3436   FilePath output_dir(output_file.RemoveFileName());