/PHP-8.1/Zend/ |
H A D | zend_ini.c | 328 zend_string *new_value; in zend_alter_ini_entry_chars() local 332 zend_string_release(new_value); in zend_alter_ini_entry_chars() 340 zend_string *new_value; in zend_alter_ini_entry_chars_ex() local 344 zend_string_release(new_value); in zend_alter_ini_entry_chars_ex() 384 duplicate = zend_string_copy(new_value); in zend_alter_ini_entry_ex() 618 *p = zend_ini_parse_bool(new_value); in ZEND_INI_MH() 626 *p = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH() 633 zend_long tmp = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH() 656 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH() 663 if (new_value && !ZSTR_VAL(new_value)[0]) { in ZEND_INI_MH() [all …]
|
H A D | zend_multibyte.c | 188 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 D | zend_ini.h | 28 #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 D | zend.c | 103 if (!new_value) { in ZEND_INI_MH() 106 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 116 val = zend_ini_parse_bool(new_value); in ZEND_INI_MH() 142 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH() 150 zend_long val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH() 167 zend_long i = ZEND_ATOL(ZSTR_VAL(new_value)); in ZEND_INI_MH() 179 if (new_value) { in ZEND_INI_MH() 180 zend_long tmp = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_INI_MH()
|
H A D | zend_multibyte.h | 75 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new…
|
/PHP-8.1/ext/standard/ |
H A D | assert.c | 56 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH() 57 ZVAL_STR_COPY(&ASSERTG(callback), new_value); in PHP_INI_MH() 63 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH() 64 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1); in PHP_INI_MH() 65 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH() 66 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0'; in PHP_INI_MH()
|
H A D | browscap.c | 313 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 D | url_scanner_ex.re | 48 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)); 153 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 1); 158 return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, 0);
|
/PHP-8.1/ext/opcache/ |
H A D | zend_accelerator_module.c | 133 if (zend_ini_parse_bool(new_value)) { in ZEND_INI_MH() 146 if (new_value) { 147 if (!ZSTR_LEN(new_value)) { 148 new_value = NULL; 152 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) || 161 new_value = NULL; 181 zend_long val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); 192 zend_long val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); 204 zend_long val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); 217 zend_long val = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); [all …]
|
/PHP-8.1/ext/com_dotnet/ |
H A D | com_extension.c | 79 …if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==N… in ZEND_GET_MODULE() 130 if (!zend_ini_parse_bool(new_value)) { in ZEND_INI_MH() 134 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
|
/PHP-8.1/main/ |
H A D | main.c | 101 const zend_string *facility = new_value; in PHP_INI_MH() 265 if (new_value) { in PHP_INI_MH() 266 value = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH() 288 const zend_string *filter = new_value; in PHP_INI_MH() 536 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH() 544 if (new_value) { in PHP_INI_MH() 556 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH() 571 if (new_value) { in PHP_INI_MH() 587 if (new_value) { in PHP_INI_MH() 603 if (new_value) { in PHP_INI_MH() [all …]
|
H A D | fastcgi.h | 100 void fcgi_set_in_shutdown(int new_value); 101 void fcgi_request_set_keep(fcgi_request *req, int new_value);
|
H A D | fopen_wrappers.c | 80 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH() 87 *p = ZSTR_VAL(new_value); in ZEND_INI_MH() 92 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH() 97 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH() 119 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | zlog.h | 21 int zlog_set_level(int new_value); 22 int zlog_set_limit(int new_value);
|
H A D | fpm_php.c | 24 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 D | zlog.c | 100 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-8.1/ext/zend_test/ |
H A D | observer.c | 287 if (new_value && ZSTR_LEN(new_value)) { in ZEND_INI_MH() 290 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH() 295 zend_hash_str_add_empty_element(*p, start, ZSTR_VAL(new_value) + ZSTR_LEN(new_value) - start); in ZEND_INI_MH()
|
H A D | test.c | 409 if (new_value == NULL) { in PHP_INI_MH() 413 int int_value = zend_ini_parse_bool(new_value); in PHP_INI_MH() 433 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
|
/PHP-8.1/ext/mbstring/ |
H A D | mbstring.c | 705 if (!new_value) { in PHP_INI_MH() 744 if (new_value) { in PHP_INI_MH() 748 if (!new_value || !ZSTR_LEN(new_value)) { in PHP_INI_MH() 774 if (new_value) { in PHP_INI_MH() 778 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH() 796 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set() 821 if (new_value) { in PHP_INI_MH() 829 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH() 846 if (new_value != NULL) { in PHP_INI_MH() 881 if (new_value == NULL) { in PHP_INI_MH() [all …]
|
/PHP-8.1/ext/session/ |
H A D | session.c | 546 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH() 581 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH() 629 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH() 634 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH() 641 p = ZSTR_VAL(new_value); in PHP_INI_MH() 660 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH() 685 if (atol(ZSTR_VAL(new_value)) < 0) { in PHP_INI_MH() 728 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH() 748 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH() 774 int tmp = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH() [all …]
|
/PHP-8.1/ext/dba/ |
H A D | dba.c | 391 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH() 393 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH() 396 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH() 399 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH() 403 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
|
/PHP-8.1/ext/exif/ |
H A D | exif.c | 108 if (new_value && ZSTR_LEN(new_value)) { in ZEND_DECLARE_MODULE_GLOBALS() 111 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_DECLARE_MODULE_GLOBALS() 118 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_DECLARE_MODULE_GLOBALS() 123 if (new_value) { in ZEND_INI_MH() 126 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_INI_MH() 133 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH() 2881 size_t new_size, new_move, new_value; in exif_thumbnail_build() local 2906 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build() 2947 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build() 2951 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build() [all …]
|
/PHP-8.1/ext/zlib/ |
H A D | zlib.c | 1271 if (new_value == NULL) { in ZEND_GET_MODULE() 1275 if (zend_string_equals_literal_ci(new_value, "off")) { in ZEND_GET_MODULE() 1277 } else if (zend_string_equals_literal_ci(new_value, "on")) { in ZEND_GET_MODULE() 1280 int_value = zend_atoi(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_GET_MODULE() 1318 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
|
/PHP-8.1/ext/filter/ |
H A D | filter.c | 108 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.1/ext/bcmath/ |
H A D | bcmath.c | 65 tmp = zend_atol(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in ZEND_GET_MODULE()
|