InvertDir 39 tools/gn/build_settings.cc build_to_source_dir_string_ = InvertDir(d); InvertDir 133 tools/gn/filesystem_utils.h std::string InvertDir(const SourceDir& dir); InvertDir 127 tools/gn/filesystem_utils_unittest.cc TEST(FilesystemUtils, InvertDir) { InvertDir 128 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir()) == ""); InvertDir 129 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("/")) == ""); InvertDir 130 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//")) == ""); InvertDir 132 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//foo/bar")) == "../../"); InvertDir 133 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//foo\\bar")) == "../../"); InvertDir 134 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("/foo/bar/")) == "../../"); InvertDir 20 tools/gn/path_output.cc inverse_current_dir_ = InvertDir(current_dir_);