/external/libchrome/sandbox/linux/services/ |
D | init_process_reaper.cc | 36 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper() 38 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper() 53 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper() 61 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper() 86 close_ret = IGNORE_EINTR(close(sync_fds[1])); in CreateInitProcessReaper() 92 close_ret = IGNORE_EINTR(close(sync_fds[0])); in CreateInitProcessReaper()
|
D | scoped_process.cc | 47 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); in ScopedProcess() 57 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); in ScopedProcess() 71 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[0]))); in ~ScopedProcess() 74 PCHECK(0 == IGNORE_EINTR(close(pipe_fds_[1]))); in ~ScopedProcess()
|
D | namespace_utils.cc | 52 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in WriteToIdMapFile() 114 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in DenySetgroups()
|
D | proc_util_unittest.cc | 23 ASSERT_EQ(0, IGNORE_EINTR(close(fd))); in TEST()
|
/external/google-breakpad/src/common/tests/ |
D | file_utils.cc | 54 if (IGNORE_EINTR(close(infile)) < 0) { in CopyFile() 87 if (IGNORE_EINTR(close(infile)) == -1) { in CopyFile() 91 if (IGNORE_EINTR(close(outfile)) == -1) { in CopyFile() 115 if (IGNORE_EINTR(close(fd)) == -1) { in ReadFile() 146 if (IGNORE_EINTR(close(fd)) == -1) { in WriteFile()
|
/external/libbrillo/brillo/ |
D | process.cc | 203 IGNORE_EINTR(close(fd)); in CloseUnusedFileDescriptors() 242 IGNORE_EINTR(close(i->second.parent_fd_)); in Start() 248 IGNORE_EINTR(close(i->second.child_fd_)); in Start() 264 IGNORE_EINTR(close(output_handle)); in Start() 301 IGNORE_EINTR(close(i->second.child_fd_)); in Start() 387 IGNORE_EINTR(close(i->second.parent_fd_)); in Reset()
|
D | asynchronous_signal_handler.cc | 34 if (IGNORE_EINTR(close(descriptor_)) != 0) in ~AsynchronousSignalHandler()
|
/external/libchrome/base/posix/ |
D | eintr_wrapper.h | 49 #define IGNORE_EINTR(x) ({ \ macro 63 #define IGNORE_EINTR(x) (x) macro
|
D | file_descriptor_shuffle.cc | 96 int ret = IGNORE_EINTR(close(fd)); in Close()
|
/external/libweave/third_party/chromium/base/posix/ |
D | eintr_wrapper.h | 49 #define IGNORE_EINTR(x) ({ \ macro 63 #define IGNORE_EINTR(x) (x) macro
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | syscall_unittest.cc | 89 int close_return_value = IGNORE_EINTR(Syscall::Call(__NR_close, new_fd)); in TEST() 204 EXPECT_EQ(0, IGNORE_EINTR(Syscall::Call(__NR_close, fd))); in TEST() 239 EXPECT_EQ(0, IGNORE_EINTR(Syscall::Call(__NR_close, fd))); in TEST()
|
/external/tlsdate/src/ |
D | tlsdate-setter.c | 174 IGNORE_EINTR (write (notify_fd, &status, sizeof(status))); in time_setter_coprocess() 177 IGNORE_EINTR (write (notify_fd, &status, sizeof(status))); in time_setter_coprocess()
|
D | util.h | 35 #define IGNORE_EINTR(expr) ({ \ macro
|
D | util.c | 306 ssize_t ret = IGNORE_EINTR (pwrite (fd, buf, sz, 0)); in file_write() 341 ssize_t ret = IGNORE_EINTR (pread (fd, buf, sz, 0)); in file_read()
|
/external/libchrome/base/files/ |
D | scoped_file.cc | 30 PCHECK(0 == IGNORE_EINTR(close(fd))); in Free()
|
D | dir_reader_linux.h | 42 if (IGNORE_EINTR(close(fd_))) in ~DirReaderLinux()
|
D | file_util_posix.cc | 531 return ((fd >= 0) && !IGNORE_EINTR(close(fd))); in CreateTemporaryFileInDir() 685 if (IGNORE_EINTR(close(fd)) < 0) in ReadFile() 697 if (IGNORE_EINTR(close(fd)) < 0) in WriteFile() 734 if (IGNORE_EINTR(close(fd)) < 0) { in AppendToFile()
|
D | file_path_watcher_kqueue.cc | 92 if (IGNORE_EINTR(close(*fd)) != 0) { in CloseFileDescriptor() 379 if (IGNORE_EINTR(close(kqueue_)) != 0) { in CancelOnMessageLoopThread()
|
/external/google-breakpad/src/common/linux/ |
D | eintr_wrapper.h | 47 #define IGNORE_EINTR(x) ({ \ macro
|
/external/tlsdate/src/events/ |
D | save.c | 40 bytes = IGNORE_EINTR (write (fd, &t, sizeof (t))); in action_sync_and_save()
|
D | route_up.c | 29 if (IGNORE_EINTR (read (fd, buf, sizeof (buf))) != sizeof (buf)) in action_stdin_wakeup()
|
D | tlsdate_status.c | 30 ssize_t ret = IGNORE_EINTR (read (fd, &server_time, sizeof (server_time))); in read_tlsdate_response()
|
/external/libbrillo/brillo/message_loops/ |
D | glib_message_loop_unittest.cc | 60 IGNORE_EINTR(close(fd)); in TEST_F()
|
/external/libchrome/base/message_loop/ |
D | message_pump_libevent.cc | 132 if (IGNORE_EINTR(close(wakeup_pipe_in_)) < 0) in ~MessagePumpLibevent() 136 if (IGNORE_EINTR(close(wakeup_pipe_out_)) < 0) in ~MessagePumpLibevent()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 79 return own_ ? IGNORE_EINTR(close(fd)) : 0; in Close() 249 IGNORE_EINTR(close(fd)); in Open() 283 IGNORE_EINTR(close(fd)); in CreateTemporary()
|