Searched refs:SourceFile (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/tools/gn/
H A Daction_values.h22 const SourceFile& script() const { return script_; }
23 void set_script(const SourceFile& s) { script_ = s; }
31 std::vector<SourceFile>& outputs() { return outputs_; }
32 const std::vector<SourceFile>& outputs() const { return outputs_; }
33 void swap_in_outputs(std::vector<SourceFile>* op) { outputs_.swap(*op); }
36 const SourceFile& depfile() const { return depfile_; }
38 void set_depfile(const SourceFile& depfile) { depfile_ = depfile; }
41 SourceFile script_;
43 std::vector<SourceFile> outputs_;
44 SourceFile depfile
[all...]
H A Dsource_dir_unittest.cc13 EXPECT_TRUE(base.ResolveRelativeFile("") == SourceFile());
16 EXPECT_TRUE(base.ResolveRelativeFile("//foo/bar/") == SourceFile());
17 EXPECT_TRUE(base.ResolveRelativeFile("bar/") == SourceFile());
20 EXPECT_TRUE(base.ResolveRelativeFile("//foo") == SourceFile("//foo"));
21 EXPECT_TRUE(base.ResolveRelativeFile("/foo") == SourceFile("/foo"));
24 EXPECT_TRUE(base.ResolveRelativeFile("foo") == SourceFile("//base/foo"));
25 EXPECT_TRUE(base.ResolveRelativeFile("./foo") == SourceFile("//base/foo"));
26 EXPECT_TRUE(base.ResolveRelativeFile("../foo") == SourceFile("//foo"));
27 EXPECT_TRUE(base.ResolveRelativeFile("../../foo") == SourceFile("//foo"));
34 SourceFile("/
[all...]
H A Dsource_file.h19 class SourceFile { class
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
[all...]
H A Dimport_manager.h15 class SourceFile;
26 bool DoImport(const SourceFile& file,
35 typedef std::map<SourceFile, const Scope*> ImportMap;
H A Dsource_file.cc12 SourceFile::SourceFile() { function in class:SourceFile
15 SourceFile::SourceFile(const base::StringPiece& p) function in class:SourceFile
22 SourceFile::~SourceFile() {
25 std::string SourceFile::GetName() const {
35 SourceDir SourceFile::GetDir() const {
44 base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const {
H A Dloader_unittest.cc33 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,
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,
89 bool MockInputFileManager::HasOnePending(const SourceFile& f) const {
93 bool MockInputFileManager::HasTwoPending(const SourceFile
[all...]
H A Dheader_checker.h24 class SourceFile;
58 void DoWork(const Target* target, const SourceFile& file);
65 bool IsFileInOuputDir(const SourceFile& file) const;
67 // Resolves the contents of an include to a SourceFile.
68 SourceFile SourceFileForInclude(const base::StringPiece& input) const;
73 const SourceFile& file,
82 const SourceFile& include_file,
125 typedef std::map<SourceFile, TargetVector> FileMap;
H A Dinput_file_manager.h55 const SourceFile& file_name,
64 const SourceFile& file_name,
82 void AddDynamicInput(const SourceFile& name,
97 InputFileData(const SourceFile& file_name);
126 const SourceFile& name,
132 const SourceFile& name,
139 typedef base::hash_map<SourceFile, InputFileData*> InputFileMap;
H A Dninja_action_target_writer_unittest.cc19 SourceFile("//out/Debug/gen/a b{{source_name_part}}.h"));
21 SourceFile("//out/Debug/gen/{{source_name_part}}.cc"));
28 SourceFile source("//foo/bar.in");
49 writer.WriteArgsSubstitutions(SourceFile("//foo/b ar.in"), args_template);
69 target.action_values().set_script(SourceFile("//foo/script.py"));
71 target.sources().push_back(SourceFile("//foo/source.txt"));
72 target.inputs().push_back(SourceFile("//foo/included.txt"));
75 SourceFile("//out/Debug/foo.out"));
148 target.sources().push_back(SourceFile("//foo/input1.txt"));
149 target.sources().push_back(SourceFile("//fo
[all...]
H A Dinput_file.h18 InputFile(const SourceFile& name);
25 const SourceFile& name() const { return name_; }
53 SourceFile name_;
H A Dloader.h23 class SourceFile;
40 virtual void Load(const SourceFile& file,
60 static SourceFile BuildFileForLabel(const Label& label);
78 const SourceFile&,
85 virtual void Load(const SourceFile& file,
123 const SourceFile& file);
131 const SourceFile& file_name,
157 const SourceFile& file_name,
H A Dpath_output_unittest.cc18 writer.WriteFile(out, SourceFile("//foo/bar.cc"));
24 writer.WriteFile(out, SourceFile("//foo.cc"));
30 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc"));
32 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc"));
39 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc"));
46 writer.WriteFile(out, SourceFile("/foo/bar.cc"));
59 writer.WriteFile(out, SourceFile("//foo/bar.cc"));
65 writer.WriteFile(out, SourceFile("//foo.cc"));
76 writer.WriteFile(out, SourceFile("//foo/foo bar$.cc"));
82 writer.WriteFile(out, SourceFile("//fo
[all...]
H A Dinput_file.cc9 InputFile::InputFile(const SourceFile& name)
H A Dbuild_settings.h51 const SourceFile& build_config_file() const { return build_config_file_; }
52 void set_build_config_file(const SourceFile& f) { build_config_file_ = f; }
72 base::FilePath GetFullPath(const SourceFile& file) const;
78 base::FilePath GetFullPathSecondary(const SourceFile& file) const;
100 SourceFile build_config_file_;
H A Dfile_template.h18 class SourceFile;
63 FileTemplate(const Settings* settings, const std::vector<SourceFile>& t);
79 void Apply(const SourceFile& source,
109 const SourceFile& source,
119 const SourceFile& source,
H A Dninja_helper_unittest.cc57 SourceFile("//tools/gn/foo.cc"),
67 SourceFile("//tools/gn/foo.o"),
72 SourceFile("//tools/gn/foo.obj"),
78 SourceFile("//out/Debug/nested/foo.o"),
83 SourceFile("/abs/rooted/foo.o"),
H A Dninja_target_writer_unittest.cc38 base_target.action_values().set_script(SourceFile("//foo/script.py"));
44 target.inputs().push_back(SourceFile("//foo/input.txt"));
45 target.sources().push_back(SourceFile("//foo/source.txt"));
52 action.action_values().set_script(SourceFile("//foo/script.py"));
53 action.sources().push_back(SourceFile("//foo/action_source.txt"));
H A Dninja_binary_target_writer_unittest.cc18 target.sources().push_back(SourceFile("//foo/input1.cc"));
19 target.sources().push_back(SourceFile("//foo/input2.cc"));
22 target.sources().push_back(SourceFile("//foo/input3.o"));
23 target.sources().push_back(SourceFile("//foo/input4.obj"));
144 target.sources().push_back(SourceFile("//foo/input1.cc"));
145 target.sources().push_back(SourceFile("//foo/input2.cc"));
191 target.sources().push_back(SourceFile("//foo/input1.cc"));
192 target.sources().push_back(SourceFile("//foo/input2.cc"));
H A Dninja_helper.h17 class SourceFile;
43 const SourceFile& source,
H A Doutput_file.h25 // Converts to a SourceFile by prepending the build directory to the file.
26 SourceFile GetSourceFile(const BuildSettings* build_settings) const {
27 return SourceFile(build_settings->build_dir().value() + value_);
H A Dninja_action_target_writer.h56 void WriteArgsSubstitutions(const SourceFile& source,
67 const SourceFile& source,
70 void WriteDepfile(const SourceFile& source);
H A Dninja_copy_target_writer_unittest.cc19 target.sources().push_back(SourceFile("//foo/input1.txt"));
20 target.sources().push_back(SourceFile("//foo/input2.txt"));
23 SourceFile("//out/Debug/{{source_name_part}}.out"));
H A Dsource_dir.h15 class SourceFile;
43 SourceFile ResolveRelativeFile(
94 friend class SourceFile;
/external/proguard/examples/
H A Dapplets.pro20 -renamesourcefileattribute SourceFile
21 -keepattributes SourceFile,LineNumberTable
H A Dapplications.pro24 -renamesourcefileattribute SourceFile
25 -keepattributes SourceFile,LineNumberTable

Completed in 253 milliseconds

1234