Home
last modified time | relevance | path

Searched refs:_DBUS_STRING_ALLOCATION_PADDING (Results 1 – 4 of 4) sorted by relevance

/external/dbus/dbus/
Ddbus-string-private.h69 #define _DBUS_STRING_MAX_LENGTH (_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING)
83 _dbus_assert ((real)->len <= ((real)->allocated - _DBUS_STRING_ALLOCATION_PADDING)); \
Ddbus-string.c86 _dbus_assert (real->len <= real->allocated - _DBUS_STRING_ALLOCATION_PADDING); in fixup_alignment()
149 real->str = dbus_malloc (_DBUS_STRING_ALLOCATION_PADDING + allocate_size); in _dbus_string_init_preallocated()
153 real->allocated = _DBUS_STRING_ALLOCATION_PADDING + allocate_size; in _dbus_string_init_preallocated()
225 …real->allocated = real->len + _DBUS_STRING_ALLOCATION_PADDING; /* a lie, just to avoid special-cas… in _dbus_string_init_const_len()
262 waste = real->allocated - (real->len + _DBUS_STRING_ALLOCATION_PADDING); in compact()
267 new_allocated = real->len + _DBUS_STRING_ALLOCATION_PADDING; in compact()
318 if (real->allocated > (_DBUS_STRING_MAX_LENGTH + _DBUS_STRING_ALLOCATION_PADDING) / 2) in reallocate_for_length()
319 new_allocated = _DBUS_STRING_MAX_LENGTH + _DBUS_STRING_ALLOCATION_PADDING; in reallocate_for_length()
341 new_length + _DBUS_STRING_ALLOCATION_PADDING); in reallocate_for_length()
384 else if (new_length > (real->allocated - _DBUS_STRING_ALLOCATION_PADDING) && in set_length()
Ddbus-string.h295 #define _DBUS_STRING_ALLOCATION_PADDING 8 macro
309 _DBUS_STRING_ALLOCATION_PADDING, \
/external/dbus/
DChangeLog.pre-1-06933 * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING):