Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DDwarfSection.cpp89 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
97 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
101 cie->cfa_instructions_end = memory_.cur_offset() + length64; in FillInCieHeader()
107 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
117 cie->cfa_instructions_end = memory_.cur_offset() + length32; in FillInCieHeader()
123 last_error_.address = memory_.cur_offset(); in FillInCieHeader()
139 last_error_.address = memory_.cur_offset(); in FillInCie()
154 last_error_.address = memory_.cur_offset(); in FillInCie()
162 memory_.set_cur_offset(memory_.cur_offset() + 1); in FillInCie()
167 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.cpp53 last_error_.address = memory_.cur_offset(); in Init()
77 memory_.set_pc_offset(memory_.cur_offset()); in Init()
81 last_error_.address = memory_.cur_offset(); in Init()
85 memory_.set_pc_offset(memory_.cur_offset()); in Init()
88 last_error_.address = memory_.cur_offset(); in Init()
97 hdr_entries_offset_ = memory_.cur_offset(); in Init()
148 last_error_.address = memory_.cur_offset(); in GetFdeInfoFromIndex()
DDwarfEhFrameWithHdr.h48 return memory_.cur_offset() - pointer - 4; in GetCieOffsetFromFde32()
52 return memory_.cur_offset() - pointer - 8; in GetCieOffsetFromFde64()
57 return pc + memory_.cur_offset() - 4; in AdjustPcFromFde()
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.cpp62 if ((cfa_offset = memory_->cur_offset()) >= end_offset) { in GetLocationInfo()
72 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
85 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
122 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
126 memory_->set_cur_offset(memory_->cur_offset() + block_length); in GetLocationInfo()
132 last_error_.address = memory_->cur_offset(); in GetLocationInfo()
189 uint64_t end_offset = memory_->cur_offset(); in LogOffsetRegisterString()
229 end_offset += memory_->cur_offset(); in LogInstruction()
232 op.GetLogInfo(memory_->cur_offset(), end_offset, &expression_lines); in LogInstruction()
245 uint64_t end_offset = memory_->cur_offset(); in LogInstruction()
[all …]
/system/core/libunwindstack/tests/
DDwarfCfaTest.cpp84 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
96 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
109 ASSERT_EQ(0x2002U, this->dmem_->cur_offset()); in TYPED_TEST_P()
124 ASSERT_EQ(0x2103U, this->dmem_->cur_offset()); in TYPED_TEST_P()
140 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
155 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
171 ASSERT_EQ(0x503U, this->dmem_->cur_offset()); in TYPED_TEST_P()
187 ASSERT_EQ(0x1505U, this->dmem_->cur_offset()); in TYPED_TEST_P()
204 ASSERT_EQ(0x2001U, this->dmem_->cur_offset()); in TYPED_TEST_P()
217 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.cc168 uint64_t cur_offset = start; in Init() local
179 zlib_blks.emplace_back(cur_offset, new_blk_size); in Init()
183 cur_offset += new_blk_size; in Init()
187 if (cur_offset - start > 0) { in Init()
190 file.extents = {ExtentForBytes(kBlockSize, start, cur_offset - start)}; in Init()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc2769 int cur_offset; in nfa_ee_lmrt_to_nfcc() local
2802 cur_offset = 0; in nfa_ee_lmrt_to_nfcc()
2814 &cur_offset); in nfa_ee_lmrt_to_nfcc()
2822 &max_len, more, p, &cur_offset); in nfa_ee_lmrt_to_nfcc()