Home
last modified time | relevance | path

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

/third_party/glib/glib/
Dgvariant-core.c547 gpointer aligned_data = NULL; in g_variant_new_from_bytes() local
553 if (posix_memalign (&aligned_data, MAX (sizeof (void *), alignment + 1), in g_variant_new_from_bytes()
558 memcpy (aligned_data, g_bytes_get_data (bytes, NULL), aligned_size); in g_variant_new_from_bytes()
560 bytes = owned_bytes = g_bytes_new_with_free_func (aligned_data, in g_variant_new_from_bytes()
562 free, aligned_data); in g_variant_new_from_bytes()
563 aligned_data = NULL; in g_variant_new_from_bytes()