Home
last modified time | relevance | path

Searched refs:new_value_length (Results 1 – 23 of 23) sorted by relevance

/PHP-5.5/Zend/
H A Dzend_ini.c247 …alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t… in zend_alter_ini_entry() argument
251 …return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage,… in zend_alter_ini_entry()
255 …er_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t… in zend_alter_ini_entry_ex() argument
291 duplicate = estrndup(new_value, new_value_length); in zend_alter_ini_entry_ex()
294 …|| ini_entry->on_modify(ini_entry, duplicate, new_value_length, ini_entry->mh_arg1, ini_entry->mh_… in zend_alter_ini_entry_ex()
299 ini_entry->value_length = 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()
591 *p = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
[all …]
H A Dzend_multibyte.c183 …d_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length TSRMLS_DC) 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 Dzend_ini.h60 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, v…
97 …alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t…
98 …er_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t…
H A Dzend_multibyte.h76 …_multibyte_set_script_encoding_by_string(const char *new_value, size_t new_value_length TSRMLS_DC);
H A Dzend.c78 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.5/ext/standard/
H A Dassert.c61 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()
70 ASSERTG(cb) = pemalloc(new_value_length + 1, 1); in PHP_INI_MH()
71 memcpy(ASSERTG(cb), new_value, new_value_length); in PHP_INI_MH()
72 ASSERTG(cb)[new_value_length] = '\0'; in PHP_INI_MH()
H A Durl_scanner_ex.c56 tmp = estrndup(new_value, new_value_length); in PHP_INI_MH()
H A Durl_scanner_ex.re54 tmp = estrndup(new_value, new_value_length);
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_php.c26 …_ini_alter_master(char *name, int name_length, char *new_value, int new_value_length, int mode, in… in fpm_php_zend_ini_alter_master() argument
38 || ini_entry->on_modify(ini_entry, duplicate, new_value_length, in fpm_php_zend_ini_alter_master()
41 ini_entry->value_length = new_value_length; in fpm_php_zend_ini_alter_master()
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_module.c112 (void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage; in ZEND_INI_MH()
150 (void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage; in ZEND_INI_MH()
196 (void)entry; (void)new_value_length; (void)mh_arg2; (void)mh_arg3; (void)stage; in ZEND_INI_MH()
226 …return OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC… in ZEND_INI_MH()
237 if ((new_value_length == 2 && strcasecmp("on", new_value) == 0) || in ZEND_INI_MH()
238 (new_value_length == 3 && strcasecmp("yes", new_value) == 0) || in ZEND_INI_MH()
239 (new_value_length == 4 && strcasecmp("true", new_value) == 0) || in ZEND_INI_MH()
H A DZendAccelerator.c201 …int ret = orig_include_path_on_modify(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg… in ZEND_INI_MH()
207 ZCG(include_path_len) = new_value_length; in ZEND_INI_MH()
/PHP-5.5/ext/zlib/
H A Dzlib.c889 new_value_length = sizeof("0"); in PHP_INI_MH()
892 new_value_length = sizeof("1"); in PHP_INI_MH()
895 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
910 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
931 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
/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_…
H A Dmbstring.c1216 …if (FAILURE == php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC))… in PHP_INI_MH()
1244 …if (FAILURE == php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC))… in PHP_INI_MH()
1263 if (new_value == NULL || new_value_length == 0) { in PHP_INI_MH()
1283 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_… in _php_mb_ini_mbstring_internal_encoding_set()
1287 if (!new_value || new_value_length == 0 || !(encoding = mbfl_name2encoding(new_value))) { in _php_mb_ini_mbstring_internal_encoding_set()
1341 …if (OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC)… in PHP_INI_MH()
1346 return _php_mb_ini_mbstring_internal_encoding_set(new_value, new_value_length TSRMLS_CC); in PHP_INI_MH()
1378 if (new_value_length >0) { in PHP_INI_MH()
1404 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
1426 new_value_length = entry->orig_value_length; in PHP_INI_MH()
[all …]
/PHP-5.5/ext/session/
H A Dsession.c648 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
668 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
676 if ((!new_value_length || is_numeric_string(new_value, new_value_length, NULL, NULL, 0))) { in PHP_INI_MH()
692 …OnUpdateStringUnempty(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
714 if (new_value_length == (sizeof("md5") - 1) && in PHP_INI_MH()
721 if (new_value_length == (sizeof("sha1") - 1) && in PHP_INI_MH()
730 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); in PHP_INI_MH()
748 tmp = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
753 if(new_value_length > 0 && new_value[new_value_length-1] == '%') { in PHP_INI_MH()
/PHP-5.5/ext/tidy/
H A Dtidy.c1117 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()
1140 …status = OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
/PHP-5.5/main/
H A Dmain.c178 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH()
364 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); in PHP_INI_MH()
428 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
443 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.5/ext/dba/
H A Ddba.c475 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… 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.5/ext/exif/
H A Dexif.c179 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()
189 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_DECLARE_MODULE_GLOBALS()
197 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, in ZEND_INI_MH()
204 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
/PHP-5.5/ext/iconv/
H A Diconv.c225 if(new_value_length >= ICONV_CSNMAXLEN) { in PHP_INI_MH()
228 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.5/ext/phar/
H A Dphar.c59 if (new_value_length == 2 && !strcasecmp("on", new_value)) { in ZEND_INI_MH()
62 else if (new_value_length == 3 && !strcasecmp("yes", new_value)) { in ZEND_INI_MH()
65 else if (new_value_length == 4 && !strcasecmp("true", new_value)) { in ZEND_INI_MH()
/PHP-5.5/ext/soap/
H A Dsoap.c493 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
513 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.5/ext/date/
H A Dphp_date.c936 …if (OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC)… in PHP_INI_MH()

Completed in 149 milliseconds