Lines Matching refs:valw
766 wchar_t *keyw, *valw; in PHP_FUNCTION() local
790 valw = emalloc((size + 1) * sizeof(wchar_t)); in PHP_FUNCTION()
791 size = GetEnvironmentVariableW(keyw, valw, size); in PHP_FUNCTION()
795 efree(valw); in PHP_FUNCTION()
798 ptr = php_win32_cp_w_to_any(valw); in PHP_FUNCTION()
802 efree(valw); in PHP_FUNCTION()
898 wchar_t *keyw, *valw = NULL;
902 valw = php_win32_cp_any_to_w(value);
905 if (!keyw || !valw && value) {
910 free(valw);
914 error_code = SetEnvironmentVariableW(keyw, valw);
923 && _wputenv_s(keyw, valw ? valw : L"") == 0
937 free(valw);
945 free(valw);