Home
last modified time | relevance | path

Searched refs:fsdecode (Results 1 – 25 of 27) sorted by relevance

12

/third_party/python/Lib/ctypes/
Dutil.py149 return os.fsdecode(file)
169 return os.fsdecode(res.group(1))
191 return os.fsdecode(res.group(1))
225 return os.fsdecode(res[-1])
253 paths = os.fsdecode(line).split()[4]
296 return os.fsdecode(res.group(1))
315 res = re.findall(expr, os.fsdecode(out))
322 return os.fsdecode(file)
/third_party/python/Lib/
Dntpath.py318 target_user = os.fsdecode(target_user)
407 value = os.fsencode(os.environ[os.fsdecode(var)])
429 value = os.fsencode(os.environ[os.fsdecode(var)])
445 value = os.fsencode(os.environ[os.fsdecode(var)])
Dos.py656 path_list = fsdecode(path_list)
816 def fsdecode(filename): function
828 return fsencode, fsdecode
830 fsencode, fsdecode = _fscodec() variable
Dtempfile.py277 return _os.fsdecode(template)
299 return _os.fsdecode(_gettempdir())
Drunpy.py236 decoded_path = os.path.abspath(os.fsdecode(fname))
Dsubprocess.py561 for arg in map(os.fsdecode, seq):
1378 executable = os.fsdecode(executable)
1429 cwd = os.fsdecode(cwd)
Dposixpath.py320 value = os.fsencode(os.environ[os.fsdecode(name)])
Dshutil.py702 path = os.fsdecode(path)
1427 path = os.fsdecode(path)
Dzipimport.py67 path = os.fsdecode(path)
/third_party/python/Lib/test/
Dtest_os.py169 self.assertEqual(os.fsdecode(cwd), os.getcwd())
1538 root = os.fsdecode(broot)
1539 dirs = list(map(os.fsdecode, bdirs))
1540 files = list(map(os.fsdecode, bfiles))
1550 root = os.fsdecode(broot)
1551 dirs = list(map(os.fsdecode, bdirs))
1552 files = list(map(os.fsdecode, bfiles))
2338 fn = os.fsdecode(fn)
2900 self.assertEqual(os.fsdecode('abc\u0141'), 'abc\u0141')
2909 self.assertEqual(os.fsdecode(bytesfn), fn)
[all …]
Dtest_ntpath.py47 return ntpath.normcase(os.fsdecode(path))
49 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path)
Dtest_cmd_line_script.py562 name = os.fsdecode(os_helper.TESTFN_UNDECODABLE)
Dtest_compileall.py295 self.assertIn(f'"{expected_in}"', os.fsdecode(err))
Dtest_httpservers.py399 filename = os.fsdecode(os_helper.TESTFN_UNDECODABLE) + '.txt'
Dtest_tempfile.py611 self.assertEqual(a, os.fsdecode(c))
/third_party/python/Lib/test/support/
Dos_helper.py106 if os.fsdecode(os.fsencode(character)) != character:
/third_party/python/Misc/NEWS.d/
D3.6.0a2.rst248 Add support for os.PathLike objects to os.fsencode() and os.fsdecode() (part
D3.6.1rc1.rst163 os.fsencode() and os.fsdecode() which are already using UTF-8.
/third_party/python/Lib/multiprocessing/
Dmanagers.py1280 address = os.fsdecode(address)
/third_party/python/Doc/library/
Dos.rst128 * :func:`os.fsdecode()` and :func:`os.fsencode()` use the UTF-8 encoding.
241 :func:`fsdecode` is the reverse function.
250 .. function:: fsdecode(filename)
2487 :func:`~os.fsdecode` to decode byte filenames.
2500 :func:`~os.fsdecode` to decode byte filenames.
Dsys.rst648 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that
676 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that
/third_party/python/Doc/c-api/
Dexceptions.rst215 encoding (:func:`os.fsdecode`).
/third_party/python/Doc/whatsnew/
D3.6.rst422 :func:`os.fsdecode`, or :func:`os.fsencode` to explicitly get a
517 :func:`os.fsencode()` and :func:`os.fsdecode()` to ensure their bytes are
D3.2.rst1519 :func:`~os.fsencode` and :func:`~os.fsdecode`, for encoding and decoding
/third_party/python/Doc/
Dglossary.rst964 :func:`os.fsdecode` and :func:`os.fsencode` can be used to guarantee a

12