Lines Matching refs:allocated
184 char *allocated; in g_rc_box_alloc_full() local
221 allocated = g_malloc0 (real_size + sizeof (gpointer)); in g_rc_box_alloc_full()
223 allocated = g_malloc (real_size + sizeof (gpointer)); in g_rc_box_alloc_full()
225 *(gpointer *) (allocated + private_size + block_size) = allocated + ALIGN_STRUCT (1); in g_rc_box_alloc_full()
227 VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, block_size + sizeof (gpointer), 0, TRUE); in g_rc_box_alloc_full()
228 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_rc_box_alloc_full()
234 allocated = g_malloc0 (real_size); in g_rc_box_alloc_full()
236 allocated = g_malloc (real_size); in g_rc_box_alloc_full()
246 GArcBox *real_box = (GArcBox *) (allocated + private_offset); in g_rc_box_alloc_full()
265 GRcBox *real_box = (GRcBox *) (allocated + private_offset); in g_rc_box_alloc_full()
278 TRACE (GLIB_RCBOX_ALLOC (allocated, block_size, atomic, clear)); in g_rc_box_alloc_full()
280 return allocated + private_size; in g_rc_box_alloc_full()