Searched defs:new_value_length (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
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
38 || ini_entry->on_modify(ini_entry, duplicate, new_value_length,
41 ini_entry->value_length = new_value_length;
/PHP_TRUNK/Zend/
H A Dzend_ini.c253 ZEND_API int zend_alter_ini_entry(zend_string *name, char *new_value, uint new_value_length, int modify_type, int stage) /* {{{ */ argument
257 return zend_alter_ini_entry_ex(name, new_value, new_value_length, modify_type, stage, 0 TSRMLS_CC);
261 ZEND_API int zend_alter_ini_entry_ex(zend_string *name, char *new_value, uint new_value_length, int modify_type, int stage, int force_change TSRMLS_DC) /* {{{ */ argument
297 duplicate = estrndup(new_value, new_value_length);
300 || ini_entry->on_modify(ini_entry, duplicate, new_value_length, ini_entry->mh_arg1, ini_entry->mh_arg2, ini_entry->mh_arg3, stage TSRMLS_CC) == SUCCESS) {
305 ini_entry->value_length = new_value_length;
572 if (new_value_length == 2 && strcasecmp("on", new_value) == 0) {
575 else if (new_value_length == 3 && strcasecmp("yes", new_value) == 0) {
578 else if (new_value_length == 4 && strcasecmp("true", new_value) == 0) {
601 *p = zend_atol(new_value, new_value_length);
[all...]
/PHP_TRUNK/ext/standard/
H A Dassert.c61 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || new_value_length)) {
62 ZVAL_STRINGL(&ASSERTG(callback), new_value, new_value_length); local
68 if (new_value && new_value_length) {
69 ASSERTG(cb) = pemalloc(new_value_length + 1, 1);
70 memcpy(ASSERTG(cb), new_value, new_value_length); local
71 ASSERTG(cb)[new_value_length] = '\0';

Completed in 4 milliseconds