Searched refs:ReadString (Results 1 – 7 of 7) sorted by relevance
/system/unwinding/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/unwinding/libunwindstack/include/unwindstack/ |
D | Memory.h | 46 virtual bool ReadString(uint64_t addr, std::string* dst, size_t max_read);
|
/system/unwinding/libunwindstack/ |
D | Symbols.cpp | 157 if (!IsFunc(&sym) || !elf_memory->ReadString(str, &symbol_name, str_end_ - str)) { in GetName() 190 if (elf_memory->ReadString(str_offset, &symbol, str_end_ - str_offset) && symbol == name) { in GetGlobal()
|
D | ElfInterface.cpp | 321 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name)) { in ReadSectionHeaders() 358 if (memory_->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name) && in ReadSectionHeaders() 413 if (!memory_->ReadString(soname_offset, &soname_, soname_max - soname_offset)) { in GetSoname() 565 memory->ReadString(sec_offset + shdr.sh_name, &name, sec_size - shdr.sh_name) && in GetBuildIDInfo()
|
D | Memory.cpp | 176 bool Memory::ReadString(uint64_t addr, std::string* dst, size_t max_read) { in ReadString() function in unwindstack::Memory
|