HomeSort by: relevance | last modified time | path
    Searched defs:outbuf (Results 1 - 25 of 38) sorted by relevancy

1 2

  /src/tests/lib/libc/kevent_nullmnt/
h_nullmnt.c 36 const char outbuf[] = "new\n"; local in function:main
69 write(write_file, &outbuf, sizeof(outbuf) - 1);
  /src/usr.bin/gzip/
unbzip2.c 40 static char *inbuf, *outbuf; local in function:unbzip2
44 if (outbuf == NULL)
45 outbuf = malloc(BUFLEN);
46 if (inbuf == NULL || outbuf == NULL)
82 bzs.next_out = outbuf;
104 n = write(out, outbuf, BUFLEN - bzs.avail_out);
  /src/usr.sbin/lpr/lptest/
lptest.c 55 char outbuf[BUFSIZ]; local in function:main
57 setbuf(stdout, outbuf);
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 61 char *outbuf; local in function:main
117 outbuf = malloc(outbufsize);
118 if (outbuf == NULL)
120 memset(outbuf, 0, outbufsize);
123 rv = read(infd, outbuf + sizeof (struct alpha_boot_block),
132 bb = (struct alpha_boot_block *)outbuf;
158 rv = write(outfd, outbuf, outbufsize);
  /src/usr.bin/uudecode/
uudecode.c 295 unsigned char outbuf[MAXPATHLEN * 4]; local in function:base64_decode
306 n = b64_pton(inbuf, outbuf, sizeof(outbuf));
310 fwrite(outbuf, 1, n, stdout);
  /src/usr.bin/ypmatch/
ypmatch.c 57 char *inkey, *outbuf; local in function:main
136 &outbuf, &outbuflen);
141 fwrite(outbuf, outbuflen, 1, stdout);
  /src/lib/libc/inet/
inet_net_ntop.c 179 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local in function:inet_net_ntop_ipv6
189 cp = outbuf;
261 if (cp != outbuf)
270 if (strlen(outbuf) + 1 > size)
272 strcpy(dst, outbuf);
  /src/sys/fs/cd9660/
iso_rrip.h 68 char *outbuf; /* name/symbolic link output area */ member in struct:__anon02f4174b0108
77 char *outbuf, u_short *outlen,
80 char *outbuf, u_short *outlen,
cd9660_rrip.c 120 char *outbuf; local in function:cd9660_rrip_slink
127 outbuf = ana->outbuf;
141 *outbuf++ = '/';
164 outbuf -= len;
171 outbuf -= len;
201 ana->outbuf -= *ana->outlen;
206 memcpy(outbuf, inbuf, wlen);
207 outbuf += wlen;
210 ana->outbuf = outbuf
    [all...]
  /src/tests/dev/audio/
h_pad.c 101 uint32_t *outbuf; local in function:main
138 outbuf = (uint32_t *)malloc(outlen);
139 if (outbuf == NULL)
140 err(1, "malloc: outbuf");
175 /* Read to outbuf when it is empty. */
177 n = rump_sys_read(padfd, outbuf, outlen);
187 outp = outbuf;
  /src/tests/lib/libm/
t_ldexp.c 168 char outbuf[64]; local in function:run_test
179 (void)snprintf(outbuf, sizeof(outbuf), FORMAT, v);
181 ATF_CHECK_STREQ_MSG(table->result, outbuf,
183 i, table->result, outbuf);
  /src/usr.bin/banner/
banner.c 132 char outbuf[LINELEN+1], *sp, c, cc; local in function:scan_out
136 strp = &outbuf[0];
161 while (*--strp == ' ' && strp >= outbuf)
166 (void) write(scfd, outbuf, strp-outbuf);
  /src/sys/external/isc/libsodium/src/
