| /src/tests/lib/libc/kevent_nullmnt/ |
| h_nullmnt.c | 36 const char outbuf[] = "new\n"; local 69 write(write_file, &outbuf, sizeof(outbuf) - 1);
|
| /src/usr.bin/gzip/ |
| unbzip2.c | 40 static char *inbuf, *outbuf; local 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 57 setbuf(stdout, outbuf);
|
| /src/sys/arch/alpha/stand/mkbootimage/ |
| mkbootimage.c | 62 char *outbuf; local 118 outbuf = malloc(outbufsize); 119 if (outbuf == NULL) 121 memset(outbuf, 0, outbufsize); 124 rv = read(infd, outbuf + sizeof (struct alpha_boot_block), 133 bb = (struct alpha_boot_block *)outbuf; 159 rv = write(outfd, outbuf, outbufsize);
|
| /src/external/public-domain/xz/dist/doc/examples/ |
| 01_compress_easy.c | 117 uint8_t outbuf[BUFSIZ]; local 132 strm->next_out = outbuf; 133 strm->avail_out = sizeof(outbuf); 183 size_t write_size = sizeof(outbuf) - strm->avail_out; 185 if (fwrite(outbuf, 1, write_size, outfile) 193 strm->next_out = outbuf; 194 strm->avail_out = sizeof(outbuf);
|
| 02_decompress.c | 119 uint8_t outbuf[BUFSIZ]; local 123 strm->next_out = outbuf; 124 strm->avail_out = sizeof(outbuf); 150 size_t write_size = sizeof(outbuf) - strm->avail_out; 152 if (fwrite(outbuf, 1, write_size, outfile) 159 strm->next_out = outbuf; 160 strm->avail_out = sizeof(outbuf);
|
| 03_compress_custom.c | 110 uint8_t outbuf[BUFSIZ]; local 114 strm->next_out = outbuf; 115 strm->avail_out = sizeof(outbuf); 136 size_t write_size = sizeof(outbuf) - strm->avail_out; 138 if (fwrite(outbuf, 1, write_size, outfile) 145 strm->next_out = outbuf; 146 strm->avail_out = sizeof(outbuf);
|
| 04_compress_easy_mt.c | 123 uint8_t outbuf[BUFSIZ]; local 127 strm->next_out = outbuf; 128 strm->avail_out = sizeof(outbuf); 149 size_t write_size = sizeof(outbuf) - strm->avail_out; 151 if (fwrite(outbuf, 1, write_size, outfile) 158 strm->next_out = outbuf; 159 strm->avail_out = sizeof(outbuf);
|
| /src/usr.bin/uudecode/ |
| uudecode.c | 295 unsigned char outbuf[MAXPATHLEN * 4]; local 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 136 &outbuf, &outbuflen); 141 fwrite(outbuf, outbuflen, 1, stdout);
|
| /src/external/bsd/bzip2/dist/ |
| unzcrash.c | 43 uchar outbuf[M_BLOCK_OUT]; variable 109 outbuf, &nOut, zbuf, nZ, 0, 0 ); 120 if (inbuf[i] != outbuf[i]) { 134 if (inbuf[i] != outbuf[i]) {
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| getopt.c | 63 char *ptr, outbuf[4096]; local 65 ptr = lutil_strncopy(outbuf, argv[0], sizeof(outbuf) - 2); 66 ptr = lutil_strncopy(ptr, s, sizeof(outbuf)-2 -(ptr-outbuf)); 70 __atoe_l(outbuf, ptr - outbuf); 72 (void) write(STDERR_FILENO,outbuf,ptr - outbuf);
|
| /src/lib/libc/inet/ |
| inet_net_ntop.c | 179 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local 189 cp = outbuf; 261 if (cp != outbuf) 270 if (strlen(outbuf) + 1 > size) 272 strcpy(dst, outbuf);
|
| /src/sys/external/isc/libsodium/src/ |
| sodium_selftest.c | 139 uint8_t outbuf[sizeof(ciphertext) + TESTALIGN]; local 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 [all...] |
| /src/sys/fs/cd9660/ |
| iso_rrip.h | 68 char *outbuf; /* name/symbolic link output area */ member in struct:__anon6719 77 char *outbuf, u_short *outlen, 80 char *outbuf, u_short *outlen,
|
| /src/tests/dev/audio/ |
| h_pad.c | 102 uint32_t *outbuf; local 139 outbuf = (uint32_t *)malloc(outlen); 140 if (outbuf == NULL) 141 err(1, "malloc: outbuf"); 176 /* Read to outbuf when it is empty. */ 178 n = rump_sys_read(padfd, outbuf, outlen); 188 outp = outbuf;
|
| /src/usr.bin/banner/ |
| banner.c | 132 char outbuf[LINELEN+1], *sp, c, cc; local 136 strp = &outbuf[0]; 161 while (*--strp == ' ' && strp >= outbuf) 166 (void) write(scfd, outbuf, strp-outbuf);
|
| /src/external/bsd/libbind/dist/inet/ |
| inet_net_ntop.c | 179 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local 189 cp = outbuf; 261 if (cp != outbuf) 270 if (strlen(outbuf) + 1 > size) 272 strcpy(dst, outbuf);
|
| /src/external/bsd/openldap/dist/contrib/ldapc++/src/ |
| LdifReader.cpp | 283 char outbuf[value.size()]; local 285 outbuf, value.size(), NULL); 288 value = std::string(outbuf);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/config/locale/gnu/ |
| numeric_members.cc | 65 char* outbuf = &c1; local 66 size_t n = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); 76 outbuf = &c2; 78 n = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/gnu/ |
| numeric_members.cc | 65 char* outbuf = &c1; local 66 size_t n = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); 76 outbuf = &c2; 78 n = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft);
|
| /src/sys/crypto/aes/ |
| aes_selftest.c | 110 uint8_t outbuf[18] = { [0] = 0x1a, [17] = 0x1a }, *out = outbuf + 1; local 131 if (outbuf[0] != 0x1a) 132 return aes_selftest_fail(impl, outbuf, 135 if (outbuf[17] != 0x1a) 136 return aes_selftest_fail(impl, outbuf + 17, 213 uint8_t outbuf[146] = { [0] = 0x1a, [145] = 0x1a }, *out = outbuf + 1; local 264 if (outbuf[0] != 0x1a) 265 return aes_selftest_fail(impl, outbuf, 342 uint8_t outbuf[146] = { [0] = 0x1a, [145] = 0x1a }, *out = outbuf + 1; local [all...] |
| /src/tests/lib/libm/ |
| t_ldexp.c | 168 char outbuf[64]; local 179 (void)snprintf(outbuf, sizeof(outbuf), FORMAT, v); 181 ATF_CHECK_STREQ_MSG(table->result, outbuf, 183 i, table->result, outbuf);
|
| /src/usr.bin/iconv/ |
| iconv.c | 98 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local 117 out = outbuf; 124 if (fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo) 160 out = outbuf; 165 if (fwrite(outbuf, 1, OUTBUFSIZE - outbytes, fo)
|
| /src/external/bsd/ipf/dist/samples/ |
| proxy.c | 233 char netbuf[1024], outbuf[1024]; local 249 orptr = outbuf; 250 owptr = outbuf; 251 osz = sizeof(outbuf); 259 if (orptr - outbuf < sizeof(outbuf)) 264 if (osz < sizeof(outbuf)) 279 i = read(net, orptr, sizeof(outbuf) - (orptr - outbuf)); 292 if (osz == sizeof(outbuf) || owptr == orptr) [all...] |