Home
last modified time | relevance | path

Searched refs:check_param (Results 1 – 6 of 6) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
D1-3.c46 static void check_param(pthread_t thread, int policy, int priority) in check_param() function
75 check_param(self, SCHED_RR, sched_get_priority_min(SCHED_RR)); in threaded()
89 check_param(self, SCHED_FIFO, sched_get_priority_min(SCHED_FIFO)); in threaded()
103 check_param(self, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in threaded()
165 check_param(child, SCHED_RR, sp.sched_priority); in main()
191 check_param(child, SCHED_FIFO, sp.sched_priority); in main()
217 check_param(child, SCHED_FIFO, sched_get_priority_max(SCHED_FIFO)); in main()
/external/tinyalsa/
Dtinyplay.c165 int check_param(struct pcm_params *params, unsigned int param, unsigned int value, in check_param() function
202 can_play = check_param(params, PCM_PARAM_RATE, rate, "Sample rate", "Hz"); in sample_is_playable()
203 can_play &= check_param(params, PCM_PARAM_CHANNELS, channels, "Sample", " channels"); in sample_is_playable()
204 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); in sample_is_playable()
205 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, period_size, "Period size", " frames"); in sample_is_playable()
206 can_play &= check_param(params, PCM_PARAM_PERIODS, period_count, "Period count", " periods"); in sample_is_playable()
Dtinyhostless.c152 static int check_param(struct pcm_params *params, unsigned int param, in check_param() function
205 can_play = check_param(params, PCM_PARAM_RATE, config->rate, "Sample rate", "Hz"); in check_params()
206 can_play &= check_param(params, PCM_PARAM_CHANNELS, config->channels, "Sample", " channels"); in check_params()
207 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, bits, "Bitrate", " bits"); in check_params()
208 …can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, config->period_size, "Period size", " frame… in check_params()
209 …can_play &= check_param(params, PCM_PARAM_PERIODS, config->period_count, "Period count", " periods… in check_params()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
D4-1.c79 void check_param(pthread_t thread, int policy, int priority) in check_param() function
129 check_param(pthread_self(), SCHED_RR, sp.sched_priority); in threaded()
140 check_param(pthread_self(), SCHED_RR, sp.sched_priority - 1); in threaded()
D1-2.c77 void check_param(pthread_t thread, int policy, int priority) in check_param() function
122 check_param(pthread_self(), SCHED_RR, sched_get_priority_min(SCHED_RR)); in controler()
/external/tinyalsa_new/utils/
Dtinyplay.c384 int check_param(struct pcm_params *params, unsigned int param, unsigned int value, in check_param() function
419 can_play = check_param(params, PCM_PARAM_RATE, cmd->config.rate, "sample rate", "hz"); in sample_is_playable()
420 … can_play &= check_param(params, PCM_PARAM_CHANNELS, cmd->config.channels, "sample", " channels"); in sample_is_playable()
421 can_play &= check_param(params, PCM_PARAM_SAMPLE_BITS, cmd->bits, "bits", " bits"); in sample_is_playable()
422 can_play &= check_param(params, PCM_PARAM_PERIOD_SIZE, cmd->config.period_size, "period size", in sample_is_playable()
424 can_play &= check_param(params, PCM_PARAM_PERIODS, cmd->config.period_count, "period count", in sample_is_playable()