Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 13 of 13) sorted by relevance

/system/core/libunwindstack/
DDwarfSection.cpp87 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
95 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
99 cie->cfa_instructions_end = memory_.cur_offset() + length64; in FillInCieHeader()
105 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
115 cie->cfa_instructions_end = memory_.cur_offset() + length32; in FillInCieHeader()
121 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
137 last_error_.address = memory_.cur_offset(); in FillInCie()
152 last_error_.address = memory_.cur_offset(); in FillInCie()
160 memory_.set_cur_offset(memory_.cur_offset() + 1); in FillInCie()
165 last_error_.address = memory_.cur_offset(); in FillInCie()
[all …]
DDwarfEhFrame.h34 return this->memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
38 return this->memory_.cur_offset() - pointer - 8; in GetCieOffsetFromFde64()
43 return pc + this->memory_.cur_offset() - 4; in AdjustPcFromFde()
DDwarfEhFrameWithHdr.cpp48 last_error_.address = memory_.cur_offset(); in Init()
72 memory_.set_pc_offset(memory_.cur_offset()); in Init()
75 last_error_.address = memory_.cur_offset(); in Init()
79 memory_.set_pc_offset(memory_.cur_offset()); in Init()
82 last_error_.address = memory_.cur_offset(); in Init()
91 entries_offset_ = memory_.cur_offset(); in Init()
134 last_error_.address = memory_.cur_offset(); in GetFdeInfoFromIndex()
DDwarfOp.cpp1493 if (memory_->cur_offset() < end) { in Eval()
1506 if (memory_->cur_offset() < end) { in Eval()
1519 while (memory_->cur_offset() < end) { in Eval()
1538 last_error_.address = memory_->cur_offset(); in Decode()
1561 last_error_.address = memory_->cur_offset(); in Decode()
1573 while (memory_->cur_offset() < end) { in GetLogInfo()
1586 uint64_t start_offset = memory_->cur_offset(); in GetLogInfo()
1594 uint64_t end_offset = memory_->cur_offset(); in GetLogInfo()
1821 uint64_t cur_offset; in op_bra() local
1823 cur_offset = memory_->cur_offset() + offset; in op_bra()
[all …]
DDwarfCfa.cpp60 if ((cfa_offset = memory_->cur_offset()) >= end_offset) { in GetLocationInfo()
70 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
83 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
120 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
124 memory_->set_cur_offset(memory_->cur_offset() + block_length); in GetLocationInfo()
130 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
187 uint64_t end_offset = memory_->cur_offset(); in LogOffsetRegisterString()
223 end_offset += memory_->cur_offset(); in LogInstruction()
226 op.GetLogInfo(memory_->cur_offset(), end_offset, &expression_lines); in LogInstruction()
239 uint64_t end_offset = memory_->cur_offset(); in LogInstruction()
[all …]
DDwarfEhFrameWithHdr.h52 return this->memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
56 return this->memory_.cur_offset() - pointer - 8; in GetCieOffsetFromFde64()
61 return pc + this->memory_.cur_offset() - 4; in AdjustPcFromFde()
DSymbols.cpp108 uint64_t cur_offset = offset_; in GetGlobal() local
109 while (cur_offset + entry_size_ <= end_) { in GetGlobal()
111 if (!elf_memory->ReadFully(cur_offset, &entry, sizeof(entry))) { in GetGlobal()
114 cur_offset += entry_size_; in GetGlobal()
/system/core/libunwindstack/tests/
DDwarfCfaTest.cpp82 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
94 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
107 ASSERT_EQ(0x2002U, this->dmem_->cur_offset()); in TYPED_TEST_P()
122 ASSERT_EQ(0x2103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
138 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
153 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
169 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
185 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
202 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
215 ASSERT_EQ(0x3003U, this->dmem_->cur_offset()); in TYPED_TEST_P()
[all …]
DDwarfMemoryTest.cpp76 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
81 ASSERT_EQ(3U, dwarf_mem_->cur_offset()); in TEST_F()
128 ASSERT_EQ(1U, dwarf_mem_->cur_offset()); in TEST_F()
132 ASSERT_EQ(3U, dwarf_mem_->cur_offset()); in TEST_F()
136 ASSERT_EQ(7U, dwarf_mem_->cur_offset()); in TEST_F()
146 ASSERT_EQ(1U, dwarf_mem_->cur_offset()); in TEST_F()
150 ASSERT_EQ(2U, dwarf_mem_->cur_offset()); in TEST_F()
154 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
158 ASSERT_EQ(6U, dwarf_mem_->cur_offset()); in TEST_F()
162 ASSERT_EQ(10U, dwarf_mem_->cur_offset()); in TEST_F()
[all …]
DDwarfOpTest.cpp65 ASSERT_EQ(1U, this->mem_->cur_offset()); in TYPED_TEST_P()
79 ASSERT_EQ(1U, this->mem_->cur_offset()); in TYPED_TEST_P()
91 ASSERT_EQ(8U, this->mem_->cur_offset()); in TYPED_TEST_P()
159 while (this->mem_->cur_offset() < opcode_buffer.size()) { in TYPED_TEST_P()
1271 uint64_t offset = this->mem_->cur_offset() + 3; in TYPED_TEST_P()
1275 ASSERT_EQ(offset + 0x102, this->mem_->cur_offset()); in TYPED_TEST_P()
1282 offset = this->mem_->cur_offset() + 3; in TYPED_TEST_P()
1286 ASSERT_EQ(offset - 5, this->mem_->cur_offset()); in TYPED_TEST_P()
1293 offset = this->mem_->cur_offset() + 3; in TYPED_TEST_P()
1297 ASSERT_EQ(offset - 4, this->mem_->cur_offset()); in TYPED_TEST_P()
[all …]
/system/core/libunwindstack/include/unwindstack/
DDwarfMemory.h49 uint64_t cur_offset() { return cur_offset_; } in cur_offset() function
50 void set_cur_offset(uint64_t cur_offset) { cur_offset_ = cur_offset; } in set_cur_offset() argument
/system/update_engine/payload_generator/
Dsquashfs_filesystem.cc122 uint64_t cur_offset = start; in Init() local
132 zlib_blks.emplace_back(cur_offset, new_blk_size); in Init()
135 cur_offset += new_blk_size; in Init()
139 if (cur_offset - start > 0) { in Init()
142 file.extents = {ExtentForBytes(kBlockSize, start, cur_offset - start)}; in Init()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2765 int cur_offset; in nfa_ee_lmrt_to_nfcc() local
2798 cur_offset = 0; in nfa_ee_lmrt_to_nfcc()
2810 &cur_offset); in nfa_ee_lmrt_to_nfcc()
2818 &max_len, more, p, &cur_offset); in nfa_ee_lmrt_to_nfcc()