Home
last modified time | relevance | path

Searched refs:ALIGN_STRUCT (Results 1 – 15 of 15) sorted by relevance

/third_party/glib/glib/
Dgrcbox.c166 #define ALIGN_STRUCT(offset) ((offset + (STRUCT_ALIGNMENT - 1)) & -STRUCT_ALIGNMENT) macro
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()
228 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_rc_box_alloc_full()
Dgerror.c540 #define ALIGN_STRUCT(offset) \ macro
554 info->private_size = ALIGN_STRUCT (error_type_private_size); in error_domain_register()
694 private_size += ALIGN_STRUCT (1); in g_error_allocate()
696 *(gpointer *) (allocated + private_size + sizeof (GError)) = allocated + ALIGN_STRUCT (1); in g_error_allocate()
698 …VALGRIND_MALLOCLIKE_BLOCK (allocated + ALIGN_STRUCT (1), private_size - ALIGN_STRUCT (1), 0, TRUE); in g_error_allocate()
855 private_size += ALIGN_STRUCT (1); in g_error_free()
856 allocated -= ALIGN_STRUCT (1); in g_error_free()
859 VALGRIND_FREELIKE_BLOCK (allocated + ALIGN_STRUCT (1), 0); in g_error_free()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/fft/
Dkiss_fftr_f32.c45 memneeded = ALIGN_STRUCT (sizeof (struct kiss_fftr_f32_state)) in kiss_fftr_f32_alloc()
46 + ALIGN_STRUCT (subsize) + sizeof (kiss_fft_f32_cpx) * (nfft * 3 / 2); in kiss_fftr_f32_alloc()
58 …st->substate = (kiss_fft_f32_cfg) (((char *) st) + ALIGN_STRUCT (sizeof (struct kiss_fftr_f32_stat… in kiss_fftr_f32_alloc()
60 (kiss_fft_f32_cpx *) (((char *) st->substate) + ALIGN_STRUCT (subsize)); in kiss_fftr_f32_alloc()
Dkiss_fftr_f64.c45 memneeded = ALIGN_STRUCT (sizeof (struct kiss_fftr_f64_state)) in kiss_fftr_f64_alloc()
46 + ALIGN_STRUCT (subsize) in kiss_fftr_f64_alloc()
59 …st->substate = (kiss_fft_f64_cfg) (((char *) st) + ALIGN_STRUCT (sizeof (struct kiss_fftr_f64_stat… in kiss_fftr_f64_alloc()
61 (kiss_fft_f64_cpx *) (((char *) st->substate) + ALIGN_STRUCT (subsize)); in kiss_fftr_f64_alloc()
Dkiss_fftr_s32.c45 memneeded = ALIGN_STRUCT (sizeof (struct kiss_fftr_s32_state)) in kiss_fftr_s32_alloc()
46 + ALIGN_STRUCT (subsize) in kiss_fftr_s32_alloc()
59 …st->substate = (kiss_fft_s32_cfg) (((char *) st) + ALIGN_STRUCT (sizeof (struct kiss_fftr_s32_stat… in kiss_fftr_s32_alloc()
61 (kiss_fft_s32_cpx *) (((char *) st->substate) + ALIGN_STRUCT (subsize)); in kiss_fftr_s32_alloc()
Dkiss_fftr_s16.c45 memneeded = ALIGN_STRUCT (sizeof (struct kiss_fftr_s16_state)) in kiss_fftr_s16_alloc()
46 + ALIGN_STRUCT (subsize) in kiss_fftr_s16_alloc()
59 …st->substate = (kiss_fft_s16_cfg) (((char *) st) + ALIGN_STRUCT (sizeof (struct kiss_fftr_s16_stat… in kiss_fftr_s16_alloc()
61 (kiss_fft_s16_cpx *) (((char *) st->substate) + ALIGN_STRUCT (subsize)); in kiss_fftr_s16_alloc()
Dgstfftf64.c96 memneeded = ALIGN_STRUCT (sizeof (GstFFTF64)) + subsize; in gst_fft_f64_new()
100 self->cfg = (((guint8 *) self) + ALIGN_STRUCT (sizeof (GstFFTF64))); in gst_fft_f64_new()
Dgstfftf32.c96 memneeded = ALIGN_STRUCT (sizeof (GstFFTF32)) + subsize; in gst_fft_f32_new()
100 self->cfg = (((guint8 *) self) + ALIGN_STRUCT (sizeof (GstFFTF32))); in gst_fft_f32_new()
Dgstffts32.c95 memneeded = ALIGN_STRUCT (sizeof (GstFFTS32)) + subsize; in gst_fft_s32_new()
99 self->cfg = (((guint8 *) self) + ALIGN_STRUCT (sizeof (GstFFTS32))); in gst_fft_s32_new()
Dgstffts16.c96 memneeded = ALIGN_STRUCT (sizeof (GstFFTS16)) + subsize; in gst_fft_s16_new()
100 self->cfg = (((guint8 *) self) + ALIGN_STRUCT (sizeof (GstFFTS16))); in gst_fft_s16_new()
D_kiss_fft_guts_f32.h33 #define ALIGN_STRUCT(offset) \ macro
D_kiss_fft_guts_f64.h33 #define ALIGN_STRUCT(offset) \ macro
D_kiss_fft_guts_s16.h33 #define ALIGN_STRUCT(offset) \ macro
D_kiss_fft_guts_s32.h33 #define ALIGN_STRUCT(offset) \ macro
/third_party/glib/gobject/
Dgtype.c160 #define ALIGN_STRUCT(offset) \ macro
1890 private_size += ALIGN_STRUCT (1); in g_type_create_instance()
1895 *(gpointer *) (allocated + private_size + ivar_size) = allocated + ALIGN_STRUCT (1); 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()
1987 private_size += ALIGN_STRUCT (1); in g_type_free_instance()
1988 allocated -= ALIGN_STRUCT (1); in g_type_free_instance()
1995 VALGRIND_FREELIKE_BLOCK (allocated + ALIGN_STRUCT (1), 0); in g_type_free_instance()
2186 …class = g_malloc0 (ALIGN_STRUCT (node->data->class.class_size) + node->data->class.class_private_s… in type_class_init_Wm()
2197 …memcpy (G_STRUCT_MEMBER_P (class, ALIGN_STRUCT (node->data->class.class_size)), G_STRUCT_MEMBER_P … in type_class_init_Wm()
4656 private_size = ALIGN_STRUCT (node->data->instance.private_size + private_size); in g_type_class_add_private()
[all …]