Searched refs:IGNORE_EINTR (Results 1 – 21 of 21) sorted by relevance
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()
197 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()
34 if (IGNORE_EINTR(close(descriptor_)) != 0) in ~AsynchronousSignalHandler()
236 result = IGNORE_EINTR(close(fd)); in SyncFileOrDirectory()
50 #define IGNORE_EINTR(x) ({ \ macro64 #define IGNORE_EINTR(x) (x) macro
96 int ret = IGNORE_EINTR(close(fd)); in Close()
91 ASSERT_EQ(0, IGNORE_EINTR(close(fds[0]))); in TEST()
178 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()
30 EXPECT_NE(IGNORE_EINTR(close(duped)), -1); in VerifyClosed()31 EXPECT_NE(IGNORE_EINTR(close(fd)), -1); in VerifyClosed()
31 int ret = IGNORE_EINTR(close(fd)); in Free()
87 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[0]))); in TearDown()88 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[1]))); in TearDown()
42 if (IGNORE_EINTR(close(fd_))) in ~DirReaderLinux()
660 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()
47 #define IGNORE_EINTR(x) ({ \ macro
117 if (IGNORE_EINTR(close(wakeup_pipe_in_)) < 0) in ~MessagePumpLibevent()121 if (IGNORE_EINTR(close(wakeup_pipe_out_)) < 0) in ~MessagePumpLibevent()
42 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
59 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
79 return own_ ? IGNORE_EINTR(close(fd)) : 0; in Close()249 IGNORE_EINTR(close(fd)); in Open()283 IGNORE_EINTR(close(fd)); in CreateTemporary()
146 if (IGNORE_EINTR(close(status_fd)) < 0)
730 int ret = IGNORE_EINTR(close(it->second)); in CloseObjectFiles()
291 int ret = IGNORE_EINTR(close(fd)); in CloseSuperfluousFds()