/art/runtime/ |
H A D | signal_set.h | 49 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); local 50 if (rc != 0) {
|
H A D | runtime_android.cc | 68 int rc = 0; local 69 rc += sigaction(SIGSEGV, &action, &old_action); 70 CHECK_EQ(rc, 0);
|
H A D | runtime_linux.cc | 402 int rc = 0; local 403 rc += sigaction(SIGABRT, &action, nullptr); 404 rc += sigaction(SIGBUS, &action, nullptr); 405 rc += sigaction(SIGFPE, &action, nullptr); 406 rc += sigaction(SIGILL, &action, nullptr); 407 rc += sigaction(SIGPIPE, &action, nullptr); 408 rc += sigaction(SIGSEGV, &action, nullptr); 410 rc += sigaction(SIGSTKFLT, &action, nullptr); 412 rc += sigaction(SIGTRAP, &action, nullptr); 415 rc [all...] |
H A D | zip_archive.cc | 84 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local 85 if (rc == -1) {
|
H A D | utils.cc | 1893 int rc = stat(filename.c_str(), &stat_buf); local 1894 return rc == 0 ? stat_buf.st_size : -1;
|
/art/runtime/base/unix_file/ |
H A D | fd_file.cc | 146 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local 148 int rc = TEMP_FAILURE_RETRY(fsync(fd_)); local 151 return (rc == -1) ? -errno : rc; 156 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local 158 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset)); 160 return (rc == -1) ? -errno : rc; 166 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local 168 int rc local 176 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); local 183 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local 185 int rc = TEMP_FAILURE_RETRY(pwrite(fd_, buf, byte_count, offset)); local 364 off_t rc = TEMP_FAILURE_RETRY(lseek(fd_, 0, SEEK_SET)); local [all...] |
/art/runtime/gc/allocator/ |
H A D | dlmalloc.cc | 69 int rc = madvise(start, length, MADV_DONTNEED); local 70 if (UNLIKELY(rc != 0)) { 71 errno = rc;
|
/art/dalvikvm/ |
H A D | dalvikvm.cc | 190 int rc = InvokeMain(env, &argv[arg_idx]); local 197 rc = EXIT_FAILURE; 203 rc = EXIT_FAILURE; 206 return rc;
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 59 JdwpError rc = Dbg::GetObjectTag(object_id, &tag); local 60 if (rc == ERR_NONE) { 64 return rc; 71 JdwpError rc = WriteTaggedObject(reply, objects[i]); local 72 if (rc != ERR_NONE) { 73 return rc; 405 JdwpError rc = Dbg::GetInstanceCounts(class_ids, &counts); local 406 if (rc != ERR_NONE) { 407 return rc; 587 JdwpError rc local 748 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, &bytecodes); local 872 JdwpError rc = Dbg::IsCollected(object_id, &is_collected); local 886 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, &referring_objects); local 1042 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, &frame_count); local 1057 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, &monitors, &stack_depths); local 1090 JdwpError rc = Dbg::GetContendedMonitor(thread_id, &contended_monitor); local 1383 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id); local [all...] |
H A D | jdwp_adb.cc | 162 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); local 164 if (rc <= 0) { 165 if (rc == -1) {
|
/art/runtime/gc/space/ |
H A D | malloc_space.h | 39 int rc = call args; \ 40 if (UNLIKELY(rc != 0)) { \ 41 errno = rc; \
|
/art/runtime/base/ |
H A D | mutex.cc | 349 int rc = pthread_mutex_destroy(&mutex_); local 350 if (rc != 0) { 351 errno = rc; 537 int rc = pthread_rwlock_destroy(&rwlock_); 538 if (rc != 0) { 539 errno = rc; 776 int rc = pthread_cond_destroy(&cond_); 777 if (rc != 0) { 778 errno = rc; 926 int rc local [all...] |
H A D | logging.h | 156 int rc = call args; \ 157 if (rc != 0) { \ 158 errno = rc; \
|
/art/runtime/arch/x86/ |
H A D | thread_x86.cc | 113 int rc = syscall(__NR_set_thread_area, &gdt_entry); local 114 if (rc != -1) {
|
/art/runtime/jit/ |
H A D | jit_code_cache.cc | 49 int rc = mprotect(memory, size, prot); \ 50 if (UNLIKELY(rc != 0)) { \ 51 errno = rc; \
|
/art/dex2oat/ |
H A D | dex2oat.cc | 397 int rc = call args; \ 398 if (rc != 0) { \ 399 errno = rc; \ 463 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); local 464 if (rc == ETIMEDOUT) { 467 } else if (rc != 0) {
|