/third_party/gn/src/gn/ |
D | source_dir_unittest.cc | 16 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 …]
|
D | source_dir.cc | 81 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 …]
|
D | filesystem_utils.cc | 361 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 …]
|
D | path_output_unittest.cc | 17 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 …]
|
D | filesystem_utils_unittest.cc | 427 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 …]
|
D | source_dir.h | 51 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;
|
D | filesystem_utils.h | 115 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);
|
D | label_unittest.cc | 107 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()
|
D | label.cc | 32 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()
|
D | label_pattern_unittest.cc | 93 std::string source_root = "/foo/bar/baz/"; in TEST() local 97 current_dir, source_root, Value(nullptr, "../../../*"), &err); in TEST()
|
D | visibility_unittest.cc | 57 std::string source_root = "/foo/bar/baz/"; in TEST() local 65 ASSERT_TRUE(vis.Set(cur_dir, source_root, list, &err)); in TEST()
|
D | visibility.cc | 27 std::string_view source_root, in Set() argument 39 LabelPattern::GetPattern(current_dir, source_root, item, err)); in Set()
|
D | path_output.cc | 14 std::string_view source_root, in PathOutput() argument 17 inverse_current_dir_ = RebasePath("//", current_dir, source_root); in PathOutput()
|
D | source_file.cc | 182 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/ |
D | dist-translations.py | 28 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/ |
D | dist-translations.py | 28 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/ |
D | dist-translations.py | 28 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/ |
D | dist-translations.py | 28 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/ |
D | meson.build | 9 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/ |
D | meson.build | 53 … 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/ |
D | meson.build | 32 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/ |
D | ucdcopy.py | 155 source_root = sys.argv[1] 158 for root, dirs, files in os.walk(source_root):
|
/third_party/pulseaudio/src/pulse/ |
D | meson.build | 74 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/ |
D | meson.build | 71 workdir: meson.source_root() 115 workdir: meson.source_root()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | meson.build | 27 '-p', join_paths(meson.source_root(), 'src/compiler/nir/'), 39 '-p', join_paths(meson.source_root(), 'src/compiler/nir/'),
|