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

12

/PHP_TRUNK/sapi/fpm/fpm/
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 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) /* {{{ */ argument
35 duplicate = zend_string_init(new_value, new_value_length, 1);
/PHP_TRUNK/Zend/
H A Dzend.c69 if (!new_value) {
72 EG(error_reporting) = atoi(new_value->val);
80 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
98 return zend_multibyte_set_script_encoding_by_string(new_value->val, new_value->len);
H A Dzend_ini.c299 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage) /* {{{ */ argument
302 return zend_alter_ini_entry_ex(name, new_value, modify_type, stage, 0);
309 zend_string *new_value; local
311 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
312 ret = zend_alter_ini_entry_ex(name, new_value, modify_type, stage, 0);
313 zend_string_release(new_value);
321 zend_string *new_value; local
323 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
324 ret = zend_alter_ini_entry_ex(name, new_value, modify_type, stage, force_change);
325 zend_string_release(new_value);
330 zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change) argument
[all...]
H A Dzend_ini.h30 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, zend_string *new_value, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage)
77 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
78 ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change);
H A Dzend_multibyte.c183 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length) argument
188 if (!new_value) {
193 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1)) {
H A Dzend_multibyte.h76 ZEND_API int zend_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_extension.c278 if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==NULL) {
/PHP_TRUNK/ext/dba/
H A Ddba.c473 if (!new_value->len) {
475 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
478 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value->val); hptr++);
481 php_error_docref(NULL, E_WARNING, "No such handler: %s", new_value->val);
485 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/exif/
H A Dexif.c172 if (new_value && new_value->len) {
175 if (FAILURE == zend_multibyte_parse_encoding_list(new_value->val, new_value->len,
177 php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", new_value->val);
182 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
187 if (new_value) {
190 if (FAILURE == zend_multibyte_parse_encoding_list(new_value->val, new_value->len,
192 php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", new_value
2439 size_t new_size, new_move, new_value; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dfilter.c167 if ((strcasecmp(new_value->val, filter_list[i].name) == 0)) {
182 if (!new_value) {
185 IF_G(default_filter_flags) = atoi(new_value->val);
/PHP_TRUNK/ext/iconv/
H A Diconv.c232 if (new_value->len >= ICONV_CSNMAXLEN) {
238 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
245 if(new_value->len >= ICONV_CSNMAXLEN) {
251 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
258 if(new_value->len >= ICONV_CSNMAXLEN) {
264 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.h154 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length);
/PHP_TRUNK/ext/mysqlnd/
H A Dphp_mysqlnd.c214 ZEND_ATOL(long_value, new_value->val);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c115 memsize = atoi(new_value->val);
151 size = atoi(new_value->val);
195 percentage = atoi(new_value->val);
220 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
231 if ((new_value->len == 2 && strcasecmp("on", new_value->val) == 0) ||
232 (new_value->len == 3 && strcasecmp("yes", new_value->val) == 0) ||
233 (new_value->len == 4 && strcasecmp("true", new_value
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c563 tmp = _php_find_ps_module(new_value->val);
576 php_error_docref(NULL, err_type, "Cannot find save handler '%s'", new_value->val);
593 tmp = _php_find_ps_serializer(new_value->val);
606 php_error_docref(NULL, err_type, "Cannot find serialization handler '%s'", new_value->val);
620 if (!strncasecmp(new_value->val, "on", sizeof("on"))) {
623 PS(use_trans_sid) = (zend_bool) atoi(new_value->val);
636 if (memchr(new_value->val, '\0', new_value->len) != NULL) {
641 if ((p = strchr(new_value->val, ';'))) {
648 p = new_value
[all...]
/PHP_TRUNK/ext/standard/
H A Dassert.c61 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || new_value->len)) {
62 ZVAL_STR_COPY(&ASSERTG(callback), new_value); local
68 if (new_value && new_value->len) {
69 ASSERTG(cb) = pemalloc(new_value->len + 1, 1);
70 memcpy(ASSERTG(cb), new_value->val, new_value->len);
71 ASSERTG(cb)[new_value->len] = '\0';
H A Dbrowscap.c299 if (VCWD_REALPATH(new_value->val, bdata->filename) == NULL) {
H A Durl_scanner_ex.re59 tmp = estrndup(new_value->val, new_value->len);
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1091 if (new_value->len==2 && strcasecmp("on", new_value->val)==0) {
1093 } else if (new_value->len==3 && strcasecmp("yes", new_value->val)==0) {
1095 } else if (new_value->len==4 && strcasecmp("true", new_value->val)==0) {
1098 value = (zend_bool) atoi(new_value->val);
1114 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/zlib/
H A Dzlib.c891 if (new_value == NULL) {
895 if (!strncasecmp(new_value->val, "off", sizeof("off"))) {
897 } else if (!strncasecmp(new_value->val, "on", sizeof("on"))) {
900 int_value = zend_atoi(new_value->val, new_value->len);
938 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/main/
H A Dfopen_wrappers.c97 *p = new_value ? new_value->val : NULL;
104 *p = new_value->val;
109 if (!new_value || !*new_value->val) {
114 ptr = pathbuf = estrdup(new_value->val);
131 *p = new_value->val;
H A Dmain.c166 ZEND_ATOL(i, new_value->val);
180 if (new_value) {
181 PG(memory_limit) = zend_atol(new_value->val, (int)new_value->len);
322 ZEND_ATOL(EG(timeout_seconds), new_value->val);
326 ZEND_ATOL(EG(timeout_seconds), new_value->val);
367 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value->val, (int)new_value->len);
424 if (new_value) {
425 OnUpdateString(entry, new_value, mh_arg
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c209 char *old_value, *new_value = NULL; local
213 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s", &new_value, &new_value_len) == FAILURE) {
222 if (new_value) {
223 *target = ap_pstrdup(r->pool, new_value);
260 long old_value, new_value; local
263 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &new_value) == FAILURE) {
276 *target = new_value;

Completed in 37 milliseconds

12