Home
last modified time | relevance | path

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

12

/PHP-7.4/Zend/
H A Dzend_ini.c299 zend_string *new_value; in zend_alter_ini_entry_chars() local
303 zend_string_release(new_value); in zend_alter_ini_entry_chars()
311 zend_string *new_value; in zend_alter_ini_entry_chars_ex() local
315 zend_string_release(new_value); in zend_alter_ini_entry_chars_ex()
355 duplicate = zend_string_copy(new_value); in zend_alter_ini_entry_ex()
598 *p = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
616 *p = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH()
632 tmp = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH()
675 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
691 if (new_value && !ZSTR_VAL(new_value)[0]) { in ZEND_INI_MH()
[all …]
H A Dzend_multibyte.c188 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l… 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…
77 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int s…
78 ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, in…
H A Dzend_multibyte.h75 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
H A Dzend.c97 if (!new_value) { in ZEND_INI_MH()
100 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
110 val = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
136 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH()
153 val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH()
/PHP-7.4/ext/standard/
H A Dassert.c60 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
61 ZVAL_STR_COPY(&ASSERTG(callback), new_value); in PHP_INI_MH()
67 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
68 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1); in PHP_INI_MH()
69 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
70 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH()
H A Dbrowscap.c315 zend_string *new_key, *new_value; in php_browscap_parser_cb() local
322 new_value = ZSTR_CHAR('1'); in php_browscap_parser_cb()
329 new_value = ZSTR_EMPTY_ALLOC(); in php_browscap_parser_cb()
331 new_value = browscap_intern_str(ctx, Z_STR_P(arg2), persistent); in php_browscap_parser_cb()
349 ctx->current_entry->parent = new_value; in php_browscap_parser_cb()
352 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb()
491 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
H A Durl_scanner_ex.re50 static int php_ini_on_update_tags(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, voi…
63 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value));
107 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1);
112 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0);
115 static int php_ini_on_update_hosts(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, vo…
130 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);
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_module.c115 memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
155 size = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
235 if ((ZSTR_LEN(new_value) == 2 && strcasecmp("on", ZSTR_VAL(new_value)) == 0) || in ZEND_INI_MH()
236 (ZSTR_LEN(new_value) == 3 && strcasecmp("yes", ZSTR_VAL(new_value)) == 0) || in ZEND_INI_MH()
237 (ZSTR_LEN(new_value) == 4 && strcasecmp("true", ZSTR_VAL(new_value)) == 0) || in ZEND_INI_MH()
238 atoi(ZSTR_VAL(new_value)) != 0) { in ZEND_INI_MH()
251 if (new_value) {
252 if (!ZSTR_LEN(new_value)) {
253 new_value = NULL;
257 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) ||
[all …]
/PHP-7.4/main/
H A Dmain.c268 ZEND_ATOL(i, ZSTR_VAL(new_value)); in PHP_INI_MH()
284 ZEND_ATOL(i, ZSTR_VAL(new_value)); in PHP_INI_MH()
300 if (new_value) { in PHP_INI_MH()
301 value = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
530 …isplay_errors) = (zend_bool) php_get_display_errors_mode(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
617 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
625 if (new_value) { in PHP_INI_MH()
638 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
654 if (new_value) { in PHP_INI_MH()
671 if (new_value) { in PHP_INI_MH()
[all …]
H A Dfastcgi.h102 void fcgi_set_in_shutdown(int new_value);
103 void fcgi_request_set_keep(fcgi_request *req, int new_value);
H A Dfopen_wrappers.c89 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
96 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
101 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH()
106 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH()
128 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
H A Drfc1867.c863 unsigned char *new_value; local
865 …if ((size_t)-1 != zend_multibyte_encoding_converter(&new_value, &new_value_len, (unsigned char *)v…
867 value = (char *)new_value;
/PHP-7.4/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.c100 int zlog_set_level(int new_value) /* {{{ */ in zlog_set_level() argument
104 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value; in zlog_set_level()
106 zlog_level = new_value; in zlog_set_level()
111 int zlog_set_limit(int new_value) /* {{{ */ in zlog_set_limit() argument
115 zlog_limit = new_value; in zlog_set_limit()
/PHP-7.4/ext/com_dotnet/
H A Dcom_extension.c215 …if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==N… in ZEND_GET_MODULE()
267 if (!zend_ini_parse_bool(new_value)) { in ZEND_INI_MH()
270 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-7.4/ext/session/
H A Dsession.c539 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
578 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH()
626 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
631 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
638 p = ZSTR_VAL(new_value); in PHP_INI_MH()
657 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()
682 if (atol(ZSTR_VAL(new_value)) < 0) { in PHP_INI_MH()
725 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
745 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
772 tmp = zend_atoi(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
[all …]
/PHP-7.4/ext/mbstring/
H A Dmbstring.c1255 if (!new_value) { in PHP_INI_MH()
1298 if (!new_value || !ZSTR_VAL(new_value)) { in PHP_INI_MH()
1306 return _php_mb_ini_mbstring_http_input_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
1328 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
1344 if (!new_value || !new_value_length || !(encoding = mbfl_name2encoding(new_value))) { in _php_mb_ini_mbstring_internal_encoding_set()
1376 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
1378 return _php_mb_ini_mbstring_internal_encoding_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
1393 if (new_value != NULL) { in PHP_INI_MH()
1428 if (new_value == NULL) { in PHP_INI_MH()
1452 if (!new_value) { in PHP_INI_MH()
[all …]
/PHP-7.4/ext/dba/
H A Ddba.c493 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH()
495 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
498 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
501 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
505 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-7.4/ext/tidy/
H A Dtidy.c1145 if (ZSTR_LEN(new_value)==2 && strcasecmp("on", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1147 } else if (ZSTR_LEN(new_value)==3 && strcasecmp("yes", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1149 } else if (ZSTR_LEN(new_value)==4 && strcasecmp("true", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1152 value = (zend_bool) atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
1168 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-7.4/ext/exif/
H A Dexif.c151 if (new_value && ZSTR_LEN(new_value)) { in ZEND_DECLARE_MODULE_GLOBALS()
154 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_DECLARE_MODULE_GLOBALS()
161 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_DECLARE_MODULE_GLOBALS()
166 if (new_value) { in ZEND_INI_MH()
169 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_INI_MH()
176 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
2872 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2900 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2941 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2945 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-7.4/ext/zlib/
H A Dzlib.c1439 if (new_value == NULL) { in PHP_INI_MH()
1443 if (!strncasecmp(ZSTR_VAL(new_value), "off", sizeof("off"))) { in PHP_INI_MH()
1445 } else if (!strncasecmp(ZSTR_VAL(new_value), "on", sizeof("on"))) { in PHP_INI_MH()
1448 int_value = zend_atoi(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
1486 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-7.4/ext/filter/
H A Dfilter.c164 if ((strcasecmp(ZSTR_VAL(new_value), filter_list[i].name) == 0)) { in ZEND_GET_MODULE()
179 if (!new_value) { in PHP_INI_MH()
182 IF_G(default_filter_flags) = atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
/PHP-7.4/ext/mysqlnd/
H A Dphp_mysqlnd.c184 ZEND_ATOL(long_value, ZSTR_VAL(new_value)); in PHP_INI_MH()

Completed in 104 milliseconds

12