Searched refs:offset (Results 151 - 175 of 262) sorted by relevance

1234567891011

/art/runtime/mirror/
H A Dstring.h93 Handle<ByteArray> array, int32_t offset,
100 Handle<CharArray> array, int32_t offset,
106 Handle<String> string, int32_t offset,
186 friend struct art::StringOffsets; // for verifying offset information
/art/runtime/
H A Doat_file.h150 T GetOatPointer(uint32_t offset) const {
151 if (offset == 0) {
154 return reinterpret_cast<T>(begin_ + offset);
184 // Return the offset from the start of the OatFile to the
365 // Returns the offset to the OatClass information. Most callers should use GetOatClass.
H A Ddex_instruction.h126 kIndexFieldOffset, // field offset (for static linked fields)
127 kIndexVtableOffset // vtable offset (for static linked methods)
206 // Reads an instruction out of the stream from the current address plus an offset.
207 const Instruction* RelativeAt(int32_t offset) const WARN_UNUSED {
208 return At(reinterpret_cast<const uint16_t*>(this) + offset);
488 // Returns the branch offset if this instruction is a branch.
555 // Get the dex PC of this instruction as a offset in code units from the beginning of insns.
570 uint16_t Fetch16(size_t offset) const {
572 return insns[offset];
578 uint32_t Fetch32(size_t offset) cons
[all...]
H A Dquick_exception_handler.cc414 const int32_t offset = vreg_map.GetStackOffsetInBytes(vreg, local
418 const uint8_t* addr = reinterpret_cast<const uint8_t*>(GetCurrentQuickFrame()) + offset;
420 uint32_t bit = (offset >> 2);
522 int32_t offset; local
524 offset = GetThreadOffset<8>(kQuickQuickToInterpreterBridge).Int32Value();
526 offset = GetThreadOffset<4>(kQuickQuickToInterpreterBridge).Int32Value();
529 reinterpret_cast<uint8_t*>(self_) + offset);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DMapList.java63 file.seek(mapItem.offset.getOriginalOffset());
165 int start = mapItem.offset.getOriginalOffset();
166 int end = mapItems.get(mapItemIdx + 1).offset.getOriginalOffset();
/art/compiler/utils/arm/
H A Dassembler_thumb2_test.cc284 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...]
H A Dassembler_arm.h263 Offset = (8|4|0) << 21, // offset (w/o writeback to base)
266 NegOffset = (8|0|0) << 21, // negative offset (w/o writeback to base)
271 Address(Register rn, int32_t offset = 0, Mode am = Offset) : rn_(rn), rm_(R0),
272 offset_(offset),
288 explicit Address(int32_t offset) : argument
289 rn_(PC), rm_(R0), offset_(offset),
293 static bool CanHoldLoadOffsetArm(LoadOperandType type, int offset);
294 static bool CanHoldStoreOffsetArm(StoreOperandType type, int offset);
296 static bool CanHoldLoadOffsetThumb(LoadOperandType type, int offset);
297 static bool CanHoldStoreOffsetThumb(StoreOperandType type, int offset);
[all...]
/art/compiler/utils/x86_64/
H A Dassembler_x86_64.cc2012 int offset = label->Position() - buffer_.Size(); local
2013 CHECK_LE(offset, 0);
2014 if (IsInt<8>(offset - kShortSize)) {
2016 EmitUint8((offset - kShortSize) & 0xFF);
2020 EmitInt32(offset - kLongSize);
2034 int offset = label->Position() - buffer_.Size(); local
2035 CHECK_LE(offset, 0);
2036 CHECK(IsInt<8>(offset - kShortSize));
2038 EmitUint8((offset - kShortSize) & 0xFF);
2050 int offset local
2081 int offset = label->Position() - buffer_.Size(); local
2101 int offset = label->Position() - buffer_.Size(); local
2340 Align(int alignment, int offset) argument
2368 int offset = bound - (position + 1); local
2429 int offset = label->Position() - buffer_.Size(); local
2665 int64_t offset = rest_of_frame; local
2671 cfi_.RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); local
2706 int64_t offset = static_cast<int64_t>(frame_size) - (spill_regs.size() * kFramePointerSize) - 2 * kFramePointerSize; local
3110 Call(ManagedRegister mbase, Offset offset, ManagedRegister) argument
3117 Call(FrameOffset base, Offset offset, ManagedRegister mscratch) argument
3123 CallFromThread64(ThreadOffset<8> offset, ManagedRegister ) argument
3131 GetCurrentThread(FrameOffset offset, ManagedRegister mscratch) argument
[all...]
/art/compiler/optimizing/
H A Dcode_generator_x86.h233 // out <- *(out + offset)
242 uint32_t offset,
247 // out <- *(obj + offset)
257 uint32_t offset,
443 void SetMethodAddressOffset(int32_t offset) { argument
444 method_address_offset_ = offset;
475 uint32_t offset,
494 // `offset`:
498 // uint32_t offset);
503 // When `index` is provided (i.e. for array accesses), the offset
[all...]
H A Dcode_generator_arm.cc464 uint32_t offset,
470 offset_(offset),
477 // __ LoadFromOffset(kLoadWord, out, out, offset);
478 // codegen_->GenerateReadBarrierSlow(instruction, out_loc, out_loc, out_loc, offset);
508 // Compute the actual memory offset and store it in `index`.
561 // UnsafeGet's offset location is a register pair, the low
562 // part contains the correct offset.
3731 uint32_t offset,
3734 if (offset != 0) {
3736 // `offset` int
460 ReadBarrierForHeapReferenceSlowPathARM(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
3730 GenerateWideAtomicLoad(Register addr, uint32_t offset, Register out_lo, Register out_hi) argument
3745 GenerateWideAtomicStore(Register addr, uint32_t offset, Register value_lo, Register value_hi, Register temp1, Register temp2, HInstruction* instruction) argument
3822 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
4020 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
4294 size_t offset = local
4308 size_t offset = local
4322 size_t offset = local
4336 size_t offset = local
4350 size_t offset = local
4376 size_t offset = local
4401 size_t offset = local
4415 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; local
4428 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; local
4429 __ LoadDFromOffset(FromLowSToD(out), obj, offset); local
4495 size_t offset = local
4510 size_t offset = local
4529 size_t offset = local
4559 size_t offset = local
4643 size_t offset = local
4673 size_t offset = local
4688 size_t offset = local
4703 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_4) + data_offset; local
4717 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; local
4718 __ StoreDToOffset(FromLowSToD(value.AsFpuRegisterPairLow<SRegister>()), array, offset); local
4747 uint32_t offset = mirror::Array::LengthOffset().Uint32Value(); local
5261 uint32_t offset = address & MaxInt<uint32_t>(offset_bits); local
5269 int32_t offset = load->GetDexCacheElementOffset() - base->GetElementOffset(); local
5965 GenerateReferenceLoadOneRegister(HInstruction* instruction, Location out, uint32_t offset, Location maybe_temp) argument
5995 GenerateReferenceLoadTwoRegisters(HInstruction* instruction, Location out, Location obj, uint32_t offset, Location maybe_temp) argument
6023 GenerateGcRootFieldLoad(HInstruction* instruction, Location root, Register obj, uint32_t offset) argument
6075 GenerateFieldLoadWithBakerReadBarrier(HInstruction* instruction, Location ref, Register obj, uint32_t offset, Location temp, bool needs_null_check) argument
6106 GenerateReferenceLoadWithBakerReadBarrier(HInstruction* instruction, Location ref, Register obj, uint32_t offset, Location index, Location temp, bool needs_null_check) argument
6198 GenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
6225 MaybeGenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
6357 int32_t offset = invoke->GetDexCacheArrayOffset() - base->GetElementOffset(); local
[all...]
H A Dcode_generator_x86.cc481 uint32_t offset,
487 offset_(offset),
494 // __ movl(out, Address(out, offset));
495 // codegen_->GenerateReadBarrierSlow(instruction, out_loc, out_loc, out_loc, offset);
525 // Compute the actual memory offset and store it in `index`.
578 // UnsafeGet's offset location is a register pair, the low
579 // part contains the correct offset.
4361 uint32_t offset = invoke->GetDexCacheArrayOffset(); local
4362 __ Bind(NewPcRelativeDexCacheArrayPatch(*invoke->GetTargetMethod().dex_file, offset));
4473 // The label points to the end of the "movl" insn but the literal offset fo
477 ReadBarrierForHeapReferenceSlowPathX86(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
4587 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
4744 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
5124 uint32_t offset = local
5149 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; local
5255 uint32_t offset = mirror::Array::DataOffset(sizeof(uint8_t)).Uint32Value(); local
5270 uint32_t offset = mirror::Array::DataOffset(sizeof(uint16_t)).Uint32Value(); local
5284 uint32_t offset = mirror::Array::DataOffset(sizeof(int32_t)).Uint32Value(); local
5400 uint32_t offset = mirror::Array::DataOffset(sizeof(int32_t)).Uint32Value(); local
5418 size_t offset = (index.GetConstant()->AsIntConstant()->GetValue() << TIMES_8) + data_offset; local
5451 uint32_t offset = mirror::Array::DataOffset(sizeof(float)).Uint32Value(); local
5467 uint32_t offset = mirror::Array::DataOffset(sizeof(double)).Uint32Value(); local
5501 uint32_t offset = mirror::Array::LengthOffset().Uint32Value(); local
6055 uint32_t offset = load->GetDexCacheElementOffset(); local
6716 GenerateReferenceLoadOneRegister(HInstruction* instruction, Location out, uint32_t offset, Location maybe_temp) argument
6746 GenerateReferenceLoadTwoRegisters(HInstruction* instruction, Location out, Location obj, uint32_t offset, Location maybe_temp) argument
6834 GenerateFieldLoadWithBakerReadBarrier(HInstruction* instruction, Location ref, Register obj, uint32_t offset, Location temp, bool needs_null_check) argument
6941 GenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
6968 MaybeGenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
7223 RIPFixup(CodeGeneratorX86& codegen, size_t offset) argument
7227 SetOffset(size_t offset) argument
[all...]
H A Dcode_generator_x86_64.cc502 uint32_t offset,
508 offset_(offset),
515 // __ movl(out, Address(out, offset));
516 // codegen_->GenerateReadBarrierSlow(instruction, out_loc, out_loc, out_loc, offset);
546 // Compute real offset and store it in index_.
791 uint32_t offset = invoke->GetDexCacheArrayOffset(); local
792 __ Bind(NewPcRelativeDexCacheArrayPatch(*invoke->GetTargetMethod().dex_file, offset));
905 // The label points to the end of the "movl" insn but the literal offset for method
1078 int offset = xmm_spill_location + (xmm_spill_slot_size * i); local
1079 __ movsd(Address(CpuRegister(RSP), offset), XmmRegiste
498 ReadBarrierForHeapReferenceSlowPathX86_64(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
1080 __ cfi().RelOffset(DWARFReg(kFpuCalleeSaves[i]), offset); local
1095 int offset = xmm_spill_location + (xmm_spill_slot_size * i); local
1096 __ movsd(XmmRegister(kFpuCalleeSaves[i]), Address(CpuRegister(RSP), offset)); local
4113 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
4250 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
4624 uint32_t offset = local
4744 uint32_t offset = mirror::Array::DataOffset(sizeof(uint8_t)).Uint32Value(); local
4759 uint32_t offset = mirror::Array::DataOffset(sizeof(uint16_t)).Uint32Value(); local
4774 uint32_t offset = mirror::Array::DataOffset(sizeof(int32_t)).Uint32Value(); local
4890 uint32_t offset = mirror::Array::DataOffset(sizeof(int32_t)).Uint32Value(); local
4906 uint32_t offset = mirror::Array::DataOffset(sizeof(int64_t)).Uint32Value(); local
4925 uint32_t offset = mirror::Array::DataOffset(sizeof(float)).Uint32Value(); local
4942 uint32_t offset = mirror::Array::DataOffset(sizeof(double)).Uint32Value(); local
4976 uint32_t offset = mirror::Array::LengthOffset().Uint32Value(); local
5477 uint32_t offset = load->GetDexCacheElementOffset(); local
6179 GenerateReferenceLoadOneRegister(HInstruction* instruction, Location out, uint32_t offset, Location maybe_temp) argument
6209 GenerateReferenceLoadTwoRegisters(HInstruction* instruction, Location out, Location obj, uint32_t offset, Location maybe_temp) argument
6298 GenerateFieldLoadWithBakerReadBarrier(HInstruction* instruction, Location ref, CpuRegister obj, uint32_t offset, Location temp, bool needs_null_check) argument
6405 GenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
6432 MaybeGenerateReadBarrierSlow(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
6649 RIPFixup(CodeGeneratorX86_64& codegen, size_t offset) argument
6653 SetOffset(size_t offset) argument
[all...]
H A Dcode_generator_arm64.cc164 // If the offset does not fit in the instruction's immediate field, use an alternate register
632 uint32_t offset,
638 offset_(offset),
646 // codegen_->GenerateReadBarrierSlow(instruction, out_loc, out_loc, out_loc, offset);
681 // Compute the actual memory offset and store it in `index`.
734 // UnsafeGet's offset location is a register pair, the low
735 // part contains the correct offset.
1629 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
1638 // /* HeapReference<Object> */ out = *(base + offset)
1647 offset,
628 ReadBarrierForHeapReferenceSlowPathARM64(HInstruction* instruction, Location out, Location ref, Location obj, uint32_t offset, Location index) argument
1692 Offset offset = field_info.GetFieldOffset(); local
2053 uint32_t offset = mirror::Array::DataOffset(Primitive::ComponentSize(type)).Uint32Value(); local
2158 size_t offset = mirror::Array::DataOffset(Primitive::ComponentSize(value_type)).Uint32Value(); local
[all...]
/art/test/449-checker-bce/src/
H A DMain.java70 static void narrow(int[] array, int offset) { argument
71 if (offset < 0) {
74 if (offset < array.length) {
75 // offset is in range [0, array.length-1].
77 array[offset] = 1;
79 int biased_offset1 = offset + 1;
87 int biased_offset2 = offset + 0x70000000;
96 // offset_sub1 won't underflow since offset is no less than 0.
97 int offset_sub1 = offset - Integer.MAX_VALUE;
1298 // use +1000 offset i
[all...]
/art/tools/dmtracedump/
H A Dtracedump.cc522 * Find the offset to the next occurrence of the specified character.
590 int64_t parseVersion(DataKeys* pKeys, int64_t offset, int32_t verbose) { argument
591 if (offset < 0) return -1;
593 char* data = pKeys->fileData + offset;
634 int64_t parseThreads(DataKeys* pKeys, int64_t offset) { argument
635 if (offset < 0) return -1;
637 char* data = pKeys->fileData + offset;
680 int64_t parseMethods(DataKeys* pKeys, int64_t offset) { argument
681 if (offset < 0) return -1;
683 char* data = pKeys->fileData + offset;
779 parseEnd(DataKeys* pKeys, int64_t offset) argument
823 int64_t offset; local
[all...]
/art/compiler/utils/x86/
H A Dassembler_x86.cc1570 int offset = label->Position() - buffer_.Size(); local
1571 CHECK_LE(offset, 0);
1572 if (IsInt<8>(offset - kShortSize)) {
1574 EmitUint8((offset - kShortSize) & 0xFF);
1578 EmitInt32(offset - kLongSize);
1592 int offset = label->Position() - buffer_.Size(); local
1593 CHECK_LE(offset, 0);
1594 CHECK(IsInt<8>(offset - kShortSize));
1596 EmitUint8((offset - kShortSize) & 0xFF);
1608 int offset local
1637 int offset = label->Position() - buffer_.Size(); local
1657 int offset = label->Position() - buffer_.Size(); local
1779 Align(int alignment, int offset) argument
1807 int offset = bound - (position + 1); local
1864 int offset = label->Position() - buffer_.Size(); local
1955 int offset = frame_size + spill.getSpillOffset(); local
2352 Call(ManagedRegister mbase, Offset offset, ManagedRegister) argument
2359 Call(FrameOffset base, Offset offset, ManagedRegister mscratch) argument
2365 CallFromThread32(ThreadOffset<4> offset, ManagedRegister ) argument
2374 GetCurrentThread(FrameOffset offset, ManagedRegister mscratch) argument
[all...]
/art/runtime/gc/accounting/
H A Dmod_union_table.cc100 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
102 MarkReference(obj->GetFieldObjectReferenceAddr(offset));
190 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
192 mirror::HeapReference<mirror::Object>* ref_ptr = obj->GetFieldObjectReferenceAddr(offset);
265 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
267 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
H A Dcard_table.h134 CardTable(MemMap* begin, uint8_t* biased_begin, size_t offset);
148 // Card table doesn't begin at the beginning of the mem_map_, instead it is displaced by offset
/art/compiler/
H A Dcommon_compiler_test.cc79 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/runtime/gc/collector/
H A Dconcurrent_copying.h88 void AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, mirror::Object* ref)
120 void Process(mirror::Object* obj, MemberOffset offset)
178 void LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset)
/art/runtime/entrypoints/quick/
H A Dquick_alloc_entrypoints.cc156 mirror::ByteArray* byte_array, int32_t high, int32_t offset, int32_t byte_count, \
163 offset, high, allocator_type); \
166 int32_t offset, int32_t char_count, mirror::CharArray* char_array, Thread* self) \
171 offset, allocator_type); \
/art/compiler/utils/mips/
H A Dassembler_mips.h360 void StoreConst32ToOffset(int32_t value, Register base, int32_t offset, Register temp);
361 void StoreConst64ToOffset(int64_t value, Register base, int32_t offset, Register temp);
388 void LoadFromOffset(LoadOperandType type, Register reg, Register base, int32_t offset);
389 void LoadSFromOffset(FRegister reg, Register base, int32_t offset);
390 void LoadDFromOffset(FRegister reg, Register base, int32_t offset);
391 void StoreToOffset(StoreOperandType type, Register reg, Register base, int32_t offset);
392 void StoreSToOffset(FRegister reg, Register base, int32_t offset);
393 void StoreDToOffset(FRegister reg, Register base, int32_t offset);
550 // Call to address held at [base+offset].
551 void Call(ManagedRegister base, Offset offset, ManagedRegiste
[all...]
/art/compiler/debug/dwarf/
H A Ddebug_info_entry_writer.h52 // 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 Delf_debug_line_writer.h267 size_t offset = builder_->GetDebugLine()->GetSize(); local
268 WriteDebugLineTable(directories, files, opcodes, offset, &buffer, &debug_line_patches_);
/art/compiler/jni/quick/x86_64/
H A Dcalling_convention_x86_64.cc101 itr_slots_ * sizeof(uint32_t)); // offset into in args
191 size_t offset = itr_args_ local
194 return FrameOffset(displacement_.Int32Value() - OutArgSize() + (offset * kFramePointerSize));

Completed in 568 milliseconds

1234567891011