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

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

Completed in 142 milliseconds