Home
last modified time | relevance | path

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

/system/core/logwrapper/
Dlogwrap.cpp276 char* nbuf = static_cast<char*>(malloc(a_buf->e_buf.alloc_len)); in print_abbr_buf() local
277 if (!nbuf) { in print_abbr_buf()
281 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); in print_abbr_buf()
283 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); in print_abbr_buf()
284 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); in print_abbr_buf()
285 free(nbuf); in print_abbr_buf()