Home
last modified time | relevance | path

Searched refs:_DBUS_ALIGN_VALUE (Results 1 – 9 of 9) sorted by relevance

/external/dbus/dbus/
Ddbus-marshal-basic.c349 _dbus_assert (_DBUS_ALIGN_VALUE (pos, 4) == (unsigned) pos); in set_string()
450 pos = _DBUS_ALIGN_VALUE (pos, 2); in _dbus_marshal_set_basic()
462 pos = _DBUS_ALIGN_VALUE (pos, 4); in _dbus_marshal_set_basic()
473 pos = _DBUS_ALIGN_VALUE (pos, 8); in _dbus_marshal_set_basic()
483 pos = _DBUS_ALIGN_VALUE (pos, 4); in _dbus_marshal_set_basic()
515 pos = _DBUS_ALIGN_VALUE (pos, 4); in _dbus_marshal_read_uint32()
578 pos = _DBUS_ALIGN_VALUE (pos, 2); in _dbus_marshal_read_basic()
591 pos = _DBUS_ALIGN_VALUE (pos, 4); in _dbus_marshal_read_basic()
603 pos = _DBUS_ALIGN_VALUE (pos, 8); in _dbus_marshal_read_basic()
1003 _dbus_assert (_DBUS_ALIGN_VALUE (array_start, alignment) == (unsigned) array_start); in swap_array()
[all …]
Ddbus-marshal-recursive.c194 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, 8); in struct_or_dict_entry_reader_recurse()
224 _dbus_assert (_DBUS_ALIGN_VALUE (len_pos, 4) == (unsigned) len_pos); in array_reader_get_array_len()
247 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, 4); in array_reader_recurse()
256 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, alignment); in array_reader_recurse()
296 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, contained_alignment); in variant_reader_recurse()
1797 _DBUS_ALIGN_VALUE (sub->value_pos, 8) - sub->value_pos, in writer_recurse_struct_or_dict_entry()
1800 sub->value_pos = _DBUS_ALIGN_VALUE (sub->value_pos, 8); in writer_recurse_struct_or_dict_entry()
1889 sub->u.array.len_pos = _DBUS_ALIGN_VALUE (sub->value_pos, 4); in writer_recurse_array()
1910 aligned = _DBUS_ALIGN_VALUE (sub->value_pos, alignment); in writer_recurse_array()
1931 _dbus_assert (_DBUS_ALIGN_VALUE (sub->u.array.len_pos, 4) == in writer_recurse_array()
[all …]
Ddbus-marshal-header.c690 _dbus_assert (start == (int) _DBUS_ALIGN_VALUE (start, 8)); in _dbus_header_have_message_untrusted()
721 header_len_unsigned = _DBUS_ALIGN_VALUE (header_len_unsigned, 8); in _dbus_header_have_message_untrusted()
842 str_data_pos = _DBUS_ALIGN_VALUE (value_pos, 4) + 4; in load_and_validate_field()
990 _dbus_assert (start == (int) _DBUS_ALIGN_VALUE (start, 8)); in _dbus_header_load()
1023 _dbus_assert (start + header_len == (int) _DBUS_ALIGN_VALUE (padding_start, 8)); in _dbus_header_load()
Ddbus-internals.h213 #define _DBUS_ALIGN_VALUE(this, boundary) \ macro
217 ((void*)_DBUS_ALIGN_VALUE(this, boundary))
Ddbus-mempool.c160 pool->element_size = _DBUS_ALIGN_VALUE (element_size, sizeof (void *)); in _dbus_mem_pool_new()
Ddbus-string.c807 gap_pos = _DBUS_ALIGN_VALUE (insert_at, alignment); in align_insert_point_then_open_gap()
1027 _dbus_assert (_DBUS_ALIGN_VALUE (insert_at, 8) == (unsigned) insert_at); in _dbus_string_insert_8_aligned()
1055 _dbus_assert (_DBUS_ALIGN_VALUE (*insert_at, alignment) == (unsigned) *insert_at); in _dbus_string_insert_alignment()
Ddbus-message-factory.c1165 _dbus_assert (_DBUS_ALIGN_VALUE (byte_seq, 4) == (unsigned) byte_seq); in generate_uint32_changed()
/external/dbus/test/
Dbreak-loader.c325 i = _DBUS_ALIGN_VALUE (i, 4); in randomly_modify_length()
383 i = _DBUS_ALIGN_VALUE (i, 4); in randomly_set_extreme_ints()
/external/dbus/
DChangeLog.pre-1-012741 (_dbus_string_align_length): fix overflow with _DBUS_ALIGN_VALUE