Home
last modified time | relevance | path

Searched refs:IGNORE_EINTR (Results 1 – 25 of 34) sorted by relevance

12

/external/libchrome/sandbox/linux/services/
Dinit_process_reaper.cc36 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()
Dscoped_process.cc47 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()
Dnamespace_utils.cc52 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in WriteToIdMapFile()
114 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in DenySetgroups()
Dproc_util_unittest.cc23 ASSERT_EQ(0, IGNORE_EINTR(close(fd))); in TEST()
/external/google-breakpad/src/common/tests/
Dfile_utils.cc54 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/
Dprocess.cc203 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()
Dasynchronous_signal_handler.cc34 if (IGNORE_EINTR(close(descriptor_)) != 0) in ~AsynchronousSignalHandler()
/external/libchrome/base/posix/
Deintr_wrapper.h49 #define IGNORE_EINTR(x) ({ \ macro
63 #define IGNORE_EINTR(x) (x) macro
Dfile_descriptor_shuffle.cc96 int ret = IGNORE_EINTR(close(fd)); in Close()
/external/libweave/third_party/chromium/base/posix/
Deintr_wrapper.h49 #define IGNORE_EINTR(x) ({ \ macro
63 #define IGNORE_EINTR(x) (x) macro
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsyscall_unittest.cc89 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/
Dtlsdate-setter.c174 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()
Dutil.h35 #define IGNORE_EINTR(expr) ({ \ macro
Dutil.c306 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/
Dscoped_file.cc30 PCHECK(0 == IGNORE_EINTR(close(fd))); in Free()
Ddir_reader_linux.h42 if (IGNORE_EINTR(close(fd_))) in ~DirReaderLinux()
Dfile_util_posix.cc531 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()
Dfile_path_watcher_kqueue.cc92 if (IGNORE_EINTR(close(*fd)) != 0) { in CloseFileDescriptor()
379 if (IGNORE_EINTR(close(kqueue_)) != 0) { in CancelOnMessageLoopThread()
/external/google-breakpad/src/common/linux/
Deintr_wrapper.h47 #define IGNORE_EINTR(x) ({ \ macro
/external/tlsdate/src/events/
Dsave.c40 bytes = IGNORE_EINTR (write (fd, &t, sizeof (t))); in action_sync_and_save()
Droute_up.c29 if (IGNORE_EINTR (read (fd, buf, sizeof (buf))) != sizeof (buf)) in action_stdin_wakeup()
Dtlsdate_status.c30 ssize_t ret = IGNORE_EINTR (read (fd, &server_time, sizeof (server_time))); in read_tlsdate_response()
/external/libbrillo/brillo/message_loops/
Dglib_message_loop_unittest.cc60 IGNORE_EINTR(close(fd)); in TEST_F()
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc132 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/
Dfile_stream.cc79 return own_ ? IGNORE_EINTR(close(fd)) : 0; in Close()
249 IGNORE_EINTR(close(fd)); in Open()
283 IGNORE_EINTR(close(fd)); in CreateTemporary()

12