Home
last modified time | relevance | path

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

/external/e2fsprogs/e2fsck/
Dlogfile.c183 static int outbufsize; variable
196 n = realloc(outbuf, outbufsize + c); in do_read()
199 memcpy(((char *)outbuf)+outbufsize, buffer, c); in do_read()
200 outbufsize += c; in do_read()
267 while (outbufsize > 0) { in save_output()
268 c = write(fd, cp, outbufsize); in save_output()
274 outbufsize -= c; in save_output()
/external/e2fsprogs/misc/
Dlogsave.c36 static int outbufsize = 0; variable
109 n = realloc(outbuf, outbufsize + c); in send_output()
112 memcpy(((char *)outbuf)+outbufsize, buffer, c); in send_output()
113 outbufsize += c; in send_output()
327 write_all(outfd, outbuf, outbufsize); in main()
/external/vboot_reference/host/lib/
Dhost_signature.c168 uint64_t outbufsize, in InvokeExternalSigner() argument
202 n = read(c_to_p[STDIN_FILENO], outbuf, outbufsize); in InvokeExternalSigner()
204 outbufsize -= n; in InvokeExternalSigner()
205 } while (n > 0 && outbufsize); in InvokeExternalSigner()
/external/igt-gpu-tools/runner/
Dexecutor.c481 size_t outbufsize = 0; in monitor_output() local
638 outbuf = realloc(outbuf, outbufsize + s); in monitor_output()
639 memcpy(outbuf + outbufsize, buf, s); in monitor_output()
640 outbufsize += s; in monitor_output()
642 while ((newline = memchr(outbuf, '\n', outbufsize)) != NULL) { in monitor_output()
682 memmove(outbuf, newline + 1, outbufsize - linelen); in monitor_output()
683 outbufsize -= linelen; in monitor_output()
/external/zstd/tests/
Dzstreamtest.c1591 const size_t outbufsize = ZSTD_compressBound(inbufsize); in basicUnitTests() local
1595 BYTE *outbuf = (BYTE *)malloc(outbufsize); in basicUnitTests()
1622 ret = ZSTD_compress_usingCDict(zc, outbuf, outbufsize, inbuf, inbufpos, cdict); in basicUnitTests()