/third_party/glib/glib/ |
D | gerror.c | 523 gsize private_size; member 554 info->private_size = ALIGN_STRUCT (error_type_private_size); in error_domain_register() 670 gsize private_size; in g_error_allocate() local 678 private_size = info->private_size; in g_error_allocate() 686 private_size = 0; in g_error_allocate() 692 if (private_size > 0 && RUNNING_ON_VALGRIND) in g_error_allocate() 694 private_size += ALIGN_STRUCT (1); in g_error_allocate() 695 allocated = g_slice_alloc0 (private_size + sizeof (GError) + sizeof (gpointer)); in g_error_allocate() 696 *(gpointer *) (allocated + private_size + sizeof (GError)) = allocated + ALIGN_STRUCT (1); in g_error_allocate() 697 …VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, sizeof (GError) + sizeof (gpointer), 0, TRUE); in g_error_allocate() [all …]
|
D | grcbox.c | 181 gsize private_size = G_ARC_BOX_SIZE; in g_rc_box_alloc_full() local 189 if (private_size % alignment != 0) in g_rc_box_alloc_full() 191 private_offset = private_size % alignment; in g_rc_box_alloc_full() 192 private_size += (alignment - private_offset); in g_rc_box_alloc_full() 195 g_assert (block_size < (G_MAXSIZE - private_size)); in g_rc_box_alloc_full() 196 real_size = private_size + block_size; in g_rc_box_alloc_full() 217 g_assert (private_size < (G_MAXSIZE - ALIGN_STRUCT (1))); in g_rc_box_alloc_full() 218 private_size += ALIGN_STRUCT (1); 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() [all …]
|
/third_party/glib/gobject/ |
D | gtype.c | 347 guint16 private_size; member 1138 data->instance.private_size = 0; in type_data_make_W() 1848 gint private_size; in g_type_create_instance() local 1884 private_size = node->data->instance.private_size; in g_type_create_instance() 1888 if (private_size && RUNNING_ON_VALGRIND) in g_type_create_instance() 1890 private_size += ALIGN_STRUCT (1); in g_type_create_instance() 1893 allocated = g_slice_alloc0 (private_size + ivar_size + sizeof (gpointer)); in g_type_create_instance() 1895 *(gpointer *) (allocated + private_size + ivar_size) = allocated + ALIGN_STRUCT (1); in g_type_create_instance() 1898 VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, ivar_size + sizeof (gpointer), 0, TRUE); in g_type_create_instance() 1899 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_type_create_instance() [all …]
|
D | gclosure.c | 196 gint private_size; in g_closure_new_simple() local 201 private_size = sizeof (GRealClosure) - sizeof (GClosure); in g_closure_new_simple() 207 private_size += sizeof (gpointer); in g_closure_new_simple() 209 allocated = g_malloc0 (private_size + sizeof_closure + sizeof (gpointer)); in g_closure_new_simple() 211 *(gpointer *) (allocated + private_size + sizeof_closure) = allocated + sizeof (gpointer); in g_closure_new_simple() 213 … VALGRIND_MALLOCLIKE_BLOCK (allocated + private_size, sizeof_closure + sizeof (gpointer), 0, TRUE); in g_closure_new_simple() 214 …VALGRIND_MALLOCLIKE_BLOCK (allocated + sizeof (gpointer), private_size - sizeof (gpointer), 0, TRU… in g_closure_new_simple() 218 allocated = g_malloc0 (private_size + sizeof_closure); in g_closure_new_simple() 220 closure = (GClosure *) (allocated + private_size); in g_closure_new_simple()
|
/third_party/alsa-utils/axfer/ |
D | container.c | 207 if (parser->private_size > 0) { in container_parser_init() 208 cntr->private_data = malloc(parser->private_size); in container_parser_init() 211 memset(cntr->private_data, 0, parser->private_size); in container_parser_init() 265 if (builder->private_size > 0) { in container_builder_init() 266 cntr->private_data = malloc(builder->private_size); in container_builder_init() 269 memset(cntr->private_data, 0, builder->private_size); in container_builder_init()
|
D | mapper.h | 33 unsigned int private_size; member 78 unsigned int private_size; member
|
D | waiter.c | 64 waiter->private_data = malloc(entries[i].waiter->private_size); in waiter_context_init() 67 memset(waiter->private_data, 0, entries[i].waiter->private_size); in waiter_context_init()
|
D | container.h | 95 unsigned int private_size; member 103 unsigned int private_size; member
|
D | mapper.c | 60 mapper->private_data = malloc(data->private_size); in mapper_context_init() 63 memset(mapper->private_data, 0, data->private_size); in mapper_context_init()
|
D | mapper-single.c | 181 .private_size = sizeof(struct single_state), 190 .private_size = sizeof(struct single_state),
|
D | container-au.c | 192 .private_size = sizeof(struct parser_state), 202 .private_size = sizeof(struct builder_state),
|
D | waiter.h | 54 unsigned int private_size; member
|
D | xfer.c | 69 xfer->private_data = malloc(entry->data->private_size); in xfer_context_init() 72 memset(xfer->private_data, 0, entry->data->private_size); in xfer_context_init()
|
D | mapper-multiple.c | 249 .private_size = sizeof(struct multiple_state), 258 .private_size = sizeof(struct multiple_state),
|
D | xfer-libasound-irq-mmap.c | 293 .private_size = sizeof(struct map_layout), 300 .private_size = sizeof(struct map_layout),
|
D | xfer-libasound.h | 78 unsigned int private_size; member
|
D | xfer-libasound.c | 712 if (state->ops->private_size > 0) { in xfer_libasound_pre_process() 713 state->private_data = malloc(state->ops->private_size); in xfer_libasound_pre_process() 716 memset(state->private_data, 0, state->ops->private_size); in xfer_libasound_pre_process() 933 .private_size = sizeof(struct libasound_state),
|
D | xfer.h | 108 unsigned int private_size; member
|
D | waiter-select.c | 108 .private_size = sizeof(struct select_state),
|
D | waiter-epoll.c | 106 .private_size = sizeof(struct epoll_state),
|
D | xfer-libasound-timer-mmap.c | 448 .private_size = sizeof(struct map_layout), 455 .private_size = sizeof(struct map_layout),
|
/third_party/alsa-utils/axfer/test/ |
D | generator.c | 26 unsigned int private_size) in generator_context_init() argument 32 gen->private_data = malloc(private_size); in generator_context_init() 35 memset(gen->private_data, 0, private_size); in generator_context_init()
|
D | generator.h | 43 unsigned int private_size);
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.h | 36 unsigned private_size; member
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | evergreen_compute_internal.h | 84 unsigned private_size; member
|