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

/PHP_TRUNK/Zend/
H A Dzend_ini.h44 uint value_length; member in struct:_zend_ini_entry_def
78 ZEND_API int zend_alter_ini_entry_chars(zend_string *name, const char *value, size_t value_length, int modify_type, int stage);
79 ZEND_API int zend_alter_ini_entry_chars_ex(zend_string *name, const char *value, size_t value_length, int modify_type, int stage, int force_change TSRMLS_DC);
H A Dzend_ini.c255 zend_string_init(ini_entry->value, ini_entry->value_length, 1) : NULL;
301 ZEND_API int zend_alter_ini_entry_chars(zend_string *name, const char *value, size_t value_length, int modify_type, int stage) /* {{{ */ argument
307 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
314 ZEND_API int zend_alter_ini_entry_chars_ex(zend_string *name, const char *value, size_t value_length, int modify_type, int stage, int force_change TSRMLS_DC) /* {{{ */ argument
319 new_value = zend_string_init(value, value_length, stage != ZEND_INI_STAGE_RUNTIME);
518 display_string_length = ini_entry->value_length;
H A Dzend_API.c3779 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) /* {{{ */
3783 ZVAL_NEW_STR(&constant, zend_string_init(value, value_length, ce->type & ZEND_INTERNAL_CLASS));
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, size_t name_length, const char *value, size_t value_length TSRMLS_DC);
336 ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, size_t name_length, const char *value, size_t value_length TSRMLS_DC);
/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/sapi/apache/
H A Dmod_php7.c77 uint value_length; member in struct:_php_per_dir_entry
570 zend_alter_ini_entry_chars(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/apache_hooks/
H A Dmod_php7.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 Dmain.c334 static int php_get_display_errors_mode(char *value, int value_length) argument
342 if (value_length == 2 && !strcasecmp("on", value)) {
344 } else if (value_length == 3 && !strcasecmp("yes", value)) {
346 } else if (value_length == 4 && !strcasecmp("true", value)) {
348 } else if (value_length == 6 && !strcasecmp(value, "stderr")) {
350 } else if (value_length == 6 && !strcasecmp(value, "stdout")) {

Completed in 30 milliseconds