• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ruby-106/ruby/win32/

Lines Matching defs:wpath

1780 opendir_internal(WCHAR *wpath, const char *filename)
1794 if (wstati64(wpath, &sbuf) < 0) {
1803 fh = open_dir_handle(wpath, &fd);
1900 WCHAR *wpath = filecp_to_wstr(filename, NULL);
1901 if (!wpath)
1903 ret = opendir_internal(wpath, filename);
1904 free(wpath);
1913 WCHAR *wpath = utf8_to_wstr(filename, NULL);
1914 if (!wpath)
1916 ret = opendir_internal(wpath, filename);
1917 free(wpath);
4711 WCHAR *wpath;
4714 if (!(wpath = utf8_to_wstr(path, NULL)))
4716 ret = wstati64(wpath, st);
4717 free(wpath);
4725 WCHAR *wpath;
4728 if (!(wpath = filecp_to_wstr(path, NULL)))
4730 ret = wstati64(wpath, st);
4731 free(wpath);
6252 WCHAR *wpath;
6255 if (!(wpath = utf8_to_wstr(path, NULL)))
6257 ret = wutime(wpath, times);
6258 free(wpath);
6266 WCHAR *wpath;
6269 if (!(wpath = filecp_to_wstr(path, NULL)))
6271 ret = wutime(wpath, times);
6272 free(wpath);
6280 WCHAR *wpath;
6283 if (!(wpath = utf8_to_wstr(path, NULL)))
6285 ret = _wchdir(wpath);
6286 free(wpath);
6292 wmkdir(const WCHAR *wpath, int mode)
6297 if (CreateDirectoryW(wpath, NULL) == FALSE) {
6301 if (_wchmod(wpath, mode) == -1) {
6302 RemoveDirectoryW(wpath);
6314 WCHAR *wpath;
6317 if (!(wpath = utf8_to_wstr(path, NULL)))
6319 ret = wmkdir(wpath, mode);
6320 free(wpath);
6328 WCHAR *wpath;
6331 if (!(wpath = filecp_to_wstr(path, NULL)))
6333 ret = wmkdir(wpath, mode);
6334 free(wpath);
6340 wrmdir(const WCHAR *wpath)
6344 const DWORD attr = GetFileAttributesW(wpath);
6346 SetFileAttributesW(wpath, attr & ~FILE_ATTRIBUTE_READONLY);
6348 if (RemoveDirectoryW(wpath) == FALSE) {
6352 SetFileAttributesW(wpath, attr);
6363 WCHAR *wpath;
6366 if (!(wpath = filecp_to_wstr(path, NULL)))
6368 ret = wrmdir(wpath);
6369 free(wpath);
6377 WCHAR *wpath;
6380 if (!(wpath = utf8_to_wstr(path, NULL)))
6382 ret = wrmdir(wpath);
6383 free(wpath);
6412 WCHAR *wpath;
6415 if (!(wpath = utf8_to_wstr(path, NULL)))
6417 ret = wunlink(wpath);
6418 free(wpath);
6426 WCHAR *wpath;
6429 if (!(wpath = filecp_to_wstr(path, NULL)))
6431 ret = wunlink(wpath);
6432 free(wpath);
6440 WCHAR *wpath;
6443 if (!(wpath = utf8_to_wstr(path, NULL)))
6445 ret = _wchmod(wpath, mode);
6446 free(wpath);