Home
last modified time | relevance | path

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

/PHP-5.4/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.4/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.4/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.4/ext/zlib/
H A Dzlib.c877 new_value_length = sizeof("0"); in PHP_INI_MH()
880 new_value_length = sizeof("1"); in PHP_INI_MH()
883 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
898 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
919 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
/PHP-5.4/ext/session/
H A Dsession.c596 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
616 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
624 if ((!new_value_length || is_numeric_string(new_value, new_value_length, NULL, NULL, 0))) { in PHP_INI_MH()
640 …OnUpdateStringUnempty(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
662 if (new_value_length == (sizeof("md5") - 1) && in PHP_INI_MH()
669 if (new_value_length == (sizeof("sha1") - 1) && in PHP_INI_MH()
678 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); in PHP_INI_MH()
696 tmp = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
701 if(new_value_length > 0 && new_value[new_value_length-1] == '%') { in PHP_INI_MH()
/PHP-5.4/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.4/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.4/main/
H A Dmain.c179 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH()
365 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); in PHP_INI_MH()
429 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
444 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.4/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.4/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.4/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.4/ext/phar/
H A Dphar.c61 if (new_value_length == 2 && !strcasecmp("on", new_value)) { in ZEND_INI_MH()
64 else if (new_value_length == 3 && !strcasecmp("yes", new_value)) { in ZEND_INI_MH()
67 else if (new_value_length == 4 && !strcasecmp("true", new_value)) { in ZEND_INI_MH()
/PHP-5.4/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.4/ext/date/
H A Dphp_date.c886 …if (OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC)… in PHP_INI_MH()

Completed in 146 milliseconds