Home
last modified time | relevance | path

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

/PHP-5.3/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);
H A Dbasic_functions.c3373 protected_vars = estrndup(new_value, new_value_length); in PHP_INI_MH()
3391 BG(sm_allowed_env_vars) = zend_strndup(new_value, new_value_length); in PHP_INI_MH()
/PHP-5.3/Zend/
H A Dzend_ini.c245 …alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t… in zend_alter_ini_entry() argument
249 …return zend_alter_ini_entry_ex(name, name_length, new_value, new_value_length, modify_type, stage,… in zend_alter_ini_entry()
253 …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
289 duplicate = estrndup(new_value, new_value_length); in zend_alter_ini_entry_ex()
292 …|| ini_entry->on_modify(ini_entry, duplicate, new_value_length, ini_entry->mh_arg1, ini_entry->mh_… in zend_alter_ini_entry_ex()
297 ini_entry->value_length = new_value_length; in zend_alter_ini_entry_ex()
560 if (new_value_length == 2 && strcasecmp("on", new_value) == 0) { in ZEND_INI_MH()
563 else if (new_value_length == 3 && strcasecmp("yes", new_value) == 0) { in ZEND_INI_MH()
566 else if (new_value_length == 4 && strcasecmp("true", new_value) == 0) { in ZEND_INI_MH()
589 *p = zend_atol(new_value, new_value_length); in ZEND_INI_MH()
[all …]
H A Dzend_ini.h62 #define ZEND_INI_MH(name) int name(zend_ini_entry *entry, char *new_value, uint new_value_length, v…
99 …alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t…
100 …er_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_t…
H A Dzend.c81 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in ZEND_INI_MH()
/PHP-5.3/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.3/ext/zlib/
H A Dzlib.c272 new_value_length = sizeof("0"); in PHP_INI_MH()
275 new_value_length = sizeof("1"); in PHP_INI_MH()
278 int_value = zend_atoi(new_value, new_value_length); in PHP_INI_MH()
291 …status = OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in PHP_INI_MH()
304 OnUpdateLong(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
318 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.3/ext/mbstring/
H A Dmbstring.h163 int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length TSRMLS_…
H A Dmbstring.c986 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
1010 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
1041 if (new_value != NULL && new_value_length > 0) { in PHP_INI_MH()
1051 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()
1061 enc_name_len = new_value_length; in _php_mb_ini_mbstring_internal_encoding_set()
1129 return _php_mb_ini_mbstring_internal_encoding_set(new_value, new_value_length TSRMLS_CC); in PHP_INI_MH()
1148 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
1187 if (new_value_length >0) { in PHP_INI_MH()
1213 OnUpdateBool(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
1235 new_value_length = entry->orig_value_length; in PHP_INI_MH()
[all …]
/PHP-5.3/ext/session/
H A Dsession.c710 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
734 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
756 if (new_value_length == (sizeof("md5") - 1) && in PHP_INI_MH()
763 if (new_value_length == (sizeof("sha1") - 1) && in PHP_INI_MH()
772 php_hash_ops *ops = (php_hash_ops*)php_hash_fetch_ops(new_value, new_value_length); in PHP_INI_MH()
/PHP-5.3/main/
H A Dmain.c174 PG(memory_limit) = zend_atol(new_value, new_value_length); in PHP_INI_MH()
308 PG(display_errors) = (zend_bool) php_get_display_errors_mode(new_value, new_value_length); in PHP_INI_MH()
377 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
397 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.3/ext/dba/
H A Ddba.c456 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
466 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
/PHP-5.3/ext/iconv/
H A Diconv.c227 if(new_value_length >= ICONV_CSNMAXLEN) { in PHP_INI_MH()
230 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()
/PHP-5.3/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.3/ext/exif/
H A Dexif.c195 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_DECLARE_MODULE_GLOBALS()
206 …return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_… in ZEND_INI_MH()
/PHP-5.3/ext/soap/
H A Dsoap.c577 if (memchr(new_value, '\0', new_value_length) != NULL) { in PHP_INI_MH()
601 OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); in PHP_INI_MH()

Completed in 188 milliseconds