Home
last modified time | relevance | path

Searched refs:widename (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_io/
Dfileio.c212 Py_UNICODE *widename = NULL; in fileio_init() local
254 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()
/external/python/cpython3/Modules/_io/
Dfileio.c225 Py_UNICODE *widename = NULL; local
277 widename = PyUnicode_AsUnicode(stringobj);
278 if (widename == NULL)
377 self->fd = _wopen(widename, flags, 0666);