Searched refs:offset (Results 101 - 125 of 262) sorted by last modified time

1234567891011

/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...]
H A Dassembler_x86.h268 // Add a double to the constant area, returning the offset into
272 // Add a float to the constant area, returning the offset into
276 // Add an int32_t to the constant area, returning the offset into
280 // Add an int32_t to the end of the constant area, returning the offset into
284 // Add an int64_t to the constant area, returning the offset into
623 void Align(int alignment, int offset);
738 // Call to address held at [base+offset]
739 void Call(ManagedRegister base, Offset offset, ManagedRegister scratch) OVERRIDE;
740 void Call(FrameOffset base, Offset offset, ManagedRegister scratch) OVERRIDE;
741 void CallFromThread32(ThreadOffset<4> offset, ManagedRegiste
[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...]
H A Dassembler_x86_64.h242 // The value in RBP isn't used. Instead the offset is added to RIP.
253 // The value in RBP isn't used. Instead the offset is added to RIP.
277 // Add a double to the constant area, returning the offset into
281 // Add a float to the constant area, returning the offset into
285 // Add an int32_t to the constant area, returning the offset into
289 // Add an int32_t to the end of the constant area, returning the offset into
293 // Add an int64_t to the constant area, returning the offset into
694 void Align(int alignment, int offset);
810 // Call to address held at [base+offset]
811 void Call(ManagedRegister base, Offset offset, ManagedRegiste
[all...]
/art/dexdump/
H A Ddexdump.cc121 int offset = 0; local
124 while (targetLen > 1 && str[offset] == '[') {
125 offset++;
129 const int arrayDepth = offset;
133 str = primitiveTypeLabel(str[offset]);
134 offset = 0;
138 if (targetLen >= 2 && str[offset] == 'L' &&
139 str[offset + targetLen - 1] == ';') {
141 offset++;
150 const char ch = str[offset
[all...]
/art/disassembler/
H A Ddisassembler.cc53 size_t offset = begin - disassembler_options_->base_address_; local
54 return StringPrintf("0x%08zx", offset);
H A Ddisassembler_arm.cc217 FpRegister(const FpRegister& other, uint32_t offset) argument
218 : size(other.size), r(other.r + offset) {}
320 uint32_t offset = (instruction & 0xfff); local
322 args << "[" << rn << ", #" << offset << "]"; local
324 args << "[" << rn << ", #" << offset << "]!"; local
326 args << "[" << rn << "], #" << offset; local
332 Thread::DumpThreadOffset<4>(args, offset);
H A Ddisassembler_arm64.cc102 int64_t offset = instr->ImmLSUnsigned() << instr->SizeLS(); local
104 Thread::DumpThreadOffset<8>(tmp_stream, static_cast<uint32_t>(offset));
H A Ddisassembler_mips.cc435 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/imgdiag/
H A Dimgdiag.cc258 os << tabs << "No field for byte offset " << i << "\n";
404 ptrdiff_t offset = begin - boot_map.start; local
409 const uint8_t* local_ptr = reinterpret_cast<const uint8_t*>(&boot_image_header) + offset;
410 uint8_t* remote_ptr = &remote_contents[offset];
430 ptrdiff_t offset = begin - boot_map.start; local
435 const uint8_t* local_ptr = reinterpret_cast<const uint8_t*>(&boot_image_header) + offset;
436 uint8_t* remote_ptr = &remote_contents[offset];
441 page_idx = (offset + page_off_begin) / kPageSize;
487 std::map<off_t /* field offset */, int /* count */> art_method_field_dirty_count;
490 std::map<off_t /* field offset */, in
544 ptrdiff_t offset = current - begin_image_ptr; local
661 ptrdiff_t offset = obj_bytes - begin_image_ptr; local
670 ptrdiff_t offset = obj_bytes - begin_image_ptr; local
705 off_t offset = pair.second; local
756 off_t offset = pair.second; local
[all...]
/art/oatdump/
H A Doatdump.cc381 #define DUMP_OAT_HEADER_OFFSET(label, offset) \
383 os << StringPrintf("0x%08x", oat_header.offset()); \
384 if (oat_header.offset() != 0 && options_.absolute_addresses_) { \
385 os << StringPrintf(" (%p)", oat_file_.Begin() + oat_header.offset()); \
446 os << "SEARCH ADDRESS (executable offset + input):\n";
552 // If the last thing in the file is code for a method, there won't be an offset for the "next"
620 os << StringPrintf("%zd: %s (offset=0x%08x) (type_idx=%d)",
834 vios->Stream() << StringPrintf("(offset=0x%08x)\n", oat_method_offsets_offset);
837 "WARNING: oat method offsets offset 0x%08x is past end of file 0x%08zx.\n",
849 "code offset
1051 uint32_t offset = StackVisitor::GetVRegOffsetFromQuickCode( local
1058 os << " v" << reg << "[sp + #" << offset << "]"; local
1066 uint32_t offset = StackVisitor::GetOutVROffset(out_reg, GetInstructionSet()); local
1067 os << " v" << out_reg << "[sp + #" << offset << "]"; local
1231 size_t offset = 0; local
1252 size_t offset = 0; local
[all...]
/art/runtime/arch/arm/
H A Dasm_support_arm.S40 ldr \rDest, .Lgot_\name\()_\num @ Load offset of the GOT.
41 ldr \rTemp, .Lruntime_instance_\name\()_\num @ Load GOT offset of Runtime::instance_.
H A Dquick_entrypoints_arm.S686 // Restore rReg's value from [sp, #offset] if rReg is not the same as rExclude.
687 .macro POP_REG_NE rReg, offset, rExclude
689 ldr \rReg, [sp, #\offset] @ restore rReg
696 * rObj and rDest are registers, offset is a defined literal such as MIRROR_OBJECT_CLASS_OFFSET.
699 .macro READ_BARRIER rDest, rObj, offset
715 mov r2, #\offset @ pass offset
716 bl artReadBarrierSlow @ artReadBarrierSlow(ref, rObj, offset)
734 ldr \rDest, [\rObj, #\offset]
766 @ The offset t
[all...]
/art/runtime/arch/arm64/
H A Dquick_entrypoints_arm64.S735 // counter - the register with offset into these tables
1237 // Restore xReg's value from [sp, #offset] if xReg is not the same as xExclude.
1238 .macro POP_REG_NE xReg, offset, xExclude
1240 ldr \xReg, [sp, #\offset] // restore xReg
1247 * xDest, wDest and xObj are registers, offset is a defined literal such as
1252 .macro READ_BARRIER xDest, wDest, xObj, offset
1270 mov w2, #\offset // pass offset
1271 bl artReadBarrierSlow // artReadBarrierSlow(ref, xObj, offset)
1288 ldr \wDest, [\xObj, #\offset] // Hea
[all...]
/art/runtime/arch/mips/
H A Dquick_entrypoints_mips.S598 lw $\reg, -4($\next_arg) # next_arg points to argument after the current one (offset is 4)
604 lw $\reg1, -8($\next_arg) # next_arg points to argument after the current one (offset is 8)
611 lwc1 $\reg, -4($\next_arg) # next_arg points to argument after the current one (offset is 4)
618 # (offset is 8)
667 lw $t1, 20 + SPILL_SIZE($fp) # get shorty (20 is offset from the $sp on entry + SPILL_SIZE
792 lw $t1, 20 + SPILL_SIZE($fp) # get shorty (20 is offset from the $sp on entry + SPILL_SIZE
890 jalr $t9 # (payload offset, Array*, method, Thread*)
979 * Restore rReg's value from offset($sp) if rReg is not the same as rExclude.
982 .macro POP_REG_NE rReg, nReg, offset, rExclude
984 lw \rReg, \offset(
[all...]
/art/runtime/arch/mips64/
H A Dquick_entrypoints_mips64.S61 .cfi_rel_offset 28, 136 # Value from gp is pushed, so set the cfi offset accordingly.
118 .cfi_rel_offset 28, 56 # Value from gp is pushed, so set the cfi offset accordingly.
205 .cfi_rel_offset 28, 184 # Value from gp is pushed, so set the cfi offset accordingly.
384 .cfi_rel_offset 28, 80 # Value from gp is pushed, so set the cfi offset accordingly.
956 jal artHandleFillArrayDataFromCode # (payload offset, Array*, method, Thread*)
1040 * Restore rReg's value from offset($sp) if rReg is not the same as rExclude.
1043 .macro POP_REG_NE rReg, nReg, offset, rExclude
1045 ld \rReg, \offset($sp) # restore rReg
1052 * rObj and rDest are registers, offset is a defined literal such as MIRROR_OBJECT_CLASS_OFFSET.
1055 .macro READ_BARRIER rDest, rObj, offset
[all...]
/art/runtime/arch/
H A Dstub_test.cc531 int32_t offset; local
533 offset = GetThreadOffset<8>(entrypoint).Int32Value();
535 offset = GetThreadOffset<4>(entrypoint).Int32Value();
537 return *reinterpret_cast<uintptr_t*>(reinterpret_cast<uint8_t*>(self) + offset);
1221 // Setup: The first half is standard. The second half uses a non-zero offset.
2089 // Setup: The first half is standard. The second half uses a non-zero offset.
2109 // Last dimension: start, offset by 1.
/art/runtime/arch/x86/
H A Dquick_entrypoints_x86.S1122 * obj_reg and dest_reg are registers, offset is a defined literal such as
1127 MACRO4(READ_BARRIER, obj_reg, offset, dest_reg, pop_eax)
1134 pushl MACRO_LITERAL((RAW_VAR(offset))) // pass offset, double parentheses are necessary
1138 call SYMBOL(artReadBarrierSlow) // artReadBarrierSlow(ref, obj_reg, offset)
1152 movl RAW_VAR(offset)(REG_VAR(obj_reg)), REG_VAR(dest_reg)
1647 // Restore FPRs (extra 4 bytes of offset due to EAX push at top).
1793 PUSH edx // pass arg3 - offset
1796 call SYMBOL(artReadBarrierSlow) // artReadBarrierSlow(ref, obj, offset)
/art/runtime/arch/x86_64/
H A Dquick_entrypoints_x86_64.S1097 * obj_reg and dest_reg{32|64} are registers, offset is a defined literal such as
1104 MACRO4(READ_BARRIER, obj_reg, offset, dest_reg32, dest_reg64)
1117 movl MACRO_LITERAL((RAW_VAR(offset))), %edx // pass offset, double parentheses are necessary
1118 // movq MACRO_LITERAL((RAW_VAR(offset))), %rdx
1119 call SYMBOL(artReadBarrierSlow) // artReadBarrierSlow(ref, obj_reg, offset)
1133 movl RAW_VAR(offset)(REG_VAR(obj_reg)), REG_VAR(dest_reg32)
1134 // movq RAW_VAR(offset)(REG_VAR(obj_reg)), REG_VAR(dest_reg64)
1772 call SYMBOL(artReadBarrierSlow) // artReadBarrierSlow(ref, obj, offset)
/art/runtime/
H A Dart_field-inl.h346 // If kExactOffset is true then we only find the matching offset, not the field containing the
347 // offset.
358 const uint32_t offset = field.GetOffset().Uint32Value(); local
362 if (offset <= field_offset && field_offset < offset + field_size) {
H A Dart_method.h754 ALWAYS_INLINE T GetNativePointer(MemberOffset offset, size_t pointer_size) const { argument
757 const auto addr = reinterpret_cast<uintptr_t>(this) + offset.Uint32Value();
767 ALWAYS_INLINE void SetNativePointer(MemberOffset offset, T new_value, size_t pointer_size) { argument
770 const auto addr = reinterpret_cast<uintptr_t>(this) + offset.Uint32Value();
/art/runtime/base/
H A Darray_slice.h60 uintptr_t offset = start_offset * element_size_; local
61 array_ = *reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(array) + offset);
H A Dhash_set.h213 size_t offset = 0; variable
214 offset = ReadFromBytes(ptr, offset, &temp);
216 offset = ReadFromBytes(ptr, offset, &temp);
219 offset = ReadFromBytes(ptr, offset, &temp);
221 offset = ReadFromBytes(ptr, offset, &min_load_factor_);
222 offset
242 size_t offset = 0; local
648 WriteToBytes(uint8_t* ptr, size_t offset, Elem n) argument
657 ReadFromBytes(const uint8_t* ptr, size_t offset, Elem* out) argument
[all...]
H A Dhex_dump.cc38 char out[(kBitsPerIntPtrT / 4) + /* offset */
44 size_t offset; /* offset to show while printing */ local
47 offset = reinterpret_cast<size_t>(addr);
49 offset = 0;
56 size_t gap = offset & 0x0f;
58 size_t line_offset = offset & ~0x0f;
61 char* asc = out + (kBitsPerIntPtrT / 4) + /* offset */ 1 + /* colon */
105 offset += count;
H A Dstringpiece.h55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } argument

Completed in 371 milliseconds

1234567891011