/external/chromium_org/tools/gn/ |
D | script_values.h | 22 const SourceFile& script() const { return script_; } in script() 23 void set_script(const SourceFile& s) { script_ = s; } in set_script() 31 std::vector<SourceFile>& outputs() { return outputs_; } in outputs() 32 const std::vector<SourceFile>& outputs() const { return outputs_; } in outputs() 33 void swap_in_outputs(std::vector<SourceFile>* op) { outputs_.swap(*op); } in swap_in_outputs() 36 const SourceFile& depfile() const { return depfile_; } in depfile() 38 void set_depfile(const SourceFile& depfile) { depfile_ = depfile; } in set_depfile() 41 SourceFile script_; 43 std::vector<SourceFile> outputs_; 44 SourceFile depfile_;
|
D | source_dir_unittest.cc | 13 EXPECT_TRUE(base.ResolveRelativeFile("") == SourceFile()); in TEST() 16 EXPECT_TRUE(base.ResolveRelativeFile("//foo/bar/") == SourceFile()); in TEST() 17 EXPECT_TRUE(base.ResolveRelativeFile("bar/") == SourceFile()); in TEST() 20 EXPECT_TRUE(base.ResolveRelativeFile("//foo") == SourceFile("//foo")); in TEST() 21 EXPECT_TRUE(base.ResolveRelativeFile("/foo") == SourceFile("/foo")); in TEST() 24 EXPECT_TRUE(base.ResolveRelativeFile("foo") == SourceFile("//base/foo")); in TEST() 25 EXPECT_TRUE(base.ResolveRelativeFile("./foo") == SourceFile("//base/foo")); in TEST() 26 EXPECT_TRUE(base.ResolveRelativeFile("../foo") == SourceFile("//foo")); in TEST() 27 EXPECT_TRUE(base.ResolveRelativeFile("../../foo") == SourceFile("//foo")); in TEST() 34 SourceFile("/C:\\foo\\bar.txt")); in TEST()
|
D | source_file.h | 19 class SourceFile { 21 SourceFile(); 24 explicit SourceFile(const base::StringPiece& p); 26 ~SourceFile(); 62 bool operator==(const SourceFile& other) const { 65 bool operator!=(const SourceFile& other) const { 68 bool operator<(const SourceFile& other) const { 83 template<> struct hash<SourceFile> { 84 std::size_t operator()(const SourceFile& v) const { 90 inline size_t hash_value(const SourceFile& v) {
|
D | loader_unittest.cc | 33 void AddCannedResponse(const SourceFile& source_file, 37 bool HasOnePending(const SourceFile& f) const; 38 bool HasTwoPending(const SourceFile& f1, const SourceFile& f2) const; 51 const SourceFile& file_name, in AsyncLoadFile() 59 typedef std::map<SourceFile, linked_ptr<CannedResult> > CannedResponseMap; 62 std::vector< std::pair<SourceFile, Callback> > pending_; 71 void MockInputFileManager::AddCannedResponse(const SourceFile& source_file, in AddCannedResponse() 89 bool MockInputFileManager::HasOnePending(const SourceFile& f) const { in HasOnePending() 93 bool MockInputFileManager::HasTwoPending(const SourceFile& f1, in HasTwoPending() 94 const SourceFile& f2) const { in HasTwoPending() [all …]
|
D | ninja_script_target_writer_unittest.cc | 19 SourceFile("//out/Debug/gen/a b{{source_name_part}}.h")); in TEST() 21 SourceFile("//out/Debug/gen/{{source_name_part}}.cc")); in TEST() 28 SourceFile source("//foo/bar.in"); in TEST() 45 SourceFile("//out/Debug/gen/{{source_name_part}}.d")); in TEST() 47 SourceFile("//out/Debug/gen/{{source_name_part}}.h")); in TEST() 49 SourceFile("//out/Debug/gen/{{source_name_part}}.cc")); in TEST() 56 SourceFile source("//foo/bar.in"); in TEST() 81 writer.WriteArgsSubstitutions(SourceFile("//foo/b ar.in"), args_template); in TEST() 98 target.sources().push_back(SourceFile("//foo/input1.txt")); in TEST() 99 target.sources().push_back(SourceFile("//foo/input2.txt")); in TEST() [all …]
|
D | source_file.cc | 12 SourceFile::SourceFile() { in SourceFile() function in SourceFile 15 SourceFile::SourceFile(const base::StringPiece& p) in SourceFile() function in SourceFile 22 SourceFile::~SourceFile() { in ~SourceFile() 25 std::string SourceFile::GetName() const { in GetName() 35 SourceDir SourceFile::GetDir() const { in GetDir() 44 base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const { in Resolve()
|
D | path_output_unittest.cc | 18 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 24 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 30 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc")); in TEST() 32 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc")); in TEST() 39 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc")); in TEST() 46 writer.WriteFile(out, SourceFile("/foo/bar.cc")); in TEST() 59 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 65 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 76 writer.WriteFile(out, SourceFile("//foo/foo bar$.cc")); in TEST() 82 writer.WriteFile(out, SourceFile("//foo/\"foo\\bar\".cc")); in TEST() [all …]
|
D | loader.h | 22 class SourceFile; variable 39 virtual void Load(const SourceFile& file, 58 static SourceFile BuildFileForLabel(const Label& label); 76 const SourceFile&, 83 virtual void Load(const SourceFile& file, 118 const SourceFile& file); 126 const SourceFile& file_name, 152 const SourceFile& file_name,
|
D | input_file_manager.h | 55 const SourceFile& file_name, 64 const SourceFile& file_name, 76 InputFileData(const SourceFile& file_name); 105 const SourceFile& name, 111 const SourceFile& name, 118 typedef base::hash_map<SourceFile, InputFileData*> InputFileMap;
|
D | build_settings.h | 50 const SourceFile& build_config_file() const { return build_config_file_; } in build_config_file() 51 void set_build_config_file(const SourceFile& f) { build_config_file_ = f; } in set_build_config_file() 71 base::FilePath GetFullPath(const SourceFile& file) const; 77 base::FilePath GetFullPathSecondary(const SourceFile& file) const; 92 SourceFile build_config_file_;
|
D | gyp_helper.cc | 20 SourceFile GypHelper::GetGypFileForTarget(const Target* target, in GetGypFileForTarget() 41 return SourceFile(); in GetGypFileForTarget() 44 return SourceFile(dir + dir_name + ".gyp"); in GetGypFileForTarget() 56 SourceFile gypfile = GetGypFileForTarget(target, &err); in GetFullRefForTarget() 69 std::string GypHelper::GetFileReference(const SourceFile& file) const { in GetFileReference()
|
D | import_manager.h | 15 class SourceFile; variable 26 bool DoImport(const SourceFile& file, 35 typedef std::map<SourceFile, const Scope*> ImportMap;
|
D | gyp_helper.h | 14 class SourceFile; variable 24 SourceFile GetGypFileForTarget(const Target* target, Err* err) const; 34 std::string GetFileReference(const SourceFile& file) const;
|
D | input_file.h | 18 InputFile(const SourceFile& name); 25 const SourceFile& name() const { return name_; } in name() 53 SourceFile name_;
|
D | builder_unittest.cc | 20 virtual void Load(const SourceFile& file, in Load() 39 bool HasLoadedOne(const SourceFile& f) { in HasLoadedOne() 51 bool HasLoadedTwo(const SourceFile& a, const SourceFile& b) { in HasLoadedTwo() 67 std::vector<SourceFile> files_; 122 EXPECT_TRUE(loader_->HasLoadedTwo(SourceFile("//tc/BUILD.gn"), in TEST_F() 123 SourceFile("//b/BUILD.gn"))); in TEST_F()
|
D | loader.cc | 40 LoadID(const SourceFile& f, const Label& tc_name) in LoadID() 51 SourceFile file; 77 std::vector<SourceFile> waiting_on_me; 95 SourceFile Loader::BuildFileForLabel(const Label& label) { in BuildFileForLabel() 96 return SourceFile(label.dir().value() + "BUILD.gn"); in BuildFileForLabel() 112 void LoaderImpl::Load(const SourceFile& file, in Load() 205 const SourceFile& file) { in ScheduleLoadFile() 233 const SourceFile& file_name, in BackgroundLoadFile() 392 const SourceFile& file_name, in AsyncLoadFile()
|
D | gyp_script_target_writer_unittest.cc | 17 target->sources().push_back(SourceFile("//foo/input1.txt")); in TEST() 18 target->sources().push_back(SourceFile("//foo/input2.txt")); in TEST() 21 SourceFile("//out/Debug/{{source_file_part}}.out")); in TEST()
|
D | ninja_script_target_writer.h | 56 void WriteArgsSubstitutions(const SourceFile& source, 67 const SourceFile& source, 70 void WriteDepfile(const SourceFile& source);
|
D | tokenizer_unittest.cc | 19 InputFile input_file(SourceFile("/test")); in CheckTokenizer() 39 InputFile empty_string_input(SourceFile("/test")); in TEST() 46 InputFile whitespace_input(SourceFile("/test")); in TEST() 135 InputFile input(SourceFile("/test")); in TEST() 146 InputFile input(SourceFile("/test")); in TEST()
|
D | ninja_copy_target_writer_unittest.cc | 19 target.sources().push_back(SourceFile("//foo/input1.txt")); in TEST() 20 target.sources().push_back(SourceFile("//foo/input2.txt")); in TEST() 23 SourceFile("//out/Debug/{{source_name_part}}.out")); in TEST()
|
D | target.h | 40 typedef std::vector<SourceFile> FileList; 135 const SourceFile& gyp_file() const { return gyp_file_; } in gyp_file() 136 void set_gyp_file(const SourceFile& gf) { gyp_file_ = gf; } in set_gyp_file() 186 SourceFile gyp_file_;
|
D | source_dir.h | 15 class SourceFile; variable 43 SourceFile ResolveRelativeFile( 94 friend class SourceFile;
|
D | value_extractors.h | 18 class SourceFile; variable 45 std::vector<SourceFile>* files, 71 SourceFile* file,
|
D | input_file_manager.cc | 25 InputFileManager::InputFileData::InputFileData(const SourceFile& file_name) in InputFileData() 45 const SourceFile& file_name, in AsyncLoadFile() 103 const SourceFile& file_name, in SyncLoadFile() 187 const SourceFile& name, in BackgroundLoadFile() 196 const SourceFile& name, in LoadFile()
|
D | ninja_script_target_writer.cc | 43 WriteDepfile(SourceFile()); in Run() 57 WriteDepfile(SourceFile()); in Run() 122 const SourceFile& source, in WriteArgsSubstitutions() 182 const SourceFile& source, in WriteOutputFilesForBuildLine() 200 void NinjaScriptTargetWriter::WriteDepfile(const SourceFile& source) { in WriteDepfile()
|