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

12

/PHP_TRUNK/Zend/
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);
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.c69 if (!new_value) {
72 EG(error_reporting) = atoi(ZSTR_VAL(new_value));
80 OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
98 return zend_multibyte_set_script_encoding_by_string(new_value ? ZSTR_VAL(new_value) : NULL, new_value ? ZSTR_LEN(new_value) : 0);
115 val = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value));
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.h157 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length);
/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.h16 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/main/
H A Dfastcgi.h104 void fcgi_set_in_shutdown(int new_value);
H A Dfopen_wrappers.c93 *p = new_value ? ZSTR_VAL(new_value) : NULL;
100 *p = ZSTR_VAL(new_value);
105 if (!new_value || !*ZSTR_VAL(new_value)) {
110 ptr = pathbuf = estrdup(ZSTR_VAL(new_value));
127 *p = ZSTR_VAL(new_value);
H A Dmain.c133 ZEND_ATOL(i, ZSTR_VAL(new_value));
147 if (new_value) {
148 PG(memory_limit) = zend_atol(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value));
289 ZEND_ATOL(EG(timeout_seconds), ZSTR_VAL(new_value));
293 ZEND_ATOL(EG(timeout_seconds), ZSTR_VAL(new_value));
334 PG(display_errors) = (zend_bool) php_get_display_errors_mode(ZSTR_VAL(new_value), (int)ZSTR_LEN(new_value));
391 if (new_value) {
392 OnUpdateString(entry, new_value, mh_arg
[all...]
/PHP_TRUNK/ext/exif/
H A Dexif.c170 if (new_value && ZSTR_LEN(new_value)) {
173 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value),
175 php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value));
180 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
185 if (new_value) {
188 if (FAILURE == zend_multibyte_parse_encoding_list(ZSTR_VAL(new_value), ZSTR_LEN(new_value),
190 php_error_docref(NULL, E_WARNING, "Illegal encoding ignored: '%s'", ZSTR_VAL(new_value));
2431 size_t new_size, new_move, new_value; local
[all...]
/PHP_TRUNK/ext/filter/
H A Dfilter.c165 if ((strcasecmp(ZSTR_VAL(new_value), filter_list[i].name) == 0)) {
180 if (!new_value) {
183 IF_G(default_filter_flags) = atoi(ZSTR_VAL(new_value));
/PHP_TRUNK/ext/iconv/
H A Diconv.c232 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) {
238 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
245 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) {
251 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
258 if (ZSTR_LEN(new_value) >= ICONV_CSNMAXLEN) {
264 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/mysqlnd/
H A Dphp_mysqlnd.c214 ZEND_ATOL(long_value, ZSTR_VAL(new_value));
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c115 memsize = atoi(ZSTR_VAL(new_value));
151 size = atoi(ZSTR_VAL(new_value));
195 percentage = atoi(ZSTR_VAL(new_value));
220 return OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
231 if ((ZSTR_LEN(new_value) == 2 && strcasecmp("on", ZSTR_VAL(new_value)) == 0) ||
232 (ZSTR_LEN(new_value) == 3 && strcasecmp("yes", ZSTR_VAL(new_value)) == 0) ||
233 (ZSTR_LEN(new_value) == 4 && strcasecmp("true", ZSTR_VAL(new_value))
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c597 tmp = _php_find_ps_module(ZSTR_VAL(new_value));
610 php_error_docref(NULL, err_type, "Cannot find save handler '%s'", ZSTR_VAL(new_value));
627 tmp = _php_find_ps_serializer(ZSTR_VAL(new_value));
640 php_error_docref(NULL, err_type, "Cannot find serialization handler '%s'", ZSTR_VAL(new_value));
654 if (!strncasecmp(ZSTR_VAL(new_value), "on", sizeof("on"))) {
657 PS(use_trans_sid) = (zend_bool) atoi(ZSTR_VAL(new_value));
670 if (memchr(ZSTR_VAL(new_value), '\0', ZSTR_LEN(new_value)) != NULL) {
675 if ((p = strchr(ZSTR_VAL(new_value), ';'))) {
682 p = ZSTR_VAL(new_value);
2179 php_session_start_set_ini(zend_string *varname, zend_string *new_value) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Durl_scanner_ex.re59 tmp = estrndup(ZSTR_VAL(new_value), ZSTR_LEN(new_value));
H A Dassert.c66 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) {
67 ZVAL_STR_COPY(&ASSERTG(callback), new_value); local
73 if (new_value && ZSTR_LEN(new_value)) {
74 ASSERTG(cb) = pemalloc(ZSTR_LEN(new_value) + 1, 1);
75 memcpy(ASSERTG(cb), ZSTR_VAL(new_value), ZSTR_LEN(new_value));
76 ASSERTG(cb)[ZSTR_LEN(new_value)] = '\0';
H A Dbrowscap.c299 if (VCWD_REALPATH(ZSTR_VAL(new_value), bdata->filename) == NULL) {
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1089 if (ZSTR_LEN(new_value)==2 && strcasecmp("on", ZSTR_VAL(new_value))==0) {
1091 } else if (ZSTR_LEN(new_value)==3 && strcasecmp("yes", ZSTR_VAL(new_value))==0) {
1093 } else if (ZSTR_LEN(new_value)==4 && strcasecmp("true", ZSTR_VAL(new_value))==0) {
1096 value = (zend_bool) atoi(ZSTR_VAL(new_value));
1112 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/zlib/
H A Dzlib.c1369 if (new_value == NULL) {
1373 if (!strncasecmp(ZSTR_VAL(new_value), "off", sizeof("off"))) {
1375 } else if (!strncasecmp(ZSTR_VAL(new_value), "on", sizeof("on"))) {
1378 int_value = zend_atoi(ZSTR_VAL(new_value), ZSTR_LEN(new_value));
1416 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/PHP_TRUNK/ext/dba/
H A Ddba.c483 if (!ZSTR_LEN(new_value)) {
485 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
488 for (hptr = handler; hptr->name && strcasecmp(hptr->name, ZSTR_VAL(new_value)); hptr++);
491 php_error_docref(NULL, E_WARNING, "No such handler: %s", ZSTR_VAL(new_value));
495 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage);
/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) {

Completed in 39 milliseconds

12