Searched refs:RemoveDirectoryName (Results 1 - 4 of 4) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h119 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
124 FilePath RemoveDirectoryName() const;
/gem5/ext/googletest/googletest/test/
H A Dgtest-filepath_test.cc121 // RemoveDirectoryName "" -> ""
123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string());
126 // RemoveDirectoryName "afile" -> "afile"
129 FilePath("afile").RemoveDirectoryName().string());
132 // RemoveDirectoryName "/afile" -> "afile"
135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string());
138 // RemoveDirectoryName "adir/" -> ""
141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string());
144 // RemoveDirectoryName "adir/afile" -> "afile"
147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName()
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc150 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
155 FilePath FilePath::RemoveDirectoryName() const { function in class:testing::internal::FilePath
H A Dgtest.cc408 return result.RemoveDirectoryName();

Completed in 25 milliseconds