/external/fonttools/Tests/ufoLib/ |
D | UFOZ_test.py | 56 class PathLike: class 64 path = PathLike(testufo)
|
/external/python/cpython3/Lib/ |
D | imghdr.py | 3 from os import PathLike 15 if isinstance(file, (str, PathLike)):
|
D | compileall.py | 26 if quiet < 2 and isinstance(dir, os.PathLike): 155 if quiet < 2 and isinstance(fullname, os.PathLike):
|
D | zipapp.py | 39 if isinstance(archive, (str, os.PathLike)):
|
D | lzma.py | 117 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | bz2.py | 84 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | fileinput.py | 192 elif isinstance(files, os.PathLike):
|
D | os.py | 1064 class PathLike(abc.ABC): class 1075 if cls is PathLike:
|
D | configparser.py | 691 if isinstance(filenames, (str, bytes, os.PathLike)): 700 if isinstance(filename, os.PathLike):
|
D | gzip.py | 57 if isinstance(filename, (str, bytes, os.PathLike)):
|
D | subprocess.py | 1350 elif isinstance(args, os.PathLike): 1672 elif isinstance(args, os.PathLike):
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | io_utils.py | 30 if isinstance(path, os.PathLike):
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | googletest-printers-test.cc | 182 class PathLike { class 185 typedef PathLike value_type; 188 PathLike& operator*(); 194 PathLike() {} in PathLike() function in foo::PathLike 199 friend ::std::ostream& operator<<(::std::ostream& os, const PathLike&) { in operator <<() argument 1070 ::foo::PathLike x; in TEST() 1072 const ::foo::PathLike cx; in TEST()
|
/external/googletest/googletest/test/ |
D | googletest-printers-test.cc | 207 class PathLike { class 210 typedef PathLike value_type; 213 PathLike& operator*(); 219 PathLike() {} in PathLike() function in foo::PathLike 224 friend ::std::ostream& operator<<(::std::ostream& os, const PathLike&) { in operator <<() argument 1315 ::foo::PathLike x; 1317 const ::foo::PathLike cx;
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a2.rst | 47 Add support for os.PathLike objects to open() (part of :pep:`519`). 218 Add os.PathLike support to DirEntry (part of :pep:`519`). Initial patch by 238 Add os.PathLike support to pathlib, removing its provisional status (part of 248 Add support for os.PathLike objects to os.fsencode() and os.fsdecode() (part 258 Introduce os.PathLike and os.fspath() (part of :pep:`519`).
|
/external/fmtlib/test/ |
D | ranges-test.cc | 123 TEST(RangesTest, PathLike) { in TEST() argument
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 33 Resource = Union[str, os.PathLike]
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_scandir.py | 26 BaseClass = os.PathLike
|
/external/python/cpython3/Lib/xml/sax/ |
D | saxutils.py | 342 if isinstance(source, os.PathLike):
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | readers.py | 40 return os.fspath(path) if isinstance(path, os.PathLike) else path
|
/external/python/cpython3/Doc/library/ |
D | compileall.rst | 200 They may be specified as ``str``, ``bytes`` or :py:class:`os.PathLike`. 269 They may be specified as ``str``, ``bytes`` or :py:class:`os.PathLike`.
|
D | pathlib.rst | 108 path segment, an object implementing the :class:`os.PathLike` interface 150 Pure path objects implement the :class:`os.PathLike` interface, allowing them 154 Added support for the :class:`os.PathLike` interface. 220 A path object can be used anywhere an object implementing :class:`os.PathLike`
|
/external/tensorflow/tensorflow/python/lib/io/ |
D | file_io_test.py | 33 class PathLike(object): class 48 ("pathlike", lambda *paths: PathLike(os.path.join(*paths))))
|
/external/python/cpython3/Doc/c-api/ |
D | sys.rst | 12 incremented. If the object implements the :class:`os.PathLike` interface, 13 then :meth:`~os.PathLike.__fspath__` is returned as long as it is a
|
/external/python/mock/ |
D | CHANGELOG.rst | 55 ``__fspath__`` method (from :class:`os.PathLike`).
|