Home
last modified time | relevance | path

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

12

/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()
/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/base/process/
Dprocess_util_unittest.cc964 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 …]
Dlaunch_posix.cc291 int ret = IGNORE_EINTR(close(fd)); in CloseSuperfluousFds()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest.cc91 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/
Dtask_tracker_posix_unittest.cc96 EXPECT_EQ(0, IGNORE_EINTR(close(fds[0]))); in TEST_F()
97 EXPECT_EQ(0, IGNORE_EINTR(close(fds[1]))); in TEST_F()
Dtask_scheduler_impl_unittest.cc620 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/
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()
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()
/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_path_watcher_kqueue.cc93 if (IGNORE_EINTR(close(*fd)) != 0) { in CloseFileDescriptor()
290 if (IGNORE_EINTR(close(kqueue_)) != 0) { in Cancel()
Dfile_util_posix.cc661 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/
Deintr_wrapper.h47 #define IGNORE_EINTR(x) ({ \ macro
/external/libchrome/base/message_loop/
Dmessage_pump_libevent_unittest.cc48 if (IGNORE_EINTR(close(pipefds_[0])) < 0) in TearDown()
50 if (IGNORE_EINTR(close(pipefds_[1])) < 0) in TearDown()
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.cc82 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/
Ddebugger_posix.cc146 if (IGNORE_EINTR(close(status_fd)) < 0)
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc146 int bytes_read = IGNORE_EINTR(read(err_fd, buf, 1024)); in CrashAndGetMicrodump()

12