/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-card.c | 193 const char **sinks = NULL; in get_sinks() local 201 *n = pa_idxset_size(c->card->sinks); in get_sinks() 206 sinks = pa_xnew(const char *, *n); in get_sinks() 208 PA_IDXSET_FOREACH(sink, c->card->sinks, idx) { in get_sinks() 209 sinks[i] = pa_dbusiface_core_get_sink_path(c->core, sink); in get_sinks() 213 return sinks; in get_sinks() 218 const char **sinks; in handle_get_sinks() local 225 sinks = get_sinks(c, &n_sinks); in handle_get_sinks() 227 pa_dbus_send_basic_array_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, sinks, n_sinks); in handle_get_sinks() 229 pa_xfree(sinks); in handle_get_sinks() 377 const char **sinks = NULL; handle_get_all() local [all...] |
H A D | iface-card-profile.c | 114 dbus_uint32_t sinks = 0; in handle_get_sinks() local 120 sinks = p->profile->n_sinks; in handle_get_sinks() 122 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT32, &sinks); in handle_get_sinks() 169 dbus_uint32_t sinks = 0; in handle_get_all() local 178 sinks = p->profile->n_sinks; in handle_get_all() 191 pa_dbus_append_basic_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_SINKS].property_name, DBUS_TYPE_UINT32, &sinks); in handle_get_all()
|
H A D | iface-core.c | 643 const char **sinks; in get_sinks() local 656 sinks = pa_xnew(const char *, *n); in get_sinks() 659 sinks[i++] = pa_dbusiface_device_get_path(sink); in get_sinks() 661 return sinks; in get_sinks() 666 const char **sinks; in handle_get_sinks() local 673 sinks = get_sinks(c, &n); in handle_get_sinks() 675 pa_dbus_send_basic_array_variant_reply(conn, msg, DBUS_TYPE_OBJECT_PATH, sinks, n); in handle_get_sinks() 677 pa_xfree(sinks); in handle_get_sinks() 691 "There are no sinks, and therefore no fallback sink either."); in handle_get_fallback_sink() 713 "There are no sinks, an in handle_set_fallback_sink() 1070 const char **sinks; handle_get_all() local [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | lavfi.c | 52 AVFilterContext **sinks; member 91 av_freep(&lavfi->sinks); in lavfi_read_close() 248 lavfi->sinks = av_malloc_array(lavfi->nb_sinks, sizeof(AVFilterContext *)); in lavfi_read_header() 249 if (!lavfi->sinks) in lavfi_read_header() 295 lavfi->sinks[i] = sink; in lavfi_read_header() 317 AVFilterContext *sink = lavfi->sinks[lavfi->stream_sink_map[i]]; in lavfi_read_header() 397 /* iterate through all the graph sinks. Select the sink with the in lavfi_read_packet() 400 AVRational tb = av_buffersink_get_time_base(lavfi->sinks[i]); in lavfi_read_packet() 407 ret = av_buffersink_get_frame_flags(lavfi->sinks[i], frame, in lavfi_read_packet() 429 av_buffersink_get_frame_flags(lavfi->sinks[min_pts_sink_id in lavfi_read_packet() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | card.c | 175 c->sinks = pa_idxset_new(NULL, NULL); in pa_card_new() 281 pa_assert(pa_idxset_isempty(c->sinks)); in pa_card_free() 282 pa_idxset_free(c->sinks, NULL); in pa_card_free() 323 PA_IDXSET_FOREACH(sink, c->sinks, state) in update_port_preferred_profile() 452 PA_IDXSET_FOREACH(sink, c->sinks, idx) { in pa_card_suspend()
|
H A D | core.c | 142 c->sinks = pa_idxset_new(NULL, NULL); in pa_core_new() 234 pa_assert(pa_idxset_isempty(c->sinks)); in core_free() 235 pa_idxset_free(c->sinks, NULL); in core_free() 331 /* Available sinks always beat unavailable sinks. */ in compare_sinks() 350 /* It's hard to find any difference between these sinks, but maybe one of in compare_sinks() 369 PA_IDXSET_FOREACH(sink, core->sinks, idx) { in pa_core_update_default_sink() 393 * priorities of the monitored sinks. */ in pa_core_update_default_sink() 437 /* If the sources are monitors, we can compare the monitored sinks. */ in compare_sources() 543 PA_IDXSET_FOREACH(si, c->sinks, id in pa_core_maybe_vacuum() [all...] |
H A D | cli-text.c | 169 if (!pa_idxset_isempty(card->sinks)) { in pa_card_list_to_string() 171 PA_IDXSET_FOREACH(sink, card->sinks, sidx) in pa_card_list_to_string() 195 pa_strbuf_printf(s, "%u sink(s) available.\n", pa_idxset_size(c->sinks)); in pa_sink_list_to_string() 197 PA_IDXSET_FOREACH(sink, c->sinks, idx) { in pa_sink_list_to_string()
|
H A D | device-port.c | 223 PA_IDXSET_FOREACH(sink, p->core->sinks, state) { in pa_device_port_set_latency_offset() 284 PA_IDXSET_FOREACH(sink, p->card->sinks, state) in pa_device_port_get_sink()
|
H A D | card.h | 75 pa_idxset *sinks; member
|
H A D | core.h | 166 pa_idxset *clients, *cards, *sinks, *sources, *sink_inputs, *source_outputs, *modules, *scache; member 257 * monitored sinks are compared, so if the default sink changes, the default
|
H A D | namereg.c | 218 return pa_idxset_get_by_index(c->sinks, idx); in pa_namereg_get()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | remove_phonies.cc | 74 std::unordered_map<SinkSignature, Symbol, SinkSignature::Hasher> sinks; in Run() local 122 auto sink = utils::GetOrCreate(sinks, sig, [&] { in Run()
|
/third_party/pulseaudio/src/modules/macosx/ |
H A D | module-coreaudio-device.c | 23 - add an "off" mode that removes all sinks and sources 99 PA_LLIST_HEAD(coreaudio_sink, sinks); 150 if (u->sinks) in io_render_proc() 151 pa_assert_se(pa_asyncmsgq_send(u->async_msgq, PA_MSGOBJECT(u->sinks->pa_sink), in io_render_proc() 265 for (ca_sink = u->sinks; ca_sink; ca_sink = ca_sink->next) in ca_device_check_device_state() 510 PA_LLIST_PREPEND(coreaudio_sink, u->sinks, ca_sink); in ca_device_create_sink() 734 PA_LLIST_FOREACH(ca_sink, u->sinks) { in thread_func() 856 PA_LLIST_HEAD_INIT(coreaudio_sink, u->sinks); in pa__init() 858 /* create sinks */ in pa__init() 894 for (ca_sink = u->sinks; ca_sin in pa__init() [all...] |
H A D | module-bonjour-publish.c | 408 for (sink = PA_SINK(pa_idxset_first(u->core->sinks, &idx)); sink; sink = PA_SINK(pa_idxset_next(u->core->sinks, &idx))) in publish_all_services()
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
H A D | cfa.h | 322 auto sinks = TraversalRoots(reversed_blocks, pred_func, succ_func); in ComputeAugmentedCFG() local 335 (*augmented_predecessors_map)[pseudo_exit_block] = sinks; in ComputeAugmentedCFG() 336 for (auto block : sinks) { in ComputeAugmentedCFG()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | cfa.h | 322 auto sinks = TraversalRoots(reversed_blocks, pred_func, succ_func); in ComputeAugmentedCFG() local 335 (*augmented_predecessors_map)[pseudo_exit_block] = sinks; in ComputeAugmentedCFG() 336 for (auto block : sinks) { in ComputeAugmentedCFG()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-switch-on-port-available.c | 89 PA_IDXSET_FOREACH(sink, card->sinks, idx) { in profile_good_for_output() 220 PA_IDXSET_FOREACH(pp.sink, card->sinks, state) in find_port_pointers() 498 /* If the profile change modified the set of sinks, then it's unclear in update_preferred_input_port() 501 * profile contains no sinks, though, then we know the user only cares in update_preferred_input_port() 503 if (pa_idxset_size(card->sinks) > 0 && !pa_safe_streq(old_profile->output_name, new_profile->output_name)) { in update_preferred_input_port() 527 * prefers. If there are no sinks, then the user doesn't seem to care about in update_preferred_output_port() 529 if (pa_idxset_size(card->sinks) != 1) { in update_preferred_output_port() 544 sink = pa_idxset_first(card->sinks, NULL); in update_preferred_output_port()
|
H A D | module-device-manager.c | 367 if (PA_INVALID_INDEX != u->preferred_sinks[role_index] && (s = pa_idxset_get_by_index(u->core->sinks, u->preferred_sinks[role_index]))) in dump_database_helper() 603 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) { in update_highest_priority_device_indexes() 689 if (!(sink = pa_idxset_get_by_index(u->core->sinks, device_index))) in route_sink_input() 842 if (!(sink = pa_idxset_get_by_index(c->sinks, idx))) in subscribe_callback() 998 if ((sink = pa_idxset_get_by_index(u->core->sinks, device_index))) { in sink_input_new_hook_callback() 1115 PA_IDXSET_FOREACH(s, u->core->sinks, idx) { in apply_entry() 1200 PA_IDXSET_FOREACH(s, u->core->sinks, idx) { in extension_cb() 1372 pa_log_error("Attempted to reorder mixed devices (sinks and sources)"); in extension_cb() 1615 total_devices = PA_MAX(pa_idxset_size(m->core->sinks), pa_idxset_size(m->core->sources)); in pa__init() 1620 /* We cycle over all the available sinks s in pa__init() [all...] |
H A D | module-device-restore.c | 607 if (!(sink = pa_idxset_get_by_index(c->sinks, idx))) in subscribe_callback() 1076 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) { in extension_cb() 1095 pa_log("Device format reading is only supported on sinks"); in extension_cb() 1103 if (!(sink = pa_idxset_get_by_index(u->core->sinks, sink_index))) in extension_cb() 1129 pa_log("Device format saving is only supported on sinks"); in extension_cb() 1134 if (!(sink = pa_idxset_get_by_index(u->core->sinks, sink_index))) { in extension_cb() 1272 PA_IDXSET_FOREACH(sink, m->core->sinks, idx) in pa__init()
|
H A D | module-always-sink.c | 65 /* Loop through all sinks and check to see if we have *any* in load_null_sink_if_needed() 66 * sinks. Ignore the sink passed in (if it's not null), and in load_null_sink_if_needed() 67 * don't count filter sinks. */ in load_null_sink_if_needed() 68 PA_IDXSET_FOREACH(target, c->sinks, idx) in load_null_sink_if_needed() 75 pa_log_debug("Autoloading null-sink as no other sinks detected."); in load_null_sink_if_needed() 114 /* We don't count filter sinks since they need a real sink */ in put_hook_callback()
|
H A D | module-intended-roles.c | 98 PA_IDXSET_FOREACH(s, c->sinks, idx) { in sink_input_new_hook_callback() 292 PA_IDXSET_FOREACH(d, c->sinks, jdx) { in sink_unlink_hook_callback()
|
H A D | stream-interaction.c | 141 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) in find_global_trigger_stream() 244 PA_IDXSET_FOREACH(s, u->core->sinks, idx) in apply_interaction_global() 255 PA_IDXSET_FOREACH(s, u->core->sinks, idx) { in remove_interactions()
|
/third_party/spirv-tools/source/ |
H A D | cfa.h | 371 auto sinks = TraversalRoots(reversed_blocks, pred_func, succ_func); in ComputeAugmentedCFG() local 384 (*augmented_predecessors_map)[pseudo_exit_block] = sinks; in ComputeAugmentedCFG() 385 for (auto block : sinks) { in ComputeAugmentedCFG()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | module-alsa-card.c | 452 PA_IDXSET_FOREACH(sink, u->core->sinks, idx) { in report_jack_state() 460 * in all cases, because if there are multiple sinks in a profile, and the in report_jack_state() 462 * how the ports are distributed between the different sinks. It's possible in report_jack_state() 463 * that some sinks contain only unavailable ports, in which case we should in report_jack_state() 464 * mark the profile as unavailable, but it's also possible that all sinks in report_jack_state() 1140 PA_IDXSET_FOREACH(sink, u->card->sinks, idx) in pa__get_n_used() 1162 if (u->card && u->card->sinks) in pa__done() 1163 pa_idxset_remove_all(u->card->sinks, (pa_free_cb_t) pa_alsa_sink_free); in pa__done()
|
/third_party/ffmpeg/libavfilter/ |
H A D | avfiltergraph.c | 1130 AVFilterLink **sinks; in graph_config_pointers() local 1148 sinks = av_calloc(sink_links_count, sizeof(*sinks)); in graph_config_pointers() 1149 if (!sinks) in graph_config_pointers() 1155 sinks[n] = f->inputs[j]; in graph_config_pointers() 1161 graph->sink_links = sinks; in graph_config_pointers()
|