Lines Matching refs:buf
484 PW32IO wchar_t *php_win32_ioutil_getcwd_w(wchar_t *buf, size_t len) in php_win32_ioutil_getcwd_w() argument
491 if (!buf) { in php_win32_ioutil_getcwd_w()
507 buf = tmp_buf; in php_win32_ioutil_getcwd_w()
510 if (!GetCurrentDirectoryW(tmp_len, buf)) { in php_win32_ioutil_getcwd_w()
517 return (wchar_t *)buf; in php_win32_ioutil_getcwd_w()
601 PW32IO php_win32_ioutil_normalization_result php_win32_ioutil_normalize_path_w(wchar_t **buf, size_… in php_win32_ioutil_normalize_path_w() argument
603 wchar_t *idx = *buf, canonicalw[MAXPATHLEN], _tmp[MAXPATHLEN], *pos = _tmp; in php_win32_ioutil_normalize_path_w()
612 for (; (size_t)(idx - *buf) <= len; idx++, pos++) { in php_win32_ioutil_normalize_path_w()
630 wchar_t *tmp = realloc(*buf, (ret_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_normalize_path_w()
637 *buf = tmp; in php_win32_ioutil_normalize_path_w()
639 memmove(*buf, canonicalw, (ret_len + 1) * sizeof(wchar_t)); in php_win32_ioutil_normalize_path_w()