/external/python/cpython2/Lib/test/ |
D | test_glob.py | 10 def fsdecode(s): function 53 ures = [fsdecode(x) for x in res] 54 self.assertItemsEqual(glob.glob(fsdecode(p)), ures) 55 self.assertItemsEqual(glob.iglob(fsdecode(p)), ures) 78 tmp = os.listdir(fsdecode(os.curdir)) 82 res = glob.glob(os.path.join(fsdecode(os.curdir), u'*')) 134 res = glob.glob(fsdecode(self.norm('Z*Z') + os.sep)) 136 res = glob.glob(fsdecode(self.norm('ZZZ') + os.sep)) 138 res = glob.glob(fsdecode(self.norm('aa*') + os.sep)) 142 {fsdecode(self.norm('aaa')), fsdecode(self.norm('aab'))}, [all …]
|
/external/python/cpython3/Lib/ctypes/ |
D | util.py | 136 return os.fsdecode(res.group(0)) 156 return os.fsdecode(res.group(1)) 178 return os.fsdecode(res.group(1)) 212 return os.fsdecode(res[-1]) 240 paths = os.fsdecode(line).split()[4] 283 return os.fsdecode(res.group(1)) 302 res = re.search(expr, os.fsdecode(out))
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | __init__.py | 24 from fontTools.ufoLib.utils import datetimeAsTimestamp, fsdecode, numberTypes 120 dt = self.fs.getinfo(fsdecode(path), namespaces=["details"]).modified 266 self._path = fsdecode(path) 359 return self.fs.readbytes(fsdecode(path)) 373 path = fsdecode(path) 754 fileName = fsdecode(fileName) 777 fileName = fsdecode(fileName) 934 self._path = fsdecode(path) 986 sourcePath = fsdecode(sourcePath) 987 destPath = fsdecode(destPath) [all …]
|
D | utils.py | 79 def fsdecode(path, encoding=sys.getfilesystemencoding()): function
|
/external/python/cpython3/Lib/ |
D | os.py | 653 path_list = fsdecode(path_list) 815 def fsdecode(filename): function 827 return fsencode, fsdecode 829 fsencode, fsdecode = _fscodec() variable
|
D | ntpath.py | 394 value = os.fsencode(os.environ[os.fsdecode(var)]) 416 value = os.fsencode(os.environ[os.fsdecode(var)]) 432 value = os.fsencode(os.environ[os.fsdecode(var)])
|
D | posixpath.py | 321 value = os.fsencode(os.environ[os.fsdecode(name)])
|
D | shutil.py | 476 path = os.fsdecode(path)
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 1109 root = os.fsdecode(broot) 1110 dirs = list(map(os.fsdecode, bdirs)) 1111 files = list(map(os.fsdecode, bfiles)) 1121 root = os.fsdecode(broot) 1122 dirs = list(map(os.fsdecode, bdirs)) 1123 files = list(map(os.fsdecode, bfiles)) 1898 fn = os.fsdecode(fn) 2385 self.assertEqual(os.fsdecode('abc\u0141'), 'abc\u0141') 2394 self.assertEqual(os.fsdecode(bytesfn), fn) 3711 self.assertEqual("path/like/object", os.fsdecode(pathlike))
|
D | test_cmd_line_script.py | 498 name = os.fsdecode(support.TESTFN_UNDECODABLE)
|
D | test_httpservers.py | 395 filename = os.fsdecode(support.TESTFN_UNDECODABLE) + '.txt'
|
D | test_tempfile.py | 594 self.assertEqual(a, os.fsdecode(c))
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 181 (:func:`os.fsdecode`). 210 encoding (:func:`os.fsdecode`). 264 decoded from the filesystem encoding (:func:`os.fsdecode`). 341 filesystem encoding (:func:`os.fsdecode`).
|
D | veryhigh.rst | 293 decoded from the filesystem encoding (:func:`os.fsdecode`).
|
/external/python/cpython3/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.
|
D | 3.7.0a1.rst | 962 os.fsencode() and os.fsdecode() which are already using UTF-8.
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 862 if os.fsdecode(os.fsencode(character)) != character:
|
/external/python/cpython3/Doc/library/ |
D | sys.rst | 502 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that 531 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that
|
D | os.rst | 169 :func:`fsdecode` is the reverse function. 178 .. function:: fsdecode(filename) 2227 :func:`~os.fsdecode` to decode byte filenames. 2240 :func:`~os.fsdecode` to decode byte filenames.
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 874 * :func:`os.fsdecode()` and :func:`os.fsencode()` use the UTF-8 encoding.
|
/external/python/cpython3/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 | 1517 :func:`~os.fsencode` and :func:`~os.fsdecode`, for encoding and decoding
|
/external/python/cpython3/Doc/ |
D | glossary.rst | 859 :func:`os.fsdecode` and :func:`os.fsencode` can be used to guarantee a
|
/external/python/cpython3/Misc/ |
D | HISTORY | 4587 os.fsencode() and os.fsdecode(), because these operating systems announce an 4614 inconsistencies with os.fsencode() and os.fsdecode() functions which are 12481 - Create os.fsdecode(): decode from the filesystem encoding with surrogateescape
|