Home
last modified time | relevance | path

Searched refs:pa_hashmap_size (Results 1 – 22 of 22) sorted by relevance

/third_party/pulseaudio/src/tests/
Dhashmap-test.c55 if ((size_ret = pa_hashmap_size(map)) != 1) { in START_TEST()
67 if ((size_ret = pa_hashmap_size(map)) != 1) { in START_TEST()
75 if ((size_ret = pa_hashmap_size(map)) != 0) { in START_TEST()
102 if ((size = pa_hashmap_size(map)) != 1000) { in START_TEST()
108 if ((size = pa_hashmap_size(map)) != 0) { in START_TEST()
140 if ((size_ret = pa_hashmap_size(map)) != i + 1) { in START_TEST()
160 if ((size_ret = pa_hashmap_size(map)) != 1000 - i - 1) { in START_TEST()
/third_party/pulseaudio/src/pulsecore/
Dhashmap.h64 unsigned pa_hashmap_size(const pa_hashmap *h);
Dmutex-win32.c88 if (pa_hashmap_size(c->wait_events) == 0) in pa_cond_signal()
Ddatabase-simple.c222 return pa_hashmap_size(db->map); in fill_data()
344 return (signed) pa_hashmap_size(db->map); in pa_database_size()
Dhashmap.c332 unsigned pa_hashmap_size(const pa_hashmap *h) { in pa_hashmap_size() function
Dmemblock.c1118 if (pa_hashmap_size(i->segments) >= PA_MEMIMPORT_SEGMENTS_MAX) in segment_attach()
1173 pa_assert(pa_hashmap_size(i->segments) == 0); in pa_memimport_free()
1245 if (pa_hashmap_size(i->blocks) >= PA_MEMIMPORT_SLOTS_MAX) in pa_memimport_get()
Dsink-input.c1329 if (pa_hashmap_size(i->volume_factor_items) == 1) in pa_sink_input_add_volume_factor()
1353 switch (pa_hashmap_size(i->volume_factor_items)) { in pa_sink_input_remove_volume_factor()
Dprotocol-native.c3202 pa_tagstruct_putu32(t, pa_hashmap_size(sink->ports)); in sink_fill_tagstruct()
3277 pa_tagstruct_putu32(t, pa_hashmap_size(source->ports)); in source_fill_tagstruct()
3335 pa_tagstruct_putu32(t, pa_hashmap_size(card->profiles)); in card_fill_tagstruct()
3354 pa_tagstruct_putu32(t, pa_hashmap_size(card->ports)); in card_fill_tagstruct()
3366 pa_tagstruct_putu32(t, pa_hashmap_size(port->profiles)); in card_fill_tagstruct()
Dsink.c1165 if (pa_hashmap_size(i->thread_info.direct_outputs) > 0) { in inputs_drop()
/third_party/pulseaudio/src/pulse/
Djson.c599 if (pa_hashmap_size(o1->object_values) != pa_hashmap_size(o2->object_values)) in pa_json_object_equal()
Dproplist.c668 return pa_hashmap_size(MAKE_HASHMAP_CONST(p)); in pa_proplist_size()
/third_party/pulseaudio/src/modules/
Dmodule-card-restore.c175 pa_hashmap_size(a->ports) != pa_hashmap_size(b->ports)) in entrys_equal()
209 pa_tagstruct_putu32(t, pa_hashmap_size(e->ports)); in entry_write()
Dmodule-augment-properties.c275 while (pa_hashmap_size(cache) >= MAX_CACHE_SIZE) { in make_room()
Dmodule-filter-apply.c667 if (pa_hashmap_size(u->filters) > 0) in sink_input_unlink_cb()
748 if (pa_hashmap_size(u->filters) > 0) in source_output_unlink_cb()
Dmodule-udev-detect.c816 pa_log_info("Found %u cards.", pa_hashmap_size(u->devices)); in pa__init()
Dmodule-device-manager.c1438 n_devices = pa_hashmap_size(h); in extension_cb()
Dmodule-stream-restore.c531 *n = pa_hashmap_size(u->dbus_entries); in get_entries()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c612 *n = pa_hashmap_size(c->cards); in get_cards()
651 *n = pa_hashmap_size(c->sinks_by_index); in get_sinks()
739 *n = pa_hashmap_size(c->sources_by_index); in get_sources()
827 *n = pa_hashmap_size(c->playback_streams); in get_playback_streams()
866 *n = pa_hashmap_size(c->record_streams); in get_record_streams()
905 *n = pa_hashmap_size(c->samples); in get_samples()
944 *n = pa_hashmap_size(c->modules); in get_modules()
983 *n = pa_hashmap_size(c->clients); in get_clients()
Diface-card.c283 *n = pa_hashmap_size(c->profiles); in get_profiles()
Diface-device.c674 *n = pa_hashmap_size(d->ports); in get_ports()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c404 tports = tp = pa_xnew0(struct temp_port_avail, pa_hashmap_size(u->jacks)+1); in report_jack_state()
647 pa_log_debug("Found %d jacks.", pa_hashmap_size(u->jacks)); in init_jacks()
649 if (pa_hashmap_size(u->jacks) == 0) in init_jacks()
Dalsa-mixer.c3704 if (pa_hashmap_size(ps->paths) < 2) in path_set_condense()
5095 pp = probe_order = pa_xnew0(pa_alsa_profile *, pa_hashmap_size(ps->profiles) + 1); in pa_alsa_profile_set_probe()
5243 pa_hashmap_size(ps->mappings), in pa_alsa_profile_set_dump()
5244 pa_hashmap_size(ps->profiles), in pa_alsa_profile_set_dump()
5245 pa_hashmap_size(ps->decibel_fixes)); in pa_alsa_profile_set_dump()
5380 if (ps->paths && pa_hashmap_size(ps->paths) > 0) { in pa_alsa_add_ports()
5385 pa_log_debug("Added %u ports", pa_hashmap_size(ports)); in pa_alsa_add_ports()