/external/pigweed/pw_build/py/pw_build/ |
D | gn_writer.py | 20 from pathlib import PurePath, PurePosixPath 191 def __init__(self, pathname: PurePath) -> None: argument 195 self._pathname: PurePath = pathname 204 file = PurePath(*PurePath(__file__).parts[-2:])
|
D | zip.py | 89 destination_path = pathlib.PurePath(destination) 117 destination_path: pathlib.PurePath, argument
|
D | bazel_to_gn.py | 22 from pathlib import Path, PurePath, PurePosixPath 54 self._source_dirs: dict[str, PurePath] = { 98 def get_source_dir(self, name: str) -> PurePath: 121 source_dir = PurePath(match.group(2)) 467 type=PurePath, 485 args.build_dir = PurePath(pw_root, 'out')
|
D | bazel_query.py | 20 from pathlib import PurePath, PurePosixPath 293 self, repo: str, source_dir: PurePath | None, fetch: bool = True
|
/external/python/cpython3/Lib/pathlib/ |
D | _local.py | 59 class PurePath(PurePathBase): class 113 if cls is PurePath: 120 if isinstance(arg, PurePath): 194 if not isinstance(other, PurePath): 208 if not isinstance(other, PurePath) or self.parser is not other.parser: 213 if not isinstance(other, PurePath) or self.parser is not other.parser: 218 if not isinstance(other, PurePath) or self.parser is not other.parser: 223 if not isinstance(other, PurePath) or self.parser is not other.parser: 379 elif not isinstance(other, PurePath): 402 elif not isinstance(other, PurePath): [all …]
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 25 most basic class is PurePath, which has three direct subclasses: 116 .. class:: PurePath(*pathsegments) 121 >>> PurePath('setup.py') # Running on a Unix machine 129 >>> PurePath('foo', 'some/path', 'bar') 131 >>> PurePath(Path('foo'), Path('bar')) 136 >>> PurePath() 142 >>> PurePath('/etc', '/usr', 'lib64') 157 >>> PurePath('foo//bar') 159 >>> PurePath('//foo/bar') 161 >>> PurePath('foo/./bar') [all …]
|
/external/wayland-protocols/ |
D | import_snapshot.py | 44 def __init__(self, base: pathlib.PurePath): argument 49 def base(self) -> pathlib.PurePath: 80 paths: list[pathlib.PurePath]) -> list[pathlib.Path]: argument 86 return list(pathlib.PurePath(path) for path in stdout.splitlines()) 196 self._paths: list[pathlib.PurePath] | None = None 255 def git_paths(self) -> list[pathlib.PurePath]: 282 def must_ignore(path: pathlib.PurePath) -> bool: argument
|
/external/pigweed/pw_build/py/ |
D | gn_writer_test.py | 20 from pathlib import PurePath 183 with GnFile(PurePath(tmpdirname, 'BUILD.gn')) as build_gn: 188 filename = PurePath('pw_build', 'gn_writer.py')
|
D | bazel_to_gn_test.py | 20 from pathlib import PurePath 308 self.assertEqual(b2g.get_source_dir('foo'), PurePath(FOO_SOURCE_DIR)) 309 self.assertEqual(b2g.get_source_dir('bar'), PurePath(BAR_SOURCE_DIR)) 310 self.assertEqual(b2g.get_source_dir('baz'), PurePath(BAZ_SOURCE_DIR))
|
D | zip_test.py | 56 directory = pathlib.PurePath('/'.join(directories[: i + 1]))
|
/external/python/parse_type/tasks/_vendor/ |
D | pathlib.py | 565 class PurePath(object): class 583 if cls is PurePath: 598 if isinstance(a, PurePath): 690 if not isinstance(other, PurePath): 705 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 710 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 715 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 720 if not isinstance(other, PurePath) or self._flavour is not other._flavour: 915 class PurePosixPath(PurePath): 920 class PureWindowsPath(PurePath): [all …]
|
/external/python/cpython3/Tools/wasm/ |
D | wasm_build.py | 192 config_site: Optional[pathlib.PurePath] 194 make_wrapper: Optional[pathlib.PurePath] 198 ports: Optional[pathlib.PurePath] 199 cc: Optional[pathlib.PurePath] 372 def get_extra_paths(self) -> Iterable[pathlib.PurePath]: 532 new_path: List[pathlib.PurePath] = []
|
D | wasm_assets.py | 27 WASM_LIB = pathlib.PurePath("lib")
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_pathlib.py | 43 from pathlib import PurePath 880 class PurePosixPath(PurePath): 899 class PureWindowsPath(PurePath): 1014 return isinstance(instance, PurePath) 1075 return isinstance(instance, PurePath) 1097 class PurePosixPath(PurePath): 1102 class PureWindowsPath(PurePath):
|
/external/chromium-crossbench/crossbench/ |
D | path.py | 12 AnyPath = pathlib.PurePath
|
/external/python/cpython3/Doc/deprecations/ |
D | pending-removal-in-3.14.rst | 77 * :mod:`pathlib`: :meth:`~pathlib.PurePath.is_relative_to` and 78 :meth:`~pathlib.PurePath.relative_to`: passing additional arguments is
|
D | pending-removal-in-3.15.rst | 44 * :meth:`.PurePath.is_reserved`
|
/external/chromium-crossbench/tests/crossbench/plt/ |
D | helper.py | 74 self.platform.path(pathlib.PurePath("foo/bar")), pathlib.PurePosixPath)
|
D | test_win.py | 34 self.platform.path(pathlib.PurePath("foo/bar")),
|
/external/bazelbuild-rules_python/gazelle/modules_mapping/ |
D | generator.py | 115 pp = pathlib.PurePath(path)
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | testutil.py | 87 path: pathlib.PurePath, argument
|
/external/python/cpython3/Lib/test/test_importlib/resources/ |
D | util.py | 106 path = pathlib.PurePath('utf-8.file')
|
/external/python/cpython3/Lib/test/test_pathlib/ |
D | test_pathlib.py | 39 cls = pathlib.PurePath 61 if self.cls is pathlib.PurePath: 517 class cls(pathlib.PurePath): 1639 result = pathlib.PurePath("test") / self.CompatPath("right") 1645 pathlib.PurePath("test") / 10 1648 result = self.CompatPath("left") / pathlib.PurePath("test") 1654 10 / pathlib.PurePath("test")
|
/external/chromium-crossbench/tests/crossbench/ |
D | mock_helper.py | 68 if not isinstance(arg, (str, pathlib.PurePath)):
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 462 path = pathlib.PurePath('foo', 'bar', 'baz', 'qux.py') 532 path = pathlib.PurePath('foo', 'bar', 'baz', '__pycache__',
|