Lines Matching refs:wpath
1222 const wchar_t *wpath = _PyUnicode_AsUnicode(path); in _Py_stat() local
1224 wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL); in _Py_stat() local
1226 if (wpath == NULL) in _Py_stat()
1229 err = _wstat(wpath, &wstatbuf); in _Py_stat()
1233 PyMem_Free(wpath); in _Py_stat()
1643 const wchar_t *wpath = _PyUnicode_AsUnicode(path); in _Py_fopen_obj() local
1645 wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL); in _Py_fopen_obj() local
1647 if (wpath == NULL) in _Py_fopen_obj()
1655 PyMem_Free(wpath); in _Py_fopen_obj()
1662 f = _wfopen(wpath, wmode); in _Py_fopen_obj()
1667 PyMem_Free(wpath); in _Py_fopen_obj()