Home
last modified time | relevance | path

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

/system/core/toolbox/upstream-netbsd/bin/dd/
Dmisc.c196 char hbuf[7], nbuf[32]; in dd_write_msg() local
219 (void)snprintf(nbuf, sizeof(nbuf), "%llu", in dd_write_msg()
221 ADDS(nbuf); in dd_write_msg()
231 (void)snprintf(nbuf, sizeof(nbuf), "%llu", in dd_write_msg()
233 ADDS(nbuf); in dd_write_msg()
243 (void)snprintf(nbuf, sizeof(nbuf), "%llu", in dd_write_msg()
245 ADDS(nbuf); in dd_write_msg()
248 (void)snprintf(nbuf, sizeof(nbuf), "%llu", in dd_write_msg()
250 ADDS(nbuf); in dd_write_msg()
253 (void)snprintf(nbuf, sizeof(nbuf), "%llu", in dd_write_msg()
[all …]
/system/core/logwrapper/
Dlogwrap.c280 char * nbuf = malloc(a_buf->e_buf.alloc_len); in print_abbr_buf() local
281 if (!nbuf) { in print_abbr_buf()
285 memcpy(nbuf, a_buf->e_buf.buf + a_buf->e_buf.read, first_chunk_len); in print_abbr_buf()
287 memcpy(nbuf + first_chunk_len, a_buf->e_buf.buf, a_buf->e_buf.write); in print_abbr_buf()
288 print_buf_lines(log_info, nbuf, first_chunk_len + a_buf->e_buf.write); in print_abbr_buf()
289 free(nbuf); in print_abbr_buf()