Home
last modified time | relevance | path

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

/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.cc197 IGNORE_EINTR(close(fd)); in CloseUnusedFileDescriptors()
238 IGNORE_EINTR(close(it.second.parent_fd_)); in Start()
265 IGNORE_EINTR(close(input_handle)); in Start()
283 IGNORE_EINTR(close(output_handle)); in Start()
321 IGNORE_EINTR(close(i.second.child_fd_)); in Start()
405 IGNORE_EINTR(close(i->second.parent_fd_)); in Reset()
Dasynchronous_signal_handler.cc34 if (IGNORE_EINTR(close(descriptor_)) != 0) in ~AsynchronousSignalHandler()
Dfile_utils.cc236 result = IGNORE_EINTR(close(fd)); in SyncFileOrDirectory()
/external/libchrome/base/posix/
Deintr_wrapper.h50 #define IGNORE_EINTR(x) ({ \ macro
64 #define IGNORE_EINTR(x) (x) macro
Dfile_descriptor_shuffle.cc96 int ret = IGNORE_EINTR(close(fd)); in Close()
Dunix_domain_socket_unittest.cc91 ASSERT_EQ(0, IGNORE_EINTR(close(fds[0]))); in TEST()
/external/libchrome/ipc/
Dipc_send_fds_test.cc178 EXPECT_GE(IGNORE_EINTR(close(fd)), 0); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT_WITH_CUSTOM_FIXTURE()
196 ASSERT_LE(0, IGNORE_EINTR(close(fd))); in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT_WITH_CUSTOM_FIXTURE()
Dipc_message_attachment_set_posix_unittest.cc30 EXPECT_NE(IGNORE_EINTR(close(duped)), -1); in VerifyClosed()
31 EXPECT_NE(IGNORE_EINTR(close(fd)), -1); in VerifyClosed()
/external/libchrome/base/files/
Dscoped_file.cc31 int ret = IGNORE_EINTR(close(fd)); in Free()
Dfile_descriptor_watcher_posix_unittest.cc87 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[0]))); in TearDown()
88 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[1]))); in TearDown()
Ddir_reader_linux.h42 if (IGNORE_EINTR(close(fd_))) in ~DirReaderLinux()
Dfile_util_posix.cc660 return ((fd >= 0) && !IGNORE_EINTR(close(fd))); in CreateTemporaryFileInDir()
826 if (IGNORE_EINTR(close(fd)) < 0) in ReadFile()
838 if (IGNORE_EINTR(close(fd)) < 0) in WriteFile()
875 if (IGNORE_EINTR(close(fd)) < 0) { in AppendToFile()
/external/google-breakpad/src/common/linux/
Deintr_wrapper.h47 #define IGNORE_EINTR(x) ({ \ macro
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.cc117 if (IGNORE_EINTR(close(wakeup_pipe_in_)) < 0) in ~MessagePumpLibevent()
121 if (IGNORE_EINTR(close(wakeup_pipe_out_)) < 0) in ~MessagePumpLibevent()
/external/libchrome/base/memory/
Dshared_memory_handle_posix.cc42 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
Dshared_memory_handle_android.cc59 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
/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()
/external/libchrome/base/debug/
Ddebugger_posix.cc146 if (IGNORE_EINTR(close(status_fd)) < 0)
Dstack_trace_posix.cc730 int ret = IGNORE_EINTR(close(it->second)); in CloseObjectFiles()
/external/libchrome/base/process/
Dlaunch_posix.cc291 int ret = IGNORE_EINTR(close(fd)); in CloseSuperfluousFds()