Home
last modified time | relevance | path

Searched refs:pa_open_cloexec (Results 1 - 16 of 16) sorted by relevance

/third_party/pulseaudio/src/modules/oss/
H A Doss-util.c56 if ((fd = pa_open_cloexec(device, O_RDWR|O_NDELAY, 0)) >= 0) { in pa_oss_open()
72 if ((fd = pa_open_cloexec(device, (*mode = O_WRONLY)|O_NDELAY, 0)) < 0) { in pa_oss_open()
73 if ((fd = pa_open_cloexec(device, (*mode = O_RDONLY)|O_NDELAY, 0)) < 0) { in pa_oss_open()
79 if ((fd = pa_open_cloexec(device, *mode|O_NDELAY, 0)) < 0) { in pa_oss_open()
399 if ((fd = pa_open_cloexec(mixer, O_RDWR|O_NDELAY, 0)) >= 0) in open_mixer()
/third_party/pulseaudio/src/pulsecore/
H A Dauthkey.c86 if ((fd = pa_open_cloexec(fn, (create ? O_RDWR|O_CREAT : O_RDONLY)|O_BINARY, S_IRUSR|S_IWUSR)) < 0) { in load()
178 if ((fd = pa_open_cloexec(p, O_RDWR|O_CREAT, S_IRUSR|S_IWUSR)) < 0) { in pa_authkey_save()
H A Drandom.c77 if ((fd = pa_open_cloexec(*device, O_RDONLY, 0)) >= 0) { in random_proper()
H A Dsound-file.c62 if ((fd = pa_open_cloexec(fname, O_RDONLY, 0)) < 0) { in pa_sound_file_load()
H A Dcpu-arm.c63 if ((fd = pa_open_cloexec("/proc/cpuinfo", O_RDONLY, 0)) < 0) { in get_cpuinfo()
H A Dlog.c164 if ((fd = pa_open_cloexec(t->file, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR)) < 0) { in pa_log_set_target()
183 if ((fd = pa_open_cloexec(file_path, O_WRONLY | O_TRUNC | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) >= 0) in pa_log_set_target()
H A Dpid.c88 if ((fd = pa_open_cloexec(fn, mode in open_pid_file()
H A Dsound-file-stream.c253 if ((fd = pa_open_cloexec(fname, O_RDONLY, 0)) < 0) { in pa_play_file()
H A Dcore-util.h300 int pa_open_cloexec(const char *fn, int flags, mode_t mode);
H A Dcore-util.c1387 if ((fd = pa_open_cloexec(fn, O_CREAT|O_RDWR in pa_lock_lockfile()
3605 int pa_open_cloexec(const char *fn, int flags, mode_t mode) { in pa_open_cloexec() function
/third_party/pulseaudio/src/modules/
H A Dmodule-cli.c106 if ((fd = pa_open_cloexec("/dev/tty", O_RDWR|O_NONBLOCK, 0)) >= 0) { in pa__init()
H A Dmodule-mmkbd-evdev.c190 if ((u->fd = pa_open_cloexec(pa_modargs_get_value(ma, "device", DEFAULT_DEVICE), O_RDONLY, 0)) < 0) { in pa__init()
H A Dmodule-pipe-source.c251 if ((u->fd = pa_open_cloexec(u->filename, O_RDWR, 0)) < 0) { in pa__init()
H A Dmodule-pipe-sink.c475 if ((u->fd = pa_open_cloexec(u->filename, O_RDWR, 0)) < 0) { in pa__init()
H A Dmodule-solaris.c344 if ((u->fd = pa_open_cloexec(u->device_name, u->mode | O_NONBLOCK, 0)) < 0) { in open_audio_device()
/third_party/pulseaudio/src/utils/
H A Dpacat.c1020 if ((fd = pa_open_cloexec(argv[optind], mode == PLAYBACK ? O_RDONLY : O_WRONLY|O_TRUNC|O_CREAT, 0666)) < 0) { in main()

Completed in 13 milliseconds