/art/runtime/interpreter/ |
D | interpreter_switch_impl-inl.h | 154 HANDLER_ATTRIBUTES bool BranchInstrumentation(int32_t offset) { in BranchInstrumentation() argument 156 instrumentation->Branch(self, shadow_frame.GetMethod(), dex_pc, offset); in BranchInstrumentation() 162 offset, in BranchInstrumentation() 186 ALWAYS_INLINE void HandleBackwardBranch(int32_t offset) in HandleBackwardBranch() argument 188 if (IsBackwardBranch(offset)) { in HandleBackwardBranch() 256 HANDLER_ATTRIBUTES bool HandleGoto(int32_t offset) { in HandleGoto() argument 260 if (!BranchInstrumentation(offset)) { in HandleGoto() 263 SetNextInstruction(inst->RelativeAt(offset)); in HandleGoto() 264 HandleBackwardBranch(offset); in HandleGoto() 302 HANDLER_ATTRIBUTES bool HandleIf(bool cond, int32_t offset) { in HandleIf() argument [all …]
|
D | unstarted_runtime.cc | 1210 int offset = shadow_frame->GetVReg(arg_offset + 3); in UnstartedMemoryPeekArray() local 1212 if (offset < 0 || offset + count > array->GetLength()) { in UnstartedMemoryPeekArray() 1214 offset, count, array->GetLength())); in UnstartedMemoryPeekArray() 1224 byte_array->SetWithoutChecks<true>(i + offset, *address); in UnstartedMemoryPeekArray() 1307 jint offset = shadow_frame->GetVReg(arg_offset); in UnstartedStringFactoryNewStringFromChars() local 1316 mirror::String::AllocFromCharArray(self, char_count, h_char_array, offset, allocator)); in UnstartedStringFactoryNewStringFromChars() 1412 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); in UnstartedUnsafeCompareAndSwapLong() local 1422 success = obj->CasFieldStrongSequentiallyConsistent64<true>(MemberOffset(offset), in UnstartedUnsafeCompareAndSwapLong() 1426 success = obj->CasFieldStrongSequentiallyConsistent64<false>(MemberOffset(offset), in UnstartedUnsafeCompareAndSwapLong() 1441 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); in UnstartedUnsafeCompareAndSwapObject() local [all …]
|
/art/libdexfile/dex/ |
D | dex_file.h | 508 uint32_t offset); 513 uint32_t offset); 608 ALWAYS_INLINE const dex::AnnotationItem* GetAnnotationItemAtOffset(uint32_t offset) const { in GetAnnotationItemAtOffset() argument 609 return DataPointer<dex::AnnotationItem>(offset); in GetAnnotationItemAtOffset() 612 ALWAYS_INLINE const dex::HiddenapiClassData* GetHiddenapiClassDataAtOffset(uint32_t offset) in GetHiddenapiClassDataAtOffset() argument 614 return DataPointer<dex::HiddenapiClassData>(offset); in GetHiddenapiClassDataAtOffset() 715 const T* DataPointer(size_t offset) const { in DataPointer() argument 716 DCHECK_LT(offset, DataSize()) << "Offset past end of data section"; in DataPointer() 717 return (offset != 0u) ? reinterpret_cast<const T*>(DataBegin() + offset) : nullptr; in DataPointer()
|
D | dex_file_exception_helpers.h | 59 void Init(const CodeItemDataAccessor& accessor, int32_t offset);
|
D | dex_instruction.h | 246 const Instruction* RelativeAt(int32_t offset) const WARN_UNUSED { in RelativeAt() argument 247 return At(reinterpret_cast<const uint16_t*>(this) + offset); in RelativeAt() 647 uint16_t Fetch16(size_t offset) const { in Fetch16() argument 649 return insns[offset]; in Fetch16() 658 uint32_t Fetch32(size_t offset) const { in Fetch32() argument 659 return (Fetch16(offset) | ((uint32_t) Fetch16(offset + 1) << 16)); in Fetch32()
|
/art/runtime/mirror/ |
D | field.h | 131 void SetOffset(uint32_t offset) REQUIRES_SHARED(Locks::mutator_lock_) { in SetOffset() argument 132 SetField32<kTransactionActive, kCheckTransaction>(OffsetOffset(), offset); in SetOffset()
|
/art/runtime/ |
D | oat_quick_method_header.h | 103 void SetVmapTableOffset(uint32_t offset) { in SetVmapTableOffset() argument 104 vmap_table_offset_ = offset; in SetVmapTableOffset()
|
D | write_barrier.h | 41 MemberOffset offset ATTRIBUTE_UNUSED,
|
D | write_barrier-inl.h | 31 MemberOffset offset ATTRIBUTE_UNUSED, in ForFieldWrite()
|
D | native_stack_dump.cc | 231 uintptr_t offset, in Addr2line() argument 275 const std::string hex_offset = StringPrintf("0x%zx\n", offset); in Addr2line() 381 if (it->map.offset != 0) { in DumpNativeStack() 382 os << StringPrintf(" (offset %" PRIx64 ")", it->map.offset); in DumpNativeStack()
|
/art/libartbase/base/unix_file/ |
D | random_access_file_test.h | 58 int64_t offset = 0; in ReadString() local 59 while ((n = f->Read(buf, sizeof(buf), offset)) > 0) { in ReadString() 61 offset += n; in ReadString()
|
/art/compiler/utils/ |
D | jni_macro_assembler.h | 235 virtual void Jump(ManagedRegister base, Offset offset) = 0; 238 virtual void Call(ManagedRegister base, Offset offset) = 0; 239 virtual void Call(FrameOffset base, Offset offset) = 0; 240 virtual void CallFromThread(ThreadOffset<kPointerSize> offset) = 0;
|
/art/compiler/optimizing/ |
D | instruction_simplifier_shared.cc | 260 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractArrayAccessAddress() local 261 HIntermediateAddress* address = new (allocator) HIntermediateAddress(array, offset, kNoDexPc); in TryExtractArrayAccessAddress() 328 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractVecArrayAccessAddress() local 331 new (allocator) HIntermediateAddressIndex(index, offset, shift, kNoDexPc); in TryExtractVecArrayAccessAddress()
|
D | loop_optimization.cc | 972 HInstruction* x = i->offset; in ShouldVectorize() 973 HInstruction* y = j->offset; in ShouldVectorize() 1005 Alignment alignment = ComputeAlignment(i->offset, i->type, i->is_string_char_at); in ShouldVectorize() 1010 uint32_t offset = alignment.Offset() & (desired_alignment - 1u); in ShouldVectorize() local 1011 uint32_t vote = (offset == 0) in ShouldVectorize() 1013 : ((desired_alignment - offset) >> DataType::SizeShift(i->type)); in ShouldVectorize() 1088 HInstruction* offset = Insert(preheader, new (global_allocator_) HAdd( in Vectorize() local 1089 induc_type, vector_dynamic_peeling_candidate_->offset, adjusted_offset)); in Vectorize() 1091 induc_type, offset, graph_->GetConstant(induc_type, align - 1u))); in Vectorize() 1290 HInstruction* offset = nullptr; in VectorizeDef() local [all …]
|
D | code_generator_arm64.cc | 611 uint32_t offset, in ReadBarrierForHeapReferenceSlowPathARM64() argument 617 offset_(offset), in ReadBarrierForHeapReferenceSlowPathARM64() 1006 auto GetInsn = [&code](uint32_t offset) { in Finalize() argument 1007 DCHECK_ALIGNED(offset, 4u); in Finalize() 1009 (static_cast<uint32_t>(code[offset + 0]) << 0) + in Finalize() 1010 (static_cast<uint32_t>(code[offset + 1]) << 8) + in Finalize() 1011 (static_cast<uint32_t>(code[offset + 2]) << 16)+ in Finalize() 1012 (static_cast<uint32_t>(code[offset + 3]) << 24); in Finalize() 2019 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); in HandleFieldGet() local 2037 offset, in HandleFieldGet() [all …]
|
/art/dex2oat/linker/ |
D | image_writer.cc | 480 auto add_blocks = [&](uint32_t offset, uint32_t size) { in Write() argument 483 block_sources.emplace_back(offset, cur_size); in Write() 484 offset += cur_size; in Write() 614 size_t offset = image_info.GetBinSlotOffset(bin_slot.GetBin()) + bin_slot.GetOffset(); in GetImageOffset() local 615 DCHECK_LT(offset, image_info.image_end_); in GetImageOffset() 616 return offset; in GetImageOffset() 734 size_t offset, in AddDexCacheArrayRelocation() argument 739 NativeObjectRelocation { oat_index, offset, NativeObjectRelocationType::kDexCacheArray }); in AddDexCacheArrayRelocation() 908 size_t offset = lock_word.ForwardingAddress(); in IsImageBinSlotAssigned() local 909 BinSlot bin_slot(offset); in IsImageBinSlotAssigned() [all …]
|
/art/compiler/ |
D | compiled_method.h | 58 size_t AlignCode(size_t offset) const; 59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
|
/art/runtime/gc/collector/ |
D | concurrent_copying.h | 116 void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, mirror::Object* ref) 130 MemberOffset offset = MemberOffset(0)) 167 MemberOffset offset) 183 void Process(mirror::Object* obj, MemberOffset offset) 275 void LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset) 283 std::string DumpHeapReference(mirror::Object* obj, MemberOffset offset, mirror::Object* ref) 296 MemberOffset offset = MemberOffset(0))
|
/art/compiler/utils/x86/ |
D | jni_macro_assembler_x86.cc | 524 void X86JNIMacroAssembler::Jump(ManagedRegister mbase, Offset offset) { in Jump() argument 527 __ jmp(Address(base.AsCpuRegister(), offset.Int32Value())); in Jump() 530 void X86JNIMacroAssembler::Call(ManagedRegister mbase, Offset offset) { in Call() argument 533 __ call(Address(base.AsCpuRegister(), offset.Int32Value())); in Call() 537 void X86JNIMacroAssembler::Call(FrameOffset base, Offset offset) { in Call() argument 540 __ call(Address(scratch, offset)); in Call() 543 void X86JNIMacroAssembler::CallFromThread(ThreadOffset32 offset) { in CallFromThread() argument 544 __ fs()->call(Address::Absolute(offset)); in CallFromThread() 552 void X86JNIMacroAssembler::GetCurrentThread(FrameOffset offset) { in GetCurrentThread() argument 555 __ movl(Address(ESP, offset), scratch); in GetCurrentThread()
|
/art/runtime/interpreter/mterp/arm/ |
D | control_flow.S | 13 FETCH_S rINST, 1 @ rINST<- branch offset, in code units 32 FETCH_S rINST, 1 @ rINST<- branch offset, in code units 134 bl $func @ r0<- code-unit branch offset
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 126 const int32_t offset = resized_annotations->GetLength() - annotations->GetLength(); in Executable_getParameterAnnotationsNative() local 127 if (offset > 0) { in Executable_getParameterAnnotationsNative() 138 for (int i = 0; i < offset; ++i) { in Executable_getParameterAnnotationsNative() 143 resized_annotations->SetWithoutChecks<kTransactionActive>(i + offset, annotation); in Executable_getParameterAnnotationsNative() 148 DCHECK_LT(offset, 0); in Executable_getParameterAnnotationsNative() 150 ObjPtr<mirror::Object> annotation = annotations->GetWithoutChecks(i - offset); in Executable_getParameterAnnotationsNative()
|
/art/compiler/utils/arm64/ |
D | assembler_arm64.h | 98 void SpillRegisters(vixl::aarch64::CPURegList registers, int offset); 99 void UnspillRegisters(vixl::aarch64::CPURegList registers, int offset);
|
/art/runtime/gc/accounting/ |
D | bitmap.h | 47 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { in BitIndexToWordIndex() argument 48 return offset / kBitsPerBitmapWord; in BitIndexToWordIndex()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 526 size_t offset; in WriteTypeDeclaration() local 533 offset = info_.StartTag(DW_TAG_reference_type); in WriteTypeDeclaration() 544 offset = info_.StartTag(DW_TAG_reference_type); in WriteTypeDeclaration() 603 offset = info_.StartTag(DW_TAG_base_type); in WriteTypeDeclaration() 610 type_cache_.emplace(desc, offset); in WriteTypeDeclaration() 611 return offset; in WriteTypeDeclaration() 618 size_t offset = info_.StartTag(dwarf::DW_TAG_class_type); in StartClassTag() local 620 return offset; in StartClassTag()
|
/art/tools/dmtracedump/ |
D | tracedump.cc | 590 int64_t parseVersion(DataKeys* pKeys, int64_t offset, int32_t verbose) { in parseVersion() argument 591 if (offset < 0) return -1; in parseVersion() 593 char* data = pKeys->fileData + offset; in parseVersion() 634 int64_t parseThreads(DataKeys* pKeys, int64_t offset) { in parseThreads() argument 635 if (offset < 0) return -1; in parseThreads() 637 char* data = pKeys->fileData + offset; in parseThreads() 680 int64_t parseMethods(DataKeys* pKeys, int64_t offset) { in parseMethods() argument 681 if (offset < 0) return -1; in parseMethods() 683 char* data = pKeys->fileData + offset; in parseMethods() 779 int64_t parseEnd(DataKeys* pKeys, int64_t offset) { in parseEnd() argument [all …]
|