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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php.c41 ini_entry->value_length = new_value_length;
/PHP_TRUNK/Zend/
H A Dzend_ini.c68 ini_entry->value_length = ini_entry->orig_value_length;
210 hashed_ini_entry->value_length = Z_STRLEN(default_value);
216 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);
234 p->on_modify(p, p->value, p->value_length, p->mh_arg1, p->mh_arg2, p->mh_arg3, stage TSRMLS_CC);
285 ini_entry->orig_value_length = ini_entry->value_length;
299 ini_entry->value_length = new_value_length;
445 display_string_length = ini_entry->value_length;
471 tmp_value_len = ini_entry->value_length;
H A Dzend_ini.h74 uint value_length; member in struct:_zend_ini_entry
H A Dzend_API.h322 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);
332 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);
340 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.c3689 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) /* {{{ */
3695 ZVAL_STRINGL(constant, zend_strndup(value, value_length), value_length, 0);
3698 ZVAL_STRINGL(constant, value, value_length, 1);
H A Dzend_vm_def.h4857 EG(error_reporting_ini_entry)->orig_value_length = EG(error_reporting_ini_entry)->value_length;
4865 EG(error_reporting_ini_entry)->value_length = sizeof("0")-1;
4896 EG(error_reporting_ini_entry)->value_length = Z_STRLEN(restored_error_reporting);
H A Dzend_vm_execute.h1005 EG(error_reporting_ini_entry)->orig_value_length = EG(error_reporting_ini_entry)->value_length;
1013 EG(error_reporting_ini_entry)->value_length = sizeof("0")-1;
8616 EG(error_reporting_ini_entry)->value_length = Z_STRLEN(restored_error_reporting);
[all...]
/PHP_TRUNK/sapi/apache/
H A Dmod_php5.c77 uint value_length; member in struct:_php_per_dir_entry
569 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, per_dir_entry->htaccess?PHP_INI_STAGE_HTACCESS:PHP_INI_STAGE_ACTIVATE);
730 per_dir_entry->value = (char *) malloc(tmp.value_length+1);
731 memcpy(per_dir_entry->value, tmp.value, tmp.value_length);
732 per_dir_entry->value[per_dir_entry->value_length] = 0;
816 per_dir_entry.value_length = strlen(arg2);
822 per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1);
823 memcpy(per_dir_entry.value, arg2, per_dir_entry.value_length);
824 per_dir_entry.value[per_dir_entry.value_length] = 0;
/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/main/
H A Dphp_ini.c101 display_string_length = ini_entry->value_length;
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;
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c693 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
701 if (value == NULL || value_length <= 0) {
711 if (value[0]=='"' && value[value_length-1]=='"' && value_length>2) {
712 tmpstr = (char *)estrndup(value+1, value_length-2);
713 value_length -= 2;
716 tmpstr = (char *)estrndup(value, value_length);
721 endp = tmpstr + value_length;
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c137 ini_entry->value_length = strlen(new_new_value);
183 ini_entry->value_length = strlen(new_new_value);
219 ini_entry->value_length = strlen(new_new_value);
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5233 add_assoc_stringl(option, "global_value", ini_entry->value, ini_entry->value_length, 1);
5239 add_assoc_stringl(option, "local_value", ini_entry->value, ini_entry->value_length, 1);
5249 add_assoc_stringl(ini_array, ini_entry->name, ini_entry->value, ini_entry->value_length, 1);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c5364 add_assoc_stringl(retval, ini_entry->name, ini_entry->value, ini_entry->value_length, 1);

Completed in 111 milliseconds