Lines Matching refs:endw
487 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
501 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
514 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
515 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()
527 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()
538 endw--; in php_win32_ioutil_dirname()
540 if (endw < pathw) { in php_win32_ioutil_dirname()
546 *(endw+1) = L'\0'; in php_win32_ioutil_dirname()
548 ret_len = (endw + 1 - startw); in php_win32_ioutil_dirname()