/php-src/ext/standard/ |
H A D | assert.c | 55 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 D | browscap.c | 318 zend_string *new_value; in php_browscap_parser_cb() local 325 new_value = ZSTR_CHAR('1'); in php_browscap_parser_cb() 331 new_value = ZSTR_EMPTY_ALLOC(); in php_browscap_parser_cb() 333 new_value = browscap_intern_str(ctx, Z_STR_P(arg2), persistent); in php_browscap_parser_cb() 351 ctx->current_entry->parent = new_value; in php_browscap_parser_cb() 354 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb() 493 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
|
H A D | url_scanner_ex.re | 48 static zend_result php_ini_on_update_tags(zend_ini_entry *entry, zend_string *new_value, void *mh_a… 61 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); 105 if (!zend_string_starts_with_literal(new_value, "a=href,area=href,frame=src,form=")) { 108 …return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, /* is_session */… 113 …return php_ini_on_update_tags(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, /* is_session */… 116 static zend_result php_ini_on_update_hosts(zend_ini_entry *entry, zend_string *new_value, void *mh_… 131 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); 158 if (ZSTR_LEN(new_value) != 0) { 161 …return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, /* is_session *… 166 …return php_ini_on_update_hosts(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage, /* is_session *…
|
/php-src/Zend/ |
H A D | zend_ini.c | 335 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 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 | 30 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, vo… 81 ZEND_API zend_result zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_typ… 82 ZEND_API zend_result zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_…
|
H A D | zend.c | 113 if (!new_value) { in ZEND_INI_MH() 116 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 126 val = zend_ini_parse_bool(new_value); in ZEND_INI_MH() 152 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH() 160 zend_long val = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH() 177 zend_long i = ZEND_ATOL(ZSTR_VAL(new_value)); in ZEND_INI_MH() 190 zend_long size = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH() 206 zend_ulong size = zend_ini_parse_uquantity_warn(new_value, entry->name); in ZEND_INI_MH() 241 if (new_value) { in ZEND_INI_MH() 242 zend_long tmp = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
|
H A D | zend_multibyte.h | 77 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new…
|
/php-src/ext/com_dotnet/ |
H A D | com_extension.c | 94 …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-src/ext/opcache/ |
H A D | zend_accelerator_module.c | 80 zend_long memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 116 zend_long size = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 133 zend_long percentage = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() 152 if (zend_ini_parse_bool(new_value)) { in ZEND_INI_MH() 165 if (new_value) { 166 if (!ZSTR_LEN(new_value)) { 167 new_value = NULL; 171 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) || 172 zend_stat(ZSTR_VAL(new_value), &buf) != 0 || 177 _access(ZSTR_VAL(new_value), 06) != 0) { [all …]
|
/php-src/main/ |
H A D | main.c | 156 const zend_string *facility = new_value; in PHP_INI_MH() 320 if (new_value) { in PHP_INI_MH() 343 const zend_string *filter = new_value; in PHP_INI_MH() 591 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH() 599 if (new_value) { in PHP_INI_MH() 611 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH() 626 if (new_value) { in PHP_INI_MH() 642 if (new_value) { in PHP_INI_MH() 658 if (new_value) { in PHP_INI_MH() 672 new_value && zend_string_equals_literal(new_value, "syslog")) { 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 | 84 *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-src/ext/zend_test/ |
H A D | zend_mm_custom_handlers.c | 155 if (new_value == NULL) { in PHP_INI_MH() 159 int int_value = zend_ini_parse_bool(new_value); in PHP_INI_MH() 166 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
|
H A D | observer.c | 326 if (new_value && ZSTR_LEN(new_value)) { in ZEND_INI_MH() 327 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH() 335 zend_string *str = zend_string_init(start, ZSTR_VAL(new_value) + ZSTR_LEN(new_value) - start, 1); in ZEND_INI_MH()
|
/php-src/ext/session/ |
H A D | session.c | 610 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH() 645 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH() 677 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH() 682 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH() 689 p = ZSTR_VAL(new_value); in PHP_INI_MH() 708 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH() 864 int tmp = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH() 869 if(ZSTR_LEN(new_value) > 0 && ZSTR_VAL(new_value)[ZSTR_LEN(new_value)-1] == '%') { in PHP_INI_MH() 886 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH() 898 *p = zend_ini_parse_bool(new_value); in PHP_INI_MH() [all …]
|
/php-src/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 | 103 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-src/ext/mbstring/ |
H A D | mbstring.c | 709 if (!new_value) { in PHP_INI_MH() 752 if (new_value) { in PHP_INI_MH() 756 if (!new_value || !ZSTR_LEN(new_value)) { in PHP_INI_MH() 782 if (new_value) { in PHP_INI_MH() 786 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH() 805 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set() 830 if (new_value) { in PHP_INI_MH() 838 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH() 852 if (new_value != NULL) { in PHP_INI_MH() 889 if (new_value == NULL) { in PHP_INI_MH() [all …]
|
/php-src/ext/exif/ |
H A D | exif.c | 110 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() 2865 size_t new_size, new_move, new_value; in exif_thumbnail_build() local 2890 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build() 2931 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build() 2935 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build() [all …]
|
/php-src/ext/filter/ |
H A D | filter.c | 106 if ((strcasecmp(ZSTR_VAL(new_value), filter_list[i].name) == 0)) { in ZEND_GET_MODULE() 123 if (!new_value) { in PHP_INI_MH() 126 IF_G(default_filter_flags) = atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
|
/php-src/ext/dba/ |
H A D | dba.c | 363 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH() 365 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH() 368 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH() 371 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH() 375 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
|
/php-src/ext/zlib/ |
H A D | zlib.c | 1263 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-src/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 163 zend_long long_value = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()
|