Searched refs:rc (Results 1 - 15 of 15) sorted by relevance

/art/runtime/base/unix_file/
H A Dfd_file.cc130 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local
132 int rc = TEMP_FAILURE_RETRY(fsync(fd_));
135 return (rc == -1) ? -errno : rc;
140 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local
142 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset));
144 return (rc == -1) ? -errno : rc;
149 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local
151 int rc
159 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); local
165 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local
[all...]
H A Dmapped_file.cc144 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush(); local
145 return rc == -1 ? -errno : 0;
/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 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...]
H A Dzip_archive.cc83 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local
84 if (rc == -1) {
/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/jdwp/
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
1407 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id); local
[all...]
H A Djdwp_adb.cc162 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 Dmalloc_space.h40 int rc = call args; \
41 if (UNLIKELY(rc != 0)) { \
42 errno = rc; \
/art/runtime/base/
H A Dmutex.cc303 int rc = pthread_mutex_destroy(&mutex_); local
304 if (rc != 0) {
305 errno = rc;
480 int rc = pthread_rwlock_destroy(&rwlock_);
481 if (rc != 0) {
482 errno = rc;
700 int rc = pthread_cond_destroy(&cond_);
701 if (rc != 0) {
702 errno = rc;
836 int rc local
[all...]
H A Dlogging.h62 int rc = call args; \
63 if (rc != 0) { \
64 errno = rc; \
/art/dex2oat/
H A Ddex2oat.cc624 int rc = call args; \
625 if (rc != 0) { \
626 errno = rc; \
697 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); local
698 if (rc == ETIMEDOUT) {
700 } else if (rc != 0) {
/art/runtime/hprof/
H A Dhprof.cc190 int rc = Flush(); local
191 if (rc != 0) {
192 return rc;

Completed in 632 milliseconds