Searched refs:offset (Results 201 - 225 of 262) sorted by relevance

1234567891011

/art/tools/dexfuzz/src/dexfuzz/program/
H A DMutatableCode.java101 * locations adjusted by the provided offset. It will also mark that they have been updated.
103 public void updateInstructionLocationsAfter(MInsn mInsn, int offset) { argument
108 mInsnChecking.location += offset;
/art/compiler/
H A Delf_builder.h206 off_t Seek(off_t offset, Whence whence) OVERRIDE {
208 return owner_->stream_.Seek(offset, whence);
252 Elf_Word offset = cache_.size(); local
255 return offset;
324 Elf_Word offset = current_offset_; local
327 return offset;
H A Doat_test.cc245 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); local
246 if (offset == static_cast<off_t>(-1)) {
267 cdfh.relative_offset_of_local_file_header = offset;
273 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); local
274 if (offset == static_cast<off_t>(-1)) {
290 eocd_record.offset_of_start_of_central_directory = offset;
H A Dcompiled_method.h54 // To align an offset from a page-aligned value to make it suitable
57 size_t AlignCode(size_t offset) const;
58 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
331 uint32_t element_offset_; // Element offset in the dex cache arrays.
341 // Literal offset of the insn loading PC (same as literal_offset if it's the same insn,
435 // For quick code, a set of pairs (PC, DEX) mapping from native PC offset to DEX offset.
/art/runtime/
H A Dreflection.cc353 uint32_t offset = 0; local
357 offset = 1;
379 (reinterpret_cast<StackReference<mirror::Object>*>(&args[i + offset]))->AsMirrorPtr();
387 offset++;
389 int32_t arg = static_cast<int32_t>(args[i + offset]);
403 if (args[i + offset] > 0xFFFF) {
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 Dstack.cc292 const int32_t offset = dex_register_map.GetStackOffsetInBytes(vreg, local
296 const uint8_t* addr = reinterpret_cast<const uint8_t*>(cur_quick_frame_) + offset;
683 const size_t offset = reinterpret_cast<const uint8_t*>(method) - image_space->Begin(); local
684 if (methods.Contains(offset) || runtime_methods.Contains(offset)) {
H A Ddebugger.cc1163 JDWP::JdwpError Dbg::OutputArray(JDWP::ObjectId array_id, int offset, int count, JDWP::ExpandBuf* pReply) { argument
1170 if (offset < 0 || count < 0 || offset > a->GetLength() || a->GetLength() - offset < count) {
1171 LOG(WARNING) << __FUNCTION__ << " access out of bounds: offset=" << offset << "; count=" << count;
1183 for (int i = 0; i < count; ++i) JDWP::Write8BE(&dst, src8[offset + i]);
1186 for (int i = 0; i < count; ++i) JDWP::Write4BE(&dst, src4[offset + i]);
1189 for (int i = 0; i < count; ++i) JDWP::Write2BE(&dst, src2[offset + i]);
1192 memcpy(dst, &src[offset * widt
1221 SetArrayElements(JDWP::ObjectId array_id, int offset, int count, JDWP::Request* request) argument
4266 jint offset = env->GetIntField(chunk.get(), WellKnownClasses::org_apache_harmony_dalvik_ddmc_Chunk_offset); local
[all...]
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 Dinstrumentation.h349 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
352 BranchImpl(thread, method, dex_pc, offset);
472 void BranchImpl(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
H A Delf_file_impl.h105 // Lookup a string given string section and offset. Returns null for special 0 offset.
171 // Check whether the offset is in range, and set to target to Begin() + offset if OK.
172 bool CheckAndSet(Elf32_Off offset, const char* label, uint8_t** target, std::string* error_msg);
191 // Lookup a string by section type. Returns null for special 0 offset.
H A Dclass_linker_test.cc390 // The reference instance offsets have a bit set for each reference offset.
508 CheckOffset& offset = offsets[i]; local
517 << " CheckOffsets=" << offset.java_name;
522 CheckOffset& offset = offsets[i]; local
524 if (field->GetOffset().Uint32Value() != offset.cpp_offset) {
530 CheckOffset& offset = offsets[i]; local
532 if (field->GetOffset().Uint32Value() != offset.cpp_offset) {
535 LOG(ERROR) << "Offset: class=" << class_descriptor << " field=" << offset.java_name
536 << " Java=" << field->GetOffset().Uint32Value() << " C++=" << offset.cpp_offset;
543 void addOffset(size_t offset, cons argument
[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/compiler/optimizing/
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_64.cc1312 uint32_t offset = mirror::Array::DataOffset(element_size).Uint32Value(); local
1315 __ leal(temp1, Address(src, element_size * constant + offset));
1317 __ leal(temp1, Address(src, src_pos.AsRegister<CpuRegister>(), ScaleFactor::TIMES_4, offset));
1322 __ leal(temp2, Address(dest, element_size * constant + offset));
1324 __ leal(temp2, Address(dest, dest_pos.AsRegister<CpuRegister>(), ScaleFactor::TIMES_4, offset));
1673 // java.lang.StringFactory.newStringFromChars(int offset, int charCount, char[] data)
1754 // the source beginning to the value offset of a string.
1940 CpuRegister offset = offset_loc.AsRegister<CpuRegister>(); local
1946 __ movl(output, Address(base, offset, ScaleFactor::TIMES_1, 0));
1956 __ movl(output, Address(base, offset, ScaleFacto
2090 CpuRegister offset = locations->InAt(2).AsRegister<CpuRegister>(); local
2194 CpuRegister offset = locations->InAt(2).AsRegister<CpuRegister>(); 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_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...]
/art/runtime/gc/collector/
H A Dconcurrent_copying.cc704 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
707 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
836 void operator()(mirror::Object* obj, MemberOffset offset, bool is_static ATTRIBUTE_UNUSED) const
839 obj->GetFieldObject<mirror::Object, kDefaultVerifyFlags, kWithoutReadBarrier>(offset);
1407 void ConcurrentCopying::AssertToSpaceInvariant(mirror::Object* obj, MemberOffset offset, argument
1419 LogFromSpaceRefHolder(obj, offset);
1489 void ConcurrentCopying::LogFromSpaceRefHolder(mirror::Object* obj, MemberOffset offset) { argument
1543 LOG(INFO) << "offset=" << offset.SizeValue();
1588 void operator()(mirror::Object* obj, MemberOffset offset, boo
1628 Process(mirror::Object* obj, MemberOffset offset) argument
[all...]
H A Dsemi_space.cc291 void operator()(Object* obj, MemberOffset offset, bool /* is_static */) const
293 mirror::Object* ref = obj->GetFieldObject<mirror::Object>(offset);
687 void operator()(Object* obj, MemberOffset offset, bool /* is_static */) const ALWAYS_INLINE
690 collector_->MarkObject(obj->GetFieldObjectReferenceAddr<kVerifyNone>(offset));
/art/compiler/utils/mips64/
H A Dassembler_mips64.h355 void LoadFromOffset(LoadOperandType type, GpuRegister reg, GpuRegister base, int32_t offset);
356 void LoadFpuFromOffset(LoadOperandType type, FpuRegister reg, GpuRegister base, int32_t offset);
357 void StoreToOffset(StoreOperandType type, GpuRegister reg, GpuRegister base, int32_t offset);
358 void StoreFpuToOffset(StoreOperandType type, FpuRegister reg, GpuRegister base, int32_t offset);
471 // Call to address held at [base+offset].
472 void Call(ManagedRegister base, Offset offset, ManagedRegister mscratch) OVERRIDE;
473 void Call(FrameOffset base, Offset offset, ManagedRegister mscratch) OVERRIDE;
474 void CallFromThread64(ThreadOffset<kMips64DoublewordSize> offset,
548 // PC-relative offset (or its most significant 16-bit half, which goes first).
552 // instructions) from the instruction containing the offset
[all...]
/art/compiler/utils/
H A Dassembler_test_base.h418 uintptr_t offset; local
419 std::istringstream(offsetToken) >> std::hex >> offset; local
422 obj.seekg(offset);
/art/runtime/arch/arm/
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/openjdkjvm/
H A DOpenjdkJvm.cc113 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { argument
120 return lseek64(fd, offset, whence);
124 return lseek(fd, offset, whence);
/art/compiler/utils/x86/
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/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);

Completed in 553 milliseconds

1234567891011