/third_party/pulseaudio/src/pulsecore/ |
D | dynarray.c | 34 unsigned n_allocated, n_entries; member 52 for (i = 0; i < array->n_entries; i++) in pa_dynarray_free() 63 if (array->n_entries == array->n_allocated) { in pa_dynarray_append() 70 array->data[array->n_entries++] = p; in pa_dynarray_append() 76 if (i >= array->n_entries) in pa_dynarray_get() 85 if (array->n_entries == 0) in pa_dynarray_last() 88 return array->data[array->n_entries - 1]; in pa_dynarray_last() 96 if (i >= array->n_entries) in pa_dynarray_remove_by_index() 100 array->data[i] = array->data[array->n_entries - 1]; in pa_dynarray_remove_by_index() 101 array->n_entries--; in pa_dynarray_remove_by_index() [all …]
|
D | hashmap.c | 51 unsigned n_entries; member 69 h->n_entries = 0; in pa_hashmap_new_full() 111 pa_assert(h->n_entries >= 1); in remove_entry() 112 h->n_entries--; in remove_entry() 170 h->n_entries++; in pa_hashmap_put() 171 pa_assert(h->n_entries >= 1); in pa_hashmap_put() 335 return h->n_entries; in pa_hashmap_size() 341 return h->n_entries == 0; in pa_hashmap_isempty()
|
D | idxset.c | 53 unsigned n_entries; member 92 s->n_entries = 0; in pa_idxset_new() 136 pa_assert(s->n_entries >= 1); in remove_entry() 137 s->n_entries--; in remove_entry() 221 s->n_entries++; in pa_idxset_put() 222 pa_assert(s->n_entries >= 1); in pa_idxset_put() 450 return s->n_entries; in pa_idxset_size() 456 return s->n_entries == 0; in pa_idxset_isempty()
|
/third_party/glib/gio/xdgmime/ |
D | xdgmimecache.c | 283 xdg_uint32_t n_entries; in cache_magic_lookup_data() local 291 n_entries = GET_UINT32 (cache->buffer, list_offset); in cache_magic_lookup_data() 294 for (j = 0; j < n_entries; j++) in cache_magic_lookup_data() 332 xdg_uint32_t n_entries; in cache_alias_lookup() local 339 n_entries = GET_UINT32 (cache->buffer, list_offset); in cache_alias_lookup() 342 max = n_entries - 1; in cache_alias_lookup() 384 xdg_uint32_t n_entries; in cache_glob_lookup_literal() local 391 n_entries = GET_UINT32 (cache->buffer, list_offset); in cache_glob_lookup_literal() 394 max = n_entries - 1; in cache_glob_lookup_literal() 444 xdg_uint32_t n_entries; in cache_glob_lookup_fnmatch() local [all …]
|
/third_party/glib/gio/ |
D | gactionmap.c | 215 gint n_entries, in g_action_map_add_action_entries() argument 221 g_return_if_fail (entries != NULL || n_entries == 0); in g_action_map_add_action_entries() 223 for (i = 0; n_entries == -1 ? entries[i].name != NULL : i < n_entries; i++) in g_action_map_add_action_entries()
|
D | gsimpleactiongroup.h | 92 … gint n_entries,
|
D | gactionmap.h | 90 … gint n_entries,
|
D | gsimpleactiongroup.c | 396 gint n_entries, in g_simple_action_group_add_entries() argument 399 g_action_map_add_action_entries (G_ACTION_MAP (simple), entries, n_entries, user_data); in g_simple_action_group_add_entries()
|
/third_party/glib/glib/ |
D | goption.c | 284 gsize n_entries; member 683 for (i = 0; i < group->n_entries; i++) in calculate_max_length() 756 for (i = 0, l = (group ? group->n_entries : 0); i < l; i++) in group_has_visible_entries() 795 for (i = 0; i < context->main_group->n_entries; i++) in context_has_h_entry() 807 for (i = 0; i < group->n_entries; i++) in context_has_h_entry() 858 for (i = 0; i < context->main_group->n_entries; i++) in g_option_context_get_help() 871 (context->main_group && context->main_group->n_entries > 0) || in g_option_context_get_help() 901 for (i = 0; i < context->main_group->n_entries; i++) in g_option_context_get_help() 919 for (i = 0; i < g->n_entries; i++) in g_option_context_get_help() 1021 for (i = 0; i < group->n_entries; i++) in g_option_context_get_help() [all …]
|
D | gslice.c | 1599 unsigned int n_entries; member 1615 unsigned int old_size = branch->n_entries * sizeof (branch->entries[0]); in smc_tree_branch_grow_L() 1618 mem_assert (index <= branch->n_entries); in smc_tree_branch_grow_L() 1623 memmove (entry + 1, entry, (branch->n_entries - index) * sizeof (entry[0])); in smc_tree_branch_grow_L() 1624 branch->n_entries += 1; in smc_tree_branch_grow_L() 1632 unsigned int n_nodes = branch->n_entries, offs = 0; in smc_tree_branch_lookup_nearest_L() 1675 …entry >= smc_tree_root[ix0][ix1].entries + smc_tree_root[ix0][ix1].n_entries || /* need append */ in smc_tree_insert() 1696 entry < smc_tree_root[ix0][ix1].entries + smc_tree_root[ix0][ix1].n_entries && in smc_tree_lookup() 1717 entry < smc_tree_root[ix0][ix1].entries + smc_tree_root[ix0][ix1].n_entries && in smc_tree_remove() 1721 smc_tree_root[ix0][ix1].n_entries -= 1; in smc_tree_remove() [all …]
|
/third_party/e2fsprogs/lib/support/ |
D | profile_helpers.c | 272 int n_entries, i; in profile_init_path() local 279 for(s = filepath, n_entries = 1; *s; s++) { in profile_init_path() 281 n_entries++; in profile_init_path() 285 filenames = (char **) malloc((n_entries+1) * sizeof(char*)); in profile_init_path()
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | Hyphenator.cpp | 53 uint32_t n_entries; member 66 uint32_t n_entries; member 72 uint32_t n_entries; member 373 size_t n_entries = alphabet->n_entries; in alphabetLookup() local 375 const uint32_t* end = begin + n_entries; in alphabetLookup()
|
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstspu-vobsub.c | 59 gint16 n_entries; in gst_dvd_spu_parse_chg_colcon() local 72 n_entries = 0; in gst_dvd_spu_parse_chg_colcon() 90 n_entries++; in gst_dvd_spu_parse_chg_colcon() 93 state->vobsub.n_line_ctrl_i = n_entries; in gst_dvd_spu_parse_chg_colcon() 94 state->vobsub.line_ctrl_i = g_new (SpuVobsubLineCtrlI, n_entries); in gst_dvd_spu_parse_chg_colcon() 97 for (i = 0; i < n_entries; i++) { in gst_dvd_spu_parse_chg_colcon()
|
D | gstspu-pgs.c | 471 gint n_entries, i; in parse_set_palette() local 479 n_entries = (len - 2) / PGS_PALETTE_ENTRY_SIZE; in parse_set_palette() 482 palette_id, palette_version, n_entries); in parse_set_palette() 485 for (i = 0; i < n_entries; i++) { in parse_set_palette() 509 if (n_entries > 0 && (i % 2)) in parse_set_palette()
|
/third_party/eudev/src/shared/ |
D | hashmap.c | 177 unsigned n_entries; /* number of stored entries */ member 349 static unsigned n_entries(HashmapBase *h) { in n_entries() function 350 return h->has_indirect ? h->indirect.n_entries in n_entries() 356 h->indirect.n_entries++; in n_entries_inc() 363 h->indirect.n_entries--; in n_entries_dec() 1037 assert(n_entries(h) < n_buckets(h)); in hashmap_base_put_boldly() 1062 h->debug.max_entries = MAX(h->debug.max_entries, n_entries(h)); in hashmap_base_put_boldly() 1088 new_n_entries = n_entries(h) + entries_add; in resize_buckets() 1129 h->indirect.n_entries = h->n_direct_entries; in resize_buckets() 1204 assert(n_rehashed == n_entries(h)); in resize_buckets() [all …]
|
/third_party/pixman/demos/ |
D | dither.c | 158 int n_entries, const named_int_t table[]) in set_up_combo_box() argument 175 for (i = 0; i < n_entries; ++i) in set_up_combo_box()
|
D | scale.c | 323 int n_entries, const named_int_t table[]) in set_up_combo_box() argument 340 for (i = 0; i < n_entries; ++i) in set_up_combo_box()
|
/third_party/uboot/u-boot-2020.01/fs/fat/ |
D | fat_write.c | 1287 int n_entries, ret; in fat_unlink() local 1331 n_entries = fat_dir_entries(itr); in fat_unlink() 1332 if (n_entries < 0) { in fat_unlink() 1333 ret = n_entries; in fat_unlink() 1336 if (n_entries > 2) { in fat_unlink() 1338 n_entries); in fat_unlink()
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | atoms.c | 666 stsd->n_entries = 0; in atom_stsd_init() 702 stsd->n_entries = 0; in atom_stsd_remove_entries() 2439 prop_copy_uint32 (stsd->n_entries, buffer, size, offset); in atom_stsd_copy_data() 3956 stsd->n_entries++; in atom_trak_add_audio_entry() 4009 stsd->n_entries++; in atom_trak_add_timecode_entry() 4031 stsd->n_entries++; in atom_trak_add_video_entry() 4047 stsd->n_entries++; in atom_trak_add_subtitle_entry() 4209 stsd->n_entries++; in atom_trak_set_caption_type()
|
D | atoms.h | 502 guint n_entries; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | hostapd.c | 1391 int n_entries, u8 accept_acl) in hostapd_set_acl_list() argument 1397 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list() 1401 for (i = 0; i < n_entries; i++) in hostapd_set_acl_list() 1406 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | hostapd.c | 1391 int n_entries, u8 accept_acl) in hostapd_set_acl_list() argument 1397 (n_entries * sizeof(acl_params->mac_acl[0]))); in hostapd_set_acl_list() 1401 for (i = 0; i < n_entries; i++) in hostapd_set_acl_list() 1406 acl_params->num_mac_acl = n_entries; in hostapd_set_acl_list()
|
/third_party/pulseaudio/src/modules/ |
D | module-stream-restore.c | 567 unsigned n_entries; in handle_get_all() local 574 entries = get_entries(u, &n_entries); in handle_get_all() 582 …perty_handlers[PROPERTY_HANDLER_ENTRIES].property_name, DBUS_TYPE_OBJECT_PATH, entries, n_entries); in handle_get_all()
|
/third_party/glib/gobject/ |
D | gtype.c | 1309 int n_entries; in find_free_iface_offset_L() local 1311 n_entries = IFACE_ENTRIES_N_ENTRIES (entries); in find_free_iface_offset_L() 1315 for (i = 0; i < n_entries; i++) in find_free_iface_offset_L() 1327 while (i != n_entries); in find_free_iface_offset_L()
|
/third_party/libdrm/intel/tests/ |
D | gen4-3d.batch-ref.txt | 40 0x1230009c: 0x00000024: entry_size: 2 [192 bytes], n_entries: 4
|