Home
last modified time | relevance | path

Searched refs:PathLike (Results 1 – 25 of 48) sorted by relevance

12

/external/fonttools/Tests/ufoLib/
DUFOZ_test.py56 class PathLike: class
64 path = PathLike(testufo)
/external/python/cpython3/Lib/
Dimghdr.py3 from os import PathLike
15 if isinstance(file, (str, PathLike)):
Dcompileall.py26 if quiet < 2 and isinstance(dir, os.PathLike):
155 if quiet < 2 and isinstance(fullname, os.PathLike):
Dzipapp.py39 if isinstance(archive, (str, os.PathLike)):
Dlzma.py117 if isinstance(filename, (str, bytes, os.PathLike)):
Dbz2.py84 if isinstance(filename, (str, bytes, os.PathLike)):
Dfileinput.py192 elif isinstance(files, os.PathLike):
Dos.py1064 class PathLike(abc.ABC): class
1075 if cls is PathLike:
Dconfigparser.py691 if isinstance(filenames, (str, bytes, os.PathLike)):
700 if isinstance(filename, os.PathLike):
Dgzip.py57 if isinstance(filename, (str, bytes, os.PathLike)):
Dsubprocess.py1350 elif isinstance(args, os.PathLike):
1672 elif isinstance(args, os.PathLike):
/external/tensorflow/tensorflow/python/keras/utils/
Dio_utils.py30 if isinstance(path, os.PathLike):
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-printers-test.cc182 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/
Dgoogletest-printers-test.cc207 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/
D3.6.0a2.rst47 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/
Dranges-test.cc123 TEST(RangesTest, PathLike) { in TEST() argument
/external/python/cpython3/Lib/importlib/
Dresources.py33 Resource = Union[str, os.PathLike]
/external/python/pyfakefs/pyfakefs/
Dfake_scandir.py26 BaseClass = os.PathLike
/external/python/cpython3/Lib/xml/sax/
Dsaxutils.py342 if isinstance(source, os.PathLike):
/external/tensorflow/tensorflow/python/data/ops/
Dreaders.py40 return os.fspath(path) if isinstance(path, os.PathLike) else path
/external/python/cpython3/Doc/library/
Dcompileall.rst200 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`.
Dpathlib.rst108 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/
Dfile_io_test.py33 class PathLike(object): class
48 ("pathlike", lambda *paths: PathLike(os.path.join(*paths))))
/external/python/cpython3/Doc/c-api/
Dsys.rst12 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/
DCHANGELOG.rst55 ``__fspath__`` method (from :class:`os.PathLike`).

12