Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/
Dstdin-util.c93 pa_assert(i < m->n_items); in unload_one_module()
113 for (i = 0; i < m->n_items; i++) in unload_all_modules()
116 m->n_items = 0; in unload_all_modules()
197 m->n_items = 0; in handle_event()
207 if (i > m->n_items) m->n_items = i; in handle_event()
219 if (i > m->n_items) m->n_items = i; in handle_event()
223 load_module(m, i, module, args, i >= m->n_items); in handle_event()
232 for (j = i; j < m->n_items; j++) in handle_event()
235 m->n_items = i; in handle_event()
Dstdin-util.h46 unsigned n_items; member
/third_party/glib/gio/
Dgliststore.c336 gint n_items; in g_list_store_sort() local
343 n_items = g_sequence_get_length (store->items); in g_list_store_sort()
344 g_list_store_items_changed (store, 0, n_items, n_items); in g_list_store_sort()
365 guint n_items; in g_list_store_append() local
370 n_items = g_sequence_get_length (store->items); in g_list_store_append()
373 g_list_store_items_changed (store, n_items, 0, 1); in g_list_store_append()
415 guint n_items; in g_list_store_remove_all() local
419 n_items = g_sequence_get_length (store->items); in g_list_store_remove_all()
423 g_list_store_items_changed (store, 0, n_items, 0); in g_list_store_remove_all()
458 guint n_items; in g_list_store_splice() local
[all …]
Dgsettingsschema-internal.h49 gint *n_items);
Dgmenuexporter.c286 gint n_items; in g_menu_exporter_menu_prepare() local
296 n_items = g_menu_model_get_n_items (menu->model); in g_menu_exporter_menu_prepare()
297 if (n_items) in g_menu_exporter_menu_prepare()
298 g_menu_exporter_menu_items_changed (menu->model, 0, 0, n_items, menu); in g_menu_exporter_menu_prepare()
Dgmenu.c518 gint n_items; in g_menu_finalize() local
521 n_items = menu->items->len; in g_menu_finalize()
523 for (i = 0; i < n_items; i++) in g_menu_finalize()
Dgsettingsschema.c153 gint n_items; member
1127 gint *n_items) in g_settings_schema_list() argument
1219 schema->n_items = i; in g_settings_schema_list()
1225 *n_items = schema->n_items; in g_settings_schema_list()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dlistformatter.h140 UnicodeString& format(const UnicodeString items[], int32_t n_items,
159 UnicodeString& format(const UnicodeString items[], int32_t n_items,
170 int32_t n_items,
192 const UnicodeString items[], int32_t n_items, UnicodeString& appendTo,
/third_party/icu/icu4c/source/i18n/unicode/
Dlistformatter.h239 UnicodeString& format(const UnicodeString items[], int32_t n_items,
256 int32_t n_items,
266 int32_t n_items,
288 const UnicodeString items[], int32_t n_items, UnicodeString& appendTo,
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dlistformatter.h219 UnicodeString& format(const UnicodeString items[], int32_t n_items,
235 int32_t n_items,
244 int32_t n_items,
275 const UnicodeString items[], int32_t n_items, UnicodeString& appendTo,
/third_party/node/deps/icu-small/source/i18n/unicode/
Dlistformatter.h219 UnicodeString& format(const UnicodeString items[], int32_t n_items,
235 int32_t n_items,
244 int32_t n_items,
275 const UnicodeString items[], int32_t n_items, UnicodeString& appendTo,
/third_party/uboot/u-boot-2020.01/arch/arm/mach-davinci/include/mach/
Ddavinci_misc.h42 int n_items);
48 const int n_items);
/third_party/uboot/u-boot-2020.01/arch/arm/mach-davinci/
Dpinmux.c78 const int n_items) in davinci_configure_pin_mux_items() argument
82 for (i = 0; i < n_items; i++) { in davinci_configure_pin_mux_items()
Dmisc.c127 const int n_items) in da8xx_configure_lpsc_items() argument
131 for (i = 0; i < n_items; i++) in da8xx_configure_lpsc_items()
/third_party/glib/glib/tests/
Dsequence.c102 guint n_items; member
135 if (g_sequence_get_length (info->sequence) != info->n_items) in check_integrity()
137 g_sequence_get_length (info->sequence), info->n_items); in check_integrity()
139 g_assert (info->n_items == g_queue_get_length (info->queue)); in check_integrity()
140 g_assert ((guint) g_sequence_get_length (info->sequence) == info->n_items); in check_integrity()
157 g_assert (info->n_items == g_queue_get_length (info->queue)); in check_integrity()
158 g_assert ((guint) g_sequence_get_length (info->sequence) == info->n_items); in check_integrity()
165 seq->n_items++; in new_item()
180 item->seq->n_items--; in free_item()
434 sequences[k].n_items = 0; in run_random_tests()
[all …]
Dkeyfile.c298 gint n_items, in check_length() argument
302 g_assert_cmpint (n_items, ==, length); in check_length()
303 g_assert_cmpint (n_items, ==, expected); in check_length()
/third_party/glib/gio/tests/
Dglistmodel.c135 guint n_items; in test_store_refcounts() local
142 n_items = G_N_ELEMENTS (items); in test_store_refcounts()
143 for (i = 0; i < n_items; i++) in test_store_refcounts()
153 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, n_items); in test_store_refcounts()
154 g_assert_null (list_model_get (G_LIST_MODEL (store), n_items)); in test_store_refcounts()
162 n_items--; in test_store_refcounts()
163 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, n_items); in test_store_refcounts()
164 g_assert_null (list_model_get (G_LIST_MODEL (store), n_items)); in test_store_refcounts()
Dgmenumodel.c282 gint n_items; in random_menu_change() local
285 n_items = g_sequence_get_length (menu->items); in random_menu_change()
289 position = g_rand_int_range (rand, 0, n_items + 1); in random_menu_change()
290 removes = g_rand_int_range (rand, 0, n_items - position + 1); in random_menu_change()
291 adds = g_rand_int_range (rand, 0, MAX_ITEMS - (n_items - removes) + 1); in random_menu_change()
/third_party/glib/gio/gvdb/
Dgvdb-builder.c307 gsize n_items, in file_builder_allocate_for_hash() argument
327 n_items * sizeof (struct gvdb_hash_item); in file_builder_allocate_for_hash()
336 *hash_items = (struct gvdb_hash_item *) chunk (n_items * in file_builder_allocate_for_hash()
343 memset (*hash_items, 0, n_items * sizeof (struct gvdb_hash_item)); in file_builder_allocate_for_hash()
/third_party/glib/glib/
Dgvariant-parser.c651 gint *n_items, in ast_array_append() argument
654 if ((*n_items & (*n_items - 1)) == 0) in ast_array_append()
655 *array = g_renew (AST *, *array, *n_items ? 2 ** n_items : 1); in ast_array_append()
657 (*array)[(*n_items)++] = ast; in ast_array_append()
662 gint n_items) in ast_array_free() argument
666 for (i = 0; i < n_items; i++) in ast_array_free()
673 gint n_items, in ast_array_get_pattern() argument
687 for (i = 1; i < n_items; i++) in ast_array_get_pattern()
Dgbookmarkfile.c2131 gsize i, n_items; in g_bookmark_file_get_uris() local
2135 n_items = g_list_length (bookmark->items); in g_bookmark_file_get_uris()
2136 uris = g_new0 (gchar *, n_items + 1); in g_bookmark_file_get_uris()
/third_party/libnl/python/netlink/
Dcapi.i966 PyObject *nla_policy_array(int n_items) in nla_policy_array() argument
973 policies = calloc(n_items, sizeof(*policies)); in nla_policy_array()
974 listobj = PyList_New(n_items); in nla_policy_array()
975 for (i = 0; i < n_items; i++) { in nla_policy_array()
/third_party/python/Python/
Dast.c4280 int i, n_items, nch_minus_type, has_type_comment, end_lineno, end_col_offset; in ast_for_with_stmt() local
4295 n_items = (nch_minus_type - 2) / 2; in ast_for_with_stmt()
4296 items = _Py_asdl_seq_new(n_items, c->c_arena); in ast_for_with_stmt()