Lines Matching defs:bytes
110 // Align the address to sizeof(long) and start 32 bytes before the address.
128 // Dump 256 bytes
131 size_t bytes = backtrace->Read(addr, reinterpret_cast<uint8_t*>(data), sizeof(data));
132 if (bytes % sizeof(uintptr_t) != 0) {
134 ALOGE("Bytes read %zu, is not a multiple of %zu", bytes, sizeof(uintptr_t));
135 bytes &= ~(sizeof(uintptr_t) - 1);
140 if (bytes == 0) {
151 if (bytes < MEMORY_BYTES_TO_DUMP && !skip_2nd_read) {
156 // to contain at least one page, and the total number of bytes to dump
158 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes,
159 sizeof(data) - bytes - start);
160 bytes += bytes2;
161 if (bytes2 > 0 && bytes % sizeof(uintptr_t) != 0) {
163 ALOGE("Bytes after second read %zu, is not a multiple of %zu", bytes, sizeof(uintptr_t));
164 bytes &= ~(sizeof(uintptr_t) - 1);
172 // On 32-bit machines, there are still 16 bytes per line but addresses and
176 size_t total_bytes = start + bytes;