/third_party/python/Lib/importlib/ |
D | readers.py | 21 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))
|
D | abc.py | 394 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.py | 46 def joinpath(self, other): member in DegenerateFiles.Path
|
D | resources.py | 124 _common.files(package).joinpath(_common.normalize_path(resource))
|
/third_party/python/Modules/ |
D | getpath.c | 236 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/ |
D | test_files.py | 13 actual = files.joinpath('utf-8.file').read_bytes() 18 actual = files.joinpath('utf-8.file').read_text(encoding='utf-8')
|
D | test_reader.py | 67 str(path.joinpath('binary.file'))[len(prefix) + 1 :], 71 str(path.joinpath('subdirectory'))[len(prefix) + 1 :], 75 str(path.joinpath('imaginary'))[len(prefix) + 1 :],
|
D | test_main.py | 178 self.site_dir.joinpath('EGG-INFO').mkdir() 184 egg = self.site_dir.joinpath('foo-3.6.egg')
|
D | test_zip.py | 23 pkg_file = resources.files(self.root).joinpath(filename)
|
/third_party/python/Lib/importlib/metadata/ |
D | __init__.py | 755 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.py | 37 def joinpath(self) -> 'SimplePath': member in SimplePath
|
/third_party/lz4/contrib/meson/meson/ |
D | InstallSymlink.py | 22 new_dst = install_dir.joinpath(dst)
|
/third_party/protobuf/python/docs/ |
D | generate_docs.py | 162 automodule_path = DOCS_DIR.joinpath(*module.split(".")).with_suffix(".rst")
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 2893 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 …]
|
D | test_pathlib.py | 228 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/ |
D | zipfile.rst | 490 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
|
D | pathlib.rst | 495 .. 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`
|
D | importlib.rst | 834 .. abstractmethod:: joinpath(child)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a4.rst | 634 ``zipfile.Path.joinpath`` now accepts arbitrary arguments, same as 635 ``pathlib.Path.joinpath``.
|
/third_party/python/Lib/ |
D | zipfile.py | 2347 return pathlib.Path(self.root.filename).joinpath(self.at) 2385 def joinpath(self, *other): member in Path 2389 __truediv__ = joinpath
|
D | pathlib.py | 843 def joinpath(self, *args): member in PurePath
|