Searched refs:n_structs (Results 1 – 2 of 2) sorted by relevance
/third_party/glib/glib/ |
D | gmem.h | 234 # define _G_NEW(struct_type, n_structs, func) \ argument 236 gsize __n = (gsize) (n_structs); \ 248 # define _G_RENEW(struct_type, mem, n_structs, func) \ argument 250 gsize __n = (gsize) (n_structs); \ 267 #define _G_NEW(struct_type, n_structs, func) \ argument 268 ((struct_type *) g_##func##_n ((n_structs), sizeof (struct_type))) 269 #define _G_RENEW(struct_type, mem, n_structs, func) \ argument 270 ((struct_type *) g_##func##_n (mem, (n_structs), sizeof (struct_type))) 290 #define g_new(struct_type, n_structs) _G_NEW (struct_type, n_structs, malloc) argument 307 #define g_new0(struct_type, n_structs) _G_NEW (struct_type, n_structs, malloc0) argument [all …]
|
D | galloca.h | 101 #define g_newa(struct_type, n_structs) ((struct_type*) g_alloca (sizeof (struct_type) * (gsize) (n_… argument
|