Searched refs:G_GNUC_ALLOC_SIZE (Results 1 – 7 of 7) sorted by relevance
37 gpointer g_slice_alloc (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);38 gpointer g_slice_alloc0 (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);40 … gconstpointer mem_block) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
51 gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);52 gpointer g_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);56 gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);57 gpointer g_try_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1);
71 #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) macro74 #define G_GNUC_ALLOC_SIZE(x) macro
221 guint byte_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(2);
331 G_GNUC_ALLOC_SIZE
752 * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size
622 * glib/tmpl/macros-misc.sgml: Document G_GNUC_ALLOC_SIZE