Home
last modified time | relevance | path

Searched refs:ReadEncodedValue (Results 1 – 7 of 7) sorted by relevance

/system/core/libunwindstack/tests/
DDwarfMemoryTest.cpp242 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<AddressType>(0xff, &value)); in ReadEncodedValue_omit()
256 ASSERT_FALSE(dwarf_mem_->ReadEncodedValue<uint32_t>(0x00, &value)); in TEST_F()
260 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<uint32_t>(0x00, &value)); in TEST_F()
267 ASSERT_FALSE(dwarf_mem_->ReadEncodedValue<uint64_t>(0x00, &value)); in TEST_F()
271 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<uint64_t>(0x00, &value)); in TEST_F()
279 ASSERT_FALSE(dwarf_mem_->ReadEncodedValue<uint32_t>(0x50, &value)); in TEST_F()
283 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<uint32_t>(0x50, &value)); in TEST_F()
291 ASSERT_FALSE(dwarf_mem_->ReadEncodedValue<uint64_t>(0x50, &value)); in TEST_F()
295 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<uint64_t>(0x50, &value)); in TEST_F()
306 ASSERT_TRUE(dwarf_mem_->ReadEncodedValue<AddressType>(0x01, &value)); in ReadEncodedValue_leb128()
[all …]
/system/core/libunwindstack/
DDwarfEhFrameWithHdr.cpp73 if (!memory_.template ReadEncodedValue<AddressType>(ptr_encoding_, &ptr_offset_)) { in Init()
80 if (!memory_.template ReadEncodedValue<AddressType>(fde_count_encoding, &fde_count_)) { in Init()
131 if (!memory_.template ReadEncodedValue<AddressType>(table_encoding_, &value) || in GetFdeInfoFromIndex()
132 !memory_.template ReadEncodedValue<AddressType>(table_encoding_, &info->offset)) { in GetFdeInfoFromIndex()
DDwarfMemory.cpp149 bool DwarfMemory::ReadEncodedValue(uint8_t encoding, uint64_t* value) { in ReadEncodedValue() function in unwindstack::DwarfMemory
249 template bool DwarfMemory::ReadEncodedValue<uint32_t>(uint8_t, uint64_t*);
250 template bool DwarfMemory::ReadEncodedValue<uint64_t>(uint8_t, uint64_t*);
DDwarfSection.cpp229 if (!memory_.ReadEncodedValue<AddressType>(encoding, &cie->personality_handler)) { in FillInCie()
337 bool valid = memory_.ReadEncodedValue<AddressType>(cie->fde_address_encoding, &fde->pc_start); in FillInFde()
341 if (!valid || !memory_.ReadEncodedValue<AddressType>(cie->fde_address_encoding, &fde->pc_end)) { in FillInFde()
359 if (!memory_.ReadEncodedValue<AddressType>(cie->lsda_encoding, &fde->lsda_address)) { in FillInFde()
DDwarfCfa.cpp128 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in GetLocationInfo()
230 if (!memory_->ReadEncodedValue<AddressType>(cfa->operands[i], &value)) { in LogInstruction()
DDwarfOp.cpp1559 if (!memory_->ReadEncodedValue<AddressType>(op->operands[i], &value)) { in Decode()
1589 if (!memory_->ReadEncodedValue<AddressType>(op->operands[i], &value)) { in GetLogInfo()
/system/core/libunwindstack/include/unwindstack/
DDwarfMemory.h47 bool ReadEncodedValue(uint8_t encoding, uint64_t* value);