Home
last modified time | relevance | path

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

/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc57 int err_fd = open(stderr_file.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in TEST() local
58 ASSERT_NE(-1, err_fd); in TEST()
99 ASSERT_NE(-1, dup2(err_fd, STDERR_FILENO)); in TEST()
108 fsync(err_fd); in TEST()
109 lseek(err_fd, 0, SEEK_SET); in TEST()
112 ASSERT_GT(read(err_fd, buf.get(), kBufSize), 0); in TEST()
129 close(err_fd); in TEST()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dionapp_import.c59 goto err_fd; in main()
82 err_fd: in main()
/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/libxkbcommon/xkbcommon/test/
Dinteractive-evdev.c112 goto err_fd; in keyboard_new()
119 goto err_fd; in keyboard_new()
149 err_fd: in keyboard_new()
/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/wayland/src/
Dwayland-server.c1172 goto err_fd; in wl_socket_lock()
1179 goto err_fd; in wl_socket_lock()
1187 err_fd: in wl_socket_lock()