Home
last modified time | relevance | path

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

12

/PHP-7.2/Zend/
H A Dzend_ini.c309 zend_string *new_value; in zend_alter_ini_entry_chars() local
313 zend_string_release(new_value); in zend_alter_ini_entry_chars()
321 zend_string *new_value; in zend_alter_ini_entry_chars_ex() local
632 if (ZSTR_LEN(new_value) == 2 && strcasecmp("on", ZSTR_VAL(new_value)) == 0) { in ZEND_INI_MH()
635 else if (ZSTR_LEN(new_value) == 3 && strcasecmp("yes", ZSTR_VAL(new_value)) == 0) { in ZEND_INI_MH()
638 else if (ZSTR_LEN(new_value) == 4 && strcasecmp("true", ZSTR_VAL(new_value)) == 0) { in ZEND_INI_MH()
661 *p = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in ZEND_INI_MH()
677 tmp = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in ZEND_INI_MH()
720 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
736 if (new_value && !ZSTR_VAL(new_value)[0]) { in ZEND_INI_MH()
[all …]
H A Dzend_multibyte.c190 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
195 if (!new_value) { in zend_multibyte_set_script_encoding_by_string()
200 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.h30 #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.h77 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
H A Dzend.c87 if (!new_value) { in ZEND_INI_MH()
90 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
98 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
116 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH()
133 val = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in ZEND_INI_MH()
/PHP-7.2/ext/standard/
H A Dassert.c62 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH()
63 ZVAL_STR_COPY(&ASSERTG(callback), new_value); in PHP_INI_MH()
69 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
70 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1); in PHP_INI_MH()
71 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
72 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 = zend_string_copy(ctx->str_one); in php_browscap_parser_cb()
329 new_value = zend_string_copy(ctx->str_empty); in php_browscap_parser_cb()
331 new_value = browscap_intern_str(ctx, Z_STR_P(arg2)); in php_browscap_parser_cb()
348 ctx->current_entry->parent = new_value; in php_browscap_parser_cb()
351 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb()
486 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
H A Durl_scanner_ex.c56 static int php_ini_on_update_tags(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, voi… in php_ini_on_update_tags() argument
69 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in php_ini_on_update_tags()
109 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1); in PHP_INI_MH()
114 return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0); in PHP_INI_MH()
117 static int php_ini_on_update_hosts(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, vo… in php_ini_on_update_hosts() argument
132 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in php_ini_on_update_hosts()
157 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1); in PHP_INI_MH()
162 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0); in PHP_INI_MH()
H A Durl_scanner_ex.re54 static int php_ini_on_update_tags(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, voi…
67 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.2/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()
252 if (new_value) {
253 if (!ZSTR_LEN(new_value)) {
254 new_value = NULL;
258 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) ||
[all …]
/PHP-7.2/sapi/fpm/fpm/
H A Dzlog.c90 int zlog_set_level(int new_value) /* {{{ */ in zlog_set_level() argument
94 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value; in zlog_set_level()
96 zlog_level = new_value; in zlog_set_level()
H A Dzlog.h15 int zlog_set_level(int new_value);
H A Dfpm_php.c25 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
34 duplicate = zend_string_init(new_value, new_value_length, 1); in fpm_php_zend_ini_alter_master()
/PHP-7.2/main/
H A Dfastcgi.h104 void fcgi_set_in_shutdown(int new_value);
105 void fcgi_request_set_keep(fcgi_request *req, int new_value);
H A Dmain.c155 ZEND_ATOL(i, ZSTR_VAL(new_value)); in PHP_INI_MH()
171 ZEND_ATOL(i, ZSTR_VAL(new_value)); in PHP_INI_MH()
186 if (new_value) { in PHP_INI_MH()
187 PG(memory_limit) = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
371 …y_errors) = (zend_bool) php_get_display_errors_mode(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
428 if (new_value) { in PHP_INI_MH()
431 php_win32_cp_do_update(ZSTR_VAL(new_value)); in PHP_INI_MH()
442 if (new_value) { in PHP_INI_MH()
445 php_win32_cp_do_update(ZSTR_VAL(new_value)); in PHP_INI_MH()
456 if (new_value) { in PHP_INI_MH()
[all …]
H A Dfopen_wrappers.c91 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
98 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
103 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH()
108 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH()
125 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
/PHP-7.2/ext/session/
H A Dsession.c540 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
579 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH()
627 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
632 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
639 p = ZSTR_VAL(new_value); in PHP_INI_MH()
658 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()
683 if (atol(ZSTR_VAL(new_value)) < 0) { in PHP_INI_MH()
726 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
746 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
773 tmp = zend_atoi(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
[all …]
/PHP-7.2/ext/mbstring/
H A Dmbstring.c1226 if (!new_value) { in PHP_INI_MH()
1254 if (!new_value || !ZSTR_VAL(new_value)) { in PHP_INI_MH()
1291 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
1322 if (!new_value || !new_value_length || !(encoding = mbfl_name2encoding(new_value))) { in _php_mb_ini_mbstring_internal_encoding_set()
1355 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
1356 return _php_mb_ini_mbstring_internal_encoding_set(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
1378 if (new_value != NULL) { in PHP_INI_MH()
1391 if (ZSTR_LEN(new_value) > 0) { in PHP_INI_MH()
1413 if (new_value == NULL) { in PHP_INI_MH()
1437 if (!new_value) { in PHP_INI_MH()
[all …]
H A Dmbstring.h162 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint32_t new_value_length);
/PHP-7.2/ext/com_dotnet/
H A Dcom_extension.c279 …if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==N… in ZEND_GET_MODULE()
/PHP-7.2/ext/tidy/
H A Dtidy.c1101 if (ZSTR_LEN(new_value)==2 && strcasecmp("on", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1103 } else if (ZSTR_LEN(new_value)==3 && strcasecmp("yes", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1105 } else if (ZSTR_LEN(new_value)==4 && strcasecmp("true", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1108 value = (zend_bool) atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
1124 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-7.2/ext/dba/
H A Ddba.c496 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH()
498 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
501 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
504 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
508 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-7.2/ext/exif/
H A Dexif.c175 if (new_value && ZSTR_LEN(new_value)) { in ZEND_DECLARE_MODULE_GLOBALS()
178 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_DECLARE_MODULE_GLOBALS()
185 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_DECLARE_MODULE_GLOBALS()
190 if (new_value) { in ZEND_INI_MH()
193 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_INI_MH()
200 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
2857 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2885 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2926 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2930 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-7.2/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.2/ext/filter/
H A Dfilter.c165 if ((strcasecmp(ZSTR_VAL(new_value), filter_list[i].name) == 0)) { in ZEND_GET_MODULE()
180 if (!new_value) { in PHP_INI_MH()
183 IF_G(default_filter_flags) = atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()

Completed in 114 milliseconds

12