Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Dbasic_functions.c708 efree(valw); in php_getenv()
711 char *ptr = php_win32_cp_w_to_any(valw); in php_getenv()
715 efree(valw); in php_getenv()
832 wchar_t *keyw, *valw = NULL;
836 valw = php_win32_cp_any_to_w(value);
839 if (!keyw || !valw && value) {
844 free(valw);
848 error_code = SetEnvironmentVariableW(keyw, valw);
857 && _wputenv_s(keyw, valw ? valw : L"") == 0
871 free(valw);
[all …]
/PHP-8.2/sapi/cgi/
H A Dcgi_main.c531 wchar_t *keyw, *valw; in cgi_getenv_win32() local
546 valw = emalloc((size + 1) * sizeof(wchar_t)); in cgi_getenv_win32()
548 rc = _wgetenv_s(&size, valw, size, keyw); in cgi_getenv_win32()
550 ret = php_win32_cp_w_to_any(valw); in cgi_getenv_win32()
554 efree(valw); in cgi_getenv_win32()

Completed in 27 milliseconds