Home
last modified time | relevance | path

Searched refs:offset (Results 76 – 100 of 289) sorted by relevance

12345678910>>...12

/art/libdexfile/dex/
Ddex_file_layout.h76 bool Contains(uint32_t offset) const { in Contains() argument
77 return start_offset_ <= offset && offset < end_offset_; in Contains()
Ddex_file.cc410 size_t offset = 1; in CreateTypeList() local
413 while (offset < end) { in CreateTypeList()
414 size_t start_offset = offset; in CreateTypeList()
415 char c = signature[offset]; in CreateTypeList()
416 offset++; in CreateTypeList()
422 if (offset >= end) { // expect some descriptor following [ in CreateTypeList()
425 c = signature[offset]; in CreateTypeList()
426 offset++; in CreateTypeList()
430 if (offset >= end) { // unexpected early termination of descriptor in CreateTypeList()
433 c = signature[offset]; in CreateTypeList()
[all …]
/art/libelffile/stream/
Dbuffered_output_stream.cc63 off_t BufferedOutputStream::Seek(off_t offset, Whence whence) { in Seek() argument
67 return out_->Seek(offset, whence); in Seek()
/art/libartbase/base/
Dzip_archive.cc54 return IsAlignedParam(zip_entry_->offset, static_cast<int>(alignment)); in IsAlignedTo()
136 const off_t offset = zip_entry_->offset; in MapDirectlyFromFile() local
139 LOG(INFO) << "zip_archive: " << "make mmap of " << name << " @ offset = " << offset; in MapDirectlyFromFile()
147 offset, in MapDirectlyFromFile()
162 int count = offset + kMaxDumpChars; in MapDirectlyFromFile()
Dbit_memory_region_test.cc26 size_t offset, in CheckBits() argument
30 uint8_t expected = (offset <= i && i < offset + length) ? value >> (i - offset) : init; in CheckBits()
/art/disassembler/
Ddisassembler_arm.cc66 const int32_t offset = label.GetImmediate(); in operator <<() local
67 os() << "[pc, #" << offset << "]"; in operator <<()
68 PrintLiteral(type, offset); in operator <<()
107 void PrintLiteral(LocationType type, int32_t offset);
138 int32_t offset) { in PrintLiteral() argument
155 RoundDown(disasm_->GetCodeAddress(), vixl::aarch32::kRegSizeInBytes) + offset; in PrintLiteral()
Ddisassembler.cc74 size_t offset = begin - disassembler_options_->base_address_; in FormatInstructionPointer() local
75 return StringPrintf("0x%08zx", offset); in FormatInstructionPointer()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h32 uint32_t ReserveSpace(uint32_t offset,
35 uint32_t ReserveSpaceEnd(uint32_t offset) override;
36 uint32_t WriteThunks(OutputStream* out, uint32_t offset) override;
91 uint32_t ReserveSpaceInternal(uint32_t offset,
/art/runtime/arch/x86/
Dasm_support_x86.S116 MACRO3(CFI_EXPRESSION_BREG, n, b, offset)
117 .if (-0x40 <= (\offset)) && ((\offset) < 0x40)
118 CFI_EXPRESSION_BREG_1(\n, \b, \offset)
119 .elseif (-0x2000 <= (\offset)) && ((\offset) < 0x2000)
120 CFI_EXPRESSION_BREG_2(\n, \b, \offset)
/art/libartbase/base/unix_file/
Dfd_file_test.cc103 off_t offset = 0; in TEST_F() local
105 EXPECT_TRUE(file.Write(ignore_prefix, sizeof(ignore_prefix), offset)); in TEST_F()
106 offset += sizeof(ignore_prefix); in TEST_F()
107 EXPECT_TRUE(file.Write(read_suffix, sizeof(read_suffix), offset)); in TEST_F()
113 EXPECT_TRUE(file.PreadFully(buffer, sizeof(read_suffix), offset)); in TEST_F()
129 const size_t offset = 12; in TEST_F() local
134 EXPECT_TRUE(file.PwriteFully(test_string, length, offset)); in TEST_F()
138 EXPECT_TRUE(file.PreadFully(&offset_read_string[0], length, offset)); in TEST_F()
/art/dex2oat/linker/
Drelative_patcher.h114 virtual uint32_t ReserveSpace(uint32_t offset,
122 virtual uint32_t ReserveSpaceEnd(uint32_t offset) = 0;
125 virtual uint32_t WriteThunks(OutputStream* out, uint32_t offset) = 0;
/art/runtime/
Doat_file-inl.h94 uint32_t offset = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].GetVmapTableOffset(); in GetVmapTable() local
95 if (UNLIKELY(offset == 0u)) { in GetVmapTable()
98 return reinterpret_cast<const uint8_t*>(code) - offset; in GetVmapTable()
Dmonitor_pool.h142 size_t offset = MonitorIdToOffset(mon_id); in LookupMonitor() local
143 size_t index = offset / kChunkSize; in LookupMonitor()
146 size_t offset_in_chunk = offset % kChunkSize; in LookupMonitor()
179 static constexpr MonitorId OffsetToMonitorId(size_t offset) { in OffsetToMonitorId() argument
180 return static_cast<MonitorId>(offset >> 3); in OffsetToMonitorId()
Dtransaction.cc422 void Transaction::ObjectLog::LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile) { in LogBooleanValue() argument
423 LogValue(ObjectLog::kBoolean, offset, value, is_volatile); in LogBooleanValue()
426 void Transaction::ObjectLog::LogByteValue(MemberOffset offset, int8_t value, bool is_volatile) { in LogByteValue() argument
427 LogValue(ObjectLog::kByte, offset, value, is_volatile); in LogByteValue()
430 void Transaction::ObjectLog::LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile) { in LogCharValue() argument
431 LogValue(ObjectLog::kChar, offset, value, is_volatile); in LogCharValue()
434 void Transaction::ObjectLog::LogShortValue(MemberOffset offset, int16_t value, bool is_volatile) { in LogShortValue() argument
435 LogValue(ObjectLog::kShort, offset, value, is_volatile); in LogShortValue()
438 void Transaction::ObjectLog::Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile) { in Log32BitsValue() argument
439 LogValue(ObjectLog::k32Bits, offset, value, is_volatile); in Log32BitsValue()
[all …]
Dtransaction.h158 void LogBooleanValue(MemberOffset offset, uint8_t value, bool is_volatile);
159 void LogByteValue(MemberOffset offset, int8_t value, bool is_volatile);
160 void LogCharValue(MemberOffset offset, uint16_t value, bool is_volatile);
161 void LogShortValue(MemberOffset offset, int16_t value, bool is_volatile);
162 void Log32BitsValue(MemberOffset offset, uint32_t value, bool is_volatile);
163 void Log64BitsValue(MemberOffset offset, uint64_t value, bool is_volatile);
164 void LogReferenceValue(MemberOffset offset, mirror::Object* obj, bool is_volatile);
199 void LogValue(FieldValueKind kind, MemberOffset offset, uint64_t value, bool is_volatile);
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h130 MemberOffset offset) { in Mark() argument
165 to_ref = Copy(self, from_ref, holder, offset); in Mark()
185 LOG(FATAL_WITHOUT_ABORT) << DumpHeapReference(holder, offset, from_ref); in Mark()
187 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Mark()
194 return MarkNonMoving(self, from_ref, holder, offset); in Mark()
/art/libdexfile/external/include/art_api/
Ddex_file_support.h114 int32_t offset; // Code offset relative to the start of the dex file header member
120 return s1.offset == s2.offset && s1.len == s2.len && s1.name == s2.name;
173 off_t offset, in OpenFromFd() argument
183 if (g_ExtDexFileOpenFromFd(fd, offset, location.c_str(), &ext_error_msg, &ext_dex_file)) { in OpenFromFd()
/art/dexdump/
Ddexdump_cfg.cc63 int32_t offset = in DumpMethodCFG() local
66 dex_pc_is_branch_target.insert(pair.DexPc() + offset); in DumpMethodCFG()
207 const int32_t offset = inst->GetTargetOffset(); in DumpMethodCFG() local
210 auto target_it = dex_pc_to_node_id.find(dex_pc + offset); in DumpMethodCFG()
213 << " -> node" << target_it->second << ":p" << (dex_pc + offset) in DumpMethodCFG()
239 int32_t offset = in DumpMethodCFG() local
242 int32_t abs_offset = dex_pc + offset; in DumpMethodCFG()
/art/compiler/utils/x86_64/
Djni_macro_assembler_x86_64.cc76 int64_t offset = rest_of_frame; in BuildFrame() local
80 offset -= sizeof(double); in BuildFrame()
81 __ movsd(Address(CpuRegister(RSP), offset), spill.AsXmmRegister()); in BuildFrame()
82 cfi().RelOffset(DWARFReg(spill.AsXmmRegister().AsFloatRegister()), offset); in BuildFrame()
101 int64_t offset = static_cast<int64_t>(frame_size) in RemoveFrame() local
107 __ movsd(spill.AsXmmRegister(), Address(CpuRegister(RSP), offset)); in RemoveFrame()
109 offset += sizeof(double); in RemoveFrame()
114 DCHECK_EQ(static_cast<size_t>(offset), in RemoveFrame()
116 if (offset != 0) { in RemoveFrame()
117 __ addq(CpuRegister(RSP), Immediate(offset)); in RemoveFrame()
[all …]
/art/compiler/optimizing/
Dload_store_analysis.h100 size_t offset, in HeapLocation() argument
106 offset_(offset), in HeapLocation()
113 DCHECK((offset == kInvalidFieldOffset && index != nullptr) || in HeapLocation()
114 (offset != kInvalidFieldOffset && index == nullptr)); in HeapLocation()
307 size_t offset, in FindHeapLocationIndex() argument
316 loc->GetOffset() == offset && in FindHeapLocationIndex()
456 size_t offset, in GetOrCreateHeapLocation() argument
463 ref_info, type, offset, index, vector_length, declaring_class_def_index); in GetOrCreateHeapLocation()
466 HeapLocation(ref_info, type, offset, index, vector_length, declaring_class_def_index); in GetOrCreateHeapLocation()
479 const size_t offset = field_info.GetFieldOffset().SizeValue(); in VisitFieldAccess() local
[all …]
/art/test/071-dexfile-map-clean/src/
DMain.java45 private static boolean checkSmapsEntry(String[] smapsLines, int offset) { in checkSmapsEntry() argument
46 String nameDescription = smapsLines[offset]; in checkSmapsEntry()
58 for (int i = offset; i < smapsLines.length; ++i) { in checkSmapsEntry()
/art/test/098-ddmc/
Dexpected.txt2 …ader len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table fr…
14 …ader len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table fr…
23 …ader len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 offset to string table fr…
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffset.java180 public void setOriginalOffset(int offset) { in setOriginalOffset() argument
181 originalOffset = offset; in setOriginalOffset()
/art/libelffile/dwarf/
Dexpression.h93 void WriteOpPlusUconst(uint32_t offset) { in WriteOpPlusUconst() argument
95 PushUleb128(offset); in WriteOpPlusUconst()
/art/dexlayout/
Ddex_visualize.cc73 fprintf(out_file_, "\"%s\" %d", s.name.c_str(), s.offset / kPageSize); in OpenAndPrintHeader()
83 int GetColor(uint32_t offset) const { in GetColor()
87 if (file_section.offset < offset) { in GetColor()
310 return section.offset; in FindNextByteAfterSection()
331 bytes = FindNextByteAfterSection(header, sorted_sections, i) - file_section.offset; in ShowDexSectionStatistics()
336 file_section.offset, in ShowDexSectionStatistics()

12345678910>>...12