Home
last modified time | relevance | path

Searched refs:HANDLE_EINTR (Results 1 – 15 of 15) sorted by relevance

/external/google-breakpad/src/common/tests/
Dfile_utils.cc45 int infile = HANDLE_EINTR(open(from_path, O_RDONLY)); in CopyFile()
51 int outfile = HANDLE_EINTR(creat(to_path, 0666)); in CopyFile()
64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); in CopyFile()
74 ssize_t bytes_written_partial = HANDLE_EINTR(write( in CopyFile()
100 int fd = HANDLE_EINTR(open(path, O_RDONLY)); in ReadFile()
109 *buffer_size = HANDLE_EINTR(read(fd, buffer, *buffer_size)); in ReadFile()
123 int fd = HANDLE_EINTR(open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRWXU)); in WriteFile()
136 HANDLE_EINTR(write(fd, data + bytes_written_total, in WriteFile()
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer_unittest.cc75 IGNORE_RET(HANDLE_EINTR(read(fds[0], &b, sizeof(b)))); in TEST()
104 HANDLE_EINTR(read(fds[0], &b, sizeof(b))); in TEST()
169 IGNORE_RET(HANDLE_EINTR(read(fds[0], &b, sizeof(b)))); in TEST()
290 IGNORE_RET(HANDLE_EINTR(read(fds[0], &b, sizeof(b)))); in TEST()
379 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000)); in TEST()
383 const int nr = HANDLE_EINTR(read(fds[0], &junk, sizeof(junk))); in TEST()
456 HANDLE_EINTR(read(fds[0], &b, sizeof(b))); in TEST()
514 HANDLE_EINTR(read(fds[0], &b, sizeof(b))); in TEST()
623 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000)); in TEST()
Dlinux_ptrace_dumper_unittest.cc409 const int r = HANDLE_EINTR(poll(&pfd, 1, 1000));
464 ASSERT_NE(-1, HANDLE_EINTR(waitpid(child_pid, &status, 0)));
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_client.cc75 ssize_t ret = HANDLE_EINTR(sys_sendmsg(server_fd_, &msg, 0)); in RequestDump()
84 IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); in RequestDump()
Dcrash_generation_server.cc121 HANDLE_EINTR(write(control_pipe_out_, &kCommandQuit, 1)); in Stop()
218 const ssize_t msg_size = HANDLE_EINTR(recvmsg(server_fd_, &msg, 0)); in ClientEvent()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc131 ASSERT_NE(HANDLE_EINTR(waitpid(process_id, &status, 0)), -1); in WaitForProcessToTerminate()
143 const int r = HANDLE_EINTR(poll(&pfd, 1, 0)); in ReadMinidumpPathFromPipe()
188 IGNORE_RET(HANDLE_EINTR(sys_write(fd, &len, sizeof(len)))); in DoneCallback()
189 IGNORE_RET(HANDLE_EINTR(sys_write(fd, descriptor.path(), len))); in DoneCallback()
913 ssize_t ret = HANDLE_EINTR(sys_sendmsg(fd, &msg, 0)); in CrashHandler()
919 IGNORE_RET(HANDLE_EINTR(sys_read(fds[0], &b, 1))); in CrashHandler()
955 const ssize_t n = HANDLE_EINTR(recvmsg(fds[0], &msg, 0)); in TEST()
987 ASSERT_EQ(1, (HANDLE_EINTR(write(signal_fd, &b, 1)))); in TEST()
1162 HANDLE_EINTR(read(fds[0], &b, sizeof(b))); in TEST()
Dexception_handler.cc520 const int r = HANDLE_EINTR(sys_waitpid(child, &status, __WALL)); in GenerateDump()
542 r = HANDLE_EINTR(sys_write(fdes[1], &okToContinueMessage, sizeof(char))); in SendContinueSignalToChild()
557 r = HANDLE_EINTR(sys_read(fdes[0], &receivedMessage, sizeof(char))); in WaitForContinueSignal()
/external/google-breakpad/src/common/linux/
Deintr_wrapper.h39 #define HANDLE_EINTR(x) ({ \ macro
Ddump_symbols.cc479 ssize_t bytes_read = HANDLE_EINTR(read(debuglink_fd, &buf, kReadSize)); in ReadDebugLink()
/external/google-breakpad/src/common/linux/tests/
Dauto_testfile.h109 ssize_t r = HANDLE_EINTR(write(fd_, text, text_len)); in WriteText()
Dcrash_generator.cc239 if (HANDLE_EINTR(waitpid(pid, &status, 0)) == -1) { in CreateChildCrash()
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer_unittest.cc64 IGNORE_RET(HANDLE_EINTR(read(fds[0], &b, sizeof(b)))); in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc157 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(read), fd, (uptr)buf, in internal_read()
164 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(write), fd, (uptr)buf, in internal_write()
171 HANDLE_EINTR(res, (sptr)internal_syscall(SYSCALL(ftruncate), fd, in internal_ftruncate()
Dsanitizer_internal_defs.h293 #define HANDLE_EINTR(res, f) \ macro
Dsanitizer_stoptheworld_linux_libcdep.cc135 HANDLE_EINTR(waitpid_status, internal_waitpid(tid, &status, __WALL)); in SuspendThread()