Home | History | Annotate | Download | only in api

Lines Matching defs:set_user_data

132   set_user_data_func_t   set_user_data;
253 g_assert (o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE));
262 g_assert (o->set_user_data (obj, &key[1], &data[1], free_up1, TRUE));
265 g_assert (!o->set_user_data (obj, NULL, &data[0], free_up0, TRUE));
267 g_assert (o->set_user_data (obj, &key[0], &data[1], NULL, TRUE));
273 g_assert (o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE));
275 g_assert (o->set_user_data (obj, &key[0], NULL, NULL, TRUE));
280 g_assert (o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE));
281 g_assert (!o->set_user_data (obj, &key[0], &data[0], free_up0, FALSE));
283 g_assert (o->set_user_data (obj, &key[0], NULL, global_free_up, TRUE));
285 g_assert (o->set_user_data (obj, &key[0], NULL, NULL, TRUE));
290 g_assert (o->set_user_data (obj, &key[j], &data[j], global_free_up, TRUE));
294 g_assert (o->set_user_data (obj, &key[j], NULL, NULL, TRUE));
301 /* Test set_user_data where the destroy() func calls user_data functions.
305 g_assert (o->set_user_data (obj, &deadlock_test.key, &deadlock_test, free_deadlock_test, TRUE));
306 g_assert (o->set_user_data (obj, &deadlock_test.key, NULL, NULL, TRUE));
328 g_assert (!o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE));
356 g_assert (!o->set_user_data (obj, &key[0], &data[0], free_up0, TRUE));