/art/libartbase/base/ |
D | safe_copy.cc | 72 ssize_t rc = process_vm_readv(getpid(), &dst_iov, 1, src_iovs, iovecs_used, 0); in SafeCopy() local 73 if (rc == -1) { in SafeCopy() 76 return rc; in SafeCopy()
|
D | utils.h | 143 int rc = function(args...); in CheckedCall() local 144 if (UNLIKELY(rc != 0)) { in CheckedCall()
|
D | zip_archive.cc | 217 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec() 218 if (rc == -1) { in SetCloseOnExec()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 348 int rc = TEMP_FAILURE_RETRY(fdatasync(fd_)); in Flush() local 350 int rc = TEMP_FAILURE_RETRY(fsync(fd_)); in Flush() local 354 if (rc == 0) { in Flush() 364 int rc = TEMP_FAILURE_RETRY(pread64(fd_, buf, byte_count, offset)); in Read() local 366 int rc = TEMP_FAILURE_RETRY(pread(fd_, buf, byte_count, offset)); in Read() 368 return (rc == -1) ? -errno : rc; in Read() 374 int rc = TEMP_FAILURE_RETRY(ftruncate64(fd_, new_length)); in SetLength() local 376 int rc = TEMP_FAILURE_RETRY(ftruncate(fd_, new_length)); in SetLength() local 379 return (rc == -1) ? -errno : rc; in SetLength() 384 int rc = TEMP_FAILURE_RETRY(fstat(fd_, &s)); in GetLength() local [all …]
|
/art/runtime/ |
D | signal_set.h | 49 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); in Wait() local 50 if (rc != 0) { in Wait()
|
D | runtime_common.cc | 523 int rc = 0; in InitPlatformSignalHandlersCommon() local 524 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon() 525 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon() 526 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon() 527 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon() 528 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon() 529 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon() 531 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon() 533 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon() 536 rc += sigaction(GetTimeoutSignal(), &action, oldact); in InitPlatformSignalHandlersCommon() [all …]
|
D | fault_handler.cc | 68 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass() local 69 CHECK_NE(-1, rc); in SafeGetDeclaringClass() 76 if (rc != sizeof(cls)) { in SafeGetDeclaringClass() 87 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass() local 88 CHECK_NE(-1, rc); in SafeGetClass() 95 if (rc != sizeof(cls)) { in SafeGetClass()
|
D | oat_file_assistant.cc | 771 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd_, &s)); in Status() local 772 if (rc == -1) { in Status()
|
D | oat_file_manager.cc | 844 int rc = TEMP_FAILURE_RETRY(stat(fullname.c_str(), &s)); in UnlinkLeastRecentlyUsedVdexIfNeeded() local 845 if (rc == -1) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
|
D | oat_file.cc | 297 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd, &s)); in LoadVdex() local 298 if (rc == -1) { in LoadVdex()
|
/art/runtime/gc/allocator/ |
D | dlmalloc.cc | 76 int rc = madvise(start, length, MADV_DONTNEED); in DlmallocMadviseCallback() local 77 if (UNLIKELY(rc != 0)) { in DlmallocMadviseCallback() 78 errno = rc; in DlmallocMadviseCallback()
|
/art/dalvikvm/ |
D | dalvikvm.cc | 190 int rc = InvokeMain(env, &argv[arg_idx]); in dalvikvm() local 197 rc = EXIT_FAILURE; in dalvikvm() 203 rc = EXIT_FAILURE; in dalvikvm() 206 return rc; in dalvikvm()
|
/art/runtime/jdwp/ |
D | jdwp_handler.cc | 62 JdwpError rc = Dbg::GetObjectTag(object_id, &tag); in WriteTaggedObject() local 63 if (rc == ERR_NONE) { in WriteTaggedObject() 67 return rc; in WriteTaggedObject() 74 JdwpError rc = WriteTaggedObject(reply, objects[i]); in WriteTaggedObjectList() local 75 if (rc != ERR_NONE) { in WriteTaggedObjectList() 76 return rc; in WriteTaggedObjectList() 407 JdwpError rc = Dbg::GetInstanceCounts(class_ids, &counts); in VM_InstanceCounts() local 408 if (rc != ERR_NONE) { in VM_InstanceCounts() 409 return rc; in VM_InstanceCounts() 594 JdwpError rc = Dbg::GetInstances(class_id, max_count, &instances); in RT_Instances() local [all …]
|
D | jdwp_adb.cc | 189 int rc = TEMP_FAILURE_RETRY(recvmsg(ControlSock(), &msg, 0)); in ReceiveClientFd() local 191 if (rc <= 0) { in ReceiveClientFd() 192 if (rc == -1) { in ReceiveClientFd()
|
/art/runtime/base/ |
D | mutex.cc | 351 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex() local 352 if (rc != 0) { in ~Mutex() 353 errno = rc; in ~Mutex() 563 int rc = pthread_rwlock_destroy(&rwlock_); in ~ReaderWriterMutex() 564 if (rc != 0) { in ~ReaderWriterMutex() 565 errno = rc; in ~ReaderWriterMutex() 821 int rc = pthread_cond_destroy(&cond_); in ~ConditionVariable() 822 if (rc != 0) { in ~ConditionVariable() 823 errno = rc; in ~ConditionVariable() 966 int rc; in TimedWait() local [all …]
|
/art/runtime/arch/x86/ |
D | thread_x86.cc | 114 int rc = syscall(__NR_set_thread_area, &gdt_entry); in InitCpu() local 115 if (rc != -1) { in InitCpu()
|
/art/build/apex/ |
D | art_preinstall_hook_system_server.sh | 32 SYSTEMSERVERCLASSPATH=`grep "export SYSTEMSERVERCLASSPATH" init.environ.rc | sed -e "s/.* //"`
|
D | Android.bp | 413 init_rc: ["art_apex_boot_integrity.rc"],
|
/art/tools/timeout_dumper/ |
D | timeout_dumper.cc | 76 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); in Wait() local 77 if (rc != 0) { in Wait() 490 pid_t rc = TEMP_FAILURE_RETRY(waitpid(pid, &status, WNOHANG)); in WaitForSigStopped() local 491 if (rc == -1) { in WaitForSigStopped() 496 if (rc == pid) { in WaitForSigStopped()
|
/art/sigchainlib/ |
D | sigchain.cc | 130 int rc = pthread_key_create(&key, nullptr); in GetHandlingSignalKey() local 131 if (rc != 0) { in GetHandlingSignalKey() 132 fatal("failed to create sigchain pthread key: %s", strerror(rc)); in GetHandlingSignalKey()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 345 int rc = pthread_getname_np(pthread_self(), name_buf, kMaxProcessNameLength); in ZygoteHooks_nativePostForkChild() local 348 if (rc == 0) { in ZygoteHooks_nativePostForkChild()
|
/art/dex2oat/ |
D | dex2oat.cc | 511 int rc = call args; \ 512 if (rc != 0) { \ 513 errno = rc; \ 614 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait() local 615 if (rc == EINTR) { in Wait() 617 } else if (rc == ETIMEDOUT) { in Wait() 620 } else if (rc != 0) { in Wait() 621 std::string message(StringPrintf("pthread_cond_timedwait failed: %s", strerror(rc))); in Wait() 1320 int rc = TEMP_FAILURE_RETRY(fstat(input_vdex_fd_, &s)); in OpenFile() local 1321 if (rc == -1) { in OpenFile()
|
/art/adbconnection/ |
D | adbconnection.cc | 476 int rc = TEMP_FAILURE_RETRY(recvmsg(control_sock_, &msg, 0)); in ReadFdFromAdb() local 478 if (rc <= 0) { in ReadFdFromAdb()
|