/PHP-5.4/Zend/ |
H A D | zend_ini.c | 291 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 D | zend_multibyte.c | 183 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 D | zend_ini.h | 60 #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 D | zend_multibyte.h | 76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_l…
|
H A D | zend.c | 67 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.4/sapi/fpm/fpm/ |
H A D | zlog.c | 90 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 D | zlog.h | 14 int zlog_set_level(int new_value);
|
H A D | fpm_php.c | 26 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 D | fastcgi.c | 231 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.4/ext/standard/ |
H A D | assert.c | 61 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 D | browscap.c | 323 if (VCWD_REALPATH(new_value, bdata->filename) == NULL) { in PHP_INI_MH()
|
/PHP-5.4/main/ |
H A D | fopen_wrappers.c | 97 *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 D | main.c | 164 int i = atoi(new_value); in PHP_INI_MH() 178 if (new_value) { in PHP_INI_MH() 179 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH() 320 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH() 324 EG(timeout_seconds) = atoi(new_value); in PHP_INI_MH() 365 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); in PHP_INI_MH() 424 … PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value && strcmp(new_value, "sysl… in PHP_INI_MH() 425 if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) { in PHP_INI_MH() 429 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH() 439 if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value) { in PHP_INI_MH() [all …]
|
H A D | rfc1867.c | 859 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.4/ext/session/ |
H A D | session.c | 523 tmp = _php_find_ps_module(new_value TSRMLS_CC); in PHP_INI_MH() 553 tmp = _php_find_ps_serializer(new_value TSRMLS_CC); in PHP_INI_MH() 580 if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH() 583 PS(use_trans_sid) = (zend_bool) atoi(new_value); in PHP_INI_MH() 596 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH() 601 if ((p = strchr(new_value, ';'))) { in PHP_INI_MH() 608 p = new_value; in PHP_INI_MH() 654 val = strtol(new_value, &endptr, 10); in PHP_INI_MH() 663 strncasecmp(new_value, "md5", sizeof("md5") - 1) == 0) { in PHP_INI_MH() 696 tmp = zend_atoi(new_value, new_value_length); in PHP_INI_MH() [all …]
|
/PHP-5.4/ext/zlib/ |
H A D | zlib.c | 871 if (new_value == NULL) { in PHP_INI_MH() 875 if (!strncasecmp(new_value, "off", sizeof("off"))) { in PHP_INI_MH() 876 new_value = "0"; in PHP_INI_MH() 878 } else if (!strncasecmp(new_value, "on", sizeof("on"))) { in PHP_INI_MH() 879 new_value = "1"; in PHP_INI_MH() 883 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH() 898 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH() 919 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
|
/PHP-5.4/ext/com_dotnet/ |
H A D | com_extension.c | 273 if (!new_value || !new_value[0] || (typelib_file = VCWD_FOPEN(new_value, "r"))==NULL) { in PHP_INI_MH()
|
/PHP-5.4/ext/mbstring/ |
H A D | mbstring.c | 1207 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 D | mbstring.h | 154 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_…
|
/PHP-5.4/sapi/apache_hooks/ |
H A D | php_apache.c | 211 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.4/ext/dba/ |
H A D | dba.c | 473 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.4/ext/exif/ |
H A D | exif.c | 179 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.4/ext/filter/ |
H A D | filter.c | 162 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.4/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 241 long long_value = atol(new_value); in PHP_INI_MH()
|
/PHP-5.4/ext/tidy/ |
H A D | tidy.c | 1117 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()
|