Home
last modified time | relevance | path

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

12

/PHP-7.0/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.c183 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
188 if (!new_value) { in zend_multibyte_set_script_encoding_by_string()
193 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.c69 if (!new_value) { in ZEND_INI_MH()
72 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
80 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
98 …_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_… in ZEND_INI_MH()
115 val = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in ZEND_INI_MH()
H A Dzend_multibyte.h76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
/PHP-7.0/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()
490 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) { in PHP_INI_MH()
/PHP-7.0/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()
251 if (new_value) {
252 if (!ZSTR_LEN(new_value)) {
253 new_value = NULL;
257 if (!IS_ABSOLUTE_PATH(ZSTR_VAL(new_value), ZSTR_LEN(new_value)) ||
[all …]
/PHP-7.0/sapi/fpm/fpm/
H A Dzlog.c91 int zlog_set_level(int new_value) /* {{{ */ in zlog_set_level() argument
95 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value; in zlog_set_level()
97 zlog_level = new_value; in zlog_set_level()
H A Dzlog.h16 int zlog_set_level(int new_value);
H A Dfpm_php.c26 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
35 duplicate = zend_string_init(new_value, new_value_length, 1); in fpm_php_zend_ini_alter_master()
/PHP-7.0/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 Dfopen_wrappers.c93 *p = new_value ? ZSTR_VAL(new_value) : NULL; in ZEND_INI_MH()
100 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
105 if (!new_value || !*ZSTR_VAL(new_value)) { in ZEND_INI_MH()
110 ptr = pathbuf = estrdup(ZSTR_VAL(new_value)); in ZEND_INI_MH()
127 *p = ZSTR_VAL(new_value); in ZEND_INI_MH()
H A Dmain.c160 ZEND_ATOL(i, ZSTR_VAL(new_value)); in PHP_INI_MH()
174 if (new_value) { in PHP_INI_MH()
175 PG(memory_limit) = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
314 ZEND_ATOL(EG(timeout_seconds), ZSTR_VAL(new_value)); in PHP_INI_MH()
318 ZEND_ATOL(EG(timeout_seconds), ZSTR_VAL(new_value)); in PHP_INI_MH()
359 …y_errors) = (zend_bool) php_get_display_errors_mode(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
416 if (new_value) { in PHP_INI_MH()
427 if (new_value) { in PHP_INI_MH()
438 if (new_value) { in PHP_INI_MH()
450 …INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value && strcmp(ZSTR_VAL(new_value), … in PHP_INI_MH()
[all …]
H A Drfc1867.c870 unsigned char *new_value; local
872 …if ((size_t)-1 != zend_multibyte_encoding_converter(&new_value, &new_value_len, (unsigned char *)v…
874 value = (char *)new_value;
/PHP-7.0/ext/session/
H A Dsession.c641 tmp = _php_find_ps_module(ZSTR_VAL(new_value)); in PHP_INI_MH()
671 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value)); in PHP_INI_MH()
714 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
719 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
726 p = ZSTR_VAL(new_value); in PHP_INI_MH()
742 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()
780 if (ZSTR_LEN(new_value) == (sizeof("md5") - 1) && in PHP_INI_MH()
787 if (ZSTR_LEN(new_value) == (sizeof("sha1") - 1) && in PHP_INI_MH()
796 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
815 tmp = zend_atoi(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value)); in PHP_INI_MH()
[all …]
/PHP-7.0/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.h157 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length);
/PHP-7.0/ext/com_dotnet/
H A Dcom_extension.c278 …if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==N… in ZEND_GET_MODULE()
/PHP-7.0/ext/dba/
H A Ddba.c490 if (!ZSTR_LEN(new_value)) { in ZEND_INI_MH()
492 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
495 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++); in ZEND_INI_MH()
498 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value)); in ZEND_INI_MH()
502 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
/PHP-7.0/ext/tidy/
H A Dtidy.c1093 if (ZSTR_LEN(new_value)==2 && strcasecmp("on", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1095 } else if (ZSTR_LEN(new_value)==3 && strcasecmp("yes", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1097 } else if (ZSTR_LEN(new_value)==4 && strcasecmp("true", ZSTR_VAL(new_value))==0) { in PHP_INI_MH()
1100 value = (zend_bool) atoi(ZSTR_VAL(new_value)); in PHP_INI_MH()
1116 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-7.0/ext/exif/
H A Dexif.c166 if (new_value && ZSTR_LEN(new_value)) { in ZEND_DECLARE_MODULE_GLOBALS()
169 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_DECLARE_MODULE_GLOBALS()
176 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_DECLARE_MODULE_GLOBALS()
181 if (new_value) { in ZEND_INI_MH()
184 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value), in ZEND_INI_MH()
191 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
2431 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2459 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2500 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2504 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-7.0/ext/zlib/
H A Dzlib.c1378 if (new_value == NULL) { in PHP_INI_MH()
1382 if (!strncasecmp(ZSTR_VAL(new_value), "off", sizeof("off"))) { in PHP_INI_MH()
1384 } else if (!strncasecmp(ZSTR_VAL(new_value), "on", sizeof("on"))) { in PHP_INI_MH()
1387 int_value = zend_atoi(ZSTR_VAL(new_value), ZSTR_LEN(new_value)); in PHP_INI_MH()
1425 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/PHP-7.0/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()
/PHP-7.0/ext/mysqlnd/
H A Dphp_mysqlnd.c213 ZEND_ATOL(long_value, ZSTR_VAL(new_value)); in PHP_INI_MH()

Completed in 115 milliseconds

12