Lines Matching refs:pathw
310 wchar_t *pathw = php_win32_ioutil_conv_any_to_w(path, 0, &pathw_len); in php_win32_ioutil_mkdir() local
326 free(pathw); in php_win32_ioutil_mkdir()
330 memmove(tmp, pathw, (pathw_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_mkdir()
337 free(pathw); in php_win32_ioutil_mkdir()
338 pathw = tmp; in php_win32_ioutil_mkdir()
355 pathw = tmp; in php_win32_ioutil_mkdir()
358 pathw = pathw; in php_win32_ioutil_mkdir()
362 if (!pathw) { in php_win32_ioutil_mkdir()
367 PHP_WIN32_IOUTIL_CHECK_PATH_W(pathw, -1, 1) in php_win32_ioutil_mkdir()
369 if (!CreateDirectoryW(pathw, NULL)) { in php_win32_ioutil_mkdir()
373 free(pathw); in php_win32_ioutil_mkdir()
487 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
496 startw = pathw = php_win32_cp_conv_any_to_w(path, len, &pathw_len); in php_win32_ioutil_dirname()
497 if (!pathw) { in php_win32_ioutil_dirname()
501 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
503 if ((2 <= pathw_len) && iswalpha((wint_t)(pathw)[0]) && (L':' == pathw[1])) { in php_win32_ioutil_dirname()
504 pathw += 2; in php_win32_ioutil_dirname()
514 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
517 if (endw < pathw) { in php_win32_ioutil_dirname()
526 while (endw >= pathw && !PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
529 if (endw < pathw) { in php_win32_ioutil_dirname()
537 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
540 if (endw < pathw) { in php_win32_ioutil_dirname()
648 pathw = php_win32_ioutil_any_to_w(path);
650 if (!pathw) {
656 ret = FindFirstFileW(pathw, data);