Home
last modified time | relevance | path

Searched refs:private_size (Results 1 – 14 of 14) sorted by relevance

/third_party/glib/glib/
Dgerror.c523 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 …]
Dgrcbox.c181 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/
Dgtype.c347 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 …]
Dgclosure.c196 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()
Dgtype.h1308 gsize private_size);
1311 gsize private_size);
1321 gsize private_size);
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/internal/
Dcfftypes.h210 FT_ULong private_size; member
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dcfftypes.h209 FT_ULong private_size; member
/third_party/freetype/include/freetype/internal/
Dcfftypes.h209 FT_ULong private_size; member
/third_party/flutter/skia/third_party/externals/freetype/src/cff/
Dcffparse.c847 dict->private_size = (FT_ULong)tmp; in cff_parse_private_dict()
859 dict->private_size, dict->private_offset )); in cff_parse_private_dict()
Dcffload.c1890 if ( !top->private_offset || !top->private_size ) in cff_load_private_dict()
1921 FT_FRAME_ENTER( top->private_size ) ) in cff_load_private_dict()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffparse.c847 dict->private_size = (FT_ULong)tmp; in cff_parse_private_dict()
859 dict->private_size, dict->private_offset )); in cff_parse_private_dict()
Dcffload.c1898 if ( !top->private_offset || !top->private_size ) in cff_load_private_dict()
1929 FT_FRAME_ENTER( top->private_size ) ) in cff_load_private_dict()
/third_party/freetype/src/cff/
Dcffparse.c846 dict->private_size = (FT_ULong)tmp; in cff_parse_private_dict()
858 dict->private_size, dict->private_offset )); in cff_parse_private_dict()
Dcffload.c1896 if ( !top->private_offset || !top->private_size ) in cff_load_private_dict()
1927 FT_FRAME_ENTER( top->private_size ) ) in cff_load_private_dict()