/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/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 | 155 int rc = function(args...); in CheckedCall() local 156 if (UNLIKELY(rc != 0)) { in CheckedCall()
|
D | zip_archive.cc | 225 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec() 226 if (rc == -1) { in SetCloseOnExec()
|
/art/runtime/ |
D | signal_set.h | 57 int rc = TEMP_FAILURE_RETRY(sigwait64(&set_, &signal_number)); in Wait() local 58 if (rc != 0) { in Wait()
|
D | runtime_common.cc | 533 int rc = 0; in InitPlatformSignalHandlersCommon() local 534 rc += sigaction(SIGABRT, &action, oldact); in InitPlatformSignalHandlersCommon() 535 rc += sigaction(SIGBUS, &action, oldact); in InitPlatformSignalHandlersCommon() 536 rc += sigaction(SIGFPE, &action, oldact); in InitPlatformSignalHandlersCommon() 537 rc += sigaction(SIGILL, &action, oldact); in InitPlatformSignalHandlersCommon() 538 rc += sigaction(SIGPIPE, &action, oldact); in InitPlatformSignalHandlersCommon() 539 rc += sigaction(SIGSEGV, &action, oldact); in InitPlatformSignalHandlersCommon() 541 rc += sigaction(SIGSTKFLT, &action, oldact); in InitPlatformSignalHandlersCommon() 543 rc += sigaction(SIGTRAP, &action, oldact); in InitPlatformSignalHandlersCommon() 546 rc += sigaction(GetTimeoutSignal(), &action, oldact); in InitPlatformSignalHandlersCommon() [all …]
|
D | fault_handler.cc | 71 ssize_t rc = SafeCopy(&cls, method_declaring_class, sizeof(cls)); in SafeGetDeclaringClass() local 72 CHECK_NE(-1, rc); in SafeGetDeclaringClass() 79 if (rc != sizeof(cls)) { in SafeGetDeclaringClass() 90 ssize_t rc = SafeCopy(&cls, obj_cls, sizeof(cls)); in SafeGetClass() local 91 CHECK_NE(-1, rc); in SafeGetClass() 98 if (rc != sizeof(cls)) { in SafeGetClass()
|
D | oat_file_manager.cc | 604 int rc = TEMP_FAILURE_RETRY(stat(fullname.c_str(), &s)); in UnlinkLeastRecentlyUsedVdexIfNeeded() local 605 if (rc == -1) { in UnlinkLeastRecentlyUsedVdexIfNeeded()
|
D | oat_file_assistant.cc | 858 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd_, &s)); in GetFile() local 859 if (rc == -1) { in GetFile()
|
D | oat_file.cc | 306 int rc = TEMP_FAILURE_RETRY(fstat(vdex_fd, &s)); in LoadVdex() local 307 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/artd/ |
D | Android.bp | 48 name: "com.android.art.artd.init.rc", 49 src: "artd.rc", 50 filename: "init.rc",
|
/art/dalvikvm/ |
D | dalvikvm.cc | 191 int rc = InvokeMain(env, &argv[arg_idx]); in dalvikvm() local 198 rc = EXIT_FAILURE; in dalvikvm() 204 rc = EXIT_FAILURE; in dalvikvm() 207 return rc; in dalvikvm()
|
/art/runtime/base/ |
D | mutex.cc | 423 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex() local 424 if (rc != 0) { in ~Mutex() 425 errno = rc; in ~Mutex() 758 int rc = pthread_rwlock_destroy(&rwlock_); in ~ReaderWriterMutex() 759 if (rc != 0) { in ~ReaderWriterMutex() 760 errno = rc; in ~ReaderWriterMutex() 1020 int rc = pthread_cond_destroy(&cond_); in ~ConditionVariable() 1021 if (rc != 0) { in ~ConditionVariable() 1022 errno = rc; in ~ConditionVariable() 1155 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/tools/signal_dumper/ |
D | signal_dumper.cc | 77 int rc = TEMP_FAILURE_RETRY(sigwait(&set_, &signal_number)); in Wait() local 78 if (rc != 0) { in Wait() 469 pid_t rc = TEMP_FAILURE_RETRY(waitpid(pid, &status, WNOHANG)); in WaitForSigStopped() local 470 if (rc == -1) { in WaitForSigStopped() 475 if (rc == pid) { in WaitForSigStopped()
|
/art/sigchainlib/ |
D | sigchain.cc | 158 int rc = pthread_key_create(&key, nullptr); in GetHandlingSignalKey() local 159 if (rc != 0) { in GetHandlingSignalKey() 160 fatal("failed to create sigchain pthread key: %s", strerror(rc)); in GetHandlingSignalKey()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 371 int rc = pthread_getname_np(pthread_self(), name_buf, kMaxProcessNameLength); in ZygoteHooks_nativePostForkChild() local 374 if (rc == 0) { in ZygoteHooks_nativePostForkChild()
|
/art/dex2oat/ |
D | dex2oat.cc | 288 int rc = call args; \ 289 if (rc != 0) { \ 290 errno = rc; \ 391 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait() local 392 if (rc == EINTR) { in Wait() 394 } else if (rc == ETIMEDOUT) { in Wait() 397 } else if (rc != 0) { in Wait() 398 std::string message(StringPrintf("pthread_cond_timedwait failed: %s", strerror(rc))); in Wait() 1298 int rc = TEMP_FAILURE_RETRY(fstat(input_vdex_fd_, &s)); in OpenFile() local 1299 if (rc == -1) { in OpenFile()
|
/art/build/apex/ |
D | Android.bp | 290 "com.android.art.artd.init.rc",
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 2380 off_t rc = TEMP_FAILURE_RETRY(lseek(fd, 0, SEEK_SET)); in IsProfileFile() local 2381 if (rc == static_cast<off_t>(-1)) { in IsProfileFile()
|