Home
last modified time | relevance | path

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

12

/php-src/ext/standard/
H A Dassert.c55 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 Dbrowscap.c320 zend_string *new_key, *new_value; in php_browscap_parser_cb() local
327 new_value = ZSTR_CHAR('1'); in php_browscap_parser_cb()
333 new_value = ZSTR_EMPTY_ALLOC(); in php_browscap_parser_cb()
335 new_value = browscap_intern_str(ctx, Z_STR_P(arg2), persistent); in php_browscap_parser_cb()
353 ctx->current_entry->parent = new_value; in php_browscap_parser_cb()
356 browscap_add_kv(bdata, new_key, new_value, persistent); in php_browscap_parser_cb()
495 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
H A Durl_scanner_ex.re48 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);
H A Dbasic_functions.c1992 zval *new_value; local
1997 Z_PARAM_ZVAL(new_value)
2000 if (Z_TYPE_P(new_value) > IS_STRING) {
2014 zend_string *new_value_str = zval_get_tmp_string(new_value, &new_value_tmp_str);
2058 zend_string *new_value; local
2063 Z_PARAM_PATH_STR(new_value)
2075 if (zend_alter_ini_entry_ex(key, new_value, PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0) == FAILURE) {
/php-src/Zend/
H A Dzend_ini.c334 zend_string *new_value; in zend_alter_ini_entry_chars() local
338 zend_string_release(new_value); in zend_alter_ini_entry_chars()
346 zend_string *new_value; in zend_alter_ini_entry_chars_ex() local
350 zend_string_release(new_value); in zend_alter_ini_entry_chars_ex()
982 *p = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
1020 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
1027 if (new_value && !ZSTR_VAL(new_value)[0]) { in ZEND_INI_MH()
1032 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
1040 *p = new_value; in ZEND_INI_MH()
1047 if (new_value && ZSTR_LEN(new_value) == 0) { in ZEND_INI_MH()
[all …]
H A Dzend_multibyte.c188 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 Dzend_ini.h28 #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 Dzend.c110 if (!new_value) { in ZEND_INI_MH()
113 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
123 val = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
149 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH()
157 zend_long val = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
174 zend_long i = ZEND_ATOL(ZSTR_VAL(new_value)); in ZEND_INI_MH()
187 zend_long size = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
203 zend_ulong size = zend_ini_parse_uquantity_warn(new_value, entry->name); in ZEND_INI_MH()
232 if (new_value) { in ZEND_INI_MH()
233 zend_long tmp = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_INI_MH()
H A Dzend_multibyte.h75 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 Dcom_extension.c94 …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 Dzend_accelerator_module.c79 zend_long memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
115 zend_long size = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
132 zend_long percentage = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
151 if (zend_ini_parse_bool(new_value)) { in ZEND_INI_MH()
164 if (new_value) {
165 if (!ZSTR_LEN(new_value)) {
166 new_value = NULL;
170 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) ||
171 zend_stat(ZSTR_VAL(new_value), &buf) != 0 ||
176 _access(ZSTR_VAL(new_value), 06) != 0) {
[all …]
/php-src/main/
H A Dmain.c112 const zend_string *facility = new_value; in PHP_INI_MH()
276 if (new_value) { in PHP_INI_MH()
299 const zend_string *filter = new_value; in PHP_INI_MH()
547 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
548 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
555 if (new_value) { in PHP_INI_MH()
567 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) in PHP_INI_MH()
582 if (new_value) { in PHP_INI_MH()
598 if (new_value) { in PHP_INI_MH()
614 if (new_value) { in PHP_INI_MH()
[all …]
H A Dfastcgi.h100 void fcgi_set_in_shutdown(int new_value);
101 void fcgi_request_set_keep(fcgi_request *req, int new_value);
H A Dfopen_wrappers.c84 *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/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.c103 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/session/
H A Dsession.c582 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
617 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH()
649 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
654 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
661 p = ZSTR_VAL(new_value); in PHP_INI_MH()
680 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()
705 if (atol(ZSTR_VAL(new_value)) < 0) { in PHP_INI_MH()
748 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
768 val = ZEND_STRTOL(ZSTR_VAL(new_value), &endptr, 10); in PHP_INI_MH()
783 int tmp = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()
[all …]
/php-src/ext/zend_test/
H A Dobserver.c306 if (new_value && ZSTR_LEN(new_value)) { in ZEND_INI_MH()
307 const char *start = ZSTR_VAL(new_value), *ptr; in ZEND_INI_MH()
315 zend_string *str = zend_string_init(start, ZSTR_VAL(new_value) + ZSTR_LEN(new_value) - start, 1); in ZEND_INI_MH()
/php-src/ext/mbstring/
H A Dmbstring.c704 if (!new_value) { in PHP_INI_MH()
747 if (new_value) { in PHP_INI_MH()
751 if (!new_value || !ZSTR_LEN(new_value)) { in PHP_INI_MH()
777 if (new_value) { in PHP_INI_MH()
781 if (new_value == NULL || ZSTR_LEN(new_value) == 0) { in PHP_INI_MH()
799 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set()
824 if (new_value) { in PHP_INI_MH()
832 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
846 if (new_value != NULL) { in PHP_INI_MH()
883 if (new_value == NULL) { in PHP_INI_MH()
[all …]
/php-src/ext/dba/
H A Ddba.c326 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH()
328 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
331 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
334 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
338 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/php-src/ext/exif/
H A Dexif.c110 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()
2869 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2894 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2935 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2939 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/php-src/ext/filter/
H A Dfilter.c108 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-src/ext/zlib/
H A Dzlib.c1269 if (new_value == NULL) { in ZEND_GET_MODULE()
1273 if (zend_string_equals_literal_ci(new_value, "off")) { in ZEND_GET_MODULE()
1275 } else if (zend_string_equals_literal_ci(new_value, "on")) { in ZEND_GET_MODULE()
1278 int_value = (int) zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_GET_MODULE()
1316 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/php-src/ext/mysqlnd/
H A Dphp_mysqlnd.c163 zend_long long_value = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()

Completed in 117 milliseconds

12