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 | 85 if (!memory_.ReadBytes(&length32, sizeof(length32))) { in FillInCieHeader() 93 if (!memory_.ReadBytes(&length64, sizeof(length64))) { in FillInCieHeader() 103 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { in FillInCieHeader() 119 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { in FillInCieHeader() 135 if (!memory_.ReadBytes(&cie->version, sizeof(cie->version))) { in FillInCie() 150 if (!memory_.ReadBytes(&aug_value, 1)) { in FillInCie() 163 if (!memory_.ReadBytes(&cie->segment_size, 1)) { in FillInCie() 187 if (!memory_.ReadBytes(&return_address_register, 1)) { in FillInCie() 215 if (!memory_.ReadBytes(&cie->lsda_encoding, 1)) { in FillInCie() 223 if (!memory_.ReadBytes(&encoding, 1)) { in FillInCie() [all …]
|
D | DwarfCfa.cpp | 68 if (!memory_->ReadBytes(&cfa_value, 1)) { in GetLocationInfo() 193 if (!memory_->ReadBytes(&value, 1)) { in LogOffsetRegisterString() 244 if (!memory_->ReadBytes(&value, 1)) { in LogInstruction() 279 if (!memory_->ReadBytes(&cfa_value, 1)) { in Log()
|
D | DwarfEhFrameWithHdr.cpp | 46 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);
|