Home
last modified time | relevance | path

Searched refs:pathw_len (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/win32/
H A Dioutil.c524 size_t ret_len, len_adjust = 0, pathw_len; in php_win32_ioutil_dirname() local
534 startw = pathw = php_win32_cp_conv_any_to_w(path, len, &pathw_len); in php_win32_ioutil_dirname()
539 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
541 if ((2 <= pathw_len) && iswalpha((wint_t)(pathw)[0]) && (L':' == pathw[1])) { in php_win32_ioutil_dirname()
/PHP-7.3/Zend/
H A Dzend_virtual_cwd.c256 size_t pathw_len = 0; in php_sys_stat_ex() local
258 wchar_t *pathw = php_win32_ioutil_conv_any_to_w(path, PHP_WIN32_CP_IGNORE_LEN, &pathw_len); in php_sys_stat_ex()
276 if (pathw_len >= 1 && pathw[1] == L':') { in php_sys_stat_ex()
282 } else if (PHP_WIN32_IOUTIL_IS_UNC(pathw, pathw_len)) { in php_sys_stat_ex()
349 if (pathw_len >= 4 && pathw[pathw_len-4] == L'.') { in php_sys_stat_ex()
350 if (_wcsnicmp(pathw+pathw_len-3, L"exe", 3) == 0 || in php_sys_stat_ex()
351 _wcsnicmp(pathw+pathw_len-3, L"com", 3) == 0 || in php_sys_stat_ex()
352 _wcsnicmp(pathw+pathw_len-3, L"bat", 3) == 0 || in php_sys_stat_ex()
353 _wcsnicmp(pathw+pathw_len-3, L"cmd", 3) == 0) { in php_sys_stat_ex()

Completed in 12 milliseconds