SourceDir 33 tools/gn/build_settings.cc void BuildSettings::SetSecondarySourcePath(const SourceDir& d) { SourceDir 37 tools/gn/build_settings.cc void BuildSettings::SetBuildDir(const SourceDir& d) { SourceDir 46 tools/gn/build_settings.cc base::FilePath BuildSettings::GetFullPath(const SourceDir& dir) const { SourceDir 56 tools/gn/build_settings.cc const SourceDir& dir) const { SourceDir 44 tools/gn/build_settings.h void SetSecondarySourcePath(const SourceDir& d); SourceDir 56 tools/gn/build_settings.h const SourceDir& build_dir() const { return build_dir_; } SourceDir 57 tools/gn/build_settings.h void SetBuildDir(const SourceDir& dir); SourceDir 72 tools/gn/build_settings.h base::FilePath GetFullPath(const SourceDir& dir) const; SourceDir 78 tools/gn/build_settings.h base::FilePath GetFullPathSecondary(const SourceDir& dir) const; SourceDir 93 tools/gn/build_settings.h SourceDir build_dir_; SourceDir 66 tools/gn/builder_unittest.cc build_settings_.SetBuildDir(SourceDir("//out/")); SourceDir 67 tools/gn/builder_unittest.cc settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default")); SourceDir 88 tools/gn/builder_unittest.cc SourceDir toolchain_dir = settings_.toolchain_label().dir(); SourceDir 100 tools/gn/builder_unittest.cc Label a_label(SourceDir("//a/"), "a", toolchain_dir, toolchain_name); SourceDir 101 tools/gn/builder_unittest.cc Label b_label(SourceDir("//b/"), "b", toolchain_dir, toolchain_name); SourceDir 102 tools/gn/builder_unittest.cc Label c_label(SourceDir("//c/"), "c", toolchain_dir, toolchain_name); SourceDir 182 tools/gn/builder_unittest.cc Label toolchain_label2(SourceDir("//tc/"), "secondary"); SourceDir 189 tools/gn/builder_unittest.cc Label a_label(SourceDir("//foo/"), "a", SourceDir 191 tools/gn/builder_unittest.cc Label b_label(SourceDir("//foo/"), "b", SourceDir 25 tools/gn/command_desc.cc std::string FormatSourceDir(const SourceDir& dir) { SourceDir 125 tools/gn/command_desc.cc const OrderedSet<SourceDir>& lib_dirs = target->all_lib_dirs(); SourceDir 188 tools/gn/command_desc.cc template<> struct DescValueWriter<SourceDir> { SourceDir 189 tools/gn/command_desc.cc void operator()(const SourceDir& dir, std::ostream& out) const { SourceDir 331 tools/gn/command_desc.cc CONFIG_VALUE_HANDLER(include_dirs, SourceDir) SourceDir 368 tools/gn/command_desc.cc OUTPUT_CONFIG_VALUE(include_dirs, SourceDir) SourceDir 25 tools/gn/config_values.h const std::vector<SourceDir>& name() const { return name##_; } \ SourceDir 26 tools/gn/config_values.h std::vector<SourceDir>& name() { return name##_; } SourceDir 49 tools/gn/config_values.h std::vector<SourceDir> include_dirs_; SourceDir 51 tools/gn/config_values.h std::vector<SourceDir> lib_dirs_; SourceDir 35 tools/gn/config_values_generator.cc const SourceDir input_dir, SourceDir 36 tools/gn/config_values_generator.cc std::vector<SourceDir>& (ConfigValues::* accessor)(), SourceDir 42 tools/gn/config_values_generator.cc std::vector<SourceDir> result; SourceDir 53 tools/gn/config_values_generator.cc const SourceDir& input_dir, SourceDir 27 tools/gn/config_values_generator.h const SourceDir& input_dir, SourceDir 37 tools/gn/config_values_generator.h const SourceDir input_dir_; SourceDir 332 tools/gn/filesystem_utils.cc bool EnsureStringIsInOutputDir(const SourceDir& dir, SourceDir 447 tools/gn/filesystem_utils.cc std::string InvertDir(const SourceDir& path) { SourceDir 566 tools/gn/filesystem_utils.cc const SourceDir& dest_dir) { SourceDir 602 tools/gn/filesystem_utils.cc std::string DirectoryWithNoLastSlash(const SourceDir& dir) { SourceDir 618 tools/gn/filesystem_utils.cc SourceDir SourceDirForPath(const base::FilePath& source_root, SourceDir 658 tools/gn/filesystem_utils.cc return SourceDir(result_str); SourceDir 661 tools/gn/filesystem_utils.cc SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root) { SourceDir 667 tools/gn/filesystem_utils.cc SourceDir GetToolchainOutputDir(const Settings* settings) { SourceDir 674 tools/gn/filesystem_utils.cc return SourceDir(SourceDir::SWAP_IN, &result); SourceDir 677 tools/gn/filesystem_utils.cc SourceDir GetToolchainGenDir(const Settings* settings) { SourceDir 685 tools/gn/filesystem_utils.cc return SourceDir(SourceDir::SWAP_IN, &result); SourceDir 688 tools/gn/filesystem_utils.cc SourceDir GetOutputDirForSourceDir(const Settings* settings, SourceDir 689 tools/gn/filesystem_utils.cc const SourceDir& source_dir) { SourceDir 690 tools/gn/filesystem_utils.cc SourceDir toolchain = GetToolchainOutputDir(settings); SourceDir 701 tools/gn/filesystem_utils.cc return SourceDir(SourceDir::SWAP_IN, &ret); SourceDir 704 tools/gn/filesystem_utils.cc SourceDir GetGenDirForSourceDir(const Settings* settings, SourceDir 705 tools/gn/filesystem_utils.cc const SourceDir& source_dir) { SourceDir 706 tools/gn/filesystem_utils.cc SourceDir toolchain = GetToolchainGenDir(settings); SourceDir 716 tools/gn/filesystem_utils.cc return SourceDir(SourceDir::SWAP_IN, &ret); SourceDir 719 tools/gn/filesystem_utils.cc SourceDir GetTargetOutputDir(const Target* target) { SourceDir 723 tools/gn/filesystem_utils.cc SourceDir GetTargetGenDir(const Target* target) { SourceDir 727 tools/gn/filesystem_utils.cc SourceDir GetCurrentOutputDir(const Scope* scope) { SourceDir 731 tools/gn/filesystem_utils.cc SourceDir GetCurrentGenDir(const Scope* scope) { SourceDir 105 tools/gn/filesystem_utils.h bool EnsureStringIsInOutputDir(const SourceDir& dir, SourceDir 133 tools/gn/filesystem_utils.h std::string InvertDir(const SourceDir& dir); SourceDir 145 tools/gn/filesystem_utils.h const SourceDir& dest_dir); SourceDir 152 tools/gn/filesystem_utils.h std::string DirectoryWithNoLastSlash(const SourceDir& dir); SourceDir 158 tools/gn/filesystem_utils.h SourceDir SourceDirForPath(const base::FilePath& source_root, SourceDir 163 tools/gn/filesystem_utils.h SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root); SourceDir 168 tools/gn/filesystem_utils.h SourceDir GetToolchainOutputDir(const Settings* settings); SourceDir 169 tools/gn/filesystem_utils.h SourceDir GetToolchainGenDir(const Settings* settings); SourceDir 170 tools/gn/filesystem_utils.h SourceDir GetOutputDirForSourceDir(const Settings* settings, SourceDir 171 tools/gn/filesystem_utils.h const SourceDir& source_dir); SourceDir 172 tools/gn/filesystem_utils.h SourceDir GetGenDirForSourceDir(const Settings* settings, SourceDir 173 tools/gn/filesystem_utils.h const SourceDir& source_dir); SourceDir 174 tools/gn/filesystem_utils.h SourceDir GetTargetOutputDir(const Target* target); SourceDir 175 tools/gn/filesystem_utils.h SourceDir GetTargetGenDir(const Target* target); SourceDir 176 tools/gn/filesystem_utils.h SourceDir GetCurrentOutputDir(const Scope* scope); SourceDir 177 tools/gn/filesystem_utils.h SourceDir GetCurrentGenDir(const Scope* scope); SourceDir 128 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir()) == ""); SourceDir 129 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("/")) == ""); SourceDir 130 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//")) == ""); SourceDir 132 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//foo/bar")) == "../../"); SourceDir 133 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("//foo\\bar")) == "../../"); SourceDir 134 tools/gn/filesystem_utils_unittest.cc EXPECT_TRUE(InvertDir(SourceDir("/foo/bar/")) == "../../"); SourceDir 207 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ(".", RebaseSourceAbsolutePath("//", SourceDir("//"))); SourceDir 209 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//foo/bar/"))); SourceDir 213 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo", SourceDir("//bar/"))); SourceDir 215 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/", SourceDir("//bar/"))); SourceDir 217 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo", SourceDir("//bar/moo"))); SourceDir 219 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/", SourceDir("//bar/moo"))); SourceDir 223 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//"))); SourceDir 225 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//"))); SourceDir 229 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//a/b/"))); SourceDir 231 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar/", SourceDir("//a/b/"))); SourceDir 235 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/foo", SourceDir("//a/"))); SourceDir 237 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/foo/", SourceDir("//a/"))); SourceDir 239 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo", SourceDir("//a/b/"))); SourceDir 241 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/", SourceDir("//a/b/"))); SourceDir 243 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/bar", SourceDir("//a/b/"))); SourceDir 245 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//a/b/foo/bar/", SourceDir("//a/b/"))); SourceDir 252 tools/gn/filesystem_utils_unittest.cc RebaseSourceAbsolutePath("//foo/bar", SourceDir("//foo/bar/"))); SourceDir 256 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ("", DirectoryWithNoLastSlash(SourceDir())); SourceDir 257 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ("/.", DirectoryWithNoLastSlash(SourceDir("/"))); SourceDir 258 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ("//.", DirectoryWithNoLastSlash(SourceDir("//"))); SourceDir 259 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ("//foo", DirectoryWithNoLastSlash(SourceDir("//foo/"))); SourceDir 260 tools/gn/filesystem_utils_unittest.cc EXPECT_EQ("/bar", DirectoryWithNoLastSlash(SourceDir("/bar/"))); SourceDir 314 tools/gn/filesystem_utils_unittest.cc build_settings.SetBuildDir(SourceDir("//out/Debug/")); SourceDir 331 tools/gn/filesystem_utils_unittest.cc build_settings.SetBuildDir(SourceDir("//out/Debug/")); SourceDir 337 tools/gn/filesystem_utils_unittest.cc SourceDir("//")).value()); SourceDir 340 tools/gn/filesystem_utils_unittest.cc SourceDir("//foo/bar/")).value()); SourceDir 345 tools/gn/filesystem_utils_unittest.cc GetOutputDirForSourceDir(&other_settings, SourceDir("//")).value()); SourceDir 348 tools/gn/filesystem_utils_unittest.cc SourceDir("//foo/bar/")).value()); SourceDir 353 tools/gn/filesystem_utils_unittest.cc build_settings.SetBuildDir(SourceDir("//out/Debug/")); SourceDir 358 tools/gn/filesystem_utils_unittest.cc GetGenDirForSourceDir(&default_settings, SourceDir("//")).value()); SourceDir 361 tools/gn/filesystem_utils_unittest.cc SourceDir("//foo/bar/")).value()); SourceDir 366 tools/gn/filesystem_utils_unittest.cc GetGenDirForSourceDir(&other_settings, SourceDir("//")).value()); SourceDir 369 tools/gn/filesystem_utils_unittest.cc SourceDir("//foo/bar/")).value()); SourceDir 375 tools/gn/filesystem_utils_unittest.cc build_settings.SetBuildDir(SourceDir("//")); SourceDir 381 tools/gn/filesystem_utils_unittest.cc GetOutputDirForSourceDir(&settings, SourceDir("//")).value()); SourceDir 383 tools/gn/filesystem_utils_unittest.cc GetGenDirForSourceDir(&settings, SourceDir("//")).value()); SourceDir 303 tools/gn/function_exec_script.cc const SourceDir& cur_dir = scope->GetSourceDir(); SourceDir 55 tools/gn/function_read_file.cc const SourceDir& cur_dir = scope->GetSourceDir(); SourceDir 57 tools/gn/function_rebase_path.cc const SourceDir& from_dir, SourceDir 58 tools/gn/function_rebase_path.cc const SourceDir& to_dir, SourceDir 223 tools/gn/function_rebase_path.cc SourceDir to_dir; SourceDir 224 tools/gn/function_rebase_path.cc const SourceDir& current_dir = scope->GetSourceDir(); SourceDir 236 tools/gn/function_rebase_path.cc SourceDir from_dir; SourceDir 35 tools/gn/function_rebase_path_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 37 tools/gn/function_rebase_path_unittest.cc scope->set_source_dir(SourceDir("//tools/gn/")); SourceDir 84 tools/gn/function_rebase_path_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 85 tools/gn/function_rebase_path_unittest.cc setup.scope()->set_source_dir(SourceDir("//tools/gn/")); SourceDir 108 tools/gn/function_rebase_path_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 64 tools/gn/function_set_default_toolchain.cc const SourceDir& current_dir = scope->GetSourceDir(); SourceDir 101 tools/gn/function_toolchain.cc const SourceDir& input_dir = scope->GetSourceDir(); SourceDir 55 tools/gn/function_write_file.cc const SourceDir& cur_dir = scope->GetSourceDir(); SourceDir 240 tools/gn/functions.cc const SourceDir& input_dir = scope->GetSourceDir(); SourceDir 457 tools/gn/functions.cc const SourceDir& input_dir = scope->GetSourceDir(); SourceDir 29 tools/gn/input_file.h const SourceDir& dir() const { return dir_; } SourceDir 54 tools/gn/input_file.h SourceDir dir_; SourceDir 16 tools/gn/label.cc std::string DirWithNoTrailingSlash(const SourceDir& dir) { SourceDir 28 tools/gn/label.cc const SourceDir& current_dir, SourceDir 30 tools/gn/label.cc SourceDir* result, SourceDir 56 tools/gn/label.cc const SourceDir& computed_location, SourceDir 94 tools/gn/label.cc bool Resolve(const SourceDir& current_dir, SourceDir 98 tools/gn/label.cc SourceDir* out_dir, SourceDir 100 tools/gn/label.cc SourceDir* out_toolchain_dir, SourceDir 193 tools/gn/label.cc Label::Label(const SourceDir& dir, SourceDir 195 tools/gn/label.cc const SourceDir& toolchain_dir, SourceDir 203 tools/gn/label.cc Label::Label(const SourceDir& dir, const base::StringPiece& name) SourceDir 212 tools/gn/label.cc Label Label::Resolve(const SourceDir& current_dir, SourceDir 24 tools/gn/label.h Label(const SourceDir& dir, SourceDir 26 tools/gn/label.h const SourceDir& toolchain_dir, SourceDir 30 tools/gn/label.h Label(const SourceDir& dir, const base::StringPiece& name); SourceDir 36 tools/gn/label.h static Label Resolve(const SourceDir& current_dir, SourceDir 43 tools/gn/label.h const SourceDir& dir() const { return dir_; } SourceDir 46 tools/gn/label.h const SourceDir& toolchain_dir() const { return toolchain_dir_; } SourceDir 94 tools/gn/label.h SourceDir dir_; SourceDir 97 tools/gn/label.h SourceDir toolchain_dir_; SourceDir 64 tools/gn/label_unittest.cc Label default_toolchain(SourceDir("//t/"), "d"); SourceDir 74 tools/gn/label_unittest.cc Label::Resolve(SourceDir(cur.cur_dir), default_toolchain, v, &err); SourceDir 274 tools/gn/loader.cc base_config->set_source_dir(SourceDir("//")); SourceDir 119 tools/gn/loader_unittest.cc build_settings_.SetBuildDir(SourceDir("//out/Debug/")); SourceDir 162 tools/gn/loader_unittest.cc Label second_tc(SourceDir("//tc2/"), "tc2"); SourceDir 15 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 16 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 41 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 42 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 69 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 70 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 96 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 97 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 170 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 171 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 270 tools/gn/ninja_action_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 271 tools/gn/ninja_action_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 59 tools/gn/ninja_binary_target_writer.cc void operator()(const SourceDir& d, std::ostream& out) const { SourceDir 119 tools/gn/ninja_binary_target_writer.cc RecursiveTargetConfigToStream<SourceDir>(target_, &ConfigValues::include_dirs, SourceDir 261 tools/gn/ninja_binary_target_writer.cc const OrderedSet<SourceDir> all_lib_dirs = target_->all_lib_dirs(); SourceDir 13 tools/gn/ninja_binary_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 16 tools/gn/ninja_binary_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 51 tools/gn/ninja_binary_target_writer_unittest.cc Target shlib_target(setup.settings(), Label(SourceDir("//foo/"), "shlib")); SourceDir 93 tools/gn/ninja_binary_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 97 tools/gn/ninja_binary_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "shlib")); SourceDir 139 tools/gn/ninja_binary_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 144 tools/gn/ninja_binary_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "shlib")); SourceDir 15 tools/gn/ninja_copy_target_writer_unittest.cc setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); SourceDir 16 tools/gn/ninja_copy_target_writer_unittest.cc Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); SourceDir 16 tools/gn/ninja_helper.h class SourceDir; SourceDir 21 tools/gn/ninja_helper_unittest.cc toolchain(&settings, Label(SourceDir("//"), "tc")), SourceDir 22 tools/gn/ninja_helper_unittest.cc target(&settings, Label(SourceDir("//tools/gn/"), "name")) { SourceDir 27 tools/gn/ninja_helper_unittest.cc build_settings.SetBuildDir(SourceDir("/out/Debug/")); SourceDir 12 tools/gn/path_output.cc PathOutput::PathOutput(const SourceDir& current_dir, SourceDir 38 tools/gn/path_output.cc const SourceDir& dir, SourceDir 36 tools/gn/path_output.h PathOutput(const SourceDir& current_dir, SourceDir 44 tools/gn/path_output.h const SourceDir& current_dir() const { return current_dir_; } SourceDir 64 tools/gn/path_output.h const SourceDir& dir, SourceDir 77 tools/gn/path_output.h SourceDir current_dir_; SourceDir 13 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 54 tools/gn/path_output_unittest.cc SourceDir build_dir("//"); SourceDir 71 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 88 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 115 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 129 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 142 tools/gn/path_output_unittest.cc SourceDir build_dir("//out/Debug/"); SourceDir 146 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//foo/bar/"), SourceDir 152 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//foo/bar/"), SourceDir 160 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//"), SourceDir 166 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//"), SourceDir 174 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("/"), SourceDir 180 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("/"), SourceDir 186 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("/"), SourceDir 194 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//out/Debug/"), SourceDir 200 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//out/Debug/"), SourceDir 206 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//out/Debug/foo/"), SourceDir 212 tools/gn/path_output_unittest.cc writer.WriteDir(out, SourceDir("//out/Debug/foo/"), SourceDir 219 tools/gn/path_output_unittest.cc PathOutput root_writer(SourceDir("//"), ESCAPE_NINJA, false); SourceDir 222 tools/gn/path_output_unittest.cc root_writer.WriteDir(out, SourceDir("//"), SourceDir 228 tools/gn/path_output_unittest.cc root_writer.WriteDir(out, SourceDir("//"), SourceDir 385 tools/gn/scope.cc const SourceDir& Scope::GetSourceDir() const { SourceDir 224 tools/gn/scope.h const SourceDir& GetSourceDir() const; SourceDir 225 tools/gn/scope.h void set_source_dir(const SourceDir& d) { source_dir_ = d; } SourceDir 293 tools/gn/scope.h SourceDir source_dir_; SourceDir 22 tools/gn/scope_per_file_provider_unittest.cc scope.set_source_dir(SourceDir("//source/")); SourceDir 39 tools/gn/scope_per_file_provider_unittest.cc Toolchain toolchain(&settings, Label(SourceDir("//toolchain/"), "tc")); SourceDir 43 tools/gn/scope_per_file_provider_unittest.cc scope.set_source_dir(SourceDir("//source/")); SourceDir 26 tools/gn/settings.cc toolchain_output_dir_ = SourceDir(build_settings->build_dir().value() + SourceDir 32 tools/gn/settings.cc toolchain_gen_dir_ = SourceDir(toolchain_output_dir_.value() + "gen/"); SourceDir 71 tools/gn/settings.h const SourceDir& toolchain_output_dir() const { SourceDir 76 tools/gn/settings.h const SourceDir& toolchain_gen_dir() const { SourceDir 118 tools/gn/settings.h SourceDir toolchain_output_dir_; SourceDir 120 tools/gn/settings.h SourceDir toolchain_gen_dir_; SourceDir 297 tools/gn/setup.cc SourceDir resolved = SourceDir 373 tools/gn/setup.cc SourceDir secondary_source; SourceDir 377 tools/gn/setup.cc SourceDir(cmdline.GetSwitchValueASCII(kSecondarySource)); SourceDir 388 tools/gn/setup.cc SourceDir(secondary_value->string_value())); SourceDir 22 tools/gn/source_dir.cc SourceDir::SourceDir() { SourceDir 25 tools/gn/source_dir.cc SourceDir::SourceDir(const base::StringPiece& p) SourceDir 32 tools/gn/source_dir.cc SourceDir::SourceDir(SwapIn, std::string* s) { SourceDir 39 tools/gn/source_dir.cc SourceDir::~SourceDir() { SourceDir 42 tools/gn/source_dir.cc SourceFile SourceDir::ResolveRelativeFile( SourceDir 80 tools/gn/source_dir.cc SourceDir SourceDir::ResolveRelativeDir( SourceDir 83 tools/gn/source_dir.cc SourceDir ret; SourceDir 121 tools/gn/source_dir.cc base::FilePath SourceDir::Resolve(const base::FilePath& source_root) const { SourceDir 142 tools/gn/source_dir.cc void SourceDir::SwapValue(std::string* v) { SourceDir 24 tools/gn/source_dir.h class SourceDir { SourceDir 28 tools/gn/source_dir.h SourceDir(); SourceDir 29 tools/gn/source_dir.h explicit SourceDir(const base::StringPiece& p); SourceDir 32 tools/gn/source_dir.h SourceDir(SwapIn, std::string* s); SourceDir 33 tools/gn/source_dir.h ~SourceDir(); SourceDir 46 tools/gn/source_dir.h SourceDir ResolveRelativeDir( SourceDir 83 tools/gn/source_dir.h bool operator==(const SourceDir& other) const { SourceDir 86 tools/gn/source_dir.h bool operator!=(const SourceDir& other) const { SourceDir 89 tools/gn/source_dir.h bool operator<(const SourceDir& other) const { SourceDir 103 tools/gn/source_dir.h template<> struct hash<SourceDir> { SourceDir 104 tools/gn/source_dir.h std::size_t operator()(const SourceDir& v) const { SourceDir 110 tools/gn/source_dir.h inline size_t hash_value(const SourceDir& v) { SourceDir 9 tools/gn/source_dir_unittest.cc TEST(SourceDir, ResolveRelativeFile) { SourceDir 10 tools/gn/source_dir_unittest.cc SourceDir base("//base/"); SourceDir 38 tools/gn/source_dir_unittest.cc TEST(SourceDir, ResolveRelativeDir) { SourceDir 39 tools/gn/source_dir_unittest.cc SourceDir base("//base/"); SourceDir 42 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("") == SourceDir()); SourceDir 45 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("//foo") == SourceDir("//foo/")); SourceDir 46 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("/foo") == SourceDir("/foo/")); SourceDir 49 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("foo") == SourceDir("//base/foo/")); SourceDir 50 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("./foo") == SourceDir("//base/foo/")); SourceDir 51 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("../foo") == SourceDir("//foo/")); SourceDir 52 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("../../foo/") == SourceDir("//foo/")); SourceDir 58 tools/gn/source_dir_unittest.cc EXPECT_TRUE(base.ResolveRelativeDir("C:\\foo") == SourceDir("/C:/foo/")); SourceDir 35 tools/gn/source_file.cc SourceDir SourceFile::GetDir() const { SourceDir 37 tools/gn/source_file.cc return SourceDir(); SourceDir 41 tools/gn/source_file.cc return SourceDir(base::StringPiece(&value_[0], last_slash + 1)); SourceDir 15 tools/gn/source_file.h class SourceDir; SourceDir 33 tools/gn/source_file.h SourceDir GetDir() const; SourceDir 73 tools/gn/source_file.h friend class SourceDir; SourceDir 135 tools/gn/target.h const OrderedSet<SourceDir>& all_lib_dirs() const { return all_lib_dirs_; } SourceDir 181 tools/gn/target.h OrderedSet<SourceDir> all_lib_dirs_; SourceDir 19 tools/gn/target_unittest.cc toolchain_(&settings_, Label(SourceDir("//tc/"), "tc")) { SourceDir 37 tools/gn/target_unittest.cc Target x(&settings_, Label(SourceDir("//component/"), "x")); SourceDir 38 tools/gn/target_unittest.cc Target y(&settings_, Label(SourceDir("//component/"), "y")); SourceDir 41 tools/gn/target_unittest.cc Target g(&settings_, Label(SourceDir("//group/"), "g")); SourceDir 48 tools/gn/target_unittest.cc Target b(&settings_, Label(SourceDir("//app/"), "b")); SourceDir 51 tools/gn/target_unittest.cc Target a(&settings_, Label(SourceDir("//app/"), "a")); SourceDir 70 tools/gn/target_unittest.cc const SourceDir libdir("/foo_dir/"); SourceDir 73 tools/gn/target_unittest.cc Target z(&settings_, Label(SourceDir("//foo/"), "z")); SourceDir 88 tools/gn/target_unittest.cc const SourceDir second_libdir("/bar_dir/"); SourceDir 89 tools/gn/target_unittest.cc Target shared(&settings_, Label(SourceDir("//foo/"), "shared")); SourceDir 104 tools/gn/target_unittest.cc Target exec(&settings_, Label(SourceDir("//foo/"), "exec")); SourceDir 116 tools/gn/target_unittest.cc Target a(&settings_, Label(SourceDir("//foo/"), "a")); SourceDir 118 tools/gn/target_unittest.cc Target b(&settings_, Label(SourceDir("//foo/"), "b")); SourceDir 120 tools/gn/target_unittest.cc Target c(&settings_, Label(SourceDir("//foo/"), "c")); SourceDir 126 tools/gn/target_unittest.cc Config config(&settings_, Label(SourceDir("//foo/"), "config")); SourceDir 130 tools/gn/target_unittest.cc Config all(&settings_, Label(SourceDir("//foo/"), "all")); SourceDir 134 tools/gn/target_unittest.cc Config direct(&settings_, Label(SourceDir("//foo/"), "direct")); SourceDir 154 tools/gn/target_unittest.cc Target a_fwd(&settings_, Label(SourceDir("//foo/"), "a_fwd")); SourceDir 156 tools/gn/target_unittest.cc Target b_fwd(&settings_, Label(SourceDir("//foo/"), "b_fwd")); SourceDir 10 tools/gn/test_with_scope.cc toolchain_(&settings_, Label(SourceDir("//toolchain/"), "default")), SourceDir 12 tools/gn/test_with_scope.cc build_settings_.SetBuildDir(SourceDir("//out/Debug/")); SourceDir 19 tools/gn/value_extractors.cc const SourceDir& current_dir_in) SourceDir 38 tools/gn/value_extractors.cc const SourceDir& current_dir; SourceDir 43 tools/gn/value_extractors.cc const SourceDir& current_dir_in) SourceDir 47 tools/gn/value_extractors.cc bool operator()(const Value& v, SourceDir* out, Err* err) const { SourceDir 55 tools/gn/value_extractors.cc const SourceDir& current_dir; SourceDir 60 tools/gn/value_extractors.cc LabelResolver(const SourceDir& current_dir_in, SourceDir 71 tools/gn/value_extractors.cc const SourceDir& current_dir; SourceDir 94 tools/gn/value_extractors.cc const SourceDir& current_dir, SourceDir 103 tools/gn/value_extractors.cc const SourceDir& current_dir, SourceDir 104 tools/gn/value_extractors.cc std::vector<SourceDir>* dest, SourceDir 111 tools/gn/value_extractors.cc const SourceDir& current_dir, SourceDir 121 tools/gn/value_extractors.cc const SourceDir& current_dir, SourceDir 132 tools/gn/value_extractors.cc const SourceDir& current_dir, SourceDir 17 tools/gn/value_extractors.h class SourceDir; SourceDir 44 tools/gn/value_extractors.h const SourceDir& current_dir, SourceDir 51 tools/gn/value_extractors.h const SourceDir& current_dir, SourceDir 52 tools/gn/value_extractors.h std::vector<SourceDir>* dest, SourceDir 58 tools/gn/value_extractors.h const SourceDir& current_dir, SourceDir 63 tools/gn/value_extractors.h const SourceDir& current_dir, SourceDir 70 tools/gn/value_extractors.h const SourceDir& current_dir, SourceDir 21 tools/gn/visibility.cc const SourceDir& dir, SourceDir 55 tools/gn/visibility.cc bool Visibility::Set(const SourceDir& current_dir, SourceDir 82 tools/gn/visibility.cc VisPattern(VisPattern::RECURSIVE_DIRECTORY, SourceDir(), std::string())); SourceDir 85 tools/gn/visibility.cc void Visibility::SetPrivate(const SourceDir& current_dir) { SourceDir 124 tools/gn/visibility.cc Visibility::VisPattern Visibility::GetPattern(const SourceDir& current_dir, SourceDir 171 tools/gn/visibility.cc SourceDir dir; SourceDir 32 tools/gn/visibility.h VisPattern(Type type, const SourceDir& dir, const base::StringPiece& name); SourceDir 38 tools/gn/visibility.h const SourceDir& dir() const { return dir_; } SourceDir 46 tools/gn/visibility.h SourceDir dir_; SourceDir 59 tools/gn/visibility.h bool Set(const SourceDir& current_dir, const Value& value, Err* err); SourceDir 65 tools/gn/visibility.h void SetPrivate(const SourceDir& current_dir); SourceDir 76 tools/gn/visibility.h static VisPattern GetPattern(const SourceDir& current_dir, SourceDir 25 tools/gn/visibility_unittest.cc SourceDir current_dir("//foo/"); SourceDir 74 tools/gn/visibility_unittest.cc ASSERT_TRUE(vis.Set(SourceDir("//"), list, &err)); SourceDir 76 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//random/"), "thing"))); SourceDir 77 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//my/"), "notname"))); SourceDir 79 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//my/"), "name"))); SourceDir 80 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/"), "anything"))); SourceDir 81 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/a/"), "anything"))); SourceDir 82 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/b/"), "anything"))); SourceDir 83 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//dir/"), "anything"))); SourceDir 84 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//dir/a/"), "anything"))); SourceDir 85 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//directory/"), "anything"))); SourceDir 91 tools/gn/visibility_unittest.cc ASSERT_TRUE(vis.Set(SourceDir("//"), Value(NULL, "*"), &err)); SourceDir 93 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//random/"), "thing"))); SourceDir 94 tools/gn/visibility_unittest.cc EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//"), ""))); SourceDir 100 tools/gn/visibility_unittest.cc ASSERT_TRUE(vis.Set(SourceDir("//"), Value(NULL, Value::LIST), &err)); SourceDir 102 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//random/"), "thing"))); SourceDir 103 tools/gn/visibility_unittest.cc EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//"), "")));