Home
last modified time | relevance | path

Searched refs:_DBUS_STRING_MAX_LENGTH (Results 1 – 2 of 2) sorted by relevance

/external/dbus/dbus/
Ddbus-string-private.h69 #define _DBUS_STRING_MAX_LENGTH (_DBUS_INT32_MAX - _DBUS_STRING_ALLOCATION_PADDING) macro
84 _dbus_assert ((real)->len <= _DBUS_STRING_MAX_LENGTH); \
Ddbus-string.c218 _dbus_assert (len <= _DBUS_STRING_MAX_LENGTH); in _dbus_string_init_const_len()
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()
382 if (_DBUS_UNLIKELY (new_length > _DBUS_STRING_MAX_LENGTH)) in set_length()
403 if (len > _DBUS_STRING_MAX_LENGTH - dest->len) in open_gap()
744 if (_DBUS_UNLIKELY (additional_length > _DBUS_STRING_MAX_LENGTH - real->len)) in _dbus_string_lengthen()
810 if (_DBUS_UNLIKELY (new_len > (unsigned long) _DBUS_STRING_MAX_LENGTH)) in align_insert_point_then_open_gap()
922 if (buffer_len > (unsigned long) _DBUS_STRING_MAX_LENGTH) in _dbus_string_append()