Searched refs:fsdecode (Results 1 – 25 of 31) sorted by relevance
12
/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 | 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)
|
/external/fonttools/Lib/fontTools/ufoLib/ |
D | __init__.py | 3 from os import fsdecode 122 dt = self.fs.getinfo(fsdecode(path), namespaces=["details"]).modified 268 self._path = fsdecode(path) 384 return self.fs.readbytes(fsdecode(path)) 398 path = fsdecode(path) 810 fileName = fsdecode(fileName) 835 fileName = fsdecode(fileName) 1004 self._path = fsdecode(path) 1054 sourcePath = fsdecode(sourcePath) 1055 destPath = fsdecode(destPath) [all …]
|
/external/python/cpython3/Lib/ |
D | os.py | 656 path_list = fsdecode(path_list) 816 def fsdecode(filename): function 828 return fsencode, fsdecode 830 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 | runpy.py | 236 decoded_path = os.path.abspath(os.fsdecode(fname))
|
D | posixpath.py | 317 value = os.fsencode(os.environ[os.fsdecode(name)])
|
D | subprocess.py | 561 for arg in map(os.fsdecode, seq): 1359 executable = os.fsdecode(executable) 1410 cwd = os.fsdecode(cwd)
|
D | shutil.py | 703 path = os.fsdecode(path) 1409 path = os.fsdecode(path)
|
D | zipimport.py | 66 path = os.fsdecode(path)
|
/external/pigweed/pw_watch/py/pw_watch/ |
D | watch.py | 194 paths.append(os.fsdecode(event.dest_path)) 196 paths.append(os.fsdecode(event.src_path))
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 149 self.assertEqual(os.fsdecode(cwd), os.getcwd()) 1396 root = os.fsdecode(broot) 1397 dirs = list(map(os.fsdecode, bdirs)) 1398 files = list(map(os.fsdecode, bfiles)) 1408 root = os.fsdecode(broot) 1409 dirs = list(map(os.fsdecode, bdirs)) 1410 files = list(map(os.fsdecode, bfiles)) 2193 fn = os.fsdecode(fn) 2755 self.assertEqual(os.fsdecode('abc\u0141'), 'abc\u0141') 2764 self.assertEqual(os.fsdecode(bytesfn), fn) [all …]
|
D | test_ntpath.py | 45 return ntpath.normcase(os.fsdecode(path)) 47 return tuple(ntpath.normcase(os.fsdecode(p)) for p in path)
|
D | test_cmd_line_script.py | 560 name = os.fsdecode(support.TESTFN_UNDECODABLE)
|
D | test_compileall.py | 258 self.assertIn(f'"{expected_in}"', os.fsdecode(err))
|
D | test_tempfile.py | 589 self.assertEqual(a, os.fsdecode(c))
|
D | test_httpservers.py | 397 filename = os.fsdecode(support.TESTFN_UNDECODABLE) + '.txt'
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 186 (:func:`os.fsdecode`). 215 encoding (:func:`os.fsdecode`). 269 decoded from the filesystem encoding (:func:`os.fsdecode`). 346 filesystem encoding (:func:`os.fsdecode`).
|
D | veryhigh.rst | 314 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.
|
/external/python/cpython3/Lib/multiprocessing/ |
D | managers.py | 1271 address = os.fsdecode(address)
|
/external/python/cpython3/Doc/library/ |
D | sys.rst | 625 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that 658 :func:`os.fsencode` and :func:`os.fsdecode` should be used to ensure that
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 775 if os.fsdecode(os.fsencode(character)) != character:
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 929 * :func:`os.fsdecode()` and :func:`os.fsencode()` use the UTF-8 encoding.
|
12