/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 | 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()
|
/external/libchrome/base/posix/ |
D | eintr_wrapper.h | 50 #define IGNORE_EINTR(x) ({ \ macro 64 #define IGNORE_EINTR(x) (x) macro
|
D | file_descriptor_shuffle.cc | 96 int ret = IGNORE_EINTR(close(fd)); in Close()
|
D | unix_domain_socket_unittest.cc | 91 ASSERT_EQ(0, IGNORE_EINTR(close(fds[0]))); in TEST()
|
/external/libchrome/base/process/ |
D | process_util_unittest.cc | 964 int ret = IGNORE_EINTR(close(write_pipe)); in MULTIPROCESS_TEST_MAIN() 980 int ret = IGNORE_EINTR(close(fds[1])); in CountOpenFDsInChild() 997 ret = IGNORE_EINTR(close(fds[0])); in CountOpenFDsInChild() 1026 ret = IGNORE_EINTR(close(sockets[0])); in TEST_F() 1028 ret = IGNORE_EINTR(close(sockets[1])); in TEST_F() 1030 ret = IGNORE_EINTR(close(dev_null)); in TEST_F() 1040 CHECK_EQ(0, IGNORE_EINTR(close(STDIN_FILENO))); in MULTIPROCESS_TEST_MAIN() 1041 CHECK_EQ(0, IGNORE_EINTR(close(STDOUT_FILENO))); in MULTIPROCESS_TEST_MAIN() 1042 CHECK_EQ(0, IGNORE_EINTR(close(STDERR_FILENO))); in MULTIPROCESS_TEST_MAIN() 1072 result = IGNORE_EINTR(close(pipe_fds[1])); in TEST_F() [all …]
|
D | launch_posix.cc | 291 int ret = IGNORE_EINTR(close(fd)); in CloseSuperfluousFds()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer_unittest.cc | 91 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 122 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 219 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 252 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 316 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 366 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 415 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 510 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() 603 IGNORE_EINTR(waitpid(child_pid, nullptr, 0)); in TEST() 676 IGNORE_EINTR(waitpid(child, nullptr, 0)); in TEST() [all …]
|
/external/libchrome/base/task_scheduler/ |
D | task_tracker_posix_unittest.cc | 96 EXPECT_EQ(0, IGNORE_EINTR(close(fds[0]))); in TEST_F() 97 EXPECT_EQ(0, IGNORE_EINTR(close(fds[1]))); in TEST_F()
|
D | task_scheduler_impl_unittest.cc | 620 EXPECT_EQ(0, IGNORE_EINTR(close(pipes[0]))); in TEST_F() 621 EXPECT_EQ(0, IGNORE_EINTR(close(pipes[1]))); in TEST_F()
|
/external/libchrome/ipc/ |
D | ipc_message_attachment_set_posix_unittest.cc | 30 EXPECT_NE(IGNORE_EINTR(close(duped)), -1); in VerifyClosed() 31 EXPECT_NE(IGNORE_EINTR(close(fd)), -1); in VerifyClosed()
|
D | ipc_send_fds_test.cc | 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()
|
/external/libchrome/base/files/ |
D | scoped_file.cc | 31 int ret = IGNORE_EINTR(close(fd)); in Free()
|
D | file_descriptor_watcher_posix_unittest.cc | 87 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[0]))); in TearDown() 88 EXPECT_EQ(0, IGNORE_EINTR(close(pipe_fds_[1]))); in TearDown()
|
D | dir_reader_linux.h | 42 if (IGNORE_EINTR(close(fd_))) in ~DirReaderLinux()
|
D | file_path_watcher_kqueue.cc | 93 if (IGNORE_EINTR(close(*fd)) != 0) { in CloseFileDescriptor() 290 if (IGNORE_EINTR(close(kqueue_)) != 0) { in Cancel()
|
D | file_util_posix.cc | 661 return ((fd >= 0) && !IGNORE_EINTR(close(fd))); in CreateTemporaryFileInDir() 827 if (IGNORE_EINTR(close(fd)) < 0) in ReadFile() 839 if (IGNORE_EINTR(close(fd)) < 0) in WriteFile() 876 if (IGNORE_EINTR(close(fd)) < 0) { in AppendToFile()
|
/external/google-breakpad/src/common/linux/ |
D | eintr_wrapper.h | 47 #define IGNORE_EINTR(x) ({ \ macro
|
/external/libchrome/base/message_loop/ |
D | message_pump_libevent_unittest.cc | 48 if (IGNORE_EINTR(close(pipefds_[0])) < 0) in TearDown() 50 if (IGNORE_EINTR(close(pipefds_[1])) < 0) in TearDown()
|
D | message_pump_libevent.cc | 117 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/ |
D | shared_memory_handle_posix.cc | 42 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
|
D | shared_memory_handle_android.cc | 59 if (IGNORE_EINTR(close(file_descriptor_.fd)) < 0) in Close()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 82 return own_ ? IGNORE_EINTR(close(fd)) : 0; in Close() 239 IGNORE_EINTR(close(fd)); in Open() 273 IGNORE_EINTR(close(fd)); in CreateTemporary()
|
/external/libchrome/base/debug/ |
D | debugger_posix.cc | 146 if (IGNORE_EINTR(close(status_fd)) < 0)
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer_unittest.cc | 146 int bytes_read = IGNORE_EINTR(read(err_fd, buf, 1024)); in CrashAndGetMicrodump()
|