Home
last modified time | relevance | path

Searched refs:align_offset (Results 1 – 10 of 10) sorted by relevance

/external/dbus/dbus/
Ddbus-string.c88 old_align_offset = real->align_offset; in fixup_alignment()
93 real->align_offset = aligned - real_block; in fixup_alignment()
96 if (old_align_offset != real->align_offset) in fixup_alignment()
99 memmove (real_block + real->align_offset, in fixup_alignment()
104 _dbus_assert (real->align_offset < 8); in fixup_alignment()
111 if (real->align_offset != 0) in undo_alignment()
113 memmove (real->str - real->align_offset, in undo_alignment()
117 real->str = real->str - real->align_offset; in undo_alignment()
118 real->align_offset = 0; in undo_alignment()
161 real->align_offset = 0; in _dbus_string_init_preallocated()
[all …]
Ddbus-string-private.h51 unsigned int align_offset : 3; /**< str - align_offset is the actual malloc block */ member
/external/qemu/block/
Dqcow2-snapshot.c81 offset = align_offset(offset, 8); in qcow2_read_snapshots()
133 offset = align_offset(offset, 8); in qcow_write_snapshots()
160 offset = align_offset(offset, 8); in qcow_write_snapshots()
Dqcow2.h159 static inline int64_t align_offset(int64_t offset, int n) in align_offset() function
Dqcow2.c198 align_offset(s->l1_size * sizeof(uint64_t), 512)); in qcow_open()
908 offset = align_offset(header_size, s->cluster_size); in qcow_create2()
912 offset += align_offset(l1_size * sizeof(uint64_t), s->cluster_size); in qcow_create2()
Dqcow2-cluster.c53 new_l1_table = qemu_mallocz(align_offset(new_l1_size2, 512)); in qcow2_grow_l1_table()
Dqcow2-refcount.c761 l1_table = qemu_mallocz(align_offset(l1_size2, 512)); in qcow2_update_snapshot_refcount()
/external/libffi/src/
Ddlmalloc.c1263 #define align_offset(A)\ macro
1634 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2131 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
3158 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()
3219 size_t offset = align_offset(chunk2mem(p)); in init_top()
3311 size_t offset = align_offset(chunk2mem(rawsp)); in add_segment()
/external/qemu/distrib/sdl-1.2.12/src/stdlib/
DSDL_malloc.c1309 #define align_offset(A)\ macro
1680 #define align_as_chunk(A) (mchunkptr)((A) + align_offset(chunk2mem(A)))
2141 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
3170 size_t offset = align_offset(chunk2mem(mm)); in mmap_alloc()
3231 size_t offset = align_offset(chunk2mem(p)); in init_top()
3323 size_t offset = align_offset(chunk2mem(rawsp)); in add_segment()
/external/dbus/
DChangeLog.pre-1-06930 "locked" flag to TRUE and align_offset to 0; I guess we never
12729 leave room for align_offset and nul byte
12730 (fixup_alignment): function to track an align_offset and