Home
last modified time | relevance | path

Searched refs:g_new0 (Results 1 – 3 of 3) sorted by relevance

/external/qemu/distrib/mini-glib/src/
Dglib-mini.c430 GHashTable* hash_table = g_new0(GHashTable, 1); in g_hash_table_new()
435 hash_table->entries = g_new0(GHashEntry, hash_table->capacity); in g_hash_table_new()
570 GHashEntry* new_entries = g_new0(GHashEntry, new_capacity); in _g_hash_table_resize()
697 return g_new0(GQueueNode, 1); in _g_queue_node_alloc()
705 GQueue* queue = g_new0(GQueue, 1); in g_queue_new()
/external/harfbuzz_ng/util/
Dhelper-cairo.cc181 finalize_closure_t *ansi_closure = g_new0 (finalize_closure_t, 1); in _cairo_ansi_surface_create_for_stream()
239 finalize_closure_t *png_closure = g_new0 (finalize_closure_t, 1); in _cairo_png_surface_create_for_stream()
/external/qemu/distrib/mini-glib/include/
Dglib.h84 #define g_new0(type, count) ((type*) g_malloc0(sizeof(type) * (count))) macro