Home
last modified time | relevance | path

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

/third_party/python/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()
D_adapters.py46 def joinpath(self, other): member in DegenerateFiles.Path
Dresources.py124 _common.files(package).joinpath(_common.normalize_path(resource))
/third_party/python/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 …]
/third_party/python/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')
Dtest_reader.py67 str(path.joinpath('binary.file'))[len(prefix) + 1 :],
71 str(path.joinpath('subdirectory'))[len(prefix) + 1 :],
75 str(path.joinpath('imaginary'))[len(prefix) + 1 :],
Dtest_main.py178 self.site_dir.joinpath('EGG-INFO').mkdir()
184 egg = self.site_dir.joinpath('foo-3.6.egg')
Dtest_zip.py23 pkg_file = resources.files(self.root).joinpath(filename)
/third_party/python/Lib/importlib/metadata/
D__init__.py755 def joinpath(self, child): member in FastPath
768 self.joinpath = zip_path.joinpath
799 self.infos[normalized].append(path.joinpath(child))
803 self.eggs[legacy_normalized].append(path.joinpath(child))
898 return self._path.joinpath(filename).read_text(encoding='utf-8')
D_meta.py37 def joinpath(self) -> 'SimplePath': member in SimplePath
/third_party/lz4/contrib/meson/meson/
DInstallSymlink.py22 new_dst = install_dir.joinpath(dst)
/third_party/protobuf/python/docs/
Dgenerate_docs.py162 automodule_path = DOCS_DIR.joinpath(*module.split(".")).with_suffix(".rst")
/third_party/python/Lib/test/
Dtest_zipfile.py2893 assert not root.joinpath('missing.txt').is_file()
2924 with zf.joinpath('file.bin').open('wb') as strm:
2926 with zf.joinpath('file.txt').open('w', encoding="utf-8") as strm:
2935 zf.joinpath('b').open()
2941 root.joinpath('a.txt').open('rb', encoding='utf-8')
2943 root.joinpath('a.txt').open('rb', 'utf-8')
2951 zf.joinpath('z').open()
2963 a = root.joinpath("a.txt")
2965 e = root.joinpath("b").joinpath("d").joinpath("e.txt")
2971 e = root.joinpath("b", "d", "e.txt")
[all …]
Dtest_pathlib.py228 pp = p.joinpath('c')
231 pp = p.joinpath('c', 'd')
233 pp = p.joinpath(P('c'))
235 pp = p.joinpath('/c')
758 pp = p.joinpath('b')
760 pp = P('/a').joinpath('//c')
762 pp = P('//a').joinpath('/c')
1241 pp = p.joinpath('x/y')
1243 pp = p.joinpath('/x/y')
1247 pp = p.joinpath('D:x/y')
[all …]
/third_party/python/Doc/library/
Dzipfile.rst490 Path objects are traversable using the ``/`` operator or ``joinpath``.
539 .. method:: Path.joinpath(*other)
544 >>> Path(...).joinpath('child').joinpath('grandchild')
545 >>> Path(...).joinpath('child', 'grandchild')
549 Prior to 3.10, ``joinpath`` was undocumented and accepted
Dpathlib.rst495 .. method:: PurePath.joinpath(*other)
500 >>> PurePosixPath('/etc').joinpath('passwd')
502 >>> PurePosixPath('/etc').joinpath(PurePosixPath('passwd'))
504 >>> PurePosixPath('/etc').joinpath('init.d', 'apache2')
506 >>> PureWindowsPath('c:').joinpath('/Program Files')
1272 :func:`os.path.join` :func:`PurePath.joinpath`
Dimportlib.rst834 .. abstractmethod:: joinpath(child)
/third_party/python/Misc/NEWS.d/
D3.10.0a4.rst634 ``zipfile.Path.joinpath`` now accepts arbitrary arguments, same as
635 ``pathlib.Path.joinpath``.
/third_party/python/Lib/
Dzipfile.py2347 return pathlib.Path(self.root.filename).joinpath(self.at)
2385 def joinpath(self, *other): member in Path
2389 __truediv__ = joinpath
Dpathlib.py843 def joinpath(self, *args): member in PurePath