RebaseSourceAbsolutePath 144 tools/gn/filesystem_utils.h std::string RebaseSourceAbsolutePath(const std::string& input, RebaseSourceAbsolutePath 205 tools/gn/filesystem_utils_unittest.cc TEST(FilesystemUtils, RebaseSourceAbsolutePath) { RebaseSourceAbsolutePath 207 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ(".", RebaseSourceAbsolutePath("//", SourceDir("//"))); RebaseSourceAbsolutePath 209 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//foo/bar/"))); RebaseSourceAbsolutePath 213 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo", SourceDir("//bar/"))); RebaseSourceAbsolutePath 215 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/", SourceDir("//bar/"))); RebaseSourceAbsolutePath 217 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo", SourceDir("//bar/moo"))); RebaseSourceAbsolutePath 219 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/", SourceDir("//bar/moo"))); RebaseSourceAbsolutePath 223 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//"))); RebaseSourceAbsolutePath 225 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//"))); RebaseSourceAbsolutePath 229 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 231 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 235 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/foo", SourceDir("//a/"))); RebaseSourceAbsolutePath 237 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/foo/", SourceDir("//a/"))); RebaseSourceAbsolutePath 239 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 241 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 243 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/bar", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 245 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/bar/", SourceDir("//a/b/"))); RebaseSourceAbsolutePath 252 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//foo/bar/"))); RebaseSourceAbsolutePath 94 tools/gn/function_rebase_path.cc result.string_value() = RebaseSourceAbsolutePath( RebaseSourceAbsolutePath 99 tools/gn/function_rebase_path.cc result.string_value() = RebaseSourceAbsolutePath(