Lines Matching refs:profiles
109 data->profiles = pa_hashmap_new_full(pa_idxset_string_hash_func, pa_idxset_string_compare_func, NULL, (pa_free_cb_t) pa_card_profile_free);
136 if (data->profiles)
137 pa_hashmap_free(data->profiles);
156 pa_assert(data->profiles);
157 pa_assert(!pa_hashmap_isempty(data->profiles));
180 pa_assert_se(c->profiles = data->profiles);
181 data->profiles = NULL;
185 PA_HASHMAP_FOREACH(profile, c->profiles, state)
217 * or if all profiles are unavailable, pick the profile with the highest
221 PA_HASHMAP_FOREACH(profile, card->profiles, state) {
231 PA_HASHMAP_FOREACH(profile, card->profiles, state) {
288 if (c->profiles)
289 pa_hashmap_free(c->profiles);
302 pa_assert_se(pa_hashmap_put(c->profiles, profile->name, profile) >= 0);