Searched refs:new_value (Results 1 - 25 of 34) sorted by relevance

12

/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_php.c26 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_value_length, int mode, int stage TSRMLS_DC) /* {{{ */ argument
35 duplicate = strdup(new_value);
H A Dzlog.c90 int zlog_set_level(int new_value) /* {{{ */ argument
94 if (new_value < ZLOG_DEBUG || new_value > ZLOG_ALERT) return old_value;
96 zlog_level = new_value;
H A Dzlog.h14 int zlog_set_level(int new_value);
H A Dfastcgi.c232 void fcgi_set_in_shutdown(int new_value) argument
234 in_shutdown = new_value;
/PHP_5_5/ext/standard/
H A Dassert.c61 if (new_value && (ASSERTG(callback) || new_value_length)) {
63 ZVAL_STRINGL(ASSERTG(callback), new_value, new_value_length, 1); local
69 if (new_value && new_value_length) {
71 memcpy(ASSERTG(cb), new_value, new_value_length); local
H A Dbrowscap.c323 if (VCWD_REALPATH(new_value, bdata->filename) == NULL) {
H A Durl_scanner_ex.re54 tmp = estrndup(new_value, new_value_length);
/PHP_5_5/ext/tidy/
H A Dtidy.c1117 if (new_value_length==2 && strcasecmp("on", new_value)==0) {
1119 } else if (new_value_length==3 && strcasecmp("yes", new_value)==0) {
1121 } else if (new_value_length==4 && strcasecmp("true", new_value)==0) {
1124 value = (zend_bool) atoi(new_value);
1140 status = OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/PHP_5_5/main/
H A Dfopen_wrappers.c97 *p = new_value;
104 *p = new_value;
109 if (!new_value || !*new_value) {
114 ptr = pathbuf = estrdup(new_value);
131 *p = new_value;
H A Dmain.c163 int i = atoi(new_value);
177 if (new_value) {
178 PG(memory_limit) = zend_atol(new_value, new_value_length);
319 EG(timeout_seconds) = atoi(new_value);
323 EG(timeout_seconds) = atoi(new_value);
364 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length);
423 if ((stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) && new_value && strcmp(new_value, "syslog")) {
424 if (PG(open_basedir) && php_check_open_basedir(new_value TSRMLS_CC)) {
428 OnUpdateString(entry, new_value, new_value_lengt
[all...]
/PHP_5_5/Zend/
H A Dzend_ini.c247 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage) /* {{{ */ argument
251 return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage, 0 TSRMLS_CC);
255 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC) /* {{{ */ argument
291 duplicate = estrndup(new_value, new_value_length);
562 if (new_value_length == 2 && strcasecmp("on", new_value) == 0) {
565 else if (new_value_length == 3 && strcasecmp("yes", new_value) == 0) {
568 else if (new_value_length == 4 && strcasecmp("true", new_value) == 0) {
572 *p = (zend_bool) atoi(new_value);
591 *p = zend_atol(new_value, new_value_length);
607 tmp = zend_atol(new_value, new_value_lengt
[all...]
H A Dzend_ini.h60 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage TSRMLS_DC)
97 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage);
98 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC);
H A Dzend_multibyte.c183 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length TSRMLS_DC) argument
188 if (!new_value) {
193 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) {
H A Dzend_multibyte.h76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length TSRMLS_DC);
H A Dzend.c67 if (!new_value) {
70 EG(error_reporting) = atoi(new_value);
78 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
96 return zend_multibyte_set_script_encoding_by_string(new_value, new_value_length TSRMLS_CC);
/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) {
/PHP_5_5/ext/dba/
H A Ddba.c473 if (!strlen(new_value)) {
475 return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
478 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value); hptr++);
481 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value);
485 return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/PHP_5_5/ext/filter/
H A Dfilter.c163 if ((strcasecmp(new_value, filter_list[i].name) == 0)) {
178 if (!new_value) {
181 IF_G(default_filter_flags) = atoi(new_value);
/PHP_5_5/ext/mbstring/
H A Dmbstring.h154 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_DC);
/PHP_5_5/ext/mysqlnd/
H A Dphp_mysqlnd.c218 long long_value = atol(new_value);
/PHP_5_5/sapi/apache_hooks/
H A Dphp_apache.c211 char *old_value, *new_value = NULL; local
215 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &new_value, &new_value_len) == FAILURE) {
224 if (new_value) {
225 *target = ap_pstrdup(r->pool, new_value);
262 long old_value, new_value; local
265 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &new_value) == FAILURE) {
278 *target = new_value;
/PHP_5_5/ext/opcache/
H A Dzend_accelerator_module.c115 memsize = atoi(new_value);
153 size = atoi(new_value);
199 percentage = atoi(new_value);
226 return OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
237 if ((new_value_length == 2 && strcasecmp("on", new_value) == 0) ||
238 (new_value_length == 3 && strcasecmp("yes", new_value) == 0) ||
239 (new_value_length == 4 && strcasecmp("true", new_value) == 0) ||
240 atoi(new_value) != 0) {
/PHP_5_5/ext/session/
H A Dsession.c572 tmp = _php_find_ps_module(new_value TSRMLS_CC);
585 php_error_docref(NULL TSRMLS_CC, err_type, "Cannot find save handler '%s'", new_value);
602 tmp = _php_find_ps_serializer(new_value TSRMLS_CC);
615 php_error_docref(NULL TSRMLS_CC, err_type, "Cannot find serialization handler '%s'", new_value);
629 if (!strncasecmp(new_value, "on", sizeof("on"))) {
632 PS(use_trans_sid) = (zend_bool) atoi(new_value);
645 if (memchr(new_value, '\0', new_value_length) != NULL) {
650 if ((p = strchr(new_value, ';'))) {
657 p = new_value;
665 OnUpdateString(entry, new_value, new_value_lengt
[all...]
/PHP_5_5/ext/exif/
H A Dexif.c179 if (new_value && new_value_length) {
182 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length,
184 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value);
189 return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
194 if (new_value) {
197 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length,
199 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value);
204 return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
2446 size_t new_size, new_move, new_value; local
2474 new_value
[all...]
/PHP_5_5/ext/zlib/
H A Dzlib.c883 if (new_value == NULL) {
887 if (!strncasecmp(new_value, "off", sizeof("off"))) {
888 new_value = "0";
890 } else if (!strncasecmp(new_value, "on", sizeof("on"))) {
891 new_value = "1";
895 int_value = zend_atoi(new_value, new_value_length);
910 status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
931 return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);

Completed in 74 milliseconds

12