Searched refs:buf_bytes (Results 1 – 1 of 1) sorted by relevance
58 size_t buf_bytes = 0; in NativeGetInfo() local61 TEMP_FAILURE_RETRY(read(smaps_fd, buf + buf_bytes, sizeof(buf) - buf_bytes - 1)); in NativeGetInfo()65 buf_bytes += bytes; in NativeGetInfo()66 while (buf_bytes > 0) { in NativeGetInfo()67 char* newline = reinterpret_cast<char*>(memchr(&buf[buf_start], '\n', buf_bytes)); in NativeGetInfo()89 buf_bytes -= newline - &buf[buf_start] + 1; in NativeGetInfo()93 if (buf_bytes > 0) { in NativeGetInfo()94 memmove(buf, &buf[buf_start], buf_bytes); in NativeGetInfo()