Searched refs:widename (Results 1 – 2 of 2) sorted by relevance
212 Py_UNICODE *widename = NULL; in fileio_init() local254 widename = PyUnicode_AS_UNICODE(nameobj); in fileio_init()255 if (wcslen(widename) != (size_t)PyUnicode_GET_SIZE(nameobj)) { in fileio_init()260 if (widename == NULL) in fileio_init()372 if (widename != NULL) in fileio_init()373 self->fd = _wopen(widename, flags, 0666); in fileio_init()381 if (widename != NULL) in fileio_init()382 PyErr_SetFromErrnoWithUnicodeFilename(PyExc_IOError, widename); in fileio_init()
227 Py_UNICODE *widename = NULL; local279 widename = PyUnicode_AsUnicode(stringobj);280 if (widename == NULL)383 self->fd = _wopen(widename, flags, 0666);