/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_common.cc | 472 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 D | fault_handler.cc | 69 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 D | zip_archive.cc | 216 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); local 217 if (rc == -1) {
|
H A D | oat_file_assistant.cc | 1057 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd_, &s)); local 1058 if (rc == -1) {
|
H A D | oat_file.cc | 296 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd, &s)); local 297 if (rc == -1) {
|
/art/libartbase/base/ |
H A D | safe_copy.cc | 70 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 D | utils.h | 240 int rc = function(args...); local 241 if (UNLIKELY(rc != 0)) { 242 errno = rc;
|
/art/libartbase/base/unix_file/ |
H A D | fd_file.cc | 184 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 D | dlmalloc.cc | 75 int rc = madvise(start, length, MADV_DONTNEED); local 76 if (UNLIKELY(rc != 0)) { 77 errno = rc;
|
/art/dalvikvm/ |
H A D | dalvikvm.cc | 190 int rc = InvokeMain(env, &argv[arg_idx]); local 197 rc = EXIT_FAILURE; 203 rc = EXIT_FAILURE; 206 return rc;
|
/art/runtime/jdwp/ |
H A D | jdwp_handler.cc | 62 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 D | jdwp_adb.cc | 192 int rc = TEMP_FAILURE_RETRY(recvmsg(ControlSock(), &msg, 0)); local 194 if (rc <= 0) { 195 if (rc == -1) {
|
/art/runtime/arch/x86/ |
H A D | thread_x86.cc | 114 int rc = syscall(__NR_set_thread_area, &gdt_entry); local 115 if (rc != -1) {
|
/art/runtime/base/ |
H A D | mutex.cc | 421 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 D | sigchain.cc | 151 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 D | dalvik_system_ZygoteHooks.cc | 333 int rc = pthread_getname_np(pthread_self(), name_buf, kMaxProcessNameLength); local 336 if (rc == 0) {
|
/art/dex2oat/ |
H A D | dex2oat.cc | 489 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 D | adbconnection.cc | 476 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); local 478 if (rc <= 0) {
|
/art/runtime/jit/ |
H A D | profile_compilation_info.cc | 2069 off_t rc = TEMP_FAILURE_RETRY(lseek(fd, 0, SEEK_SET)); 2070 if (rc == static_cast<off_t>(-1)) {
|