Home
last modified time | relevance | path

Searched refs:joinpath (Results 1 – 25 of 86) sorted by relevance

1234

/external/python/cpython2/Modules/
Dgetpath.c192 joinpath(char *buffer, char *stuff) in joinpath() function
226 joinpath(path, p); in copy_absolute()
258 joinpath(prefix, lib_python); in search_for_prefix()
259 joinpath(prefix, LANDMARK); in search_for_prefix()
265 joinpath(prefix, "Modules/Setup"); in search_for_prefix()
270 joinpath(prefix, vpath); in search_for_prefix()
271 joinpath(prefix, "Lib"); in search_for_prefix()
272 joinpath(prefix, LANDMARK); in search_for_prefix()
281 joinpath(prefix, lib_python); in search_for_prefix()
282 joinpath(prefix, LANDMARK); in search_for_prefix()
[all …]
/external/pigweed/pw_build/py/
Dpython_runner_test.py51 label.out_dir, ROOT.joinpath('out', toolchain, 'obj')
54 label.gen_dir, ROOT.joinpath('out', toolchain, 'gen')
61 self.assertEqual(label.dir, ROOT.joinpath('foo/bar'))
63 label.out_dir, ROOT.joinpath('out', toolchain, 'obj/foo/bar')
66 label.gen_dir, ROOT.joinpath('out', toolchain, 'gen/foo/bar')
73 self.assertEqual(label.dir, ROOT.joinpath('foo/bar'))
75 label.out_dir, ROOT.joinpath('out', toolchain, 'obj/foo/bar')
78 label.gen_dir, ROOT.joinpath('out', toolchain, 'gen/foo/bar')
85 self.assertEqual(label.dir, ROOT.joinpath('some/cwd'))
87 label.out_dir, ROOT.joinpath('out', toolchain, 'obj/some/cwd')
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/utils/
Dgenerate_header_tests.py142 produce(test.joinpath('libcxx/assertions/headers_declare_verbose_abort.sh.cpp'), variables)
143 produce(test.joinpath('libcxx/clang_tidy.sh.cpp'), variables)
144 produce(test.joinpath('libcxx/double_include.sh.cpp'), variables)
145 produce(test.joinpath('libcxx/min_max_macros.compile.pass.cpp'), variables)
146 produce(test.joinpath('libcxx/modules_include.sh.cpp'), variables)
147 produce(test.joinpath('libcxx/nasty_macros.compile.pass.cpp'), variables)
148 produce(test.joinpath('libcxx/no_assert_include.compile.pass.cpp'), variables)
149 produce(test.joinpath('libcxx/private_headers.verify.cpp'), variables)
150 produce(test.joinpath('libcxx/transitive_includes.sh.cpp'), variables)
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/tests/
Dtest_read.py11 resources.files(package).joinpath(path).read_bytes()
16 resources.files(package).joinpath(path).read_text()
21 result = resources.files(self.data).joinpath('binary.file').read_bytes()
25 result = resources.files(self.data).joinpath('utf-8.file').read_text()
31 .joinpath('utf-16.file')
56 result = resources.files(submodule).joinpath('binary.file').read_bytes()
62 .joinpath('binary.file')
Dtest_resource.py55 self.assertTrue(resources.files(package).joinpath('B').is_file())
61 self.assertTrue(resources.files(package).joinpath('D').is_dir())
67 self.assertFalse(resources.files(package).joinpath('Z').is_file())
85 self.assertFalse(resources.files(module).joinpath('A').is_file())
93 self.assertTrue(resources.files(submodule).joinpath('binary.file').is_file())
98 .joinpath('binary.file')
176 c = resources.files('ziptestdata').joinpath('binary.file').is_file()
181 c = resources.files('ziptestdata').joinpath('not-present').is_file()
201 c = resources.files('ziptestdata').joinpath('binary.file').read_bytes()
206 c = resources.files('ziptestdata').joinpath('utf-8.file').read_text()
[all …]
Dtest_files.py13 actual = files.joinpath('utf-8.file').read_bytes()
18 actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')
/external/python/setuptools/setuptools/_vendor/importlib_resources/tests/
Dtest_read.py11 resources.files(package).joinpath(path).read_bytes()
16 resources.files(package).joinpath(path).read_text()
21 result = resources.files(self.data).joinpath('binary.file').read_bytes()
25 result = resources.files(self.data).joinpath('utf-8.file').read_text()
31 .joinpath('utf-16.file')
56 result = resources.files(submodule).joinpath('binary.file').read_bytes()
62 .joinpath('binary.file')
Dtest_resource.py55 self.assertTrue(resources.files(package).joinpath('B').is_file())
61 self.assertTrue(resources.files(package).joinpath('D').is_dir())
67 self.assertFalse(resources.files(package).joinpath('Z').is_file())
85 self.assertFalse(resources.files(module).joinpath('A').is_file())
93 self.assertTrue(resources.files(submodule).joinpath('binary.file').is_file())
98 .joinpath('binary.file')
176 c = resources.files('ziptestdata').joinpath('binary.file').is_file()
181 c = resources.files('ziptestdata').joinpath('not-present').is_file()
201 c = resources.files('ziptestdata').joinpath('binary.file').read_bytes()
206 c = resources.files('ziptestdata').joinpath('utf-8.file').read_text()
[all …]
Dtest_files.py13 actual = files.joinpath('utf-8.file').read_bytes()
18 actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')
/external/pigweed/pw_toolchain/py/
Dclang_tidy_test.py32 pathlib.Path('..').joinpath('third_party').joinpath('somefile.cc')
57 pathlib.Path('..').joinpath('third_party').joinpath('somefile.cc')
/external/python/cpython3/Lib/importlib/
Dreaders.py21 return str(self.path.joinpath(resource))
42 target = self.files().joinpath(path)
86 def joinpath(self, child): member in MultiplexedPath
94 __truediv__ = joinpath
120 return str(self.path.joinpath(resource))
Dabc.py394 def joinpath(self, child): member in Traversable
403 return self.joinpath(child)
433 return self.files().joinpath(resource).open('rb')
439 return self.files().joinpath(path).is_file()
/external/python/setuptools/setuptools/_vendor/importlib_resources/
Dreaders.py25 return str(self.path.joinpath(resource))
46 target = self.files().joinpath(path)
85 def joinpath(self, child): member in MultiplexedPath
93 __truediv__ = joinpath
119 return str(self.path.joinpath(resource))
Dabc.py89 def joinpath(self, child): member in Traversable
98 return self.joinpath(child)
128 return self.files().joinpath(resource).open('rb')
134 return self.files().joinpath(path).is_file()
D_adapters.py71 def joinpath(self, other): member in CompatibilityFiles.SpecPath
102 def joinpath(self, other): member in CompatibilityFiles.ChildPath
133 def joinpath(self, other): member in CompatibilityFiles.OrphanPath
/external/python/setuptools/pkg_resources/_vendor/importlib_resources/
Dreaders.py25 return str(self.path.joinpath(resource))
46 target = self.files().joinpath(path)
85 def joinpath(self, child): member in MultiplexedPath
93 __truediv__ = joinpath
119 return str(self.path.joinpath(resource))
Dabc.py89 def joinpath(self, child): member in Traversable
98 return self.joinpath(child)
128 return self.files().joinpath(resource).open('rb')
134 return self.files().joinpath(path).is_file()
D_adapters.py71 def joinpath(self, other): member in CompatibilityFiles.SpecPath
102 def joinpath(self, other): member in CompatibilityFiles.ChildPath
133 def joinpath(self, other): member in CompatibilityFiles.OrphanPath
/external/crosvm/tools/impl/
Dtestvm.py66 SRC_DIR = SCRIPT_DIR.joinpath("testvm")
67 ID_RSA = SRC_DIR.joinpath("id_rsa")
68 BASE_IMG_VERSION = open(SRC_DIR.joinpath("version"), "r").read().strip()
91 return CACHE_DIR.joinpath("crosvm_tools").joinpath(arch)
95 return data_dir(arch).joinpath("pid")
107 return data_dir(arch).joinpath(base_img_name(arch))
111 return data_dir(arch).joinpath(f"rootfs-{arch}-{BASE_IMG_VERSION}.qcow2")
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dinstall_hook.py86 if root.joinpath('.git').is_dir():
87 hook_path = root.joinpath('.git', 'hooks', hook)
89 match = re.match('^gitdir: (.*)$', root.joinpath('.git').read_text())
93 hook_path = root.joinpath(match.group(1), 'hooks', hook).resolve()
/external/toolchain-utils/rust_tools/
Drust_uprev.py360 ebuild = EBUILD_PREFIX.joinpath(f"{pkgatom}/{filename}")
371 new_ebuild = old_ebuild.parent.joinpath(
516 package_file = EBUILD_PREFIX.joinpath(
547 EBUILD_PREFIX.joinpath("virtual/rust"), "rust", template_version
551 new_ebuild = virtual_rust_dir.joinpath(new_name)
640 rust_bootstrap_path().joinpath(
648 EBUILD_PREFIX.joinpath("eclass/cros-rustc.eclass"), template_version
655 template_host_ebuild = EBUILD_PREFIX.joinpath(
830 EBUILD_PREFIX.joinpath("dev-lang/rust-host"),
862 EBUILD_PREFIX.joinpath("virtual/rust"), "rust", delete_version
[all …]
Drust_uprev_test.py379 bootstrapdir = Path.joinpath(tmpdir, "rust-bootstrap")
381 old_ebuild = bootstrapdir.joinpath("rust-bootstrap-1.45.2.ebuild")
395 new_ebuild = bootstrapdir.joinpath("rust-bootstrap-1.46.0.ebuild")
516 cwd=rust_uprev.RUST_PATH.joinpath("files"),
528 rust_uprev.RUST_PATH.joinpath(f"rust-{self.new_version}.ebuild"),
544 rust_uprev.EBUILD_PREFIX.joinpath(
550 cwd=rust_uprev.EBUILD_PREFIX.joinpath("dev-lang/rust-host"),
640 ebuild_path.parent.joinpath(f"rust-{self.current_version}.ebuild"),
641 ebuild_path.parent.joinpath(f"rust-{self.new_version}.ebuild"),
/external/python/cpython3/Modules/
Dgetpath.c236 joinpath(wchar_t *path, const wchar_t *path2, size_t path_len) in joinpath() function
340 PyStatus status = joinpath(abs_path, path, abs_path_len); in copy_absolute()
465 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
494 status = joinpath(prefix, calculate->vpath_macro, prefix_len); in search_for_prefix()
499 status = joinpath(prefix, L"Lib", prefix_len); in search_for_prefix()
525 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
548 status = joinpath(prefix, calculate->lib_python, prefix_len); in search_for_prefix()
684 status = joinpath(exec_prefix, pybuilddir, exec_prefix_len); in calculate_pybuilddir()
719 status = joinpath(exec_prefix, calculate->lib_python, exec_prefix_len); in search_for_exec_prefix()
723 status = joinpath(exec_prefix, L"lib-dynload", exec_prefix_len); in search_for_exec_prefix()
[all …]
/external/python/cpython3/Lib/test/test_importlib/
Dtest_files.py13 actual = files.joinpath('utf-8.file').read_bytes()
18 actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')
/external/openscreen/cast/
Dstandalone_e2e.py130 BUILD_ENVVAR) else root_path.joinpath('out',
138 test_video = build_path.joinpath(TEST_VIDEO_NAME).resolve(),
139 cast_receiver = build_path.joinpath(RECEIVER_BINARY_NAME).resolve(),
140 cast_sender = build_path.joinpath(SENDER_BINARY_NAME).resolve()

1234