Home
last modified time | relevance | path

Searched refs:GetPtr (Results 1 – 4 of 4) sorted by relevance

/system/core/libunwindstack/tests/
DMemoryBufferTest.cpp39 ASSERT_EQ(nullptr, memory_->GetPtr(0)); in TEST_F()
40 ASSERT_EQ(nullptr, memory_->GetPtr(1)); in TEST_F()
46 ASSERT_TRUE(memory_->GetPtr(0) != nullptr); in TEST_F()
47 ASSERT_TRUE(memory_->GetPtr(1) != nullptr); in TEST_F()
48 ASSERT_TRUE(memory_->GetPtr(255) != nullptr); in TEST_F()
49 ASSERT_TRUE(memory_->GetPtr(256) == nullptr); in TEST_F()
51 uint8_t* data = memory_->GetPtr(0); in TEST_F()
83 ASSERT_TRUE(memory_->GetPtr(0) != nullptr); in TEST_F()
84 ASSERT_TRUE(memory_->GetPtr(1) != nullptr); in TEST_F()
85 ASSERT_TRUE(memory_->GetPtr(255) != nullptr); in TEST_F()
[all …]
/system/core/libunwindstack/
DMemoryBuffer.h36 uint8_t* GetPtr(size_t offset);
DMemory.cpp231 uint8_t* MemoryBuffer::GetPtr(size_t offset) { in GetPtr() function in unwindstack::MemoryBuffer
DElfInterface.cpp131 return_val = XzUnpacker_Code(&state, dst->GetPtr(dst_offset), &dst_remaining, &src[src_offset], in CreateGnuDebugdataMemory()