Home
last modified time | relevance | path

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

/art/runtime/
Dnative_stack_dump.cc190 constexpr size_t kMaxBuffer = 128; // Relatively small buffer. Should be OK as we're on an in Drain() local
192 char buffer[kMaxBuffer]; in Drain()
193 memset(buffer, 0, kMaxBuffer); in Drain()
194 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); in Drain()
/art/tools/timeout_dumper/
Dtimeout_dumper.cc240 constexpr size_t kMaxBuffer = 128; // Relatively small buffer. Should be OK as we're on an in Drain() local
242 char buffer[kMaxBuffer]; in Drain()
243 memset(buffer, 0, kMaxBuffer); in Drain()
244 int bytes_read = TEMP_FAILURE_RETRY(read(in, buffer, kMaxBuffer - 1)); in Drain()