/art/compiler/jni/quick/x86_64/ |
H A D | calling_convention_x86_64.cc | 101 itr_slots_ * sizeof(uint32_t)); // offset into in args 191 size_t offset = itr_args_ local 194 return FrameOffset(displacement_.Int32Value() - OutArgSize() + (offset * kFramePointerSize));
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_arm_base.cc | 27 uint32_t ArmBaseRelativePatcher::ReserveSpace(uint32_t offset, argument 30 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); 33 uint32_t ArmBaseRelativePatcher::ReserveSpaceEnd(uint32_t offset) { argument 37 // offset after reserving of writing any chunk. 38 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set_); 49 offset = CompiledMethod::AlignCode(aligned_offset + thunk_code_.size(), instruction_set_); 51 return offset; 54 uint32_t ArmBaseRelativePatcher::WriteThunks(OutputStream* out, uint32_t offset) { argument 56 return offset; 58 uint32_t aligned_offset = CompiledMethod::AlignCode(offset, instruction_set 90 ReserveSpaceInternal(uint32_t offset, const CompiledMethod* compiled_method, MethodReference method_ref, uint32_t max_extra_space) argument [all...] |
H A D | relative_patcher_thumb2.cc | 96 void Thumb2RelativePatcher::SetInsn32(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { argument 97 DCHECK_LE(offset + 4u, code->size()); 98 DCHECK_EQ(offset & 1u, 0u); 99 uint8_t* addr = &(*code)[offset]; 106 uint32_t Thumb2RelativePatcher::GetInsn32(ArrayRef<const uint8_t> code, uint32_t offset) { argument 107 DCHECK_LE(offset + 4u, code.size()); 108 DCHECK_EQ(offset & 1u, 0u); 109 const uint8_t* addr = &code[offset]; 118 uint32_t Thumb2RelativePatcher::GetInsn32(Vector* code, uint32_t offset) { argument 120 return GetInsn32(ArrayRef<const uint8_t>(*code), offset); [all...] |
/art/compiler/linker/ |
H A D | multi_oat_relative_patcher.h | 48 // The adjustment should be the global offset of the base from which relative 51 // with value 0 because this value is used as a missing offset indication in 56 // Get relative offset. Returns 0 when the offset has not been set yet. 62 // Set the offset. 63 void SetOffset(MethodReference method_ref, uint32_t offset) { argument 64 method_offset_map_.map.Put(method_ref, offset + adjustment_); 67 // Wrapper around RelativePatcher::ReserveSpace(), doing offset adjustment. 68 uint32_t ReserveSpace(uint32_t offset, argument 71 offset 78 ReserveSpaceEnd(uint32_t offset) argument 86 WriteThunks(OutputStream* out, uint32_t offset) argument [all...] |
/art/compiler/optimizing/ |
H A D | instruction_simplifier_arm64.cc | 58 HIntConstant* offset = local 61 new (arena) HArm64IntermediateAddress(array, offset, kNoDexPc);
|
H A D | nodes_arm64.h | 102 HArm64IntermediateAddress(HInstruction* base_address, HInstruction* offset, uint32_t dex_pc) argument 105 SetRawInputAt(1, offset);
|
/art/compiler/utils/arm/ |
H A D | assembler_thumb2_test.cc | 284 int32_t offset = 4092; local 285 ASSERT_TRUE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 287 __ StoreToOffset(type, arm::R0, arm::SP, offset); 288 __ StoreToOffset(type, arm::IP, arm::SP, offset); 289 __ StoreToOffset(type, arm::IP, arm::R5, offset); 300 int32_t offset = 4096; local 301 ASSERT_FALSE(arm::Address::CanHoldStoreOffsetThumb(type, offset)); 303 __ StoreToOffset(type, arm::R0, arm::SP, offset); 304 __ StoreToOffset(type, arm::IP, arm::SP, offset); 305 __ StoreToOffset(type, arm::IP, arm::R5, offset); 325 int32_t offset = 1020; local 349 int32_t offset = 1024; local [all...] |
/art/disassembler/ |
H A D | disassembler_mips.cc | 435 case 'B': // Branch offset. 437 int32_t offset = static_cast<int16_t>(instruction & 0xffff); local 438 offset <<= 2; 439 offset += 4; // Delay slot. 440 args << FormatInstructionPointer(instr_ptr + offset) 441 << StringPrintf(" ; %+d", offset); 444 case 'b': // 21-bit branch offset. 446 int32_t offset = (instruction & 0x1fffff) - ((instruction & 0x100000) << 1); local 447 offset <<= 2; 448 offset 492 int32_t offset = static_cast<int16_t>(instruction) >> 7; local 498 int32_t offset = static_cast<int16_t>(instruction & 0xffff); local 512 int32_t offset = (instruction & 0x3ffffff) - ((instruction & 0x2000000) << 1); local 521 int32_t offset = (instruction & 0x7ffff) - ((instruction & 0x40000) << 1); local 554 uint32_t offset = (last_instr_ << 16) | (instruction & 0xFFFF); local [all...] |
/art/runtime/base/unix_file/ |
H A D | random_access_file_test.h | 58 int64_t offset = 0; local 59 while ((n = f->Read(buf, sizeof(buf), offset)) > 0) { 61 offset += n; 86 // Can't read from a negative offset. 144 // Can't write to a negative offset.
|
/art/runtime/ |
H A D | dex_file-inl.h | 45 inline const DexFile::TryItem* DexFile::GetTryItems(const CodeItem& code_item, uint32_t offset) { argument 48 (RoundUp(reinterpret_cast<uintptr_t>(insns_end_), 4)) + offset;
|
/art/runtime/gc/accounting/ |
H A D | bitmap.h | 48 // offset is the difference from base to a index. 49 static ALWAYS_INLINE constexpr size_t BitIndexToWordIndex(uintptr_t offset) { argument 50 return offset / kBitsPerBitmapWord;
|
H A D | card_table.cc | 78 // kCardDirty, compute a offset value to make this the case 79 size_t offset = 0; local 85 offset = delta + (delta < 0 ? 0x100 : 0); 86 biased_begin += offset; 89 return new CardTable(mem_map.release(), biased_begin, offset); 92 CardTable::CardTable(MemMap* mem_map, uint8_t* biased_begin, size_t offset) argument 93 : mem_map_(mem_map), biased_begin_(biased_begin), offset_(offset) {
|
H A D | card_table_test.cc | 65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); local 66 return 1 + offset % 254;
|
H A D | space_bitmap-inl.h | 36 const uintptr_t offset = addr - heap_begin_; local 37 const size_t index = OffsetToIndex(offset); 38 const uintptr_t mask = OffsetToMask(offset); 60 const uintptr_t offset = addr - heap_begin_; local 61 return (bitmap_begin_[OffsetToIndex(offset)] & OffsetToMask(offset)) != 0; 163 const uintptr_t offset = addr - heap_begin_; local 164 const size_t index = OffsetToIndex(offset); 165 const uintptr_t mask = OffsetToMask(offset);
|
H A D | space_bitmap.h | 59 // <offset> is the difference from .base to a pointer address. 61 // <offset>. 62 static constexpr size_t OffsetToIndex(size_t offset) { argument 63 return offset / kAlignment / kBitsPerIntPtrT; 72 static constexpr uintptr_t OffsetToMask(uintptr_t offset) { argument 73 return (static_cast<size_t>(1)) << ((offset / kAlignment) % kBitsPerIntPtrT); 95 // If obj < heap_begin_ then offset underflows to some very large value past the end of the 97 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; local 98 const size_t index = OffsetToIndex(offset);
|
H A D | space_bitmap_test.cc | 127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); variable 131 space_bitmap->Set(reinterpret_cast<mirror::Object*>(heap_begin + offset)); 133 space_bitmap->Clear(reinterpret_cast<mirror::Object*>(heap_begin + offset)); 141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); variable 142 size_t remain = heap_capacity - offset; 143 size_t end = offset + RoundDown(r.next() % (remain + 1), kAlignment); 145 space_bitmap->VisitMarkedRange(reinterpret_cast<uintptr_t>(heap_begin) + offset, 149 for (uintptr_t k = offset; k < end; k += kAlignment) {
|
/art/test/004-checker-UnsafeTest18/src/ |
H A D | Main.java | 53 private static int set32(Object o, long offset, int newValue) { argument 54 return unsafe.getAndSetInt(o, offset, newValue); 60 private static long set64(Object o, long offset, long newValue) { argument 61 return unsafe.getAndSetLong(o, offset, newValue); 67 private static Object setObj(Object o, long offset, Object newValue) { argument 68 return unsafe.getAndSetObject(o, offset, newValue); 78 private static int add32(Object o, long offset, int delta) { argument 79 return unsafe.getAndAddInt(o, offset, delta); 85 private static long add64(Object o, long offset, long delta) { argument 86 return unsafe.getAndAddLong(o, offset, delt [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | MapItem.java | 43 public Offset offset; field in class:MapItem 51 offset = file.getOffsetTracker().getNewHeaderOffset(file.readUInt()); 53 offset = file.getOffsetTracker().getNewOffset(file.readUInt()); 62 file.getOffsetTracker().tryToWriteOffset(offset, file, false /* ULEB128 */);
|
H A D | Offset.java | 23 * The absolute value of this offset as it was originally read. 169 * Get the location in the output DEX file where this offset has been written. 180 public void setOriginalOffset(int offset) { argument 181 originalOffset = offset;
|
/art/compiler/ |
H A D | common_compiler_test.cc | 79 size_t offset = dchecked_integral_cast<size_t>(reinterpret_cast<uintptr_t>(unaligned_code_ptr)); local 80 size_t padding = compiled_method->AlignCode(offset) - offset;
|
/art/compiler/debug/dwarf/ |
H A D | debug_frame_opcode_writer.h | 73 void ALWAYS_INLINE RelOffset(Reg reg, int offset) { argument 74 Offset(reg, offset - current_cfa_offset_); 83 void ALWAYS_INLINE RelOffsetForMany(Reg reg_base, int offset, argument 92 RelOffset(Reg(reg_base.num() + i), offset); local 93 offset += reg_size; 117 void ALWAYS_INLINE Offset(Reg reg, int offset) { argument 120 int factored_offset = FactorDataOffset(offset); // May change sign. 191 void ALWAYS_INLINE DefCFA(Reg reg, int offset) { argument 194 if (offset >= 0) { 197 this->PushUleb128(offset); // No 216 DefCFAOffset(int offset) argument 234 ValOffset(Reg reg, int offset) argument 296 SetCurrentCFAOffset(int offset) argument [all...] |
H A D | debug_info_entry_writer.h | 52 // Returns offset of the entry in compilation unit. 127 void WriteSecOffset(Attribute attrib, uint32_t offset) { argument 129 this->PushUint32(offset);
|
/art/compiler/debug/ |
H A D | elf_debug_line_writer.h | 267 size_t offset = builder_->GetDebugLine()->GetSize(); local 268 WriteDebugLineTable(directories, files, opcodes, offset, &buffer, &debug_line_patches_);
|
/art/compiler/jni/quick/arm/ |
H A D | calling_convention_arm.cc | 122 (itr_slots_ * kFramePointerSize)); // offset into in args 312 size_t offset = displacement_.Int32Value() - OutArgSize() + ((itr_slots_ - 4) * kFramePointerSize); local 313 CHECK_LT(offset, OutArgSize()); 314 return FrameOffset(offset);
|
/art/compiler/jni/quick/arm64/ |
H A D | calling_convention_arm64.cc | 104 (itr_slots_ * sizeof(uint32_t))); // offset into in args 127 } else { // just increase the stack offset. 142 } else { // just increase the stack offset. 258 size_t offset = displacement_.Int32Value() - OutArgSize() + (args_on_stack * kFramePointerSize); local 259 CHECK_LT(offset, OutArgSize()); 260 return FrameOffset(offset);
|