| /src/sbin/disklabel/ |
| printlabel.c | 115 char sbuf[64], obuf[64]; local 123 (void)snprintf(obuf, sizeof(obuf), 130 'a' + i, sbuf, obuf);
|
| /src/lib/libc/compat/net/ |
| compat_ns_ntoa.c | 53 static char obuf[40]; local 62 sprintf(obuf, "%x", ntohl(net.long_e)); 63 cp = spectHex(obuf); 84 return (obuf);
|
| /src/tests/crypto/opencrypto/ |
| h_aesctr2.c | 56 unsigned char obuf[24]; local 76 co.dst = obuf; 77 co.dst_len = sizeof(obuf); 85 co.len = sizeof(obuf); 86 co.src = obuf;
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| rc4test.c | 66 unsigned char obuf[512]; local 70 memset(obuf, 0, sizeof(obuf)); 71 RC4(&key, data_len[i], &(data[i][0]), obuf); 72 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 77 unsigned char obuf[512]; local 81 memset(obuf, 0, sizeof(obuf)); 82 RC4(&key, i, &(data[3][0]), obuf); 83 if (!TEST_mem_eq(obuf, i, output[3], i) 90 unsigned char obuf[512]; local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| rc4test.c | 66 unsigned char obuf[512]; local 70 memset(obuf, 0, sizeof(obuf)); 71 RC4(&key, data_len[i], &(data[i][0]), obuf); 72 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 77 unsigned char obuf[512]; local 81 memset(obuf, 0, sizeof(obuf)); 82 RC4(&key, i, &(data[3][0]), obuf); 83 if (!TEST_mem_eq(obuf, i, output[3], i) 90 unsigned char obuf[512]; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| rc4test.c | 60 unsigned char obuf[512]; local 64 memset(obuf, 0, sizeof(obuf)); 65 RC4(&key, data_len[i], &(data[i][0]), obuf); 66 return TEST_mem_eq(obuf, data_len[i] + 1, output[i], data_len[i] + 1); 71 unsigned char obuf[512]; local 75 memset(obuf, 0, sizeof(obuf)); 76 RC4(&key, i, &(data[3][0]), obuf); 77 if (!TEST_mem_eq(obuf, i, output[3], i) 84 unsigned char obuf[512]; local [all...] |
| /src/external/bsd/wpa/dist/src/tls/ |
| pkcs8.c | 25 char obuf[80]; local 78 asn1_oid_to_str(&oid, obuf, sizeof(obuf)); 79 wpa_printf(MSG_DEBUG, "PKCS #8: algorithm=%s", obuf); 90 "algorithm %s", obuf);
|
| /src/distrib/utils/more/ |
| output.c | 130 static char obuf[1024]; variable 131 static char *ob = obuf; 141 n = ob - obuf; 144 if (write(1, obuf, n) != n) 146 ob = obuf; 156 ob = obuf; 166 if (ob >= &obuf[sizeof(obuf)])
|
| /src/lib/libc/gdtoa/test/ |
| dtest.c | 58 static char ibuf[2048], obuf[1024]; variable 108 se = g_dfmt(obuf, &u.f, ndig, sizeof(obuf)); 110 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| ftest.c | 57 static char ibuf[2048], obuf[1024]; variable 112 se = g_ffmt(obuf, &u.f, ndig, sizeof(obuf)); 114 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| xLtest.c | 59 static char ibuf[2048], obuf[2048]; variable 129 se = g_xLfmt(obuf, u.bits, ndig, sizeof(obuf)); 131 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| xtest.c | 59 static char ibuf[2048], obuf[2048]; variable 127 se = g_xfmt(obuf, u.bits, ndig, sizeof(obuf)); 129 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| Qtest.c | 59 static char ibuf[2048], obuf[2048]; variable 138 se = g_Qfmt(obuf, u.bits, ndig, sizeof(obuf)); 140 (int)(se-obuf), se ? obuf : "<null>");
|
| ddtest.c | 58 static char ibuf[2048], obuf[1024]; variable 140 se = g_ddfmt(obuf, u.dd, ndig, sizeof(obuf)); 142 ndig, (int)(se-obuf), se ? obuf : "<null>");
|
| /src/tests/lib/libc/locale/ |
| t_io.c | 85 wchar_t obuf[20]; local 88 swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf) < 0); 127 wchar_t obuf[20]; local 129 ATF_REQUIRE_EQ(swprintf(obuf, sizeof(obuf), L"%ls\n", ibuf), 2);
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| example_evp_cipher.c | 77 void *ibuf, *obuf; local 133 obuf = malloc(block_size + EVP_CIPHER_block_size(c)); 146 ret = EVP_CipherUpdate(&ctx, obuf, &olen, ibuf, ilen); 152 fwrite(obuf, 1, olen, out); 158 ret = EVP_CipherFinal_ex(&ctx, obuf, &olen); 164 fwrite(obuf, 1, olen, out);
|
| /src/games/hack/ |
| hack.main.c | 94 static char obuf[BUFSIZ]; /* BUFSIZ is defined in stdio.h */ variable 181 setbuf(stdout, obuf);
|
| /src/lib/libc/net/ |
| iso_addr.c | 116 static char obuf[64]; local 117 char *out = obuf; 137 return(obuf + 1);
|
| linkaddr.c | 140 static char obuf[64]; local 141 char *out = obuf; 151 if (out >= obuf + sizeof(obuf) - 1) \ 152 return obuf; \ 158 * obuf wil be fully init'd to 0 by default. But after 159 * obuf has been returned to userspace the first time, 164 * if (out < obuf + sizeof(obuf) - ((ch) != '\0')) 169 obuf[sizeof(obuf) - 1] = '\0' [all...] |
| /src/usr.bin/mail/ |
| quit.c | 79 FILE *obuf; local 82 if ((obuf = Fopen(mailname, "ref+")) == NULL) { 89 (void)putc(c, obuf); 90 (void)fflush(obuf); 91 if (ferror(obuf)) { 93 (void)Fclose(obuf); 101 if (sendmessage(mp, obuf, NULL, NULL, NULL) < 0) { 103 (void)Fclose(obuf); 110 (void)putc(c, obuf); 112 (void)fflush(obuf); 140 FILE *obuf; local 269 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| bf_lbuf.c | 51 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 65 if (ctx->obuf == NULL) { 86 OPENSSL_free(b->obuf); 143 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 149 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 156 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 167 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); 196 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/bio/ |
| bf_lbuf.c | 53 char *obuf; /* the output char array */ member in struct:bio_linebuffer_ctx_struct 66 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); 67 if (ctx->obuf == NULL) { 88 OPENSSL_free(b->obuf); 145 memcpy(&(ctx->obuf[ctx->obuf_len]), in, p - in); 151 memcpy(&(ctx->obuf[ctx->obuf_len]), in, i); 158 i = BIO_write(b->next_bio, ctx->obuf, ctx->obuf_len); 169 memmove(ctx->obuf, ctx->obuf + i, ctx->obuf_len - i); 198 memcpy(&(ctx->obuf[ctx->obuf_len]), in, inl) [all...] |
| /src/external/ibm-public/postfix/dist/src/util/ |
| vbuf_print.c | 345 VSTRING *obuf = vstring_alloc(1); local 350 vstring_ctl(obuf, CA_VSTRING_CTL_EXACT, CA_VSTRING_CTL_END); 360 vstring_sprintf(obuf, fmt, atol(val)); 362 vstring_sprintf(obuf, fmt, atoi(val)); 363 msg_info("\"%s\"", vstring_str(obuf)); 366 vstring_sprintf(obuf, fmt, val); 367 msg_info("\"%s\"", vstring_str(obuf)); 371 vstring_sprintf(obuf, fmt, atof(val)); 372 msg_info("\"%s\"", vstring_str(obuf)); 378 vstring_free(obuf); [all...] |
| /src/tests/lib/libc/sys/ |
| t_select.c | 92 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; local 131 prmask(&oset, obuf, sizeof(obuf)));
|
| /src/usr.bin/gzip/ |
| unxz.c | 48 uint8_t obuf[BUFSIZ]; local 62 strm.next_out = obuf; 63 strm.avail_out = sizeof(obuf); 93 const size_t write_size = sizeof(obuf) - strm.avail_out; 96 write(o, obuf, write_size) != (ssize_t)write_size) 99 strm.next_out = obuf; 100 strm.avail_out = sizeof(obuf);
|