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 TSRMLS_DC) /* {{{ */ argument
35 duplicate = zend_string_init(new_value, new_value_length, 1);
/PHP_TRUNK/Zend/
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_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_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 TSRMLS_DC)
76 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage);
77 ZEND_API int zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change TSRMLS_DC);
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 TSRMLS_CC);
98 return zend_multibyte_set_script_encoding_by_string(new_value->val, new_value->len TSRMLS_CC);
H A Dzend_ini.c293 ZEND_API int zend_alter_ini_entry(zend_string *name, zend_string *new_value, int modify_type, int stage) /* {{{ */ argument
297 return zend_alter_ini_entry_ex(name, new_value, modify_type, stage, 0 TSRMLS_CC);
304 zend_string *new_value; local
307 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
308 ret = zend_alter_ini_entry_ex(name, new_value, modify_type, stage, 0 TSRMLS_CC);
309 zend_string_release(new_value);
317 zend_string *new_value; local
319 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
320 ret = zend_alter_ini_entry_ex(name, new_value, modify_type, stage, force_change TSRMLS_CC);
321 zend_string_release(new_value);
326 zend_alter_ini_entry_ex(zend_string *name, zend_string *new_value, int modify_type, int stage, int force_change TSRMLS_DC) argument
[all...]
/PHP_TRUNK/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_TRUNK/sapi/apache_hooks/
H A Dphp_apache.c209 char *old_value, *new_value = NULL; local
213 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|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() TSRMLS_CC, "|l", &new_value) == FAILURE) {
276 *target = new_value;
/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 TSRMLS_CC);
478 for (hptr = handler; hptr->name && strcasecmp(hptr->name, new_value->val); hptr++);
481 php_error_docref(NULL TSRMLS_CC, E_WARNING, "No such handler: %s", new_value->val);
485 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/PHP_TRUNK/ext/mysqlnd/
H A Dphp_mysqlnd.c211 ZEND_ATOL(long_value, new_value->val);
/PHP_TRUNK/ext/standard/
H A Dbrowscap.c299 if (VCWD_REALPATH(new_value->val, bdata->filename) == NULL) {
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 Durl_scanner_ex.re59 tmp = estrndup(new_value->val, new_value->len);
/PHP_TRUNK/ext/exif/
H A Dexif.c169 if (new_value && new_value->len) {
172 if (FAILURE == zend_multibyte_parse_encoding_list(new_value->val, new_value->len,
174 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value->val);
179 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
184 if (new_value) {
187 if (FAILURE == zend_multibyte_parse_encoding_list(new_value->val, new_value->len,
189 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal encoding ignored: '%s'", new_value
2433 size_t new_size, new_move, new_value; local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c1085 if (new_value->len==2 && strcasecmp("on", new_value->val)==0) {
1087 } else if (new_value->len==3 && strcasecmp("yes", new_value->val)==0) {
1089 } else if (new_value->len==4 && strcasecmp("true", new_value->val)==0) {
1092 value = (zend_bool) atoi(new_value->val);
1108 status = OnUpdateBool(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/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);
425 if (new_value) {
426 OnUpdateString(entry, new_value, mh_arg
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c226 if (new_value->len >= ICONV_CSNMAXLEN) {
232 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
239 if(new_value->len >= ICONV_CSNMAXLEN) {
245 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
252 if(new_value->len >= ICONV_CSNMAXLEN) {
258 OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/PHP_TRUNK/ext/session/
H A Dsession.c563 tmp = _php_find_ps_module(new_value->val TSRMLS_CC);
576 php_error_docref(NULL TSRMLS_CC, err_type, "Cannot find save handler '%s'", new_value->val);
593 tmp = _php_find_ps_serializer(new_value->val TSRMLS_CC);
606 php_error_docref(NULL TSRMLS_CC, 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/zlib/
H A Dzlib.c889 if (new_value == NULL) {
893 if (!strncasecmp(new_value->val, "off", sizeof("off"))) {
895 } else if (!strncasecmp(new_value->val, "on", sizeof("on"))) {
898 int_value = zend_atoi(new_value->val, new_value->len);
936 return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_extension.c275 if (NULL == new_value || !new_value->val[0] || (typelib_file = VCWD_FOPEN(new_value->val, "r"))==NULL) {
/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 TSRMLS_CC);
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/filter/
H A Dfilter.c164 if ((strcasecmp(new_value->val, filter_list[i].name) == 0)) {
179 if (!new_value) {
182 IF_G(default_filter_flags) = atoi(new_value->val);

Completed in 39 milliseconds

12