Lines Matching refs:endw
525 wchar_t *endw, *pathw, *startw; in php_win32_ioutil_dirname() local
539 endw = pathw + pathw_len - 1; in php_win32_ioutil_dirname()
552 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
553 endw--; in php_win32_ioutil_dirname()
555 if (endw < pathw) { in php_win32_ioutil_dirname()
564 while (endw >= pathw && !PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
565 endw--; in php_win32_ioutil_dirname()
567 if (endw < pathw) { in php_win32_ioutil_dirname()
575 while (endw >= pathw && PHP_WIN32_IOUTIL_IS_SLASHW(*endw)) { in php_win32_ioutil_dirname()
576 endw--; in php_win32_ioutil_dirname()
578 if (endw < pathw) { in php_win32_ioutil_dirname()
584 *(endw+1) = L'\0'; in php_win32_ioutil_dirname()
586 ret_len = (endw + 1 - startw); in php_win32_ioutil_dirname()