Lines Matching refs:tmp_len
37 int ret_len, tmp_len; in php_win32_cp_to_w_int() local
45 tmp_len = !in_len ? -1 : (int)in_len + 1; in php_win32_cp_to_w_int()
47 ret_len = MultiByteToWideChar(cp, flags, in, tmp_len, NULL, 0); in php_win32_cp_to_w_int()
59 tmp_len = MultiByteToWideChar(cp, flags, in, tmp_len, ret, ret_len); in php_win32_cp_to_w_int()
60 if (tmp_len == 0) { in php_win32_cp_to_w_int()
66 assert(ret ? tmp_len == ret_len : 1); in php_win32_cp_to_w_int()
214 int target_len, tmp_len; in php_win32_cp_from_w_int() local
223 tmp_len = !in_len ? -1 : (int)in_len + 1; in php_win32_cp_from_w_int()
225 target_len = WideCharToMultiByte(cp, flags, in, tmp_len, NULL, 0, NULL, NULL); in php_win32_cp_from_w_int()
237 r = WideCharToMultiByte(cp, flags, in, tmp_len, target, target_len, NULL, NULL); in php_win32_cp_from_w_int()
416 size_t tmp_len = wcslen(tmp) + 1; in php_win32_cp_env_any_to_w() local
417 memmove(ew + bin_len, tmp, tmp_len * sizeof(wchar_t)); in php_win32_cp_env_any_to_w()
420 bin_len += tmp_len; in php_win32_cp_env_any_to_w()