/art/runtime/base/unix_file/ |
H A D | fd_file.cc | 72 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local 73 return (rc == -1) ? -errno : rc; 77 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local 78 return (rc == -1) ? -errno : rc; 82 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local 83 return (rc == -1) ? -errno : rc; 88 int rc local 93 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local [all...] |
H A D | mapped_file.cc | 128 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush(); local 129 return rc == -1 ? -errno : 0;
|
/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_linux.cc | 300 int rc = 0; local 301 rc += sigaction(SIGABRT, &action, NULL); 302 rc += sigaction(SIGBUS, &action, NULL); 303 rc += sigaction(SIGFPE, &action, NULL); 304 rc += sigaction(SIGILL, &action, NULL); 305 rc += sigaction(SIGPIPE, &action, NULL); 306 rc += sigaction(SIGSEGV, &action, NULL); 308 rc += sigaction(SIGSTKFLT, &action, NULL); 310 rc += sigaction(SIGTRAP, &action, NULL); 311 CHECK_EQ(rc, [all...] |
H A D | zip_archive.cc | 325 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local 326 if (rc == -1) {
|
/art/runtime/gc/allocator/ |
H A D | dlmalloc.cc | 63 int rc = madvise(start, length, MADV_DONTNEED); local 64 if (UNLIKELY(rc != 0)) { 65 errno = rc;
|
/art/runtime/native/ |
H A D | dalvik_system_Zygote.cc | 150 int rc = setgroups(gids.size(), reinterpret_cast<const gid_t*>(&gids[0])); local 151 if (rc == -1) { 178 int rc = setrlimit(javaRlimit[0], &rlim); local 179 if (rc == -1) { 207 int rc = prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); local 208 if (rc == -1) { 219 int rc = prctl(PR_CAPBSET_DROP, i, 0, 0, 0); local 220 if (rc == -1) { 330 // These paths must already be created by init.rc 452 int rc local [all...] |
/art/dalvikvm/ |
H A D | dalvikvm.cc | 189 int rc = InvokeMain(env, &argv[arg_idx]); local 196 rc = EXIT_FAILURE; 202 rc = EXIT_FAILURE; 205 return rc;
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 68 JdwpError rc = Dbg::GetObjectTag(object_id, tag); local 69 if (rc == ERR_NONE) { 73 return rc; 80 JdwpError rc = WriteTaggedObject(reply, objects[i]); local 81 if (rc != ERR_NONE) { 82 return rc; 442 JdwpError rc = Dbg::GetInstanceCounts(class_ids, counts); local 443 if (rc != ERR_NONE) { 444 return rc; 624 JdwpError rc local 776 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, bytecodes); local 890 JdwpError rc = Dbg::IsCollected(object_id, is_collected); local 904 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, referring_objects); local 1057 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, frame_count); local 1072 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths); local 1105 JdwpError rc = Dbg::GetContendedMonitor(thread_id, contended_monitor); local 1442 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/base/ |
H A D | mutex.cc | 327 int rc = pthread_mutex_destroy(&mutex_); 328 if (rc != 0) { 329 errno = rc; 533 int rc = pthread_rwlock_destroy(&rwlock_); 534 if (rc != 0) { 535 errno = rc; 778 int rc = pthread_cond_destroy(&cond_); 779 if (rc != 0) { 780 errno = rc; 911 int rc local [all...] |
H A D | logging.h | 60 int rc = call args; \ 61 if (rc != 0) { \ 62 errno = rc; \
|
/art/dex2oat/ |
H A D | dex2oat.cc | 438 int rc = call args; \ 439 if (rc != 0) { \ 440 errno = rc; \ 519 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, local 522 if (rc == ETIMEDOUT) { 532 } else if (rc != 0) {
|
/art/runtime/gc/space/ |
H A D | dlmalloc_space.cc | 35 int rc = call args; \ 36 if (UNLIKELY(rc != 0)) { \ 37 errno = rc; \
|
/art/runtime/entrypoints/ |
H A D | entrypoint_utils.cc | 289 int rc = ::art::ThrowNewException(env, WellKnownClasses::java_lang_StackOverflowError, local 291 if (rc != JNI_OK) {
|
/art/runtime/hprof/ |
H A D | hprof.cc | 198 int rc = Flush(); local 199 if (rc != 0) { 200 return rc;
|