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

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-filepath.h126 // RemoveFileName returns the directory path with the filename removed.
127 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
128 // If the FilePath is "a_file" or "/a_file", RemoveFileName returns
132 FilePath RemoveFileName() const;
/gem5/ext/googletest/googletest/test/
H A Dgtest-filepath_test.cc185 // RemoveFileName "" -> "./"
189 EXPECT_EQ(GTEST_PATH_SEP_, FilePath("").RemoveFileName().string());
191 EXPECT_EQ("." GTEST_PATH_SEP_, FilePath("").RemoveFileName().string());
195 // RemoveFileName "adir/" -> "adir/"
198 FilePath("adir" GTEST_PATH_SEP_).RemoveFileName().string());
201 // RemoveFileName "adir/afile" -> "adir/"
204 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveFileName().string());
207 // RemoveFileName "adir/subdir/afile" -> "adir/subdir/"
211 .RemoveFileName().string());
214 // RemoveFileName "/afil
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc160 // RemoveFileName returns the directory path with the filename removed.
161 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
162 // If the FilePath is "a_file" or "/a_file", RemoveFileName returns
166 FilePath FilePath::RemoveFileName() const { function in class:testing::internal::FilePath
317 const FilePath parent(this->RemoveTrailingPathSeparator().RemoveFileName());
H A Dgtest.cc3436 FilePath output_dir(output_file.RemoveFileName());

Completed in 22 milliseconds