/external/google-breakpad/src/common/tests/ |
D | file_utils.cc | 45 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/ |
D | minidump_writer_unittest.cc | 75 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()
|
D | linux_ptrace_dumper_unittest.cc | 409 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/ |
D | crash_generation_client.cc | 75 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()
|
D | crash_generation_server.cc | 121 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/ |
D | exception_handler_unittest.cc | 131 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()
|
D | exception_handler.cc | 520 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/ |
D | eintr_wrapper.h | 39 #define HANDLE_EINTR(x) ({ \ macro
|
D | dump_symbols.cc | 479 ssize_t bytes_read = HANDLE_EINTR(read(debuglink_fd, &buf, kReadSize)); in ReadDebugLink()
|
/external/google-breakpad/src/common/linux/tests/ |
D | auto_testfile.h | 109 ssize_t r = HANDLE_EINTR(write(fd_, text, text_len)); in WriteText()
|
D | crash_generator.cc | 239 if (HANDLE_EINTR(waitpid(pid, &status, 0)) == -1) { in CreateChildCrash()
|
/external/google-breakpad/src/client/linux/microdump_writer/ |
D | microdump_writer_unittest.cc | 64 IGNORE_RET(HANDLE_EINTR(read(fds[0], &b, sizeof(b)))); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 157 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()
|
D | sanitizer_internal_defs.h | 293 #define HANDLE_EINTR(res, f) \ macro
|
D | sanitizer_stoptheworld_linux_libcdep.cc | 135 HANDLE_EINTR(waitpid_status, internal_waitpid(tid, &status, __WALL)); in SuspendThread()
|