Lines Matching refs:keyw
766 wchar_t *keyw, *valw; in PHP_FUNCTION() local
768 keyw = php_win32_cp_conv_any_to_w(str, str_len, PHP_WIN32_CP_IGNORE_LEN_P); in PHP_FUNCTION()
769 if (!keyw) { in PHP_FUNCTION()
777 size = GetEnvironmentVariableW(keyw, &dummybuf, 0); in PHP_FUNCTION()
780 free(keyw); in PHP_FUNCTION()
786 free(keyw); in PHP_FUNCTION()
791 size = GetEnvironmentVariableW(keyw, valw, size); in PHP_FUNCTION()
794 free(keyw); in PHP_FUNCTION()
801 free(keyw); in PHP_FUNCTION()
898 wchar_t *keyw, *valw = NULL;
900 keyw = php_win32_cp_any_to_w(pe.key);
905 if (!keyw || !valw && value) {
909 free(keyw);
914 error_code = SetEnvironmentVariableW(keyw, valw);
923 && _wputenv_s(keyw, valw ? valw : L"") == 0
936 free(keyw);
944 free(keyw);