/PHP-7.2/Zend/ |
H A D | zend_ini.c | 309 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 D | zend_multibyte.c | 190 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 D | zend_ini.h | 30 #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 D | zend_multibyte.h | 77 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
|
H A D | zend.c | 87 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 D | assert.c | 62 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 D | browscap.c | 315 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 D | url_scanner_ex.c | 56 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 D | url_scanner_ex.re | 54 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 D | zend_accelerator_module.c | 115 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 D | zlog.c | 90 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 D | zlog.h | 15 int zlog_set_level(int new_value);
|
H A D | fpm_php.c | 25 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 D | fastcgi.h | 104 void fcgi_set_in_shutdown(int new_value); 105 void fcgi_request_set_keep(fcgi_request *req, int new_value);
|
H A D | main.c | 155 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 D | fopen_wrappers.c | 91 *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 D | session.c | 540 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 D | mbstring.c | 1226 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 D | mbstring.h | 162 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 D | com_extension.c | 279 …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 D | tidy.c | 1101 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 D | dba.c | 496 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 D | exif.c | 175 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 D | zlib.c | 1439 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 D | filter.c | 165 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()
|