Searched refs:ReadBytes (Results 1 – 7 of 7) sorted by relevance
/system/core/libunwindstack/ |
D | DwarfMemory.cpp | 29 bool DwarfMemory::ReadBytes(void* dst, size_t num_bytes) { in ReadBytes() function in unwindstack::DwarfMemory 40 if (!ReadBytes(&signed_value, sizeof(SignedType))) { in ReadSigned() 52 if (!ReadBytes(&byte, 1)) { in ReadULEB128() 67 if (!ReadBytes(&byte, 1)) { in ReadSLEB128() 162 return ReadBytes(value, sizeof(AddressType)); in ReadEncodedValue() 171 if (!ReadBytes(value, sizeof(AddressType))) { in ReadEncodedValue() 189 if (!ReadBytes(&value8, 1)) { in ReadEncodedValue() 201 if (!ReadBytes(&value16, 2)) { in ReadEncodedValue() 213 if (!ReadBytes(&value32, 4)) { in ReadEncodedValue() 224 if (!ReadBytes(value, sizeof(uint64_t))) { in ReadEncodedValue()
|
D | DwarfSection.cpp | 87 if (!memory_.ReadBytes(&length32, sizeof(length32))) { in FillInCieHeader() 95 if (!memory_.ReadBytes(&length64, sizeof(length64))) { in FillInCieHeader() 105 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { in FillInCieHeader() 121 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { in FillInCieHeader() 137 if (!memory_.ReadBytes(&cie->version, sizeof(cie->version))) { in FillInCie() 152 if (!memory_.ReadBytes(&aug_value, 1)) { in FillInCie() 165 if (!memory_.ReadBytes(&cie->segment_size, 1)) { in FillInCie() 189 if (!memory_.ReadBytes(&return_address_register, 1)) { in FillInCie() 217 if (!memory_.ReadBytes(&cie->lsda_encoding, 1)) { in FillInCie() 225 if (!memory_.ReadBytes(&encoding, 1)) { in FillInCie() [all …]
|
D | DwarfCfa.cpp | 70 if (!memory_->ReadBytes(&cfa_value, 1)) { in GetLocationInfo() 195 if (!memory_->ReadBytes(&value, 1)) { in LogOffsetRegisterString() 250 if (!memory_->ReadBytes(&value, 1)) { in LogInstruction() 285 if (!memory_->ReadBytes(&cfa_value, 1)) { in Log()
|
D | DwarfEhFrameWithHdr.cpp | 51 if (!memory_.ReadBytes(data, 4)) { in Init()
|
D | DwarfOp.cpp | 1536 if (!memory_->ReadBytes(&cur_op_, 1)) { in Decode() 1575 if (!memory_->ReadBytes(&cur_op, 1)) { in GetLogInfo() 1599 if (!memory_->ReadBytes(&byte, 1)) { in GetLogInfo()
|
/system/core/libunwindstack/tests/ |
D | DwarfMemoryTest.cpp | 64 TEST_F(DwarfMemoryTest, ReadBytes) { in TEST_F() argument 68 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F() 70 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F() 72 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F() 74 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F() 79 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
|
/system/core/libunwindstack/include/unwindstack/ |
D | DwarfMemory.h | 32 bool ReadBytes(void* dst, size_t num_bytes);
|