Lines Matching refs:obj

25 static bool qapi_dealloc_start_struct(Visitor *v, const char *name, void **obj,  in qapi_dealloc_start_struct()  argument
31 static void qapi_dealloc_end_struct(Visitor *v, void **obj) in qapi_dealloc_end_struct() argument
33 if (obj) { in qapi_dealloc_end_struct()
34 g_free(*obj); in qapi_dealloc_end_struct()
38 static void qapi_dealloc_end_alternate(Visitor *v, void **obj) in qapi_dealloc_end_alternate() argument
40 if (obj) { in qapi_dealloc_end_alternate()
41 g_free(*obj); in qapi_dealloc_end_alternate()
60 static void qapi_dealloc_end_list(Visitor *v, void **obj) in qapi_dealloc_end_list() argument
64 static bool qapi_dealloc_type_str(Visitor *v, const char *name, char **obj, in qapi_dealloc_type_str() argument
67 if (obj) { in qapi_dealloc_type_str()
68 g_free(*obj); in qapi_dealloc_type_str()
73 static bool qapi_dealloc_type_int64(Visitor *v, const char *name, int64_t *obj, in qapi_dealloc_type_int64() argument
80 uint64_t *obj, Error **errp) in qapi_dealloc_type_uint64() argument
85 static bool qapi_dealloc_type_bool(Visitor *v, const char *name, bool *obj, in qapi_dealloc_type_bool() argument
91 static bool qapi_dealloc_type_number(Visitor *v, const char *name, double *obj, in qapi_dealloc_type_number() argument
98 QObject **obj, Error **errp) in qapi_dealloc_type_anything() argument
100 if (obj) { in qapi_dealloc_type_anything()
101 qobject_unref(*obj); in qapi_dealloc_type_anything()
107 QNull **obj, Error **errp) in qapi_dealloc_type_null() argument
109 if (obj) { in qapi_dealloc_type_null()
110 qobject_unref(*obj); in qapi_dealloc_type_null()