Searched defs:offset (Results 101 - 125 of 139) sorted by relevance

123456

/art/compiler/optimizing/
H A Dintrinsics_mips64.cc944 // Long offset.
945 GpuRegister offset = locations->InAt(2).AsRegister<GpuRegister>(); local
948 __ Daddu(TMP, base, offset);
971 // int sun.misc.Unsafe.getInt(Object o, long offset)
980 // int sun.misc.Unsafe.getIntVolatile(Object o, long offset)
989 // long sun.misc.Unsafe.getLong(Object o, long offset)
998 // long sun.misc.Unsafe.getLongVolatile(Object o, long offset)
1007 // Object sun.misc.Unsafe.getObject(Object o, long offset)
1016 // Object sun.misc.Unsafe.getObjectVolatile(Object o, long offset)
1046 // Long offset
1047 GpuRegister offset = locations->InAt(2).AsRegister<GpuRegister>(); local
1211 GpuRegister offset = locations->InAt(2).AsRegister<GpuRegister>(); local
[all...]
H A Dcode_generator_mips64.cc1297 size_t offset = local
1299 __ LoadFromOffset(kLoadUnsignedByte, out, obj, offset);
1311 size_t offset = local
1313 __ LoadFromOffset(kLoadSignedByte, out, obj, offset);
1325 size_t offset = local
1327 __ LoadFromOffset(kLoadSignedHalfword, out, obj, offset);
1340 size_t offset = local
1342 __ LoadFromOffset(kLoadUnsignedHalfword, out, obj, offset);
1358 size_t offset = local
1360 __ LoadFromOffset(load_type, out, obj, offset);
1373 size_t offset = local
1388 size_t offset = local
1403 size_t offset = local
1429 uint32_t offset = mirror::Array::LengthOffset().Uint32Value(); local
1472 size_t offset = local
1487 size_t offset = local
1504 size_t offset = local
1533 size_t offset = local
1549 size_t offset = local
1565 size_t offset = local
[all...]
H A Dintrinsics_x86.cc1571 // java.lang.StringFactory.newStringFromChars(int offset, int charCount, char[] data)
1651 // the source beginning to the value offset of a string.
1851 Register offset = offset_loc.AsRegisterPairLow<Register>(); local
1857 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0));
1869 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0));
1874 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0));
1886 __ movsd(temp, Address(base, offset, ScaleFactor::TIMES_1, 0));
1891 __ movl(output_lo, Address(base, offset, ScaleFactor::TIMES_1, 0));
1892 __ movl(output_hi, Address(base, offset, ScaleFactor::TIMES_1, 4));
2043 Register offset local
2169 Register offset = locations->InAt(2).AsRegisterPairLow<Register>(); local
[all...]
H A Dintrinsics_x86_64.cc1309 uint32_t offset = mirror::Array::DataOffset(element_size).Uint32Value(); local
1312 __ leal(temp1, Address(src, element_size * constant + offset));
1314 __ leal(temp1, Address(src, src_pos.AsRegister<CpuRegister>(), ScaleFactor::TIMES_4, offset));
1319 __ leal(temp2, Address(dest, element_size * constant + offset));
1321 __ leal(temp2, Address(dest, dest_pos.AsRegister<CpuRegister>(), ScaleFactor::TIMES_4, offset));
1670 // java.lang.StringFactory.newStringFromChars(int offset, int charCount, char[] data)
1751 // the source beginning to the value offset of a string.
1937 CpuRegister offset = offset_loc.AsRegister<CpuRegister>(); local
1943 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0));
1953 __ movl(output, Address(base, offset, ScaleFacto
2087 CpuRegister offset = locations->InAt(2).AsRegister<CpuRegister>(); local
2191 CpuRegister offset = locations->InAt(2).AsRegister<CpuRegister>(); local
[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...]
H A Dcode_generator_mips.cc608 intptr_t offset = loc1.IsStackSlot() ? loc1.GetStackIndex() local
611 __ LoadFromOffset(kLoadWord, reg, SP, offset);
612 __ StoreToOffset(kStoreWord, TMP, SP, offset);
1675 size_t offset = local
1677 __ LoadFromOffset(kLoadUnsignedByte, out, obj, offset);
1689 size_t offset = local
1691 __ LoadFromOffset(kLoadSignedByte, out, obj, offset);
1703 size_t offset = local
1705 __ LoadFromOffset(kLoadSignedHalfword, out, obj, offset);
1718 size_t offset local
1735 size_t offset = local
1750 size_t offset = local
1765 size_t offset = local
1780 size_t offset = local
1806 uint32_t offset = mirror::Array::LengthOffset().Uint32Value(); local
1849 size_t offset = local
1864 size_t offset = local
1881 size_t offset = local
1911 size_t offset = local
1927 size_t offset = local
1943 size_t offset = local
3425 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
3552 uint32_t offset = field_info.GetFieldOffset().Uint32Value(); local
[all...]
/art/compiler/utils/arm/
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...]
H A Dassembler_arm32.cc593 void Arm32Assembler::EmitType5(Condition cond, int offset, bool link) { argument
598 Emit(Arm32Assembler::EncodeBranchOffset(offset, encoding));
614 int32_t offset = ad.GetOffset(); local
616 if (offset < 0) {
617 offset = -offset;
620 CHECK_LT(offset, (1 << 12));
627 (offset & 0xfff);
714 // Use the offset field of the branch instruction for linking the sites.
1343 int32_t Arm32Assembler::EncodeBranchOffset(int offset, int32_ argument
1347 CHECK(IsInt(POPCOUNT(kBranchOffsetMask), offset)) << offset; local
1467 LoadFromOffset(LoadOperandType type, Register reg, Register base, int32_t offset, Condition cond) argument
1508 LoadSFromOffset(SRegister reg, Register base, int32_t offset, Condition cond) argument
1526 LoadDFromOffset(DRegister reg, Register base, int32_t offset, Condition cond) argument
1544 StoreToOffset(StoreOperandType type, Register reg, Register base, int32_t offset, Condition cond) argument
1580 StoreSToOffset(SRegister reg, Register base, int32_t offset, Condition cond) argument
1598 StoreDToOffset(DRegister reg, Register base, int32_t offset, Condition cond) argument
[all...]
/art/disassembler/
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);
/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/runtime/
H A Ddex_file_verifier.cc233 bool DexFileVerifier::CheckValidOffsetAndSize(uint32_t offset, argument
238 if (offset != 0) {
239 ErrorStringPrintf("Offset(%d) should be zero when size is zero for %s.", offset, label);
243 if (size_ <= offset) {
244 ErrorStringPrintf("Offset(%d) should be within file size(%zu) for %s.", offset, size_, label);
247 if (alignment != 0 && !IsAlignedParam(offset, alignment)) {
248 ErrorStringPrintf("Offset(%d) should be aligned by %zu for %s.", offset, alignment, label);
453 size_t offset = ptr_ - handlers_base; local
468 handler_offsets[i] = static_cast<uint32_t>(offset);
581 bool DexFileVerifier::CheckPadding(size_t offset, uint32_ argument
1327 CheckIntraSectionIterate(size_t offset, uint32_t section_count, uint16_t type) argument
1483 CheckIntraIdSection(size_t offset, uint32_t count, uint16_t type) argument
1531 CheckIntraDataSection(size_t offset, uint32_t count, uint16_t type) argument
1559 size_t offset = 0; local
1640 CheckOffsetToTypeMap(size_t offset, uint16_t type) argument
2236 CheckInterSectionIterate(size_t offset, uint32_t count, uint16_t type) argument
[all...]
H A Delf_file.cc282 bool ElfFileImpl<ElfTypes>::CheckAndSet(Elf32_Off offset, const char* label, argument
284 if (Begin() + offset >= End()) {
285 *error_msg = StringPrintf("Offset %d is out of range for %s in ELF file: '%s'", offset, label,
289 *target = Begin() + offset;
398 int64_t offset = static_cast<int64_t>(GetHeader().e_shoff + local
400 if (offset >= file_->GetLength()) {
1399 // | Elf_Ehdr | contains number of Elf_Shdr and offset to first
1416 // | ... | contains offset to section start
1456 // section 0 is the null section, sections start at offset of first section
1458 Elf_Off offset local
1802 GetSectionOffsetAndSize(const char* section_name, uint64_t* offset, uint64_t* size) const argument
[all...]
H A Dstack_map.h53 * - kStack: vreg stored on the stack, value holds the stack offset;
65 * - kInStackLargeOffset: value holds a "large" stack offset (greater than
84 // Stack location at a large offset, meaning that the offset value
86 // 5-bit unsigned integer (i.e., this offset value is greater than
202 void SetRegisterInfo(size_t offset, const DexRegisterLocation& dex_register_location) { argument
209 // short stack locations, store slot offsets. A stack offset
218 region_.StoreUnaligned<ShortLocation>(offset, MakeShortLocation(kind, value));
232 region_.StoreUnaligned<DexRegisterLocation::Kind>(offset, kind);
233 region_.StoreUnaligned<int32_t>(offset
239 size_t offset = kFixedSize; local
269 size_t offset = FindLocationOffset(location_catalog_entry_index); local
818 SetDexRegisterMapOffset(const StackMapEncoding& encoding, uint32_t offset) argument
826 SetInlineDescriptorOffset(const StackMapEncoding& encoding, uint32_t offset) argument
994 SetDexRegisterMapOffsetAtDepth(const InlineInfoEncoding& encoding, uint32_t depth, uint32_t offset) argument
997 encoding.GetDexRegisterMapEncoding().Store(GetRegionAtDepth(encoding, depth), offset); local
1146 uint32_t offset = GetDexRegisterMapsOffset(encoding) local
1161 uint32_t offset = GetDexRegisterMapsOffset(encoding) + local
1170 uint32_t offset = stack_map.GetInlineDescriptorOffset(encoding.stack_map_encoding) local
1291 size_t offset = origin + DexRegisterLocationCatalog::kFixedSize; local
[all...]
H A Ddex_file.cc741 size_t offset = 1; local
744 while (offset < end) {
745 size_t start_offset = offset;
746 char c = signature[offset];
747 offset++;
753 if (offset >= end) { // expect some descriptor following [
756 c = signature[offset];
757 offset++;
761 if (offset >= end) { // unexpected early termination of descriptor
764 c = signature[offset];
2483 int32_t offset = -1; local
2512 Init(const DexFile::CodeItem& code_item, int32_t offset) argument
[all...]
H A Dutils.cc951 size_t offset = string_length - suffix_length; local
952 return s.compare(offset, suffix_length, suffix) == 0;
1089 static void Addr2line(const std::string& map_src, uintptr_t offset, std::ostream& os, argument
1092 map_src.c_str(), offset));
1504 int32_t offset = local
1507 dex_pc_is_branch_target.insert(dex_pc + offset);
1651 const int32_t offset = inst->GetTargetOffset(); local
1654 auto target_it = dex_pc_to_node_id.find(dex_pc + offset);
1657 << " -> node" << target_it->second << ":p" << (dex_pc + offset)
1669 /* offset t
1683 int32_t offset = local
[all...]
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc705 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
708 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
838 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
841 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
1410 void ConcurrentCopying::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, argument
1422 LogFromSpaceRefHolder(obj, offset);
1492 void ConcurrentCopying::LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset) { argument
1546 LOG(INFO) << "offset=" << offset.SizeValue();
1591 void operator()(mirror::Object* obj, MemberOffset offset, boo
1631 Process(mirror::Object* obj, MemberOffset offset) argument
[all...]
H A Dmark_sweep.cc400 MemberOffset offset = MemberOffset(0))
401 : mark_sweep_(mark_sweep), holder_(holder), offset_(offset) {}
424 << " offset=" << offset_.Uint32Value()
480 MemberOffset offset) {
502 MarkSweepMarkObjectSlowPath visitor(this, holder, offset);
548 MemberOffset offset) {
550 MarkObjectNonNull(obj, holder, offset);
677 MemberOffset offset,
680 Mark(obj->GetFieldObject<mirror::Object>(offset));
1328 MemberOffset offset,
478 MarkObjectNonNull(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) argument
546 MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) argument
[all...]
/art/runtime/hprof/
H A Dhprof.cc234 virtual void UpdateU4(size_t offset, uint32_t new_value ATTRIBUTE_UNUSED) { argument
235 DCHECK_LE(offset, length_ - 4);
297 void UpdateU4(size_t offset, uint32_t new_value) OVERRIDE {
298 DCHECK_LE(offset, length_ - 4);
299 buffer_[offset + 0] = static_cast<uint8_t>((new_value >> 24) & 0xFF);
300 buffer_[offset + 1] = static_cast<uint8_t>((new_value >> 16) & 0xFF);
301 buffer_[offset + 2] = static_cast<uint8_t>((new_value >> 8) & 0xFF);
302 buffer_[offset + 3] = static_cast<uint8_t>((new_value >> 0) & 0xFF);
1047 MemberOffset offset ATTRIBUTE_UNUSED,
/art/runtime/interpreter/
H A Dunstarted_runtime.cc986 int offset = shadow_frame->GetVReg(arg_offset + 3); local
988 if (offset < 0 || offset + count > array->GetLength()) {
990 offset, count, array->GetLength()));
1000 byte_array->SetWithoutChecks<true>(i + offset, *address);
1078 jint offset = shadow_frame->GetVReg(arg_offset); local
1086 result->SetL(mirror::String::AllocFromCharArray<true>(self, char_count, h_char_array, offset, allocator));
1180 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1190 reinterpret_cast<uint8_t*>(obj) + static_cast<size_t>(offset));
1193 MemberOffset(offset),
1218 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1257 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1271 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1289 int64_t offset = shadow_frame->GetVRegLong(arg_offset + 2); local
1593 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
1616 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
1624 jlong offset = (static_cast<uint64_t>(args[2]) << 32) | args[1]; local
[all...]
/art/compiler/
H A Dimage_writer.cc337 void ImageWriter::SetImageOffset(mirror::Object* object, size_t offset) { argument
339 DCHECK_NE(offset, 0U);
342 object->SetLockWord(LockWord::FromForwardingAddress(offset), false);
347 void ImageWriter::UpdateImageOffset(mirror::Object* obj, uintptr_t offset) { argument
348 DCHECK(IsImageOffsetAssigned(obj)) << obj << " " << offset; local
349 obj->SetLockWord(LockWord::FromForwardingAddress(offset), false);
377 size_t offset = lock_word.ForwardingAddress(); local
380 DCHECK_LT(offset, image_info.image_end_);
381 return offset;
465 void ImageWriter::AddDexCacheArrayRelocation(void* array, size_t offset, DexCach argument
629 size_t offset = lock_word.ForwardingAddress(); local
644 size_t offset = lock_word.ForwardingAddress(); // TODO: ForwardingAddress should be uint32_t local
1172 size_t& offset = image_info.bin_slot_sizes_[kBinArtField]; local
1219 size_t& offset = image_info.bin_slot_sizes_[bin_type]; local
1300 size_t& offset = image_info.bin_slot_sizes_[BinTypeForNativeRelocationType(type)]; local
1767 size_t offset = GetImageOffset(obj); 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/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/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/driver/
H A Dcompiler_driver.cc435 #define CREATE_TRAMPOLINE(type, abi, offset) \
438 type ## _ENTRYPOINT_OFFSET(8, offset)); \
441 type ## _ENTRYPOINT_OFFSET(4, offset)); \
2870 bool CompilerDriver::IsStringInit(uint32_t method_index, const DexFile* dex_file, int32_t* offset) { argument
2873 *offset = inliner->GetOffsetForStringInit(method_index, pointer_size);
/art/compiler/jni/
H A Djni_compiler_test.cc861 jboolean my_casi(JNIEnv* env, jobject unsafe, jobject obj, jlong offset, jint expected, jint newval) { argument
864 EXPECT_EQ(INT64_C(0x12345678ABCDEF88), offset);

Completed in 1118 milliseconds

123456