HomeSort by relevance Sort by last modified time
    Searched full:sourcedir (Results 1 - 25 of 217) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/tools/gn/
source_dir_unittest.cc 9 TEST(SourceDir, ResolveRelativeFile) {
10 SourceDir base("//base/");
38 TEST(SourceDir, ResolveRelativeDir) {
39 SourceDir base("//base/");
42 EXPECT_TRUE(base.ResolveRelativeDir("") == SourceDir());
45 EXPECT_TRUE(base.ResolveRelativeDir("//foo") == SourceDir("//foo/"));
46 EXPECT_TRUE(base.ResolveRelativeDir("/foo") == SourceDir("/foo/"));
49 EXPECT_TRUE(base.ResolveRelativeDir("foo") == SourceDir("//base/foo/"));
50 EXPECT_TRUE(base.ResolveRelativeDir("./foo") == SourceDir("//base/foo/"));
51 EXPECT_TRUE(base.ResolveRelativeDir("../foo") == SourceDir("//foo/"))
    [all...]
visibility_unittest.cc 25 SourceDir current_dir("//foo/");
74 ASSERT_TRUE(vis.Set(SourceDir("//"), list, &err));
76 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//random/"), "thing")));
77 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//my/"), "notname")));
79 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//my/"), "name")));
80 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/"), "anything")));
81 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/a/"), "anything")));
82 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//rec/b/"), "anything")));
83 EXPECT_TRUE(vis.CanSeeMe(Label(SourceDir("//dir/"), "anything")));
84 EXPECT_FALSE(vis.CanSeeMe(Label(SourceDir("//dir/a/"), "anything")))
    [all...]
filesystem_utils_unittest.cc 77 SourceDir empty;
80 SourceDir root("/");
83 SourceDir srcroot("//");
86 SourceDir regular1("//foo/");
89 SourceDir regular2("//foo/bar/");
145 EXPECT_TRUE(InvertDir(SourceDir()) == "");
146 EXPECT_TRUE(InvertDir(SourceDir("/")) == "");
147 EXPECT_TRUE(InvertDir(SourceDir("//")) == "");
149 EXPECT_TRUE(InvertDir(SourceDir("//foo/bar")) == "../../");
150 EXPECT_TRUE(InvertDir(SourceDir("//foo\\bar")) == "../../")
    [all...]
value_extractors.h 17 class SourceDir;
44 const SourceDir& current_dir,
51 const SourceDir& current_dir,
52 std::vector<SourceDir>* dest,
58 const SourceDir& current_dir,
63 const SourceDir& current_dir,
70 const SourceDir& current_dir,
source_dir.h 24 class SourceDir {
28 SourceDir();
29 explicit SourceDir(const base::StringPiece& p);
32 SourceDir(SwapIn, std::string* s);
33 ~SourceDir();
36 // an empty SourceDir/File on error. Empty input is always an error (it's
46 SourceDir ResolveRelativeDir(
83 bool operator==(const SourceDir& other) const {
86 bool operator!=(const SourceDir& other) const {
89 bool operator<(const SourceDir& other) const
    [all...]
value_extractors.cc 19 const SourceDir& current_dir_in)
38 const SourceDir& current_dir;
43 const SourceDir& current_dir_in)
47 bool operator()(const Value& v, SourceDir* out, Err* err) const {
55 const SourceDir& current_dir;
60 LabelResolver(const SourceDir& current_dir_in,
71 const SourceDir& current_dir;
94 const SourceDir& current_dir,
103 const SourceDir& current_dir,
104 std::vector<SourceDir>* dest
    [all...]
config_values_extractors_unittest.cc 22 void operator()(const SourceDir& dir, std::ostream& out) const {
37 Config dep2_all(setup.settings(), Label(SourceDir("//dep2/"), "all"));
39 dep2_all.config_values().include_dirs().push_back(SourceDir("//dep2/all/"));
41 Config dep2_direct(setup.settings(), Label(SourceDir("//dep2/"), "direct"));
44 SourceDir("//dep2/direct/"));
46 Target dep2(setup.settings(), Label(SourceDir("//dep2/"), "dep2"));
52 Config dep1_all(setup.settings(), Label(SourceDir("//dep1/"), "all"));
54 dep1_all.config_values().include_dirs().push_back(SourceDir("//dep1/all/"));
56 Config dep1_direct(setup.settings(), Label(SourceDir("//dep1/"), "direct"));
59 SourceDir("//dep1/direct/"))
    [all...]
config_values.h 25 const std::vector<SourceDir>& name() const { return name##_; } \
26 std::vector<SourceDir>& name() { return name##_; }
49 std::vector<SourceDir> include_dirs_;
51 std::vector<SourceDir> lib_dirs_;
path_output_unittest.cc 13 SourceDir build_dir("//out/Debug/");
54 SourceDir build_dir("//");
71 SourceDir build_dir("//out/Debug/");
88 SourceDir build_dir("//out/Debug/");
141 SourceDir build_dir("//out/Debug/");
164 SourceDir build_dir("//out/Debug/");
168 writer.WriteDir(out, SourceDir("//foo/bar/"),
174 writer.WriteDir(out, SourceDir("//foo/bar/"),
182 writer.WriteDir(out, SourceDir("//"),
188 writer.WriteDir(out, SourceDir("//"),
    [all...]
target_unittest.cc 19 toolchain_(&settings_, Label(SourceDir("//tc/"), "tc")) {
37 Target x(&settings_, Label(SourceDir("//component/"), "x"));
38 Target y(&settings_, Label(SourceDir("//component/"), "y"));
41 Target g(&settings_, Label(SourceDir("//group/"), "g"));
48 Target b(&settings_, Label(SourceDir("//app/"), "b"));
51 Target a(&settings_, Label(SourceDir("//app/"), "a"));
70 const SourceDir libdir("/foo_dir/");
73 Target z(&settings_, Label(SourceDir("//foo/"), "z"));
88 const SourceDir second_libdir("/bar_dir/");
89 Target shared(&settings_, Label(SourceDir("//foo/"), "shared"))
    [all...]
source_dir.cc 22 SourceDir::SourceDir() {
25 SourceDir::SourceDir(const base::StringPiece& p)
32 SourceDir::SourceDir(SwapIn, std::string* s) {
39 SourceDir::~SourceDir() {
42 SourceFile SourceDir::ResolveRelativeFile(
80 SourceDir SourceDir::ResolveRelativeDir
    [all...]
label.h 24 Label(const SourceDir& dir,
26 const SourceDir& toolchain_dir,
30 Label(const SourceDir& dir, const base::StringPiece& name);
36 static Label Resolve(const SourceDir& current_dir,
43 const SourceDir& dir() const { return dir_; }
46 const SourceDir& toolchain_dir() const { return toolchain_dir_; }
94 SourceDir dir_;
97 SourceDir toolchain_dir_;
build_settings.cc 33 void BuildSettings::SetSecondarySourcePath(const SourceDir& d) {
37 void BuildSettings::SetBuildDir(const SourceDir& d) {
46 base::FilePath BuildSettings::GetFullPath(const SourceDir& dir) const {
56 const SourceDir& dir) const {
config_values_generator.cc 35 const SourceDir input_dir,
36 std::vector<SourceDir>& (ConfigValues::* accessor)(),
42 std::vector<SourceDir> result;
53 const SourceDir& input_dir,
filesystem_utils.h 98 base::StringPiece FindLastDirComponent(const SourceDir& dir);
109 bool EnsureStringIsInOutputDir(const SourceDir& dir,
137 std::string InvertDir(const SourceDir& dir);
149 const SourceDir& dest_dir);
156 std::string DirectoryWithNoLastSlash(const SourceDir& dir);
158 // Returns the "best" SourceDir representing the given path. If it's inside the
162 SourceDir SourceDirForPath(const base::FilePath& source_root,
165 // Like SourceDirForPath but returns the SourceDir representing the current
167 SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root);
178 SourceDir GetToolchainOutputDir(const Settings* settings)
    [all...]
build_settings.h 45 void SetSecondarySourcePath(const SourceDir& d);
57 const SourceDir& build_dir() const { return build_dir_; }
58 void SetBuildDir(const SourceDir& dir);
73 base::FilePath GetFullPath(const SourceDir& dir) const;
79 base::FilePath GetFullPathSecondary(const SourceDir& dir) const;
101 SourceDir build_dir_;
visibility.h 32 VisPattern(Type type, const SourceDir& dir, const base::StringPiece& name);
38 const SourceDir& dir() const { return dir_; }
46 SourceDir dir_;
59 bool Set(const SourceDir& current_dir, const Value& value, Err* err);
65 void SetPrivate(const SourceDir& current_dir);
79 static VisPattern GetPattern(const SourceDir& current_dir,
scope_per_file_provider_unittest.cc 22 scope.set_source_dir(SourceDir("//source/"));
39 Toolchain toolchain(&settings, Label(SourceDir("//toolchain/"), "tc"));
43 scope.set_source_dir(SourceDir("//source/"));
source_file.cc 35 SourceDir SourceFile::GetDir() const {
37 return SourceDir();
41 return SourceDir(base::StringPiece(&value_[0], last_slash + 1));
builder_unittest.cc 67 build_settings_.SetBuildDir(SourceDir("//out/"));
68 settings_.set_toolchain_label(Label(SourceDir("//tc/"), "default"));
89 SourceDir toolchain_dir = settings_.toolchain_label().dir();
101 Label a_label(SourceDir("//a/"), "a", toolchain_dir, toolchain_name);
102 Label b_label(SourceDir("//b/"), "b", toolchain_dir, toolchain_name);
103 Label c_label(SourceDir("//c/"), "c", toolchain_dir, toolchain_name);
183 Label toolchain_label2(SourceDir("//tc/"), "secondary");
190 Label a_label(SourceDir("//foo/"), "a",
192 Label b_label(SourceDir("//foo/"), "b",
path_output.h 36 PathOutput(const SourceDir& current_dir, EscapingMode escaping);
42 const SourceDir& current_dir() const { return current_dir_; }
53 const SourceDir& dir,
66 SourceDir current_dir_;
  /frameworks/base/core/java/android/content/pm/
InstrumentationInfo.java 37 public String sourceDir;
40 * Full path to the publicly available parts of {@link #sourceDir},
42 * {@link #sourceDir} if an application is forward locked.
48 * APK defined in {@link #sourceDir}, form a complete application.
86 sourceDir = orig.sourceDir;
107 dest.writeString(sourceDir);
128 sourceDir = source.readString();
  /cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DocletRunner.java 31 DocletRunner(File sourceDir, File docletPath) {
32 mSourceDir = sourceDir;
70 private String getSourcePath(File sourceDir) {
80 sourcePath.add(sourceDir.toString());
91 private List<String> getSourceFiles(File sourceDir) {
94 File[] files = sourceDir.listFiles(new FileFilter() {
CtsJavaScanner.java 34 File sourceDir = null;
39 sourceDir = new File(getArg(args, ++i, "Missing value for source directory"));
48 if (sourceDir == null) {
58 DocletRunner runner = new DocletRunner(sourceDir, docletPath);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
show-pretty-diff 63 my $prettyPatchDir = sourceDir() . "/Tools/Scripts/webkitruby/PrettyPatch/";
64 my $prettyPatchTool = sourceDir() . "/Tools/Scripts/webkitruby/PrettyPatch/prettify.rb";
66 my $pathToPrettify = "ruby -I " . sourceDir() . "/Tools/Scripts/webkitruby/PrettyPatch/ " . sourceDir() . "/Tools/Scripts/webkitruby/PrettyPatch/prettify.rb";

Completed in 160 milliseconds

1 2 3 4 5 6 7 8 9