Home
last modified time | relevance | path

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

12

/php-src/Zend/
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_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_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_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_multibyte.h75 ZEND_API zend_result zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new…
/php-src/ext/bcmath/
H A Dbcmath.c68 tmp = zend_ini_parse_quantity_warn(new_value, entry->name); in ZEND_GET_MODULE()
/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/date/
H A Dphp_date.c533 if (new_value && !timelib_timezone_id_is_valid(ZSTR_VAL(new_value), DATE_TIMEZONEDB)) { in PHP_INI_MH()
537 ZSTR_VAL(new_value), in PHP_INI_MH()
543 if (OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage) == FAILURE) { in PHP_INI_MH()
/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/ffi/
H A Dffi.c5247 if (zend_string_equals_literal_ci(new_value, "preload")) { in ZEND_INI_MH()
5250 FFI_G(restriction) = (zend_ffi_api_restriction)zend_ini_parse_bool(new_value); in ZEND_INI_MH()
/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/iconv/
H A Diconv.c172 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) { in PHP_INI_MH()
178 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
185 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) { in PHP_INI_MH()
191 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
198 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) { in PHP_INI_MH()
204 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_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()
800 if (new_value) { in _php_mb_ini_mbstring_internal_encoding_set()
825 if (new_value) { in PHP_INI_MH()
833 if (new_value && ZSTR_LEN(new_value)) { in PHP_INI_MH()
847 if (new_value != NULL) { in PHP_INI_MH()
884 if (new_value == NULL) { in PHP_INI_MH()
[all …]
/php-src/ext/mysqlnd/
H A Dphp_mysqlnd.c163 zend_long long_value = ZEND_ATOL(ZSTR_VAL(new_value)); in PHP_INI_MH()
/php-src/ext/opcache/
H A DZendAccelerator.c251 int ret = orig_include_path_on_modify(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in ZEND_INI_MH()
254 ZCG(include_path) = new_value; in ZEND_INI_MH()
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/ext/pcre/
H A Dphp_pcre.c334 OnUpdateLong(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
344 OnUpdateLong(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
355 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/php-src/ext/phar/
H A Dphar.c58 ini = zend_ini_parse_bool(new_value); in ZEND_INI_MH()
170 PHAR_G(cache_list) = ZSTR_VAL(new_value); in ZEND_INI_MH()
/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/soap/
H A Dsoap.c249 *p = (char)atoi(ZSTR_VAL(new_value)); in ZEND_GET_MODULE()
259 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) { in PHP_INI_MH()
264 if ((p = strchr(ZSTR_VAL(new_value), ';'))) { in PHP_INI_MH()
271 p = ZSTR_VAL(new_value); in PHP_INI_MH()
279 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()
/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 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) {
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 Dfile.c156 if (zend_ini_parse_bool(new_value)) { in PHP_INI_MH()
159 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage); in PHP_INI_MH()

Completed in 161 milliseconds

12