Searched refs:rc (Results 1 - 20 of 20) 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_common.cc472 int rc = 0; local
473 rc += sigaction(SIGABRT, &action, oldact);
474 rc += sigaction(SIGBUS, &action, oldact);
475 rc += sigaction(SIGFPE, &action, oldact);
476 rc += sigaction(SIGILL, &action, oldact);
477 rc += sigaction(SIGPIPE, &action, oldact);
478 rc += sigaction(SIGSEGV, &action, oldact);
480 rc += sigaction(SIGSTKFLT, &action, oldact);
482 rc += sigaction(SIGTRAP, &action, oldact);
485 rc
[all...]
H A Dfault_handler.cc69 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); local
70 CHECK_NE(-1, rc);
77 if (rc != sizeof(cls)) {
88 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); local
89 CHECK_NE(-1, rc);
96 if (rc != sizeof(cls)) {
H A Dzip_archive.cc216 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local
217 if (rc == -1) {
H A Doat_file_assistant.cc1057 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd_, &s)); local
1058 if (rc == -1) {
H A Doat_file.cc296 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd, &s)); local
297 if (rc == -1) {
/art/libartbase/base/
H A Dsafe_copy.cc70 ssize_t rc = process_vm_readv(getpid(), &dst_iov, 1, src_iovs, iovecs_used, 0); local
71 if (rc == -1) {
74 return rc;
H A Dutils.h240 int rc = function(args...); local
241 if (UNLIKELY(rc != 0)) {
242 errno = rc;
/art/libartbase/base/unix_file/
H A Dfd_file.cc184 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); local
186 int rc = TEMP_FAILURE_RETRY(fsync(fd_)); local
190 if (rc == 0) {
200 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); local
202 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset));
204 return (rc == -1) ? -errno : rc;
210 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); local
212 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length)); local
215 return (rc
220 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); local
227 int rc = TEMP_FAILURE_RETRY(pwrite64(fd_, buf, byte_count, offset)); local
229 int rc = TEMP_FAILURE_RETRY(pwrite(fd_, buf, byte_count, offset)); local
445 off_t rc = TEMP_FAILURE_RETRY(lseek(fd_, 0, SEEK_SET)); local
[all...]
/art/runtime/gc/allocator/
H A Ddlmalloc.cc75 int rc = madvise(start, length, MADV_DONTNEED); local
76 if (UNLIKELY(rc != 0)) {
77 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.cc62 JdwpError rc = Dbg::GetObjectTag(object_id, &tag); local
63 if (rc == ERR_NONE) {
67 return rc;
74 JdwpError rc = WriteTaggedObject(reply, objects[i]); local
75 if (rc != ERR_NONE) {
76 return rc;
408 JdwpError rc = Dbg::GetInstanceCounts(class_ids, &counts); local
409 if (rc != ERR_NONE) {
410 return rc;
595 JdwpError rc local
756 JdwpError rc = Dbg::GetBytecodes(class_id, method_id, &bytecodes); local
879 JdwpError rc = Dbg::IsCollected(object_id, &is_collected); local
893 JdwpError rc = Dbg::GetReferringObjects(object_id, max_count, &referring_objects); local
1049 JdwpError rc = Dbg::GetThreadFrameCount(thread_id, &frame_count); local
1064 JdwpError rc = Dbg::GetOwnedMonitors(thread_id, &monitors, &stack_depths); local
1097 JdwpError rc = Dbg::GetContendedMonitor(thread_id, &contended_monitor); local
1390 JdwpError rc = Dbg::GetThisObject(thread_id, frame_id, &object_id); local
[all...]
H A Djdwp_adb.cc192 int rc = TEMP_FAILURE_RETRY(recvmsg(ControlSock(), &msg, 0)); local
194 if (rc <= 0) {
195 if (rc == -1) {
/art/runtime/arch/x86/
H A Dthread_x86.cc114 int rc = syscall(__NR_set_thread_area, &gdt_entry); local
115 if (rc != -1) {
/art/runtime/base/
H A Dmutex.cc421 int rc = pthread_mutex_destroy(&mutex_); local
422 if (rc != 0) {
423 errno = rc;
625 int rc = pthread_rwlock_destroy(&rwlock_);
626 if (rc != 0) {
627 errno = rc;
883 int rc = pthread_cond_destroy(&cond_);
884 if (rc != 0) {
885 errno = rc;
1031 int rc local
[all...]
/art/sigchainlib/
H A Dsigchain.cc151 int rc = pthread_key_create(&key, nullptr);
152 if (rc != 0) {
153 fatal("failed to create sigchain pthread key: %s", strerror(rc));
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc333 int rc = pthread_getname_np(pthread_self(), name_buf, kMaxProcessNameLength); local
336 if (rc == 0) {
/art/dex2oat/
H A Ddex2oat.cc489 int rc = call args; \
490 if (rc != 0) { \
491 errno = rc; \
584 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); local
585 if (rc == ETIMEDOUT) {
588 } else if (rc != 0) {
1378 int rc = TEMP_FAILURE_RETRY(fstat(input_vdex_fd_, &s)); local
1379 if (rc == -1) {
/art/adbconnection/
H A Dadbconnection.cc476 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); local
478 if (rc <= 0) {
/art/runtime/jit/
H A Dprofile_compilation_info.cc2069 off_t rc = TEMP_FAILURE_RETRY(lseek(fd, 0, SEEK_SET));
2070 if (rc == static_cast<off_t>(-1)) {

Completed in 268 milliseconds