Home
last modified time | relevance | path

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

12

/PHP-5.3/Zend/
H A Dzend_ini.c289 duplicate = estrndup(new_value, new_value_length); in zend_alter_ini_entry_ex()
560 if (new_value_length == 2 && strcasecmp("on", new_value) == 0) { in ZEND_INI_MH()
563 else if (new_value_length == 3 && strcasecmp("yes", new_value) == 0) { in ZEND_INI_MH()
566 else if (new_value_length == 4 && strcasecmp("true", new_value) == 0) { in ZEND_INI_MH()
570 *p = (zend_bool) atoi(new_value); in ZEND_INI_MH()
589 *p = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
605 tmp = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
630 *p = zend_strtod(new_value, NULL); in ZEND_INI_MH()
648 *p = new_value; in ZEND_INI_MH()
664 if (new_value && !new_value[0]) { in ZEND_INI_MH()
[all …]
H A Dzend_ini.h62 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, v…
99 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_len…
100 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_…
H A Dzend.c70 if (!new_value) { in ZEND_INI_MH()
73 EG(error_reporting) = atoi(new_value); in ZEND_INI_MH()
81 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in ZEND_INI_MH()
/PHP-5.3/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.c231 void fcgi_set_in_shutdown(int new_value) in fcgi_set_in_shutdown() argument
233 in_shutdown = new_value; in fcgi_set_in_shutdown()
/PHP-5.3/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()
H A Dbasic_functions.c3373 protected_vars = estrndup(new_value, new_value_length); in PHP_INI_MH()
3391 BG(sm_allowed_env_vars) = zend_strndup(new_value, new_value_length); in PHP_INI_MH()
5424 char *varname, *new_value; local
5428 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &varname, &varname_len, &new_value, &ne…
5450 if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
5454 if (php_check_open_basedir(new_value TSRMLS_CC)) {
5472 …if (zend_alter_ini_entry_ex(varname, varname_len + 1, new_value, new_value_len, PHP_INI_USER, PHP_…
5498 char *new_value; local
5502 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &new_value, &new_value_len) == FAILURE) {
5507 if (strlen(new_value) != new_value_len) {
[all …]
H A Dbrowscap.c323 if (VCWD_REALPATH(new_value, bdata->filename) == NULL) { in PHP_INI_MH()
H A Durl_scanner_ex.c56 tmp = estrndup(new_value, new_value_length); in PHP_INI_MH()
H A Durl_scanner_ex.re54 tmp = estrndup(new_value, new_value_length);
/PHP-5.3/ext/zlib/
H A Dzlib.c266 if (new_value == NULL) { in PHP_INI_MH()
270 if (!strncasecmp(new_value, "off", sizeof("off"))) { in PHP_INI_MH()
271 new_value = "0"; in PHP_INI_MH()
273 } else if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH()
274 new_value = "1"; in PHP_INI_MH()
278 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
291 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
304 OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
318 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.3/main/
H A Dfopen_wrappers.c98 *p = new_value; in ZEND_INI_MH()
105 *p = new_value; in ZEND_INI_MH()
110 if (!new_value || !*new_value) { in ZEND_INI_MH()
115 ptr = pathbuf = estrdup(new_value); in ZEND_INI_MH()
132 *p = new_value; in ZEND_INI_MH()
H A Dmain.c159 int i = atoi(new_value); in PHP_INI_MH()
173 if (new_value) { in PHP_INI_MH()
174 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH()
263 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH()
267 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH()
367 … PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value && strcmp(new_value, "sysl… in PHP_INI_MH()
368 if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_INI_MH()
372 if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) { in PHP_INI_MH()
387 if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value) { in PHP_INI_MH()
388 if (PG(safe_mode) && (!php_checkuid(new_value, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { in PHP_INI_MH()
[all …]
/PHP-5.3/ext/session/
H A Dsession.c639 tmp = _php_find_ps_module(new_value TSRMLS_CC); in PHP_INI_MH()
667 tmp = _php_find_ps_serializer(new_value TSRMLS_CC); in PHP_INI_MH()
694 if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH()
697 PS(use_trans_sid) = (zend_bool) atoi(new_value); in PHP_INI_MH()
710 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
715 if ((p = strchr(new_value, ';'))) { in PHP_INI_MH()
722 p = new_value; in PHP_INI_MH()
748 val = strtol(new_value, &endptr, 10); in PHP_INI_MH()
757 strncasecmp(new_value, "md5", sizeof("md5") - 1) == 0) { in PHP_INI_MH()
764 strncasecmp(new_value, "sha1", sizeof("sha1") - 1) == 0) { in PHP_INI_MH()
[all …]
/PHP-5.3/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.3/ext/mbstring/
H A Dmbstring.c969 no_language = mbfl_name2no_language(new_value); in PHP_INI_MH()
1034 no_encoding = mbfl_name2no_encoding(new_value); in PHP_INI_MH()
1057 no_encoding = new_value ? mbfl_name2no_encoding(new_value): in _php_mb_ini_mbstring_internal_encoding_set()
1060 enc_name = new_value; in _php_mb_ini_mbstring_internal_encoding_set()
1111 const char *enc_name = new_value; in _php_mb_ini_mbstring_internal_encoding_set()
1174 if (new_value != NULL) { in PHP_INI_MH()
1175 if (strcasecmp("none", new_value) == 0) { in PHP_INI_MH()
1188 c = strtol(new_value, &endptr, 0); in PHP_INI_MH()
1209 if (new_value == NULL) { in PHP_INI_MH()
1233 if (!new_value) { in PHP_INI_MH()
[all …]
H A Dmbstring.h163 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_…
/PHP-5.3/ext/dba/
H A Ddba.c454 if (!strlen(new_value)) { in ZEND_INI_MH()
456 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
459 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++); in ZEND_INI_MH()
462 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value); in ZEND_INI_MH()
466 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
/PHP-5.3/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.3/ext/exif/
H A Dexif.c190 if (new_value && strlen(new_value) && !php_mb_check_encoding_list(new_value TSRMLS_CC)) { in ZEND_DECLARE_MODULE_GLOBALS()
191 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value); in ZEND_DECLARE_MODULE_GLOBALS()
195 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_DECLARE_MODULE_GLOBALS()
201 if (!php_mb_check_encoding_list(new_value TSRMLS_CC)) { in ZEND_INI_MH()
202 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value); in ZEND_INI_MH()
206 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
2466 size_t new_size, new_move, new_value; in exif_thumbnail_build() local
2494 new_value= new_size; /* offset for ifd values outside ifd directory */ in exif_thumbnail_build()
2535 php_ifd_set32u(new_data+8, new_value, ImageInfo->motorola_intel); in exif_thumbnail_build()
2539 memmove(ImageInfo->Thumbnail.data+new_value, value_ptr, byte_count); in exif_thumbnail_build()
[all …]
/PHP-5.3/ext/mysqlnd/
H A Dphp_mysqlnd.c169 long long_value = atol(new_value); in PHP_INI_MH()
/PHP-5.3/ext/filter/
H A Dfilter.c162 if ((strcasecmp(new_value, filter_list[i].name) == 0)) { in PHP_INI_MH()
177 if (!new_value) { in PHP_INI_MH()
180 IF_G(default_filter_flags) = atoi(new_value); in PHP_INI_MH()
/PHP-5.3/ext/phar/
H A Dphar.c61 if (new_value_length == 2 && !strcasecmp("on", new_value)) { in ZEND_INI_MH()
64 else if (new_value_length == 3 && !strcasecmp("yes", new_value)) { in ZEND_INI_MH()
67 else if (new_value_length == 4 && !strcasecmp("true", new_value)) { in ZEND_INI_MH()
71 ini = (zend_bool) atoi(new_value); in ZEND_INI_MH()
189 PHAR_G(cache_list) = new_value; in ZEND_INI_MH()

Completed in 120 milliseconds

12