Home
last modified time | relevance | path

Searched refs:md_str (Results 1 – 2 of 2) sorted by relevance

/external/google-breakpad/src/tools/linux/md2core/
Dminidump_memory_range_unittest.cc227 MDString* md_str = reinterpret_cast<MDString*>(buffer); in TEST() local
228 md_str->length = 4; in TEST()
229 md_str->buffer[0] = 'T'; in TEST()
230 md_str->buffer[1] = 'e'; in TEST()
231 md_str->buffer[2] = 's'; in TEST()
232 md_str->buffer[3] = 't'; in TEST()
233 md_str->buffer[4] = '\0'; in TEST()
236 sizeof(MDString) + (md_str->length + 1) * sizeof(uint16_t); in TEST()
238 md_str = reinterpret_cast<MDString*>(buffer + str2_offset); in TEST()
239 md_str->length = 9; // Test length larger than actual string in TEST()
[all …]
Dminidump_memory_range.h76 const MDString* md_str = GetData<MDString>(sub_offset); in GetAsciiMDString() local
77 if (md_str) { in GetAsciiMDString()
78 const uint16_t* buffer = &md_str->buffer[0]; in GetAsciiMDString()
79 for (uint32_t i = 0; i < md_str->length && buffer[i]; ++i) { in GetAsciiMDString()