Home
last modified time | relevance | path

Searched refs:source_root (Results 1 – 25 of 57) sorted by relevance

123

/third_party/gn/src/gn/
Dsource_dir_unittest.cc16 std::string_view source_root("C:/source/root"); in TEST() local
18 std::string_view source_root("/source/root"); in TEST() local
23 source_root) == SourceFile()); in TEST()
29 source_root) == SourceFile()); in TEST()
34 source_root) == SourceFile()); in TEST()
40 source_root) == SourceFile("//foo")); in TEST()
44 source_root) == SourceFile("/foo")); in TEST()
49 base.ResolveRelativeFile(Value(nullptr, "foo"), &err, source_root) == in TEST()
53 base.ResolveRelativeFile(Value(nullptr, "./foo"), &err, source_root) == in TEST()
57 source_root) == SourceFile("//foo")); in TEST()
[all …]
Dsource_dir.cc81 std::string_view source_root) const { in ResolveRelativeAs()
85 return ResolveRelative(input_value, value_.str(), as_file, source_root); in ResolveRelativeAs()
90 std::string_view source_root) const { in ResolveRelativeFile()
100 ret.SetValue(ResolveRelative(input_string, value_.str(), true, source_root)); in ResolveRelativeFile()
107 std::string_view source_root) const { in ResolveRelativeDir()
110 input_value, err, source_root)); in ResolveRelativeDir()
117 std::string_view source_root, in ResolveRelativeAs() argument
126 ResolveRelativeAs(as_file, v, *v_value, err, source_root); in ResolveRelativeAs()
134 std::string_view source_root) const { in ResolveRelativeDir()
138 return ResolveRelativeDir(v, v.string_value(), err, source_root); in ResolveRelativeDir()
[all …]
Dfilesystem_utils.cc361 bool MakeAbsolutePathRelativeIfPossible(std::string_view source_root, in MakeAbsolutePathRelativeIfPossible() argument
364 DCHECK(IsPathAbsolute(source_root)); in MakeAbsolutePathRelativeIfPossible()
372 size_t source_root_len = AbsPathLenWithNoTrailingSlash(source_root); in MakeAbsolutePathRelativeIfPossible()
380 DCHECK(source_root.size() > 2 && source_root[0] != '/' && in MakeAbsolutePathRelativeIfPossible()
381 source_root[1] == ':' && IsSlash(source_root[2])); in MakeAbsolutePathRelativeIfPossible()
386 if (AreAbsoluteWindowsPathsEqual(source_root.substr(0, source_root_len), in MakeAbsolutePathRelativeIfPossible()
399 if (AreAbsoluteWindowsPathsEqual(source_root.substr(0, source_root_len), in MakeAbsolutePathRelativeIfPossible()
436 source_root.substr(0, source_root_len)) { in MakeAbsolutePathRelativeIfPossible()
506 void NormalizePath(std::string* path, std::string_view source_root) { in NormalizePath() argument
562 } else if (top_index == 2 && !source_root.empty()) { in NormalizePath()
[all …]
Dpath_output_unittest.cc17 std::string_view source_root("/source/root"); in TEST() local
18 PathOutput writer(build_dir, source_root, ESCAPE_NONE); in TEST()
59 std::string_view source_root("/source/root"); in TEST() local
60 PathOutput writer(build_dir, source_root, ESCAPE_NONE); in TEST()
77 std::string_view source_root("/source/root"); in TEST() local
78 PathOutput writer(build_dir, source_root, ESCAPE_NINJA); in TEST()
95 std::string_view source_root("/source/root"); in TEST() local
96 PathOutput writer(build_dir, source_root, ESCAPE_NINJA_COMMAND); in TEST()
148 std::string_view source_root("/source/root"); in TEST() local
149 PathOutput writer(build_dir, source_root, ESCAPE_NINJA_COMMAND); in TEST()
[all …]
Dfilesystem_utils_unittest.cc427 std::string_view source_root("/source/root"); in TEST() local
430 EXPECT_EQ(".", RebasePath("//", SourceDir("//"), source_root)); in TEST()
432 RebasePath("//foo/bar/", SourceDir("//foo/bar/"), source_root)); in TEST()
435 EXPECT_EQ("../foo", RebasePath("//foo", SourceDir("//bar/"), source_root)); in TEST()
436 EXPECT_EQ("../foo/", RebasePath("//foo/", SourceDir("//bar/"), source_root)); in TEST()
438 RebasePath("//foo", SourceDir("//bar/moo"), source_root)); in TEST()
440 RebasePath("//foo/", SourceDir("//bar/moo"), source_root)); in TEST()
443 EXPECT_EQ("foo/bar", RebasePath("//foo/bar", SourceDir("//"), source_root)); in TEST()
444 EXPECT_EQ("foo/bar/", RebasePath("//foo/bar/", SourceDir("//"), source_root)); in TEST()
448 RebasePath("//foo/bar", SourceDir("//a/b/"), source_root)); in TEST()
[all …]
Dsource_dir.h51 std::string_view source_root = std::string_view(),
61 std::string_view source_root = std::string_view()) const;
67 std::string_view source_root = std::string_view()) const;
74 std::string_view source_root = std::string_view()) const;
81 std::string_view source_root = std::string_view()) const;
85 base::FilePath Resolve(const base::FilePath& source_root) const;
Dfilesystem_utils.h115 bool MakeAbsolutePathRelativeIfPossible(std::string_view source_root,
137 std::string_view source_root = std::string_view());
152 std::string_view source_root = std::string_view());
170 std::string_view source_root);
176 const base::FilePath& source_root);
189 SourceDir SourceDirForPath(const base::FilePath& source_root,
194 SourceDir SourceDirForCurrentDirectory(const base::FilePath& source_root);
Dlabel_unittest.cc107 std::string source_root("/foo/bar/baz"); in TEST() local
117 result = Label::Resolve(cur_dir, source_root, default_toolchain, in TEST()
124 result = Label::Resolve(cur_dir, source_root, default_toolchain, in TEST()
134 result = Label::Resolve(cur_dir, source_root, default_toolchain, in TEST()
Dlabel.cc32 std::string_view source_root, in ComputeBuildLocationFromDep() argument
43 current_dir.ResolveRelativeDir(input_value, input, err, source_root); in ComputeBuildLocationFromDep()
91 std::string_view source_root, in Resolve() argument
173 if (!ComputeBuildLocationFromDep(original_value, current_dir, source_root, in Resolve()
191 return Resolve(current_dir, source_root, current_toolchain, in Resolve()
Dlabel_pattern_unittest.cc93 std::string source_root = "/foo/bar/baz/"; in TEST() local
97 current_dir, source_root, Value(nullptr, "../../../*"), &err); in TEST()
Dvisibility_unittest.cc57 std::string source_root = "/foo/bar/baz/"; in TEST() local
65 ASSERT_TRUE(vis.Set(cur_dir, source_root, list, &err)); in TEST()
Dvisibility.cc27 std::string_view source_root, in Set() argument
39 LabelPattern::GetPattern(current_dir, source_root, item, err)); in Set()
Dpath_output.cc14 std::string_view source_root, in PathOutput() argument
17 inverse_current_dir_ = RebasePath("//", current_dir, source_root); in PathOutput()
Dsource_file.cc182 base::FilePath SourceFile::Resolve(const base::FilePath& source_root) const { in Resolve()
183 return ResolvePath(value_.str(), true, source_root); in Resolve()
/third_party/gstreamer/gstplugins_good/scripts/
Ddist-translations.py28 source_root = os.environ['MESON_SOURCE_ROOT'] variable
32 module = os.path.basename(os.path.normpath(source_root))
40 pot_src = os.path.join(source_root, 'po', module + '-1.0.pot')
/third_party/gstreamer/gstplugins_base/scripts/
Ddist-translations.py28 source_root = os.environ['MESON_SOURCE_ROOT'] variable
32 module = os.path.basename(os.path.normpath(source_root))
40 pot_src = os.path.join(source_root, 'po', module + '-1.0.pot')
/third_party/gstreamer/gstplugins_bad/scripts/
Ddist-translations.py28 source_root = os.environ['MESON_SOURCE_ROOT'] variable
32 module = os.path.basename(os.path.normpath(source_root))
40 pot_src = os.path.join(source_root, 'po', module + '-1.0.pot')
/third_party/gstreamer/gstreamer/scripts/
Ddist-translations.py28 source_root = os.environ['MESON_SOURCE_ROOT'] variable
32 module = os.path.basename(os.path.normpath(source_root))
40 pot_src = os.path.join(source_root, 'po', module + '-1.0.pot')
/third_party/libevdev/
Dmeson.build9 dir_src = join_paths(meson.source_root(), 'libevdev')
10 dir_src_test = join_paths(meson.source_root(), 'test')
42 input_h = join_paths(meson.source_root(), 'include', 'linux', host_machine.system(), 'input.h')
43 uinput_h = join_paths(meson.source_root(), 'include', 'linux', host_machine.system(), 'uinput.h')
44 input_event_codes_h = join_paths(meson.source_root(), 'include', 'linux', host_machine.system(), 'i…
266 doc_config.set('top_srcdir', meson.source_root())
267 doc_config.set('srcdir', join_paths(meson.source_root(), 'doc'))
/third_party/mesa3d/src/gallium/drivers/zink/
Dmeson.build53 … prog_python, '@INPUT@', '@OUTPUT@', join_paths(meson.source_root(), 'src/vulkan/registry/vk.xml')
62 … prog_python, '@INPUT@', '@OUTPUT@', join_paths(meson.source_root(), 'src/vulkan/registry/vk.xml')
72 '-p', join_paths(meson.source_root(), 'src/compiler/nir/'),
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dmeson.build32 shader_include_dir = meson.source_root() + '/src/amd/vulkan/radix_sort/targets/u64'
40 meson.source_root() + '/src/amd/vulkan/radix_sort/targets/u64/config.h'
/third_party/icu/tools/unicode/c/genprops/misc/
Ducdcopy.py155 source_root = sys.argv[1]
158 for root, dirs, files in os.walk(source_root):
/third_party/pulseaudio/src/pulse/
Dmeson.build74 command : [ join_paths(meson.source_root(), 'scripts/generate-map-file.sh'), 'map-file',
77 versioning_link_args = '-Wl,-version-script=' + join_paths(meson.source_root(), 'src', 'pulse', 'ma…
/third_party/mesa3d/src/freedreno/afuc/
Dmeson.build71 workdir: meson.source_root()
115 workdir: meson.source_root()
/third_party/mesa3d/src/freedreno/ir3/
Dmeson.build27 '-p', join_paths(meson.source_root(), 'src/compiler/nir/'),
39 '-p', join_paths(meson.source_root(), 'src/compiler/nir/'),

123