/third_party/python/Lib/ |
D | posixpath.py | 54 return os.fspath(s) 62 s = os.fspath(s) 76 a = os.fspath(a) 82 for b in map(os.fspath, p): 103 p = os.fspath(p) 118 p = os.fspath(p) 134 p = os.fspath(p) 142 p = os.fspath(p) 152 p = os.fspath(p) 231 path = os.fspath(path) [all …]
|
D | ntpath.py | 48 s = os.fspath(s) 63 s = os.fspath(s) 78 path = os.fspath(path) 91 for p in map(os.fspath, paths): 143 p = os.fspath(p) 185 p = os.fspath(p) 204 p = os.fspath(p) 265 path = os.fspath(path) 293 path = os.fspath(path) 354 path = os.fspath(path) [all …]
|
D | os.py | 342 return _walk(fspath(top), topdown, onerror, followlinks) 465 top = fspath(top) 810 filename = fspath(filename) # Does type-checking of `filename`. 822 filename = fspath(filename) # Does type-checking of `filename`. 1066 fspath = _fspath variable 1067 fspath.__name__ = "fspath"
|
D | fileinput.py | 189 files = (os.fspath(files), ) 351 os.fspath(self._filename) + (self._backup or ".bak"))
|
D | genericpath.py | 77 m = tuple(map(os.fspath, m))
|
D | compileall.py | 27 dir = os.fspath(dir) 158 fullname = os.fspath(fullname)
|
D | shutil.py | 453 ignored_names = ignore(os.fspath(src), [x.name for x in entries]) 759 path = os.fspath(path) 1244 extract_dir = os.fspath(extract_dir) 1245 filename = os.fspath(filename)
|
D | glob.py | 40 root_dir = os.fspath(root_dir)
|
D | mimetypes.py | 122 url = os.fspath(url)
|
D | zipfile.py | 501 filename = os.fspath(filename) 1230 file = os.fspath(file) 1615 path = os.fspath(path) 1631 path = os.fspath(path) 1956 pathname = os.fspath(pathname)
|
D | gzip.py | 180 filename = os.fspath(filename)
|
D | tempfile.py | 93 arg = _os.fspath(arg)
|
/third_party/python/PCbuild/ |
D | get_external.py | 28 with zipfile.ZipFile(os.fspath(zip_path)) as zf: 29 zf.extractall(os.fspath(externals_dir))
|
/third_party/skia/third_party/externals/jinja2/ |
D | _compat.py | 117 from os import fspath 124 def fspath(path): function
|
D | loaders.py | 13 from ._compat import fspath 171 self.searchpath = [fspath(p) for p in searchpath] 467 mod.__path__ = [fspath(p) for p in path]
|
/third_party/jinja2/ |
D | _compat.py | 117 from os import fspath 124 def fspath(path): function
|
D | loaders.py | 13 from ._compat import fspath 171 self.searchpath = [fspath(p) for p in searchpath] 467 mod.__path__ = [fspath(p) for p in path]
|
/third_party/python/Lib/distutils/command/ |
D | sdist.py | 233 def _cs_path_exists(fspath): argument 242 if not os.path.exists(fspath): 245 abspath = os.path.abspath(fspath)
|
/third_party/python/Lib/test/ |
D | test_os.py | 4232 self.assertEqual(os.fspath(entry), os.path.join(self.path, 'file.txt')) 4237 fspath = os.fspath(bytes_entry) 4238 self.assertIsInstance(fspath, bytes) 4239 self.assertEqual(fspath, 4351 self.assertEqual(os.fspath(entry), entry.name) 4434 fspath = staticmethod(os.fspath) variable in TestPEP519 4438 self.assertEqual(b, self.fspath(b)) 4442 self.assertEqual(s, self.fspath(s)) 4448 self.assertEqual(p, self.fspath(pathlike)) 4453 self.assertEqual('#feelthegil', self.fspath(FakePath('#feelthegil'))) [all …]
|
D | test_tarfile.py | 494 self.assertEqual(tar.name, os.path.abspath(os.fspath(tarname))) 497 self.assertEqual(tar.name, os.path.abspath(os.fspath(tarname))) 500 self.assertEqual(tar.name, os.path.abspath(os.fspath(tarname))) 504 self.assertEqual(tar.name, os.path.abspath(os.fspath(tarname))) 1221 tarinfo2 = tar.gettarinfo(os.fspath(path))
|
/third_party/python/Lib/importlib/ |
D | _bootstrap_external.py | 405 path = _os.fspath(path) 462 path = _os.fspath(path) 745 location = _os.fspath(location)
|
/third_party/python/Lib/xml/sax/ |
D | saxutils.py | 343 source = os.fspath(source)
|
/third_party/python/Lib/asyncio/ |
D | unix_events.py | 250 path = os.fspath(path) 290 path = os.fspath(path)
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmagicmethods.py | 331 self.assertEqual(os.fspath(mock), expected_path)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a3.rst | 133 Update os.fspath()/PyOS_FSPath() to check the return value of __fspath__()
|