Searched refs:rc (Results 1 - 16 of 16) 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.cc68 int rc = 0; local
69 rc += sigaction(SIGSEGV, &action, &old_action);
70 CHECK_EQ(rc, 0);
H A Druntime_linux.cc402 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 Dzip_archive.cc84 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local
85 if (rc == -1) {
H A Dutils.cc1886 int rc = stat(filename.c_str(), &stat_buf); local
1887 return rc == 0 ? stat_buf.st_size : -1;
/art/runtime/base/unix_file/
H A Dfd_file.cc146 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 Ddlmalloc.cc69 int rc = madvise(start, length, MADV_DONTNEED); local
70 if (UNLIKELY(rc != 0)) {
71 errno = rc;
/art/dalvikvm/
H A Ddalvikvm.cc190 int rc = InvokeMain(env, &argv[arg_idx]); local
197 rc = EXIT_FAILURE;
203 rc = EXIT_FAILURE;
206 return rc;
/art/runtime/jdwp/
H A Djdwp_handler.cc59 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 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.h39 int rc = call args; \
40 if (UNLIKELY(rc != 0)) { \
41 errno = rc; \
/art/runtime/base/
H A Dmutex.cc349 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 Dlogging.h156 int rc = call args; \
157 if (rc != 0) { \
158 errno = rc; \
/art/runtime/arch/x86/
H A Dthread_x86.cc113 int rc = syscall(__NR_set_thread_area, &gdt_entry); local
114 if (rc != -1) {
/art/runtime/jit/
H A Djit_code_cache.cc48 int rc = mprotect(memory, size, prot); \
49 if (UNLIKELY(rc != 0)) { \
50 errno = rc; \
/art/dex2oat/
H A Ddex2oat.cc379 int rc = call args; \
380 if (rc != 0) { \
381 errno = rc; \
445 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); local
446 if (rc == ETIMEDOUT) {
449 } else if (rc != 0) {

Completed in 2903 milliseconds