Lines Matching refs:pathw
542 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
551 startw = pathw = php_win32_cp_conv_any_to_w(path, len, &pathw_len); in php_win32_ioutil_dirname()
552 if (!pathw) { in php_win32_ioutil_dirname()
556 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
558 if ((2 <= pathw_len) && iswalpha((wint_t)(pathw)[0]) && (L':' == pathw[1])) { in php_win32_ioutil_dirname()
559 pathw += 2; in php_win32_ioutil_dirname()
569 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
572 if (endw < pathw) { in php_win32_ioutil_dirname()
581 while (endw >= pathw && !PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
584 if (endw < pathw) { in php_win32_ioutil_dirname()
592 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
595 if (endw < pathw) { in php_win32_ioutil_dirname()
854 static int php_win32_ioutil_fstat_int(HANDLE h, php_win32_ioutil_stat_t *buf, const wchar_t *pathw,… in php_win32_ioutil_fstat_int() argument
888 if (!GetFileAttributesExW(pathw, GetFileExInfoStandard, &_data)) { in php_win32_ioutil_fstat_int()
922 pathw[pathw_len-4] == L'.') { in php_win32_ioutil_fstat_int()
923 if (_wcsnicmp(pathw+pathw_len-3, L"exe", 3) == 0 || in php_win32_ioutil_fstat_int()
924 _wcsnicmp(pathw+pathw_len-3, L"com", 3) == 0) { in php_win32_ioutil_fstat_int()
926 if (GetBinaryTypeW(pathw, &type)) { in php_win32_ioutil_fstat_int()
930 } else if (_wcsnicmp(pathw+pathw_len-3, L"bat", 3) == 0 || in php_win32_ioutil_fstat_int()
931 _wcsnicmp(pathw+pathw_len-3, L"cmd", 3) == 0) { in php_win32_ioutil_fstat_int()