Home
last modified time | relevance | path

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

12

/PHP-5.5/Zend/
H A Dzend_ini.c291 duplicate = estrndup(new_value, new_value_length); in zend_alter_ini_entry_ex()
562 if (new_value_length == 2 && strcasecmp("on", new_value) == 0) { in ZEND_INI_MH()
565 else if (new_value_length == 3 && strcasecmp("yes", new_value) == 0) { in ZEND_INI_MH()
568 else if (new_value_length == 4 && strcasecmp("true", new_value) == 0) { in ZEND_INI_MH()
572 *p = (zend_bool) atoi(new_value); in ZEND_INI_MH()
591 *p = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
607 tmp = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
632 *p = zend_strtod(new_value, NULL); in ZEND_INI_MH()
650 *p = new_value; in ZEND_INI_MH()
666 if (new_value && !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 TSR… in zend_multibyte_set_script_encoding_by_string()
H A Dzend_ini.h60 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, v…
97 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_len…
98 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_…
H A Dzend_multibyte.h76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
H A Dzend.c67 if (!new_value) { in ZEND_INI_MH()
70 EG(error_reporting) = atoi(new_value); in ZEND_INI_MH()
78 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in ZEND_INI_MH()
96 return zend_multibyte_set_script_encoding_by_string(new_value, new_value_length TSRMLS_CC); in ZEND_INI_MH()
/PHP-5.5/sapi/fpm/fpm/
H A Dzlog.c90 int zlog_set_level(int new_value) /* {{{ */ in zlog_set_level() argument
94 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value; in zlog_set_level()
96 zlog_level = new_value; in zlog_set_level()
H A Dzlog.h14 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 = strdup(new_value); in fpm_php_zend_ini_alter_master()
H A Dfastcgi.c230 void fcgi_set_in_shutdown(int new_value) in fcgi_set_in_shutdown() argument
232 in_shutdown = new_value; in fcgi_set_in_shutdown()
/PHP-5.5/ext/standard/
H A Dassert.c61 if (new_value && (ASSERTG(callback) || new_value_length)) { in PHP_INI_MH()
63 ZVAL_STRINGL(ASSERTG(callback), new_value, new_value_length, 1); in PHP_INI_MH()
69 if (new_value && new_value_length) { in PHP_INI_MH()
71 memcpy(ASSERTG(cb), new_value, new_value_length); in PHP_INI_MH()
/PHP-5.5/main/
H A Dfopen_wrappers.c97 *p = new_value; in ZEND_INI_MH()
104 *p = new_value; in ZEND_INI_MH()
109 if (!new_value || !*new_value) { in ZEND_INI_MH()
114 ptr = pathbuf = estrdup(new_value); in ZEND_INI_MH()
131 *p = new_value; in ZEND_INI_MH()
H A Dmain.c163 int i = atoi(new_value); in PHP_INI_MH()
177 if (new_value) { in PHP_INI_MH()
178 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH()
319 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH()
323 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH()
364 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); in PHP_INI_MH()
423 … PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value && strcmp(new_value, "sysl… in PHP_INI_MH()
424 if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) { in PHP_INI_MH()
428 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
438 if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value) { in PHP_INI_MH()
[all …]
H A Drfc1867.c859 unsigned char *new_value; local
861 …if ((size_t)-1 != zend_multibyte_encoding_converter(&new_value, &new_value_len, (unsigned char *)v…
863 value = (char *)new_value;
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_module.c115 memsize = atoi(new_value); in ZEND_INI_MH()
153 size = atoi(new_value); in ZEND_INI_MH()
199 percentage = atoi(new_value); in ZEND_INI_MH()
226 …return OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC… in ZEND_INI_MH()
237 if ((new_value_length == 2 && strcasecmp("on", new_value) == 0) || in ZEND_INI_MH()
238 (new_value_length == 3 && strcasecmp("yes", new_value) == 0) || in ZEND_INI_MH()
239 (new_value_length == 4 && strcasecmp("true", new_value) == 0) || in ZEND_INI_MH()
240 atoi(new_value) != 0) { in ZEND_INI_MH()
/PHP-5.5/ext/zlib/
H A Dzlib.c883 if (new_value == NULL) { in PHP_INI_MH()
887 if (!strncasecmp(new_value, "off", sizeof("off"))) { in PHP_INI_MH()
888 new_value = "0"; in PHP_INI_MH()
890 } else if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH()
891 new_value = "1"; in PHP_INI_MH()
895 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
910 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
931 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
/PHP-5.5/ext/session/
H A Dsession.c575 tmp = _php_find_ps_module(new_value TSRMLS_CC); in PHP_INI_MH()
605 tmp = _php_find_ps_serializer(new_value TSRMLS_CC); in PHP_INI_MH()
632 if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH()
635 PS(use_trans_sid) = (zend_bool) atoi(new_value); in PHP_INI_MH()
648 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
653 if ((p = strchr(new_value, ';'))) { in PHP_INI_MH()
660 p = new_value; in PHP_INI_MH()
706 val = strtol(new_value, &endptr, 10); in PHP_INI_MH()
715 strncasecmp(new_value, "md5", sizeof("md5") - 1) == 0) { in PHP_INI_MH()
748 tmp = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
[all …]
/PHP-5.5/ext/com_dotnet/
H A Dcom_extension.c273 if (!new_value || !new_value[0] || (typelib_file = VCWD_FOPEN(new_value, "r"))==NULL) { in PHP_INI_MH()
/PHP-5.5/ext/mbstring/
H A Dmbstring.c1207 if (!new_value) { in PHP_INI_MH()
1235 if (!new_value) { in PHP_INI_MH()
1269 encoding = mbfl_name2encoding(new_value); in PHP_INI_MH()
1287 if (!new_value || new_value_length == 0 || !(encoding = mbfl_name2encoding(new_value))) { in _php_mb_ini_mbstring_internal_encoding_set()
1325 const char *enc_name = new_value; in _php_mb_ini_mbstring_internal_encoding_set()
1365 if (new_value != NULL) { in PHP_INI_MH()
1366 if (strcasecmp("none", new_value) == 0) { in PHP_INI_MH()
1379 c = strtol(new_value, &endptr, 0); in PHP_INI_MH()
1400 if (new_value == NULL) { in PHP_INI_MH()
1424 if (!new_value) { in PHP_INI_MH()
[all …]
H A Dmbstring.h154 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_…
/PHP-5.5/ext/dba/
H A Ddba.c473 if (!strlen(new_value)) { in ZEND_INI_MH()
475 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
478 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++); in ZEND_INI_MH()
481 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value); in ZEND_INI_MH()
485 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
/PHP-5.5/sapi/apache_hooks/
H A Dphp_apache.c211 char *old_value, *new_value = NULL; in apache_request_string_slot() local
215 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &new_value, &new_value_len) == FAILURE)… in apache_request_string_slot()
224 if (new_value) { in apache_request_string_slot()
225 *target = ap_pstrdup(r->pool, new_value); in apache_request_string_slot()
262 long old_value, new_value; in apache_request_int_slot() local
265 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &new_value) == FAILURE) { in apache_request_int_slot()
278 *target = new_value; in apache_request_int_slot()
/PHP-5.5/ext/exif/
H A Dexif.c179 if (new_value && new_value_length) { in ZEND_DECLARE_MODULE_GLOBALS()
182 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, in ZEND_DECLARE_MODULE_GLOBALS()
184 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value); in ZEND_DECLARE_MODULE_GLOBALS()
194 if (new_value) { in ZEND_INI_MH()
197 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, in ZEND_INI_MH()
199 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value); in ZEND_INI_MH()
2446 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2474 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2515 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2519 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-5.5/ext/filter/
H A Dfilter.c163 if ((strcasecmp(new_value, filter_list[i].name) == 0)) { in PHP_INI_MH()
178 if (!new_value) { in PHP_INI_MH()
181 IF_G(default_filter_flags) = atoi(new_value); in PHP_INI_MH()
/PHP-5.5/ext/mysqlnd/
H A Dphp_mysqlnd.c218 long long_value = atol(new_value); in PHP_INI_MH()
/PHP-5.5/ext/tidy/
H A Dtidy.c1117 if (new_value_length==2 && strcasecmp("on", new_value)==0) { in PHP_INI_MH()
1119 } else if (new_value_length==3 && strcasecmp("yes", new_value)==0) { in PHP_INI_MH()
1121 } else if (new_value_length==4 && strcasecmp("true", new_value)==0) { in PHP_INI_MH()
1124 value = (zend_bool) atoi(new_value); in PHP_INI_MH()
1140 …status = OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()

Completed in 123 milliseconds

12