Searched refs:fsdecode (Results 1 – 25 of 27) sorted by relevance
12
/third_party/python/Lib/ctypes/ |
D | util.py | 149 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/ |
D | ntpath.py | 318 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)])
|
D | os.py | 656 path_list = fsdecode(path_list) 816 def fsdecode(filename): function 828 return fsencode, fsdecode 830 fsencode, fsdecode = _fscodec() variable
|
D | tempfile.py | 277 return _os.fsdecode(template) 299 return _os.fsdecode(_gettempdir())
|
D | runpy.py | 236 decoded_path = os.path.abspath(os.fsdecode(fname))
|
D | subprocess.py | 561 for arg in map(os.fsdecode, seq): 1378 executable = os.fsdecode(executable) 1429 cwd = os.fsdecode(cwd)
|
D | posixpath.py | 320 value = os.fsencode(os.environ[os.fsdecode(name)])
|
D | shutil.py | 702 path = os.fsdecode(path) 1427 path = os.fsdecode(path)
|
D | zipimport.py | 67 path = os.fsdecode(path)
|
/third_party/python/Lib/test/ |
D | test_os.py | 169 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 …]
|
D | test_ntpath.py | 47 return ntpath.normcase(os.fsdecode(path)) 49 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path)
|
D | test_cmd_line_script.py | 562 name = os.fsdecode(os_helper.TESTFN_UNDECODABLE)
|
D | test_compileall.py | 295 self.assertIn(f'"{expected_in}"', os.fsdecode(err))
|
D | test_httpservers.py | 399 filename = os.fsdecode(os_helper.TESTFN_UNDECODABLE) + '.txt'
|
D | test_tempfile.py | 611 self.assertEqual(a, os.fsdecode(c))
|
/third_party/python/Lib/test/support/ |
D | os_helper.py | 106 if os.fsdecode(os.fsencode(character)) != character:
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a2.rst | 248 Add support for os.PathLike objects to os.fsencode() and os.fsdecode() (part
|
D | 3.6.1rc1.rst | 163 os.fsencode() and os.fsdecode() which are already using UTF-8.
|
/third_party/python/Lib/multiprocessing/ |
D | managers.py | 1280 address = os.fsdecode(address)
|
/third_party/python/Doc/library/ |
D | os.rst | 128 * :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.
|
D | sys.rst | 648 :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/ |
D | exceptions.rst | 215 encoding (:func:`os.fsdecode`).
|
/third_party/python/Doc/whatsnew/ |
D | 3.6.rst | 422 :func:`os.fsdecode`, or :func:`os.fsencode` to explicitly get a 517 :func:`os.fsencode()` and :func:`os.fsdecode()` to ensure their bytes are
|
D | 3.2.rst | 1519 :func:`~os.fsencode` and :func:`~os.fsdecode`, for encoding and decoding
|
/third_party/python/Doc/ |
D | glossary.rst | 964 :func:`os.fsdecode` and :func:`os.fsencode` can be used to guarantee a
|
12