Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.3/ext/standard/
H A Dassert.c55 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
59 ZVAL_STR_COPY(&ASSERTG(callback), new_value); in PHP_INI_MH()
65 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
69 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1); in PHP_INI_MH()
70 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
71 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH()
83 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH()
93 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH()
103 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH()
114 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH()
H A Dbrowscap.c313 zend_string *new_key, *new_value; in php_browscap_parser_cb() local
320 new_value = ZSTR_CHAR('1'); in php_browscap_parser_cb()
326 new_value = ZSTR_EMPTY_ALLOC(); in php_browscap_parser_cb()
328 new_value = browscap_intern_str(ctx, Z_STR_P(arg2), persistent); in php_browscap_parser_cb()
346 ctx->current_entry->parent = new_value; in php_browscap_parser_cb()
349 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb()
488 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
H A Durl_scanner_ex.re48 static int php_ini_on_update_tags(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, voi…
61 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value));
105 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1);
110 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0);
113 static int php_ini_on_update_hosts(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, vo…
128 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value));
155 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1);
160 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0);
H A Dbasic_functions.c2027 zval *new_value; local
2032 Z_PARAM_ZVAL(new_value)
2035 if (Z_TYPE_P(new_value) > IS_STRING) {
2049 zend_string *new_value_str = zval_get_tmp_string(new_value, &new_value_tmp_str);
2093 zend_string *new_value; local
2098 Z_PARAM_PATH_STR(new_value)
2110 if (zend_alter_ini_entry_ex(key, new_value, PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0) == FAILURE) {
/PHP-8.3/Zend/
H A Dzend_ini.c335 zend_string *new_value; in zend_alter_ini_entry_chars() local
339 zend_string_release(new_value); in zend_alter_ini_entry_chars()
347 zend_string *new_value; in zend_alter_ini_entry_chars_ex() local
351 zend_string_release(new_value); in zend_alter_ini_entry_chars_ex()
983 *p = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
1021 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
1028 if (new_value && !ZSTR_VAL(new_value)[0]) { in ZEND_INI_MH()
1033 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
1041 *p = new_value; in ZEND_INI_MH()
1048 if (new_value && ZSTR_LEN(new_value) == 0) { in ZEND_INI_MH()
[all …]
H A Dzend_multibyte.c188 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new… in zend_multibyte_set_script_encoding_by_string() argument
193 if (!new_value) { in zend_multibyte_set_script_encoding_by_string()
198 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1)) { in zend_multibyte_set_script_encoding_by_string()
H A Dzend_ini.h28 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, vo…
79 ZEND_API zend_result zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_typ…
80 ZEND_API zend_result zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_…
H A Dzend.c110 if (!new_value) { in ZEND_INI_MH()
113 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
123 val = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
149 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH()
157 zend_long val = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
174 zend_long i = ZEND_ATOL(ZSTR_VAL(new_value)); in ZEND_INI_MH()
187 zend_long size = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
203 zend_ulong size = zend_ini_parse_uquantity_warn(new_value, entry->name); in ZEND_INI_MH()
232 if (new_value) { in ZEND_INI_MH()
233 zend_long tmp = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
H A Dzend_multibyte.h75 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new…
/PHP-8.3/ext/com_dotnet/
H A Dcom_extension.c94 …if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==N… in ZEND_GET_MODULE()
144 if (!zend_ini_parse_bool(new_value)) { in ZEND_INI_MH()
148 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-8.3/ext/opcache/
H A Dzend_accelerator_module.c69 zend_long memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
105 zend_long size = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
122 zend_long percentage = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
141 if (zend_ini_parse_bool(new_value)) { in ZEND_INI_MH()
154 if (new_value) {
155 if (!ZSTR_LEN(new_value)) {
156 new_value = NULL;
160 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) ||
161 zend_stat(ZSTR_VAL(new_value), &buf) != 0 ||
166 _access(ZSTR_VAL(new_value), 06) != 0) {
[all …]
/PHP-8.3/main/
H A Dmain.c112 const zend_string *facility = new_value; in PHP_INI_MH()
276 if (new_value) { in PHP_INI_MH()
299 const zend_string *filter = new_value; in PHP_INI_MH()
547 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
548 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
555 if (new_value) { in PHP_INI_MH()
567 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
582 if (new_value) { in PHP_INI_MH()
598 if (new_value) { in PHP_INI_MH()
614 if (new_value) { in PHP_INI_MH()
[all …]
H A Dfastcgi.h100 void fcgi_set_in_shutdown(int new_value);
101 void fcgi_request_set_keep(fcgi_request *req, int new_value);
H A Dfopen_wrappers.c84 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
90 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH()
96 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH()
/PHP-8.3/sapi/fpm/fpm/
H A Dzlog.h21 int zlog_set_level(int new_value);
22 int zlog_set_limit(int new_value);
H A Dfpm_php.c24 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_valu… in fpm_php_zend_ini_alter_master() argument
33 duplicate = zend_string_init(new_value, new_value_length, 1); in fpm_php_zend_ini_alter_master()
H A Dzlog.c103 int zlog_set_level(int new_value) /* {{{ */ in zlog_set_level() argument
107 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value; in zlog_set_level()
109 zlog_level = new_value; in zlog_set_level()
114 int zlog_set_limit(int new_value) /* {{{ */ in zlog_set_limit() argument
118 zlog_limit = new_value; in zlog_set_limit()
/PHP-8.3/ext/session/
H A Dsession.c588 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
623 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH()
655 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
660 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
667 p = ZSTR_VAL(new_value); in PHP_INI_MH()
686 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()
717 zend_long v = (zend_long)atol(ZSTR_VAL(new_value)); in PHP_INI_MH()
763 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
783 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
798 int tmp = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()
[all …]
/PHP-8.3/ext/zend_test/
H A Dobserver.c322 if (new_value && ZSTR_LEN(new_value)) { in ZEND_INI_MH()
323 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH()
331 zend_string *str = zend_string_init(start, ZSTR_VAL(new_value) + ZSTR_LEN(new_value) - start, 1); in ZEND_INI_MH()
/PHP-8.3/ext/mbstring/
H A Dmbstring.c708 if (!new_value) { in PHP_INI_MH()
751 if (new_value) { in PHP_INI_MH()
755 if (!new_value || !ZSTR_LEN(new_value)) { in PHP_INI_MH()
781 if (new_value) { in PHP_INI_MH()
785 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
803 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set()
828 if (new_value) { in PHP_INI_MH()
836 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
853 if (new_value != NULL) { in PHP_INI_MH()
888 if (new_value == NULL) { in PHP_INI_MH()
[all …]
/PHP-8.3/ext/dba/
H A Ddba.c326 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH()
328 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
331 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
334 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
338 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-8.3/ext/exif/
H A Dexif.c110 if (new_value && ZSTR_LEN(new_value)) { in ZEND_DECLARE_MODULE_GLOBALS()
113 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_DECLARE_MODULE_GLOBALS()
120 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_DECLARE_MODULE_GLOBALS()
125 if (new_value) { in ZEND_INI_MH()
128 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_INI_MH()
135 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
2869 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2894 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2935 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2939 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-8.3/ext/filter/
H A Dfilter.c108 if ((strcasecmp(ZSTR_VAL(new_value), filter_list[i].name) == 0)) { in ZEND_GET_MODULE()
125 if (!new_value) { in PHP_INI_MH()
128 IF_G(default_filter_flags) = atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
/PHP-8.3/ext/zlib/
H A Dzlib.c1263 if (new_value == NULL) { in ZEND_GET_MODULE()
1267 if (zend_string_equals_literal_ci(new_value, "off")) { in ZEND_GET_MODULE()
1269 } else if (zend_string_equals_literal_ci(new_value, "on")) { in ZEND_GET_MODULE()
1272 int_value = (int) zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_GET_MODULE()
1310 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-8.3/ext/mysqlnd/
H A Dphp_mysqlnd.c163 zend_long long_value = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()

Completed in 204 milliseconds

12