Lines Matching refs:path
189 PW32IO int php_win32_ioutil_open_w(const wchar_t *path, int flags, ...) in php_win32_ioutil_open_w() argument
196 PHP_WIN32_IOUTIL_CHECK_PATH_W(path, -1, 0) in php_win32_ioutil_open_w()
211 file = CreateFileW(path, in php_win32_ioutil_open_w()
289 PW32IO int php_win32_ioutil_mkdir_w(const wchar_t *path, mode_t mode)
294 PHP_WIN32_IOUTIL_CHECK_PATH_W(path, -1, 0)
297 if (!CreateDirectoryW(path, NULL)) {
307 PW32IO int php_win32_ioutil_mkdir(const char *path, mode_t mode) in php_win32_ioutil_mkdir() argument
310 wchar_t *pathw = php_win32_ioutil_conv_any_to_w(path, 0, &pathw_len); in php_win32_ioutil_mkdir()
361 PW32IO int php_win32_ioutil_unlink_w(const wchar_t *path) in php_win32_ioutil_unlink_w() argument
366 PHP_WIN32_IOUTIL_CHECK_PATH_W(path, -1, 0) in php_win32_ioutil_unlink_w()
368 if (!DeleteFileW(path)) { in php_win32_ioutil_unlink_w()
377 PW32IO int php_win32_ioutil_rmdir_w(const wchar_t *path) in php_win32_ioutil_rmdir_w() argument
382 PHP_WIN32_IOUTIL_CHECK_PATH_W(path, -1, 0) in php_win32_ioutil_rmdir_w()
384 if (!RemoveDirectoryW(path)) { in php_win32_ioutil_rmdir_w()
393 PW32IO int php_win32_ioutil_chdir_w(const wchar_t *path) in php_win32_ioutil_chdir_w() argument
398 if (!SetCurrentDirectoryW(path)) { in php_win32_ioutil_chdir_w()
463 PW32IO size_t php_win32_ioutil_dirname(char *path, size_t len) in php_win32_ioutil_dirname() argument
473 start = path; in php_win32_ioutil_dirname()
476 startw = pathw = php_win32_cp_conv_any_to_w(path, len, &pathw_len); in php_win32_ioutil_dirname()
483 if ((2 <= len) && isalpha((int)((unsigned char *)path)[0]) && (':' == path[1])) { in php_win32_ioutil_dirname()
485 path += 2; in php_win32_ioutil_dirname()
500 path[0] = PHP_WIN32_IOUTIL_DEFAULT_SLASH; in php_win32_ioutil_dirname()
501 path[1] = '\0'; in php_win32_ioutil_dirname()
511 path[0] = '.'; in php_win32_ioutil_dirname()
512 path[1] = '\0'; in php_win32_ioutil_dirname()
522 path[0] = PHP_WIN32_IOUTIL_DEFAULT_SLASH; in php_win32_ioutil_dirname()
523 path[1] = '\0'; in php_win32_ioutil_dirname()
606 PW32IO int php_win32_ioutil_access_w(const wchar_t *path, mode_t mode)
608 return _waccess(path, mode);
613 PW32IO HANDLE php_win32_ioutil_findfirstfile_w(char *path, WIN32_FIND_DATA *data)
618 if (!path) {
623 pathw = php_win32_ioutil_any_to_w(path);
633 if (INVALID_HANDLE_VALUE == ret && path) {
634 ret = FindFirstFileA(path, data);