Lines Matching refs:new_value

687 	no_language = mbfl_name2no_language(ZSTR_VAL(new_value));  in PHP_INI_MH()
704 if (!new_value) { in PHP_INI_MH()
713 …if (FAILURE == php_mb_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), &list, &size, … in PHP_INI_MH()
726 static zend_result _php_mb_ini_mbstring_http_input_set(const char *new_value, size_t new_value_leng… in _php_mb_ini_mbstring_http_input_set() argument
729 if (new_value_length == 4 && strncmp(new_value, "pass", 4) == 0) { in _php_mb_ini_mbstring_http_input_set()
733 …} else if (FAILURE == php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, /* per… in _php_mb_ini_mbstring_http_input_set()
747 if (new_value) { in PHP_INI_MH()
751 if (!new_value || !ZSTR_LEN(new_value)) { in PHP_INI_MH()
759 return _php_mb_ini_mbstring_http_input_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
763 static zend_result _php_mb_ini_mbstring_http_output_set(const char *new_value, size_t length) { in _php_mb_ini_mbstring_http_output_set() argument
764 const mbfl_encoding *encoding = php_mb_get_encoding_or_pass(new_value, length); in _php_mb_ini_mbstring_http_output_set()
777 if (new_value) { in PHP_INI_MH()
781 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
789 return _php_mb_ini_mbstring_http_output_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
794 static zend_result _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, size_t new_val… in _php_mb_ini_mbstring_internal_encoding_set() argument
798 if (!new_value || !new_value_length || !(encoding = mbfl_name2encoding(new_value))) { in _php_mb_ini_mbstring_internal_encoding_set()
800 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set()
801 php_error_docref("ref.mbstring", E_WARNING, "Unknown encoding \"%s\" in ini setting", new_value); in _php_mb_ini_mbstring_internal_encoding_set()
809 const char *enc_name = new_value; in _php_mb_ini_mbstring_internal_encoding_set()
815 php_mb_regex_set_mbctype(new_value); in _php_mb_ini_mbstring_internal_encoding_set()
825 if (new_value) { in PHP_INI_MH()
829 if (OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage) == FAILURE) { in PHP_INI_MH()
833 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
835 return _php_mb_ini_mbstring_internal_encoding_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
847 if (new_value != NULL) { in PHP_INI_MH()
848 if (zend_string_equals_literal_ci(new_value, "none")) { in PHP_INI_MH()
851 } else if (zend_string_equals_literal_ci(new_value, "long")) { in PHP_INI_MH()
854 } else if (zend_string_equals_literal_ci(new_value, "entity")) { in PHP_INI_MH()
860 if (ZSTR_LEN(new_value) > 0) { in PHP_INI_MH()
862 int c = strtol(ZSTR_VAL(new_value), &endptr, 0); in PHP_INI_MH()
884 if (new_value == NULL) { in PHP_INI_MH()
888 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
908 if (!new_value) { in PHP_INI_MH()
909 new_value = entry->orig_value; in PHP_INI_MH()
911 tmp = php_trim(new_value, NULL, 0, 3); in PHP_INI_MH()