Home
last modified time | relevance | path

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

/coreutils/src/
Dcat.c189 write_pending (char *outbuf, char **bpout) in write_pending() argument
191 idx_t n_write = *bpout - outbuf; in write_pending()
194 if (full_write (STDOUT_FILENO, outbuf, n_write) != n_write) in write_pending()
196 *bpout = outbuf; in write_pending()
213 cat (char *inbuf, idx_t insize, char *outbuf, idx_t outsize, in cat() argument
244 char *bpout = outbuf; in cat()
252 if (outbuf + outsize <= bpout) in cat()
254 char *wp = outbuf; in cat()
268 memmove (outbuf, wp, remaining_bytes); in cat()
269 bpout = outbuf + remaining_bytes; in cat()
[all …]
Dbasenc.c1090 char *inbuf, *outbuf; in do_encode() local
1094 outbuf = xmalloc (BASE_LENGTH (ENC_BLOCKSIZE)); in do_encode()
1112 base_encode (inbuf, sum, outbuf, BASE_LENGTH (sum)); in do_encode()
1114 wrap_write (outbuf, BASE_LENGTH (sum), wrap_column, in do_encode()
1133 char *inbuf, *outbuf; in do_decode() local
1139 outbuf = xmalloc (DEC_BLOCKSIZE); in do_decode()
1198 ok = base_decode_ctx (&ctx, inbuf, sum, outbuf, &n); in do_decode()
1200 if (fwrite (outbuf, 1, n, out) < n) in do_decode()