Home
last modified time | relevance | path

Searched refs:pa_hashmap (Results 1 – 25 of 60) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
Dhashmap.h32 typedef struct pa_hashmap pa_hashmap; typedef
35 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func);
39 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c…
42 void pa_hashmap_free(pa_hashmap*);
45 int pa_hashmap_put(pa_hashmap *h, void *key, void *value);
48 void* pa_hashmap_get(const pa_hashmap *h, const void *key);
51 void* pa_hashmap_remove(pa_hashmap *h, const void *key);
58 int pa_hashmap_remove_and_free(pa_hashmap *h, const void *key);
61 void pa_hashmap_remove_all(pa_hashmap *h);
64 unsigned pa_hashmap_size(const pa_hashmap *h);
[all …]
Dhashmap.c43 struct pa_hashmap { struct
54 #define BY_HASH(h) ((struct hashmap_entry**) ((uint8_t*) (h) + PA_ALIGN(sizeof(pa_hashmap)))) argument
58 pa_hashmap *pa_hashmap_new_full(pa_hash_func_t hash_func, pa_compare_func_t compare_func, pa_free_c… in pa_hashmap_new_full()
59 pa_hashmap *h; in pa_hashmap_new_full()
61 h = pa_xmalloc0(PA_ALIGN(sizeof(pa_hashmap)) + NBUCKETS*sizeof(struct hashmap_entry*)); in pa_hashmap_new_full()
75 pa_hashmap *pa_hashmap_new(pa_hash_func_t hash_func, pa_compare_func_t compare_func) { in pa_hashmap_new()
79 static void remove_entry(pa_hashmap *h, struct hashmap_entry *e) { in remove_entry()
115 void pa_hashmap_free(pa_hashmap *h) { in pa_hashmap_free()
122 static struct hashmap_entry *hash_scan(const pa_hashmap *h, unsigned hash, const void *key) { in hash_scan()
134 int pa_hashmap_put(pa_hashmap *h, void *key, void *value) { in pa_hashmap_put()
[all …]
Dcard.h78 pa_hashmap *profiles;
81 pa_hashmap *ports;
103 pa_hashmap *profiles;
104 pa_hashmap *ports;
Dprotocol-dbus.c41 pa_hashmap *objects; /* Object path -> struct object_entry */
42 pa_hashmap *connections; /* DBusConnection -> struct connection_entry */
50 pa_hashmap *interfaces; /* Interface name -> struct interface_entry */
67 pa_hashmap *listening_signals;
78 pa_hashmap *method_handlers;
79 pa_hashmap *method_signatures; /* Derived from method_handlers. Contains only "in" arguments. */
80 pa_hashmap *property_handlers;
655 static pa_hashmap *create_method_handlers(const pa_dbus_interface_info *info) { in create_method_handlers()
656 pa_hashmap *handlers; in create_method_handlers()
677 static pa_hashmap *extract_method_signatures(pa_hashmap *method_handlers) { in extract_method_signatures()
[all …]
Ddevice-port.h53 pa_hashmap *profiles; /* Does not own the profiles */
94 pa_device_port *pa_device_port_find_best(pa_hashmap *ports);
Dsink-input.h112 pa_hashmap *volume_factor_items;
116 pa_hashmap *volume_factor_sink_items;
260 pa_hashmap *direct_outputs;
311 pa_hashmap *volume_factor_items, *volume_factor_sink_items;
Dcore.h167 pa_hashmap *namereg, *shared, *message_handlers;
194 pa_hashmap *modules_pending_unload; /* pa_module -> pa_module (hashmap-as-a-set) */
Dsource.h118 pa_hashmap *ports;
234 pa_hashmap *outputs;
312 pa_hashmap *ports;
Dsink.h117 pa_hashmap *ports;
276 pa_hashmap *inputs;
374 pa_hashmap *ports;
Dmutex-win32.c36 pa_hashmap *wait_events;
Dmodargs.c38 pa_hashmap *raw;
39 pa_hashmap *unescaped;
/third_party/pulseaudio/src/modules/alsa/
Dalsa-ucm.h153 pa_hashmap **hash,
161 pa_hashmap *hash,
164 pa_hashmap *ports,
195 pa_hashmap *playback_volumes;
196 pa_hashmap *capture_volumes;
257 pa_hashmap *mixers;
279 pa_hashmap *paths;
Dalsa-mixer.h254 pa_hashmap *paths;
367 pa_hashmap *mappings;
368 pa_hashmap *profiles;
369 pa_hashmap *decibel_fixes;
370 pa_hashmap *input_paths;
371 pa_hashmap *output_paths;
384 void pa_alsa_profile_set_probe(pa_alsa_profile_set *ps, pa_hashmap *mixers, const char *dev_id, con…
409 …path_set_add_ports(pa_alsa_path_set *ps, pa_card_profile *cp, pa_hashmap *ports, pa_hashmap *extra…
Dalsa-util.h154 snd_mixer_t *pa_alsa_open_mixer(pa_hashmap *mixers, int alsa_card_index, bool probe);
155 snd_mixer_t *pa_alsa_open_mixer_by_name(pa_hashmap *mixers, const char *dev, bool probe);
156 snd_mixer_t *pa_alsa_open_mixer_for_pcm(pa_hashmap *mixers, snd_pcm_t *pcm, bool probe);
157 void pa_alsa_mixer_set_fdlist(pa_hashmap *mixers, snd_mixer_t *mixer, pa_mainloop_api *ml);
Dmodule-alsa-card.c114 pa_hashmap *mixers;
115 pa_hashmap *jacks;
133 static void add_profiles(struct userdata *u, pa_hashmap *h, pa_hashmap *ports) { in add_profiles()
184 static void add_disabled_profile(pa_hashmap *profiles) { in add_disabled_profile()
680 static void prune_singleton_availability_groups(pa_hashmap *ports) { in prune_singleton_availability_groups()
682 pa_hashmap *group_counts; in prune_singleton_availability_groups()
Dalsa-ucm.c904 static void set_eld_devices(pa_hashmap *hash) in set_eld_devices()
934 static void probe_volumes(pa_hashmap *hash, bool is_sink, snd_pcm_t *pcm_handle, pa_hashmap *mixers… in probe_volumes()
986 pa_hashmap *hash, in ucm_add_port_combination()
991 pa_hashmap *ports, in ucm_add_port_combination()
1219 pa_hashmap *hash, in ucm_add_ports_combination()
1225 pa_hashmap *ports, in ucm_add_ports_combination()
1279 pa_hashmap *p, in pa_alsa_ucm_add_ports_combination()
1282 pa_hashmap *ports, in pa_alsa_ucm_add_ports_combination()
1301 pa_hashmap **p, in pa_alsa_ucm_add_ports()
1938 static void ucm_mapping_jack_probe(pa_alsa_mapping *m, pa_hashmap *mixers) { in ucm_mapping_jack_probe()
[all …]
/third_party/pulseaudio/src/tests/
Dhashmap-test.c37 pa_hashmap* map; in START_TEST()
87 pa_hashmap* map; in START_TEST()
120 pa_hashmap* map; in START_TEST()
172 pa_hashmap* map; in START_TEST()
/third_party/pulseaudio/src/modules/
Dmodule-systemd-login.c58 pa_hashmap *sessions, *previous_sessions;
117 pa_hashmap *h; in get_session_list()
Dstdin-util.h53 pa_hashmap *module_infos;
Dmodule-augment-properties.c61 pa_hashmap *cache;
272 static void make_room(pa_hashmap *cache) { in make_room()
/third_party/pulseaudio/src/modules/bluetooth/
Da2dp-codec-api.h58 …const char *(*choose_remote_endpoint)(const pa_hashmap *capabilities_hashmap, const pa_sample_spec…
Dmodule-bluez5-discover.c51 pa_hashmap *loaded_device_paths;
Dbluez5-util.h119 pa_hashmap *uuids; /* char* -> char* (hashmap-as-a-set) */
/third_party/pulseaudio/src/modules/rtp/
Dheaderlist.c41 #define MAKE_HASHMAP(p) ((pa_hashmap*) (p))
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c97 pa_hashmap *cards;
98 pa_hashmap *sinks_by_index;
99 pa_hashmap *sinks_by_path;
100 pa_hashmap *sources_by_index;
101 pa_hashmap *sources_by_path;
102 pa_hashmap *playback_streams;
103 pa_hashmap *record_streams;
104 pa_hashmap *samples;
105 pa_hashmap *modules;
106 pa_hashmap *clients;

123