Searched defs:rc (Results 1 - 13 of 13) sorted by relevance

/art/runtime/
H A Dsignal_set.h49 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); local
50 if (rc != 0) {
H A Druntime_android.cc69 int rc = 0; local
70 rc += sigaction(SIGSEGV, &action, &old_action);
71 CHECK_EQ(rc, 0);
H A Dzip_archive.cc83 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local
84 if (rc == -1) {
H A Druntime_linux.cc355 int rc = 0; local
356 rc += sigaction(SIGABRT, &action, NULL);
357 rc += sigaction(SIGBUS, &action, NULL);
358 rc += sigaction(SIGFPE, &action, NULL);
359 rc += sigaction(SIGILL, &action, NULL);
360 rc += sigaction(SIGPIPE, &action, NULL);
361 rc += sigaction(SIGSEGV, &action, NULL);
363 rc += sigaction(SIGSTKFLT, &action, NULL);
365 rc += sigaction(SIGTRAP, &action, NULL);
366 CHECK_EQ(rc,
[all...]
/art/runtime/gc/allocator/
H A Ddlmalloc.cc63 int rc = madvise(start, length, MADV_DONTNEED); local
64 if (UNLIKELY(rc != 0)) {
65 errno = rc;
/art/dalvikvm/
H A Ddalvikvm.cc189 int rc = InvokeMain(env, &argv[arg_idx]); local
196 rc = EXIT_FAILURE;
202 rc = EXIT_FAILURE;
205 return rc;
/art/runtime/base/unix_file/
H A Dmapped_file.cc133 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush(); local
134 return rc == -1 ? -errno : 0;
H A Dfd_file.cc73 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local
75 int rc = TEMP_FAILURE_RETRY(fsync(fd_));
77 return (rc == -1) ? -errno : rc;
82 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local
84 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset));
86 return (rc == -1) ? -errno : rc;
91 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local
93 int rc
100 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); local
106 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local
[all...]
/art/runtime/jdwp/
H A Djdwp_adb.cc162 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); local
164 if (rc <= 0) {
165 if (rc == -1) {
H A Djdwp_handler.cc68 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;
451 JdwpError rc = Dbg::GetInstanceCounts(class_ids, counts); local
452 if (rc != ERR_NONE) {
453 return rc;
633 JdwpError rc local
785 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, bytecodes); local
899 JdwpError rc = Dbg::IsCollected(object_id, is_collected); local
913 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, referring_objects); local
1072 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, frame_count); local
1087 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, monitors, stack_depths); local
1120 JdwpError rc = Dbg::GetContendedMonitor(thread_id, contended_monitor); local
1441 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id); local
[all...]
/art/runtime/base/
H A Dmutex.cc293 int rc = pthread_mutex_destroy(&mutex_);
294 if (rc != 0) {
295 errno = rc;
472 int rc = pthread_rwlock_destroy(&rwlock_);
473 if (rc != 0) {
474 errno = rc;
686 int rc = pthread_cond_destroy(&cond_);
687 if (rc != 0) {
688 errno = rc;
822 int rc local
[all...]
/art/dex2oat/
H A Ddex2oat.cc592 int rc = call args; \
593 if (rc != 0) { \
594 errno = rc; \
673 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, local
676 if (rc == ETIMEDOUT) {
686 } else if (rc != 0) {
/art/runtime/hprof/
H A Dhprof.cc189 int rc = Flush(); local
190 if (rc != 0) {
191 return rc;

Completed in 206 milliseconds