Home | History | Annotate | Download | only in Modules

Lines Matching refs:wpath

1649     Py_UNICODE *wpath;
1650 if (PyArg_ParseTuple(args, wformat, &wpath)) {
1652 res = wstatfunc(wpath, &st);
1656 return win32_error_unicode("stat", wpath);
1705 Py_UNICODE *wpath;
1706 if (PyArg_ParseTuple(args, "ui:access", &wpath, &mode)) {
1708 attr = GetFileAttributesW(wpath);
1855 Py_UNICODE *wpath;
1856 if (PyArg_ParseTuple(args, "ui|:chmod", &wpath, &i)) {
1858 attr = GetFileAttributesW(wpath);
1864 res = SetFileAttributesW(wpath, attr);
1870 return win32_error_unicode("chmod", wpath);
2296 Py_UNICODE *wpath;
2297 if (PyArg_ParseTuple(args, "u:listdir", &wpath)) {
2301 len = wcslen(wpath);
2307 wcscpy(wnamebuf, wpath);
2611 Py_UNICODE *wpath;
2612 if (PyArg_ParseTuple(args, "u|:_getfullpathname", &wpath)) {
2617 result = GetFullPathNameW(wpath,
2624 result = GetFullPathNameW(wpath, result, woutbufp, &wtemp);
2629 v = win32_error_unicode("GetFullPathNameW", wpath);
2665 Py_UNICODE *wpath;
2666 if (PyArg_ParseTuple(args, "u|i:mkdir", &wpath, &mode)) {
2668 res = CreateDirectoryW(wpath, NULL);
2671 return win32_error_unicode("mkdir", wpath);
2960 wchar_t *wpath = NULL;
2968 if (PyArg_ParseTuple(args, "uO|:utime", &wpath, &arg)) {
2970 hFile = CreateFileW(wpath, FILE_WRITE_ATTRIBUTES, 0,
2975 return win32_error_unicode("utime", wpath);
2981 if (!wpath) {
4430 Py_UNICODE *wpath;
4433 if (PyArg_ParseTuple(args, "u|:_isdir", &wpath)) {
4434 attributes = GetFileAttributesW(wpath);
6586 Py_UNICODE *wpath;
6587 if (PyArg_ParseTuple(args, "ui|i:mkdir", &wpath, &flag, &mode)) {
6589 fd = _wopen(wpath, flag, mode);
8648 Py_UNICODE *wpath;
8654 &wpath, &operation)) {
8671 wpath,
8677 PyObject *errval = win32_error_unicode("startfile", wpath);