Searched refs:n_elts (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/ |
D | check_list.c | 38 unsigned int n_elts; member 48 if (lp->n_elts >= lp->max_elts) { in maybe_grow() 61 lp->n_elts = 0; in check_list_create() 74 memmove (lp->data + 1, lp->data, lp->n_elts * sizeof lp->data[0]); in check_list_add_front() 76 lp->n_elts++; in check_list_add_front() 88 lp->n_elts++; in check_list_add_end()
|
/third_party/glib/gio/tests/ |
D | gdbus-testserver.c | 324 gsize n_elts; in handle_method_call() local 331 bytes = g_variant_get_fixed_array (v, &n_elts, 1); in handle_method_call() 334 for (i = 0; i < n_elts; i++) in handle_method_call() 340 bytes = g_variant_get_fixed_array (v, &n_elts, 1); in handle_method_call() 343 for (i = 0; i < n_elts; i++) in handle_method_call() 349 int16s = g_variant_get_fixed_array (v, &n_elts, 2); in handle_method_call() 352 for (i = 0; i < n_elts; i++) in handle_method_call() 358 uint16s = g_variant_get_fixed_array (v, &n_elts, 2); in handle_method_call() 361 for (i = 0; i < n_elts; i++) in handle_method_call() 367 int32s = g_variant_get_fixed_array (v, &n_elts, 4); in handle_method_call() [all …]
|
/third_party/glib/glib/tests/ |
D | gvariant.c | 4654 gsize n_elts; in test_fixed_array() local 4657 n_elts = 0; in test_fixed_array() 4659 elts = g_variant_get_fixed_array (a, &n_elts, sizeof (gint32)); in test_fixed_array() 4660 g_assert_cmpuint (n_elts, ==, 5); in test_fixed_array() 4665 n_elts = 0; in test_fixed_array() 4671 elts = g_variant_get_fixed_array (a, &n_elts, sizeof (gint32)); in test_fixed_array() 4672 g_assert_cmpuint (n_elts, ==, 5); in test_fixed_array() 4821 gsize n_elts; in test_gbytes() local 4827 n_elts = 0; in test_gbytes() 4828 elts = g_variant_get_fixed_array (a, &n_elts, sizeof (guint8)); in test_gbytes() [all …]
|