Home
last modified time | relevance | path

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

/php-src/ext/standard/
H A Dbasic_functions.c678 efree(valw); in php_getenv()
681 char *ptr = php_win32_cp_w_to_any(valw); in php_getenv()
685 efree(valw); in php_getenv()
802 wchar_t *keyw, *valw = NULL;
806 valw = php_win32_cp_any_to_w(value);
809 if (!keyw || !valw && value) {
814 free(valw);
818 error_code = SetEnvironmentVariableW(keyw, valw);
827 && _wputenv_s(keyw, valw ? valw : L"") == 0
841 free(valw);
[all …]
/php-src/sapi/cgi/
H A Dcgi_main.c534 wchar_t *keyw, *valw; in cgi_getenv_win32() local
549 valw = emalloc((size + 1) * sizeof(wchar_t)); in cgi_getenv_win32()
551 rc = _wgetenv_s(&size, valw, size, keyw); in cgi_getenv_win32()
553 ret = php_win32_cp_w_to_any(valw); in cgi_getenv_win32()
557 efree(valw); in cgi_getenv_win32()

Completed in 16 milliseconds