Searched refs:ReadString (Results 1 – 7 of 7) sorted by relevance
/system/core/libunwindstack/tests/ |
D | MemoryTest.cpp | 62 ASSERT_TRUE(memory.ReadString(100, &dst_name, 100)); in TEST() 65 ASSERT_TRUE(memory.ReadString(107, &dst_name, 100)); in TEST() 69 ASSERT_TRUE(memory.ReadString(107, &dst_name, 10)); in TEST() 72 ASSERT_FALSE(memory.ReadString(107, &dst_name, 9)); in TEST() 85 ASSERT_FALSE(memory.ReadString(100, &dst_name, 100)); in TEST() 88 ASSERT_FALSE(memory.ReadString(0, &dst_name, 100)); in TEST() 92 ASSERT_TRUE(memory.ReadString(0, &dst_name, 100)); in TEST() 116 ASSERT_TRUE(memory.ReadString(100, &dst_name, sizeof(kLongString))); in TEST() 121 ASSERT_TRUE(memory.ReadString(100, &dst_name, 256)); in TEST() 123 ASSERT_FALSE(memory.ReadString(100, &dst_name, 255)); in TEST() [all …]
|
/system/bt/profile/sdp/common/ |
D | data_element_reader.h | 57 DataElement ReadString(DataElementSize size);
|
D | data_element_reader.cc | 69 return ReadString(size); in ReadNext() 174 DataElementReader::DataElement DataElementReader::ReadString( in ReadString() function in bluetooth::sdp::DataElementReader
|
/system/core/libunwindstack/include/unwindstack/ |
D | Memory.h | 40 virtual bool ReadString(uint64_t addr, std::string* dst, size_t max_read);
|
/system/core/libunwindstack/ |
D | Symbols.cpp | 146 return str < str_end_ && elf_memory->ReadString(str, name, str_end_ - str); in GetName() 162 if (elf_memory->ReadString(str_offset, &symbol, str_end_ - str_offset) && symbol == name) { in GetGlobal()
|
D | ElfInterface.cpp | 374 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name)) { in ReadSectionHeaders() 408 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name) && in ReadSectionHeaders() 463 if (!memory_->ReadString(soname_offset, &soname_, soname_max - soname_offset)) { in GetSonameWithTemplate() 612 memory->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name) && in GetBuildIDInfo()
|
D | Memory.cpp | 161 bool Memory::ReadString(uint64_t addr, std::string* dst, size_t max_read) { in ReadString() function in unwindstack::Memory
|