Home
last modified time | relevance | path

Searched refs:path_bytes (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dfileutils.c1671 const char *path_bytes; in _Py_fopen_obj() local
1677 path_bytes = PyBytes_AS_STRING(bytes); in _Py_fopen_obj()
1686 f = fopen(path_bytes, mode); in _Py_fopen_obj()
/third_party/python/Lib/test/
Dtest_os.py4307 path_bytes = os.fsencode(self.path)
4308 entries = list(os.scandir(path_bytes))
4320 path_bytes = cls(os.fsencode(self.path))
4322 entries = list(os.scandir(path_bytes))
/third_party/python/Objects/
Dunicodeobject.c4196 PyObject *path_bytes = NULL; in PyUnicode_FSDecoder() local
4205 path_bytes = PyBytes_FromObject(path); in PyUnicode_FSDecoder()
4207 if (!path_bytes) { in PyUnicode_FSDecoder()
4210 output = PyUnicode_DecodeFSDefaultAndSize(PyBytes_AS_STRING(path_bytes), in PyUnicode_FSDecoder()
4211 PyBytes_GET_SIZE(path_bytes)); in PyUnicode_FSDecoder()
4212 Py_DECREF(path_bytes); in PyUnicode_FSDecoder()