Lines Matching refs:keyw
4096 wchar_t *keyw, *valw; in PHP_FUNCTION() local
4098 keyw = php_win32_cp_conv_any_to_w(str, str_len, PHP_WIN32_CP_IGNORE_LEN_P); in PHP_FUNCTION()
4099 if (!keyw) { in PHP_FUNCTION()
4107 size = GetEnvironmentVariableW(keyw, &dummybuf, 0); in PHP_FUNCTION()
4110 free(keyw); in PHP_FUNCTION()
4116 free(keyw); in PHP_FUNCTION()
4121 size = GetEnvironmentVariableW(keyw, valw, size); in PHP_FUNCTION()
4124 free(keyw); in PHP_FUNCTION()
4131 free(keyw); in PHP_FUNCTION()
4229 wchar_t *keyw, *valw = NULL;
4231 keyw = php_win32_cp_any_to_w(pe.key);
4236 if (!keyw || !valw && value) {
4240 free(keyw);
4245 error_code = SetEnvironmentVariableW(keyw, valw);
4254 && _wputenv_s(keyw, valw ? valw : L"") == 0
4267 free(keyw);
4275 free(keyw);