Home
last modified time | relevance | path

Searched refs:err_fd (Results 1 – 12 of 12) sorted by relevance

/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc92 int err_fd = open(stderr_file.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in CrashAndGetMicrodump() local
93 ASSERT_NE(-1, err_fd); in CrashAndGetMicrodump()
127 ASSERT_NE(-1, dup2(err_fd, STDERR_FILENO)); in CrashAndGetMicrodump()
139 fsync(err_fd); in CrashAndGetMicrodump()
140 lseek(err_fd, 0, SEEK_SET); in CrashAndGetMicrodump()
146 int bytes_read = IGNORE_EINTR(read(err_fd, buf, 1024)); in CrashAndGetMicrodump()
150 close(err_fd); in CrashAndGetMicrodump()
/external/igt-gpu-tools/overlay/x11/
Ddri2.c164 goto err_fd; in dri2_open()
167 goto err_fd; in dri2_open()
171 err_fd: in dri2_open()
Dx11-overlay.c151 goto err_fd; in x11_overlay_create()
173 goto err_fd; in x11_overlay_create()
176 goto err_fd; in x11_overlay_create()
198 goto err_fd; in x11_overlay_create()
295 err_fd: in x11_overlay_create()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_import.c50 goto err_fd; in main()
73 err_fd: in main()
/external/rust/crates/vmm_vhost/src/vhost_user/
Ddummy_slave.rs25 pub err_fd: [Option<RawFd>; MAX_QUEUE_NUM], field
174 if self.err_fd[index as usize].is_some() { in set_vring_err()
176 let _ = unsafe { libc::close(self.err_fd[index as usize].unwrap()) }; in set_vring_err()
178 self.err_fd[index as usize] = fd; in set_vring_err()
/external/igt-gpu-tools/overlay/kms/
Dkms-overlay.c237 goto err_fd; in kms_overlay_create()
260 goto err_fd; in kms_overlay_create()
272 goto err_fd; in kms_overlay_create()
329 err_fd: in kms_overlay_create()
/external/igt-gpu-tools/overlay/
Dconfig.c240 goto err_fd; in config_init_from_file()
243 goto err_fd; in config_init_from_file()
248 err_fd: in config_init_from_file()
/external/dnsmasq/src/
Dhelper.c52 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd) { in create_helper() argument
60 send_event(err_fd, EVENT_PIPE_ERR, errno); in create_helper()
86 send_event(err_fd, EVENT_HUSER_ERR, errno); in create_helper()
Ddnsmasq.h816 int create_helper(int event_fd, int err_fd, uid_t uid, gid_t gid, long max_fd);
/external/selinux/libsemanage/src/
Ddirect_api.c806 int err_fd[2] = {-1, -1}; in semanage_pipe_data() local
838 retval = pipe(err_fd); in semanage_pipe_data()
860 retval = dup2(err_fd[PIPE_WRITE], STDERR_FILENO); in semanage_pipe_data()
876 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
901 retval = close(err_fd[PIPE_WRITE]); in semanage_pipe_data()
902 err_fd[PIPE_WRITE] = -1; in semanage_pipe_data()
933 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
937 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
938 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
977 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
[all …]
/external/libxkbcommon/tools/
Dinteractive-evdev.c122 goto err_fd; in keyboard_new()
129 goto err_fd; in keyboard_new()
159 err_fd: in keyboard_new()
/external/wayland/src/
Dwayland-server.c1473 goto err_fd; in wl_socket_lock()
1480 goto err_fd; in wl_socket_lock()
1488 err_fd: in wl_socket_lock()