Home
last modified time | relevance | path

Searched refs:ReadString (Results 1 – 7 of 7) sorted by relevance

/system/unwinding/libunwindstack/tests/
DMemoryTest.cpp62 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/
Ddata_element_reader.h57 DataElement ReadString(DataElementSize size);
Ddata_element_reader.cc69 return ReadString(size); in ReadNext()
174 DataElementReader::DataElement DataElementReader::ReadString( in ReadString() function in bluetooth::sdp::DataElementReader
/system/unwinding/libunwindstack/include/unwindstack/
DMemory.h46 virtual bool ReadString(uint64_t addr, std::string* dst, size_t max_read);
/system/unwinding/libunwindstack/
DSymbols.cpp157 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()
DElfInterface.cpp321 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()
DMemory.cpp176 bool Memory::ReadString(uint64_t addr, std::string* dst, size_t max_read) { in ReadString() function in unwindstack::Memory