Home
last modified time | relevance | path

Searched refs:max_request (Results 1 – 13 of 13) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-combine-sink.c121 pa_atomic_t max_request; member
295 pa_sink_render(u->sink, u->sink->thread_info.max_request, &chunk); in process_render_null()
305 if (ate >= u->sink->thread_info.max_request) in process_render_null()
487 if (pa_atomic_load(&o->max_request) == (int) nbytes) in sink_input_update_max_request_cb()
490 pa_atomic_store(&o->max_request, (int) nbytes); in sink_input_update_max_request_cb()
556 pa_atomic_store(&o->max_request, (int) nbytes); in sink_input_attach_cb()
748 size_t max_request = 0; in update_max_request() local
758 size_t mr = (size_t) pa_atomic_load(&o->max_request); in update_max_request()
760 if (mr > max_request) in update_max_request()
761 max_request = mr; in update_max_request()
[all …]
Dmodule-null-sink.c227 pa_sink_render(u->sink, u->sink->thread_info.max_request, &chunk); in process_render()
235 if (ate >= u->sink->thread_info.max_request) in process_render()
Dmodule-equalizer-sink.c723 size_t max_request;
732 max_request = PA_ROUND_UP(pa_sink_input_get_max_request(u->sink_input) / fs , u->R);
733 max_request = PA_MAX(max_request, u->window_size);
734 pa_sink_set_max_request_within_thread(u->sink, max_request * fs);
833 size_t fs, max_request; in sink_input_attach_cb() local
844 max_request = PA_ROUND_UP(pa_sink_input_get_max_request(u->sink_input) / fs, u->R); in sink_input_attach_cb()
845 max_request = PA_MAX(max_request, u->window_size); in sink_input_attach_cb()
847 pa_sink_set_max_request_within_thread(u->sink, max_request * fs); in sink_input_attach_cb()
Dmodule-pipe-sink.c241 pa_sink_render(u->sink, u->sink->thread_info.max_request, &chunk); in process_render_use_timing()
266 if (consumed >= u->sink->thread_info.max_request) in process_render_use_timing()
Dmodule-solaris.c708 pa_sink_render(u->sink, u->sink->thread_info.max_request, &u->memchunk); in thread_func()
/third_party/pulseaudio/src/pulsecore/
Dsink.h295 size_t max_request; member
431 void pa_sink_set_max_request(pa_sink *s, size_t max_request);
537 void pa_sink_set_max_request_within_thread(pa_sink *s, size_t max_request);
Dsink.c343 s->thread_info.max_request = 0; in pa_sink_new()
2608 pa_sink_input_update_max_request(i, s->thread_info.max_request); in pa_sink_process_msg()
2796 pa_sink_input_update_max_request(i, s->thread_info.max_request); in pa_sink_process_msg()
2946 *((size_t*) userdata) = s->thread_info.max_request; in pa_sink_process_msg()
3145 void pa_sink_set_max_request_within_thread(pa_sink *s, size_t max_request) { in pa_sink_set_max_request_within_thread() argument
3151 if (max_request == s->thread_info.max_request) in pa_sink_set_max_request_within_thread()
3154 s->thread_info.max_request = max_request; in pa_sink_set_max_request_within_thread()
3160 pa_sink_input_update_max_request(i, s->thread_info.max_request); in pa_sink_set_max_request_within_thread()
3165 void pa_sink_set_max_request(pa_sink *s, size_t max_request) { in pa_sink_set_max_request() argument
3170 …end(s->asyncmsgq, PA_MSGOBJECT(s), PA_SINK_MESSAGE_SET_MAX_REQUEST, NULL, max_request, NULL) == 0); in pa_sink_set_max_request()
[all …]
Dsink-input.c1171 …quest(i->thread_info.resampler, i->sink->thread_info.max_request) : i->sink->thread_info.max_reque… in pa_sink_input_get_max_request()
/third_party/openssl/crypto/rand/
Drand_local.h232 size_t max_request; member
Ddrbg_lib.c597 if (outlen > drbg->max_request) { in RAND_DRBG_generate()
676 if (chunk > drbg->max_request) in RAND_DRBG_bytes()
677 chunk = drbg->max_request; in RAND_DRBG_bytes()
Ddrbg_ctr.c486 drbg->max_request = 1 << 16; in drbg_ctr_init()
/third_party/openssl/test/
Ddrbgtest.c369 if (!TEST_false(RAND_DRBG_generate(drbg, buff, drbg->max_request + 1, 0, in error_check()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function791 int max_request,
920 get_size = ( rand() % max_request ) + 1;