Home
last modified time | relevance | path

Searched refs:open_func (Results 1 – 16 of 16) sorted by relevance

/third_party/alsa-lib/src/rawmidi/
Drawmidi.c183 int (*open_func)(snd_rawmidi_t **, snd_rawmidi_t **, in snd_rawmidi_open_conf() local
252 open_func = snd_dlobj_cache_get2(lib, open_name, in snd_rawmidi_open_conf()
254 if (!open_func) { in snd_rawmidi_open_conf()
260 err = open_func(inputp, outputp, name, rawmidi_root, rawmidi_conf, mode); in snd_rawmidi_open_conf()
264 (*inputp)->open_func = open_func; in snd_rawmidi_open_conf()
270 (*outputp)->open_func = open_func; in snd_rawmidi_open_conf()
278 if (open_func) in snd_rawmidi_open_conf()
279 snd_dlobj_cache_put(open_func); in snd_rawmidi_open_conf()
365 if (rawmidi->open_func) in snd_rawmidi_close()
366 snd_dlobj_cache_put(rawmidi->open_func); in snd_rawmidi_close()
Drawmidi_local.h41 void *open_func; member
/third_party/alsa-lib/src/timer/
Dtimer_query.c42 int (*open_func)(snd_timer_query_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_timer_query_open_conf() local
113 open_func = snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_TIMER_QUERY_DLSYM_VERSION)); in snd_timer_query_open_conf()
118 } else if (!open_func) { in snd_timer_query_open_conf()
127 err = open_func(timer, name, timer_root, timer_conf, mode); in snd_timer_query_open_conf()
Dtimer.c85 int (*open_func)(snd_timer_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_timer_open_conf() local
155 open_func = snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_TIMER_DLSYM_VERSION)); in snd_timer_open_conf()
160 } else if (!open_func) { in snd_timer_open_conf()
169 err = open_func(timer, name, timer_root, timer_conf, mode); in snd_timer_open_conf()
/third_party/alsa-lib/src/pcm/
Dpcm_rate.c62 void *open_func; member
1271 if (rate->open_func) in snd_pcm_rate_close()
1272 snd_dlobj_cache_put(rate->open_func); in snd_pcm_rate_close()
1374 snd_pcm_rate_open_func_t open_func; in rate_open_func() local
1391 rate->open_func = open_conf_func; in rate_open_func()
1399 open_func = snd_dlobj_cache_get(lib, open_name, NULL, verbose); in rate_open_func()
1400 if (!open_func) in rate_open_func()
1403 rate->open_func = open_func; in rate_open_func()
1405 err = open_func(SND_PCM_RATE_PLUGIN_VERSION, &rate->obj, &rate->ops); in rate_open_func()
1411 err = open_func(SND_PCM_RATE_PLUGIN_VERSION_OLD, in rate_open_func()
[all …]
Dpcm_meter.c615 int (*open_func)(snd_pcm_t *, const char *, in snd_pcm_meter_add_scope_conf() local
676 open_func = h ? dlsym(h, open_name) : NULL; in snd_pcm_meter_add_scope_conf()
681 } else if (!open_func) { in snd_pcm_meter_add_scope_conf()
690 err = open_func(pcm, name, root, conf); in snd_pcm_meter_add_scope_conf()
Dpcm.c2515 int (*open_func)(snd_pcm_t **, const char *, in snd_pcm_open_conf() local
2610 open_func = snd_dlobj_cache_get(lib, open_name, in snd_pcm_open_conf()
2612 if (open_func) { in snd_pcm_open_conf()
2613 err = open_func(pcmp, name, pcm_root, pcm_conf, stream, mode); in snd_pcm_open_conf()
2615 if ((*pcmp)->open_func) { in snd_pcm_open_conf()
2617 snd_dlobj_cache_put(open_func); in snd_pcm_open_conf()
2619 (*pcmp)->open_func = open_func; in snd_pcm_open_conf()
2623 snd_dlobj_cache_put(open_func); in snd_pcm_open_conf()
2806 snd_dlobj_cache_put(pcm->open_func); in snd_pcm_free()
Dpcm_local.h191 void *open_func; member
/third_party/alsa-lib/src/hwdep/
Dhwdep.c50 int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_hwdep_open_conf() local
121 open_func = snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_HWDEP_DLSYM_VERSION)); in snd_hwdep_open_conf()
126 } else if (!open_func) { in snd_hwdep_open_conf()
135 err = open_func(hwdep, name, hwdep_root, hwdep_conf, mode); in snd_hwdep_open_conf()
/third_party/python/Tools/iobench/
Diobench.py282 def run_one_test(name, size, open_func, test_func, *args): argument
287 with open_func(name) as f:
291 def run_test_family(tests, mode_filter, files, open_func, *make_args): argument
303 open_func, test_func, *args)
/third_party/alsa-lib/src/control/
Dcontrol.c245 snd_dlobj_cache_put(ctl->open_func); in snd_ctl_close()
1408 int (*open_func)(snd_ctl_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_ctl_open_conf() local
1498 open_func = snd_dlobj_cache_get(lib, open_name, in snd_ctl_open_conf()
1500 if (open_func) { in snd_ctl_open_conf()
1501 err = open_func(ctlp, name, ctl_root, ctl_conf, mode); in snd_ctl_open_conf()
1503 (*ctlp)->open_func = open_func; in snd_ctl_open_conf()
1506 snd_dlobj_cache_put(open_func); in snd_ctl_open_conf()
Dcontrol_local.h60 void *open_func; member
/third_party/alsa-lib/include/
Dlocal.h352 int snd_dlobj_cache_put(void *open_func);
/third_party/alsa-lib/src/seq/
Dseq.c832 int (*open_func)(snd_seq_t **, const char *, in snd_seq_open_conf() local
904 open_func = snd_dlsym(h, open_name, SND_DLSYM_VERSION(SND_SEQ_DLSYM_VERSION)); in snd_seq_open_conf()
909 } else if (!open_func) { in snd_seq_open_conf()
918 err = open_func(seqp, name, seq_root, seq_conf, streams, mode); in snd_seq_open_conf()
/third_party/python/Lib/logging/
D__init__.py1200 open_func = self._builtin_open
1201 return open_func(self.baseFilename, self.mode,
/third_party/python/Doc/whatsnew/
D2.5.rst170 open_func = functools.partial(self.open_item, item_path)
171 popup_menu.append( ("Open", open_func, 1) )