Searched refs:pa_open_cloexec (Results 1 - 16 of 16) sorted by relevance
/third_party/pulseaudio/src/modules/oss/ |
H A D | oss-util.c | 56 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 D | authkey.c | 86 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 D | random.c | 77 if ((fd = pa_open_cloexec(*device, O_RDONLY, 0)) >= 0) { in random_proper()
|
H A D | sound-file.c | 62 if ((fd = pa_open_cloexec(fname, O_RDONLY, 0)) < 0) { in pa_sound_file_load()
|
H A D | cpu-arm.c | 63 if ((fd = pa_open_cloexec("/proc/cpuinfo", O_RDONLY, 0)) < 0) { in get_cpuinfo()
|
H A D | log.c | 164 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 D | pid.c | 88 if ((fd = pa_open_cloexec(fn, mode in open_pid_file()
|
H A D | sound-file-stream.c | 253 if ((fd = pa_open_cloexec(fname, O_RDONLY, 0)) < 0) { in pa_play_file()
|
H A D | core-util.h | 300 int pa_open_cloexec(const char *fn, int flags, mode_t mode);
|
H A D | core-util.c | 1387 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 D | module-cli.c | 106 if ((fd = pa_open_cloexec("/dev/tty", O_RDWR|O_NONBLOCK, 0)) >= 0) { in pa__init()
|
H A D | module-mmkbd-evdev.c | 190 if ((u->fd = pa_open_cloexec(pa_modargs_get_value(ma, "device", DEFAULT_DEVICE), O_RDONLY, 0)) < 0) { in pa__init()
|
H A D | module-pipe-source.c | 251 if ((u->fd = pa_open_cloexec(u->filename, O_RDWR, 0)) < 0) { in pa__init()
|
H A D | module-pipe-sink.c | 475 if ((u->fd = pa_open_cloexec(u->filename, O_RDWR, 0)) < 0) { in pa__init()
|
H A D | module-solaris.c | 344 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 D | pacat.c | 1020 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