Home
last modified time | relevance | path

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

/PHP-7.4/win32/
H A Dcodepage.c402 wchar_t *envw = NULL, ew[32760]; in php_win32_cp_env_any_to_w() local
427 envw = (wchar_t *) malloc((bin_len + 3) * sizeof(wchar_t)); in php_win32_cp_env_any_to_w()
428 if (!envw) { in php_win32_cp_env_any_to_w()
432 memmove(envw, ew, bin_len * sizeof(wchar_t)); in php_win32_cp_env_any_to_w()
433 envw[bin_len] = L'\0'; in php_win32_cp_env_any_to_w()
434 envw[bin_len + 1] = L'\0'; in php_win32_cp_env_any_to_w()
435 envw[bin_len + 2] = L'\0'; in php_win32_cp_env_any_to_w()
437 return envw; in php_win32_cp_env_any_to_w()
/PHP-7.4/TSRM/
H A Dtsrm_win32.c460 wchar_t *cmdw = NULL, *cwdw = NULL, *envw = NULL; in popen_ex() local
550 envw = php_win32_cp_env_any_to_w(env); in popen_ex()
551 if (envw) { in popen_ex()
563 …NULL, cmdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &p… in popen_ex()
566 …NULL, cmdw, &security, &security, security.bInheritHandle, dwCreateFlags, envw, cwdw, &startup, &p… in popen_ex()
571 free(envw); in popen_ex()

Completed in 7 milliseconds