Searched refs:value_length (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c101 uint value_length; member in struct:_php_per_dir_entry
619 zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_dir_entry->value_length, per_dir_entry->type, PHP_INI_STAGE_ACTIVATE);
783 per_dir_entry->value = (char *) malloc(tmp.value_length+1);
784 memcpy(per_dir_entry->value, tmp.value, tmp.value_length);
785 per_dir_entry->value[per_dir_entry->value_length] = 0;
914 per_dir_entry.value_length = strlen(arg2);
920 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1);
921 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length);
922 per_dir_entry.value[per_dir_entry.value_length] = 0;
/PHP_TRUNK/Zend/
H A Dzend_ini.c70 ini_entry->value_length = ini_entry->orig_value_length;
213 hashed_ini_entry->value_length = Z_STRLEN(default_value);
219 hashed_ini_entry->on_modify(hashed_ini_entry, hashed_ini_entry->value, hashed_ini_entry->value_length, hashed_ini_entry->mh_arg1, hashed_ini_entry->mh_arg2, hashed_ini_entry->mh_arg3, ZEND_INI_STAGE_STARTUP TSRMLS_CC);
240 p->on_modify(p, p->value, p->value_length, p->mh_arg1, p->mh_arg2, p->mh_arg3, stage TSRMLS_CC);
291 ini_entry->orig_value_length = ini_entry->value_length;
305 ini_entry->value_length = new_value_length;
455 display_string_length = ini_entry->value_length;
481 tmp_value_len = ini_entry->value_length;
H A Dzend_ini.h44 uint value_length; member in struct:_zend_ini_entry
H A Dzend_vm_def.h5068 EG(error_reporting_ini_entry)->orig_value_length = EG(error_reporting_ini_entry)->value_length;
5076 EG(error_reporting_ini_entry)->value_length = sizeof("0")-1;
5105 EG(error_reporting_ini_entry)->value_length = buf + sizeof(buf) - 1 - res;
5106 EG(error_reporting_ini_entry)->value = estrndup(res, EG(error_reporting_ini_entry)->value_length);
H A Dzend_vm_execute.h1136 EG(error_reporting_ini_entry)->orig_value_length = EG(error_reporting_ini_entry)->value_length;
1144 EG(error_reporting_ini_entry)->value_length = sizeof("0")-1;
8822 EG(error_reporting_ini_entry)->value_length = buf + sizeof(buf) - 1 - res;
8823 EG(error_reporting_ini_entry)->value = estrndup(res, EG(error_reporting_ini_entry)->value_length);
[all...]
H A Dzend_API.h317 ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length TSRMLS_DC);
328 ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, int name_length, const char *value, int value_length TSRMLS_DC);
336 ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, int name_length, const char *value, int value_length TSRMLS_DC);
H A Dzend_API.c3811 ZEND_API int zend_declare_class_constant_stringl(zend_class_entry *ce, const char *name, size_t name_length, const char *value, size_t value_length TSRMLS_DC) /* {{{ */
3815 ZVAL_NEW_STR(&constant, STR_INIT(value, value_length, ce->type & ZEND_INTERNAL_CLASS));
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c692 php_mb_parse_encoding_list(const char *value, size_t value_length, const mbfl_encoding ***return_list, size_t *return_size, int persistent TSRMLS_DC) argument
700 if (value == NULL || value_length <= 0) {
710 if (value[0]=='"' && value[value_length-1]=='"' && value_length>2) {
711 tmpstr = (char *)estrndup(value+1, value_length-2);
712 value_length -= 2;
715 tmpstr = (char *)estrndup(value, value_length);
720 endp = tmpstr + value_length;
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5234 add_assoc_stringl(&option, "global_value", ini_entry->value, ini_entry->value_length);
5240 add_assoc_stringl(&option, "local_value", ini_entry->value, ini_entry->value_length);
5250 add_assoc_stringl(ini_array, ini_entry->name, ini_entry->value, ini_entry->value_length);
/PHP_TRUNK/main/
H A Dmain.c331 static int php_get_display_errors_mode(char *value, int value_length) argument
339 if (value_length == 2 && !strcasecmp("on", value)) {
341 } else if (value_length == 3 && !strcasecmp("yes", value)) {
343 } else if (value_length == 4 && !strcasecmp("true", value)) {
345 } else if (value_length == 6 && !strcasecmp(value, "stderr")) {
347 } else if (value_length == 6 && !strcasecmp(value, "stdout")) {
383 tmp_value_length = ini_entry->value_length;
H A Dphp_ini.c101 display_string_length = ini_entry->value_length;
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c77 uint value_length; member in struct:_php_per_dir_entry
570 zend_alter_ini_entry(key, per_dir_entry->value, per_dir_entry->value_length, per_dir_entry->type, per_dir_entry->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE);
739 new_per_dir_entry->value = (char *) malloc(old_per_dir_entry->value_length+1);
740 memcpy(new_per_dir_entry->value, old_per_dir_entry->value, old_per_dir_entry->value_length);
741 new_per_dir_entry->value[new_per_dir_entry->value_length] = 0;
826 per_dir_entry.value_length = strlen(arg2);
832 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1);
833 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length);
834 per_dir_entry.value[per_dir_entry.value_length] = 0;
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c41 ini_entry->value_length = new_value_length;
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c132 ini_entry->value_length = strlen(new_new_value);
177 ini_entry->value_length = strlen(new_new_value);
212 ini_entry->value_length = strlen(new_new_value);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c5280 add_assoc_stringl(retval, ini_entry->name, ini_entry->value, ini_entry->value_length);

Completed in 116 milliseconds