Searched refs:struct_type (Results 1 – 4 of 4) sorted by relevance
/external/bluetooth/glib/glib/ |
D | gmem.h | 64 #define g_new(struct_type, n_structs) \ argument 65 ((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) 66 #define g_new0(struct_type, n_structs) \ argument 67 ((struct_type *) g_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) 68 #define g_renew(struct_type, mem, n_structs) \ argument 69 ((struct_type *) g_realloc ((mem), ((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) 71 #define g_try_new(struct_type, n_structs) \ argument 72 ((struct_type *) g_try_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) 73 #define g_try_new0(struct_type, n_structs) \ argument 74 ((struct_type *) g_try_malloc0 (((gsize) sizeof (struct_type)) * ((gsize) (n_structs)))) [all …]
|
D | galloca.h | 61 #define g_newa(struct_type, n_structs) ((struct_type*) g_alloca (sizeof (struct_type) * (gsize) (n_… argument
|
D | gmacros.h | 218 # define G_STRUCT_OFFSET(struct_type, member) \ argument 219 ((glong) offsetof (struct_type, member)) 221 # define G_STRUCT_OFFSET(struct_type, member) \ argument 222 ((glong) ((guint8*) &((struct_type*) 0)->member))
|
/external/dbus/dbus/ |
D | dbus-internals.h | 161 #define _DBUS_STRUCT_OFFSET(struct_type, member) \ argument 162 ((long) ((unsigned char*) &((struct_type*) 0)->member))
|