sodium_selftest.c 139 uint8_t outbuf[sizeof(ciphertext) + TESTALIGN]; local in function:crypto_aead_chacha20poly1305_ietf_selftest
170 memset(outbuf, 0, sizeof(outbuf));
177 error = crypto_aead_chacha20poly1305_ietf_encrypt(outbuf + M,
199 if (memcmp(outbuf + M, ciphertext, sizeof(ciphertext)) != 0) {
203 hexdump(printf, t, outbuf + M, sizeof(ciphertext));
215 memset(outbuf, 0, sizeof(outbuf));
222 error = crypto_aead_chacha20poly1305_ietf_decrypt(outbuf + M,
244 if (memcmp(outbuf + M, plaintext, sizeof(plaintext)) != 0)
382 uint8_t outbuf[sizeof(ciphertext) + TESTALIGN]; local in function:crypto_aead_xchacha20poly1305_ietf_selftest
    [all...]
  /src/sys/crypto/aes/
aes_selftest.c 108 uint8_t outbuf[18] = { [0] = 0x1a, [17] = 0x1a }, *out = outbuf + 1; local in function:aes_selftest_encdec
129 if (outbuf[0] != 0x1a)
130 return aes_selftest_fail(impl, outbuf,
133 if (outbuf[17] != 0x1a)
134 return aes_selftest_fail(impl, outbuf + 17,
211 uint8_t outbuf[146] = { [0] = 0x1a, [145] = 0x1a }, *out = outbuf + 1; local in function:aes_selftest_encdec_cbc
262 if (outbuf[0] != 0x1a)
263 return aes_selftest_fail(impl, outbuf,
340 uint8_t outbuf[146] = { [0] = 0x1a, [145] = 0x1a }, *out = outbuf + 1; local in function:aes_selftest_encdec_xts
    [all...]
  /src/usr.bin/iconv/
iconv.c 97 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local in function:do_conv
116 out = outbuf;
123 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes,
156 out = outbuf;
161 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, stdout);
  /src/lib/libedit/
map.c 1137 char outbuf[EL_BUFSIZ]; local in function:map_print_key
1141 (void) keymacro__decode_str(in, outbuf, sizeof(outbuf), "");
1146 "%s\t->\t%ls\n", outbuf, bp->name);
1263 wchar_t outbuf[EL_BUFSIZ]; local in function:map_bind
1358 if ((out = parse__string(outbuf, argv[argc])) == NULL) {
  /src/lib/libtelnet/
kerberos5.c 269 krb5_data outbuf; local in function:kerberos5_is
386 auth_context, &outbuf);
399 Data(ap, KRB_RESPONSE, outbuf.data, outbuf.length);
  /src/usr.bin/fmt/
fmt.c 76 static struct buffer outbuf; variable in typeref:struct:buffer
110 buf_init(&outbuf);
172 buf_end(&outbuf);
453 if (outbuf.bptr == outbuf.ptr)
460 s = outbuf.ptr - outbuf.bptr;
468 buf_putc(&outbuf, *cp++);
476 buf_putc(&outbuf, *cp++);
481 * its way. Reset outbuf
    [all...]
  /src/common/dist/zlib/examples/
gun.c 162 unsigned char outbuf[SIZE]; /* output buffer */ variable in typeref:typename:unsigned char[]
261 outbuf[0] = (unsigned char)final; /* write first decompressed byte */
281 if (outcnt && out(&outd, outbuf, outcnt)) {
282 strm->next_in = outbuf; /* signal write error */
352 outbuf[outcnt++] = match[--stack];
353 if (out(&outd, outbuf, outcnt)) {
354 strm->next_in = outbuf; /* signal write error */
361 outbuf[outcnt++] = *--p;
  /src/usr.bin/elf2aout/
elf2aout.c 460 struct nlist outbuf[64]; local in function:translate_syms
468 memset(outbuf, 0, sizeof outbuf);
534 outbuf[i].n_un.n_strx = nsp - newstrings + 4;
543 outbuf[i].n_type = N_FN;
545 outbuf[i].n_type = get_type(inbuf[i].st_shndx);
547 outbuf[i].n_type |= N_EXT;
549 outbuf[i].n_value = inbuf[i].st_value;
551 outbuf[i].n_un.n_strx = bswap32(outbuf[i].n_un.n_strx)
    [all...]
  /src/games/worm/
worm.c 82 static char outbuf[BUFSIZ]; variable in typeref:typename:char[]
115 setbuf(stdout, outbuf);
  /src/libexec/getty/
main.c 533 char outbuf[OBUFSIZ]; variable in typeref:typename:char[]
548 outbuf[obufcnt++] = c;
560 (void)write(STDOUT_FILENO, outbuf, obufcnt);
  /src/lib/libc/rpc/
clnt_bcast.c 267 char *outbuf = NULL; /* Broadcast msg buffer */ local in function:rpc_broadcast_exp
385 outbuf = malloc(maxbufsize);
386 if ((inbuf == NULL) || (outbuf == NULL)) {
408 xdrmem_create(xdrs, outbuf, maxbufsize, XDR_ENCODE);
474 if ((size_t)sendto(fdlist[i].fd, outbuf,
580 *((u_int32_t *)(void *)(outbuf))) {
654 if (outbuf)
655 (void) free(outbuf);
  /src/games/larn/
io.c 643 static char *outbuf = 0; /* translated output buffer */ variable in typeref:typename:char *
663 if ((outbuf = malloc(BUFBIG + 16)) == 0) { /* get memory for
911 outbuf[vindex++] = ch;
924 write(io_outfd, outbuf, vindex);
  /src/usr.bin/mail/
mime_codecs.c 121 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local in function:mime_ficonv
135 out = outbuf;
172 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo);
177 out = outbuf;
185 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo);
439 mime_QPh_decode(char *outbuf, size_t outlen, const char *inbuf, size_t inlen)
445 outend = outbuf + outlen;
447 q = outbuf;
467 return q - outbuf;
710 mime_rfc2047_decode(char encoding, char *outbuf, size_t outlen
    [all...]

Completed in 28 milliseconds

1 2