Home
last modified time | relevance | path

Searched refs:handle_c (Results 1 – 2 of 2) sorted by relevance

/third_party/alsa-lib/test/
Daudio_time.c103 snd_pcm_t *handle_c = NULL; in main() local
248 if ((err = snd_pcm_open(&handle_c, pcm_name, SND_PCM_STREAM_CAPTURE, SND_PCM_NONBLOCK)) < 0) { in main()
252 if ((err = snd_pcm_set_params(handle_c, in main()
265 err = snd_pcm_hw_params_current(handle_c, hwparams_c); in main()
286 err = snd_pcm_sw_params_current(handle_c, swparams_c); in main()
293 err = snd_pcm_sw_params_set_tstamp_mode(handle_c, swparams_c, SND_PCM_TSTAMP_ENABLE); in main()
299 err = snd_pcm_sw_params_set_tstamp_type(handle_c, swparams_c, TSTAMP_TYPE); in main()
306 err = snd_pcm_sw_params(handle_c, swparams_c); in main()
315 if ((err = snd_pcm_link(handle_c, handle_p)) < 0) { in main()
340 snd_pcm_start(handle_c); in main()
[all …]
/third_party/musl/libc-test/src/functionalext/dlns/
Ddlns_dlsym.c57 void* handle_c = dlopen_ns(&dlnsC, LIB_NAME_C, RTLD_NOW); in dlns_dlsym_0100() local
58 EXPECT_PTRNE(__FUNCTION__, handle_c, NULL); in dlns_dlsym_0100()
59 if (handle_c == NULL) { in dlns_dlsym_0100()
66 close_so(handle_c); in dlns_dlsym_0100()
74 close_so(handle_c); in dlns_dlsym_0100()
90 int(* test_c)(void) = dlsym(handle_c, "test"); in dlns_dlsym_0100()
96 int(* test_d)(void) = dlsym(handle_c, "test_c"); in dlns_dlsym_0100()
105 close_so(handle_c); in dlns_dlsym_0100()