Searched refs:path_bytes (Results 1 – 3 of 3) sorted by relevance
1671 const char *path_bytes; in _Py_fopen_obj() local1677 path_bytes = PyBytes_AS_STRING(bytes); in _Py_fopen_obj()1686 f = fopen(path_bytes, mode); in _Py_fopen_obj()
4307 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))
4196 PyObject *path_bytes = NULL; in PyUnicode_FSDecoder() local4205 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()