Searched refs:PA_UINT32_TO_PTR (Results 1 – 9 of 9) sorted by relevance
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-core.c | 695 …pa_assert_se((fallback_sink = pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(c->fallback_sink-… in handle_get_fallback_sink() 783 …pa_assert_se((fallback_source = pa_hashmap_get(c->sources_by_index, PA_UINT32_TO_PTR(c->fallback_s… in handle_get_fallback_source() 1020 …return pa_dbusiface_client_get_path(pa_hashmap_get(c->clients, PA_UINT32_TO_PTR(my_client->index))… in get_my_client() 1107 …? pa_dbusiface_device_get_path(pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(c->fallback_sink… in handle_get_all() 1112 … PA_UINT32_TO_PTR(c->fallback_source->index))) in handle_get_all() 1194 pa_assert_se((dbus_card = pa_hashmap_get(c->cards, PA_UINT32_TO_PTR(card->index)))); in handle_get_card_by_name() 1219 pa_assert_se((dbus_sink = pa_hashmap_get(c->sinks_by_index, PA_UINT32_TO_PTR(sink->index)))); in handle_get_sink_by_name() 1244 …pa_assert_se((dbus_source = pa_hashmap_get(c->sources_by_index, PA_UINT32_TO_PTR(source->index)))); in handle_get_source_by_name() 1269 pa_assert_se((dbus_sample = pa_hashmap_get(c->samples, PA_UINT32_TO_PTR(sample->index)))); in handle_get_sample_by_name() 1425 pa_hashmap_put(c->samples, PA_UINT32_TO_PTR(idx), dbus_sample); in handle_upload_sample() [all …]
|
/third_party/pulseaudio/src/pulsecore/ |
D | memblock.c | 630 … pa_assert_se(pa_hashmap_remove(import->blocks, PA_UINT32_TO_PTR(b->per_type.imported.id))); in memblock_free() 793 pa_assert_se(pa_hashmap_remove(import->blocks, PA_UINT32_TO_PTR(b->per_type.imported.id))); in memblock_replace_import() 1138 pa_hashmap_put(i->segments, PA_UINT32_TO_PTR(seg->memory.id), seg); in segment_attach() 1147 pa_hashmap_remove(seg->import->segments, PA_UINT32_TO_PTR(seg->memory.id)); in segment_detach() 1246 if ((b = pa_hashmap_get(i->blocks, PA_UINT32_TO_PTR(block_id)))) { in pa_memimport_get() 1254 if (!(seg = pa_hashmap_get(i->segments, PA_UINT32_TO_PTR(shm_id)))) { in pa_memimport_get() 1290 pa_hashmap_put(i->blocks, PA_UINT32_TO_PTR(block_id), b); in pa_memimport_get() 1309 if (!(b = pa_hashmap_get(i->blocks, PA_UINT32_TO_PTR(id)))) { in pa_memimport_process_revoke()
|
D | pstream.c | 373 if (pa_idxset_get_by_data(p->registered_memfd_ids, PA_UINT32_TO_PTR(shm_id), NULL)) { in pa_pstream_attach_memfd_shmid() 383 pa_assert_se(pa_idxset_put(p->registered_memfd_ids, PA_UINT32_TO_PTR(shm_id), NULL) == 0); in pa_pstream_attach_memfd_shmid() 677 … if (pa_idxset_get_by_data(p->registered_memfd_ids, PA_UINT32_TO_PTR(shm_id), NULL)) { in prepare_next_write_item() 1040 !pa_idxset_get_by_data(p->registered_memfd_ids, PA_UINT32_TO_PTR(shm_id), NULL)) { in do_read()
|
D | macro.h | 211 #define PA_UINT32_TO_PTR(u) ((void*) ((uintptr_t) (u))) macro
|
D | source.c | 2115 … pa_hashmap_put(s->thread_info.outputs, PA_UINT32_TO_PTR(o->index), pa_source_output_ref(o)); in pa_source_process_msg() 2119 …map_put(o->thread_info.direct_on_input->thread_info.direct_outputs, PA_UINT32_TO_PTR(o->index), o); in pa_source_process_msg() 2149 …map_remove(o->thread_info.direct_on_input->thread_info.direct_outputs, PA_UINT32_TO_PTR(o->index)); in pa_source_process_msg() 2153 pa_hashmap_remove_and_free(s->thread_info.outputs, PA_UINT32_TO_PTR(o->index)); in pa_source_process_msg()
|
D | sink.c | 2654 pa_hashmap_put(s->thread_info.inputs, PA_UINT32_TO_PTR(i->index), pa_sink_input_ref(i)); in pa_sink_process_msg() 2735 pa_hashmap_remove_and_free(s->thread_info.inputs, PA_UINT32_TO_PTR(i->index)); in pa_sink_process_msg() 2774 pa_hashmap_remove_and_free(s->thread_info.inputs, PA_UINT32_TO_PTR(i->index)); in pa_sink_process_msg() 2797 pa_hashmap_put(s->thread_info.inputs, PA_UINT32_TO_PTR(i->index), pa_sink_input_ref(i)); in pa_sink_process_msg()
|
/third_party/pulseaudio/src/pulse/ |
D | stream.c | 264 …RECORD) ? s->context->record_streams : s->context->playback_streams, PA_UINT32_TO_PTR(s->channel)); in stream_unlink() 440 …MAND_PLAYBACK_STREAM_KILLED ? c->playback_streams : c->record_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_killed() 570 …MMAND_PLAYBACK_STREAM_MOVED ? c->playback_streams : c->record_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_moved() 659 …LAYBACK_BUFFER_ATTR_CHANGED ? c->playback_streams : c->record_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_buffer_attr() 711 …D_PLAYBACK_STREAM_SUSPENDED ? c->playback_streams : c->record_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_suspended() 759 if (!(s = pa_hashmap_get(c->playback_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_started() 805 …MMAND_PLAYBACK_STREAM_EVENT ? c->playback_streams : c->record_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_stream_event() 848 if (!(s = pa_hashmap_get(c->playback_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_request() 903 if (!(s = pa_hashmap_get(c->playback_streams, PA_UINT32_TO_PTR(channel)))) in pa_command_overflow_or_underflow() 1193 …ECORD) ? s->context->record_streams : s->context->playback_streams, PA_UINT32_TO_PTR(s->channel), … in pa_create_stream_callback()
|
D | context.c | 431 if ((s = pa_hashmap_get(c->record_streams, PA_UINT32_TO_PTR(channel)))) { in pstream_memblock_callback()
|
/third_party/pulseaudio/src/modules/ |
D | module-tunnel.c | 382 …ink->asyncmsgq, PA_MSGOBJECT(u->sink), SINK_MESSAGE_REMOTE_SUSPEND, PA_UINT32_TO_PTR(suspended), 0… in command_suspended() 384 …>asyncmsgq, PA_MSGOBJECT(u->source), SOURCE_MESSAGE_REMOTE_SUSPEND, PA_UINT32_TO_PTR(suspended), 0… in command_suspended() 415 …ink->asyncmsgq, PA_MSGOBJECT(u->sink), SINK_MESSAGE_REMOTE_SUSPEND, PA_UINT32_TO_PTR(suspended), 0… in command_moved() 417 …>asyncmsgq, PA_MSGOBJECT(u->source), SOURCE_MESSAGE_REMOTE_SUSPEND, PA_UINT32_TO_PTR(suspended), 0… in command_moved()
|