Lines Matching refs:bytes
136 size_t bytes = backtrace->Read(addr, reinterpret_cast<uint8_t*>(data), sizeof(data)); local
137 if (bytes % sizeof(uintptr_t) != 0) {
139 ALOGE("Bytes read %zu, is not a multiple of %zu", bytes, sizeof(uintptr_t));
140 bytes &= ~(sizeof(uintptr_t) - 1);
145 if (bytes == 0) {
156 if (bytes < MEMORY_BYTES_TO_DUMP && !skip_2nd_read) {
163 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes,
164 sizeof(data) - bytes - start);
165 bytes += bytes2;
166 if (bytes2 > 0 && bytes % sizeof(uintptr_t) != 0) {
168 ALOGE("Bytes after second read %zu, is not a multiple of %zu", bytes, sizeof(uintptr_t));
169 bytes &= ~(sizeof(uintptr_t) - 1);
181 size_t total_bytes = start + bytes;