/freebsd-current/crypto/openssl/test/ |
H A D | rand_test.c | 22 unsigned char outbuf[3]; local 30 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), 0) 31 || !TEST_mem_eq(outbuf, sizeof(outbuf), entropy1, sizeof(outbuf)) 32 || !TEST_int_le(RAND_priv_bytes(outbuf, sizeof(outbuf) + 1), 0) 33 || !TEST_int_gt(RAND_priv_bytes(outbuf, sizeof(outbuf)), [all...] |
/freebsd-current/sys/fs/cd9660/ |
H A D | iso_rrip.h | 67 char *outbuf; /* name/symbolic link output area */ member in struct:__anon502 78 char *outbuf, u_short *outlen, 81 char *outbuf, u_short *outlen,
|
H A D | cd9660_rrip.c | 111 char *outbuf, *inbuf; local 117 outbuf = ana->outbuf; 130 *outbuf++ = '/'; 157 outbuf -= len; 189 ana->outbuf -= *ana->outlen; 194 memcpy(outbuf, inbuf, wlen); 195 outbuf += wlen; 198 ana->outbuf = outbuf; 595 cd9660_rrip_getname(struct iso_directory_record *isodir, char *outbuf, u_short *outlen, cd_ino_t *inump, struct iso_mnt *imp) argument 635 cd9660_rrip_getsymname(struct iso_directory_record *isodir, char *outbuf, u_short *outlen, struct iso_mnt *imp) argument [all...] |
/freebsd-current/usr.bin/gzip/ |
H A D | unbzip2.c | 42 static char *inbuf, *outbuf; local 46 if (outbuf == NULL) 47 outbuf = malloc(BUFLEN); 48 if (inbuf == NULL || outbuf == NULL) 84 bzs.next_out = outbuf; 106 n = write(out, outbuf, BUFLEN - bzs.avail_out);
|
/freebsd-current/usr.sbin/lpr/lptest/ |
H A D | lptest.c | 46 char outbuf[BUFSIZ]; local 48 setbuf(stdout, outbuf);
|
/freebsd-current/sys/crypto/rc4/ |
H A D | rc4.h | 49 const u_char *inbuf, u_char *outbuf, int buflen);
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | rd_safe.c | 87 krb5_data *outbuf, 94 krb5_data_zero(outbuf); 191 outbuf->length = safe.safe_body.user_data.length; 192 outbuf->data = malloc(outbuf->length); 193 if (outbuf->data == NULL && outbuf->length != 0) { 196 krb5_data_zero(outbuf); 199 memcpy (outbuf->data, safe.safe_body.user_data.data, outbuf 84 krb5_rd_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument [all...] |
H A D | mk_req.c | 43 krb5_data *outbuf) 75 outbuf); 88 krb5_data *outbuf) 111 server, in_data, ccache, outbuf); 37 krb5_mk_req_exact(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, const krb5_principal server, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument 81 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, const char *service, const char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument
|
H A D | mk_req_ext.c | 42 krb5_data *outbuf, 139 in_creds, ap_req_options, authenticator, outbuf); 152 krb5_data *outbuf) 159 outbuf, 37 _krb5_mk_req_internal(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf, krb5_key_usage checksum_usage, krb5_key_usage encrypt_usage) argument 147 krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf) argument
|
H A D | mk_rep.c | 39 krb5_data *outbuf) 117 ASN1_MALLOC_ENCODE(AP_REP, outbuf->data, outbuf->length, &ap, &len, ret); 118 if (ret == 0 && outbuf->length != len) 37 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf) argument
|
/freebsd-current/crypto/openssl/demos/cipher/ |
H A D | aeskeywrap.c | 62 unsigned char outbuf[1024]; local 86 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, wrap_pt, sizeof(wrap_pt))) 90 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 96 BIO_dump_fp(stdout, outbuf, outlen); 98 if (sizeof(wrap_ct) == outlen && !CRYPTO_memcmp(outbuf, wrap_ct, outlen)) 120 unsigned char outbuf[1024]; local 143 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, wrap_ct, sizeof(wrap_ct))) 147 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 153 BIO_dump_fp(stdout, outbuf, outlen); 155 if (sizeof(wrap_pt) == outlen && !CRYPTO_memcmp(outbuf, wrap_p [all...] |
H A D | ariacbc.c | 62 unsigned char outbuf[1024]; local 85 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt))) 89 if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 95 BIO_dump_fp(stdout, outbuf, outlen); 97 if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen)) 120 unsigned char outbuf[1024]; local 141 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct))) 145 if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen)) 151 BIO_dump_fp(stdout, outbuf, outlen); 153 if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_p [all...] |
H A D | aesgcm.c | 77 unsigned char outbuf[1024]; local 114 if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, gcm_pt, sizeof(gcm_pt))) 119 BIO_dump_fp(stdout, outbuf, outlen); 122 if (!EVP_EncryptFinal_ex(ctx, outbuf, &tmplen)) 154 unsigned char outbuf[1024]; local 186 if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, gcm_ct, sizeof(gcm_ct))) 191 BIO_dump_fp(stdout, outbuf, outlen); 201 rv = EVP_DecryptFinal_ex(ctx, outbuf, &outlen);
|
/freebsd-current/sys/libkern/ |
H A D | iconv_xlat.c | 80 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, 88 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL) 97 dst = *outbuf; 101 *outbuf += n; 79 iconv_xlat_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
|
/freebsd-current/tools/test/iconv/posix/ |
H A D | posix.c | 114 uint32_t outbuf[4]; local 121 outptr = (char *)outbuf; 136 uint32_t outbuf[2]; local 143 outptr = (char *)outbuf; 154 printf("outptr - outbuf = %d\n", (uint8_t *)outptr - (uint8_t *)outbuf); 160 (outbytesleft == 0) && ((uint8_t *)outptr - (uint8_t *)outbuf == 8) && 174 uint32_t outbuf[4]; local 182 outptr = (char *)outbuf; 193 printf("outptr - outbuf 213 uint32_t outbuf[4]; local [all...] |
/freebsd-current/crypto/openssl/crypto/ct/ |
H A D | ct_b64.c | 28 unsigned char *outbuf = NULL; local 36 outbuf = OPENSSL_malloc(outlen); 37 if (outbuf == NULL) { 42 outlen = EVP_DecodeBlock(outbuf, (unsigned char *)in, inlen); 56 *out = outbuf; 59 OPENSSL_free(outbuf);
|
/freebsd-current/usr.bin/rctl/ |
H A D | rctl.c | 414 char *outbuf = NULL; local 419 outbuf = realloc(outbuf, outbuflen); 420 if (outbuf == NULL) 423 outbuf, outbuflen); 431 free(outbuf); 436 print_rules(outbuf, hflag, nflag); 437 free(outbuf); 497 char *copy, *outbuf = NULL, *tmp; local 502 outbuf 544 char *outbuf = NULL; local [all...] |
/freebsd-current/tools/test/iconv/gnu/ |
H A D | gnu.c | 247 char *outbuf; local 253 outbuf = malloc(40); 254 outptr = &outbuf; 277 char *outbuf; local 283 outbuf = malloc(40); 284 outptr = &outbuf; 350 uint8_t outbuf[4] = { 0x00, 0x00, 0x00, 0x00 }; local 368 outptr = (char *)outbuf; 376 printf("mb_uc fallback: %c\n", outbuf[0]); 379 if (mb_uc_fb && (outbuf[ 392 char outbuf[6]; local [all...] |
/freebsd-current/contrib/bzip2/ |
H A D | unzcrash.c | 41 uchar outbuf[M_BLOCK_OUT]; variable 107 outbuf, &nOut, zbuf, nZ, 0, 0 ); 118 if (inbuf[i] != outbuf[i]) { 132 if (inbuf[i] != outbuf[i]) {
|
/freebsd-current/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 159 char outbuf[SMB_MAXFNAMELEN]; local 160 char *obuf = outbuf; 163 olen = sizeof(outbuf); 164 bzero(outbuf, sizeof(outbuf)); 186 *nmlen = sizeof(outbuf) - olen; 187 memcpy(name, outbuf, *nmlen);
|
/freebsd-current/usr.bin/calendar/ |
H A D | events.c | 81 char *outbuf, *tmp; local 110 outbuf = output + converted; 113 converted = iconv(conv, (char **) &inbuf, &inleft, &outbuf, &outleft); 124 converted = outbuf - output; 133 outbuf = output + converted; 137 iconv(conv, NULL, NULL, &outbuf, &outleft); 140 *outbuf = '\0';
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | dump_entry.c | 73 static DYNBUF outbuf; variable 159 free_DYN(&outbuf); 419 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ') 420 outbuf.text[--outbuf.used] = '\0'; 428 strcpy_DYN(&outbuf, trailer); 617 if (TcOutput() && outbuf.used && !wrap_1ST(mode)) { 624 strcpy_DYN(&outbuf, alig [all...] |
/freebsd-current/share/examples/ipfilter/samples/ |
H A D | proxy.c | 232 char netbuf[1024], outbuf[1024]; local 248 orptr = outbuf; 249 owptr = outbuf; 250 osz = sizeof(outbuf); 258 if (orptr - outbuf < sizeof(outbuf)) 263 if (osz < sizeof(outbuf)) 278 i = read(net, orptr, sizeof(outbuf) - (orptr - outbuf)); 291 if (osz == sizeof(outbuf) || owpt [all...] |
/freebsd-current/usr.bin/ypmatch/ |
H A D | ypmatch.c | 76 char *domainname, *inkey, *inmap, *outbuf; local 122 strlen(inkey), &outbuf, &outbuflen); 127 printf("%*.*s\n", outbuflen, outbuflen, outbuf);
|
/freebsd-current/sys/sys/ |
H A D | iconv.h | 158 size_t *inbytesleft, char **outbuf, size_t *outbytesleft); 160 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype); 162 size_t *inbytesleft, char **outbuf, size_t *outbytesleft); 164 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype); 180 char **outbuf, size_t *outbytesleft); 182 char **outbuf, size_t *outbytesleft, int casetype); 184 char **outbuf, size_t *outbytesleft); 186 char **outbuf, size_t *outbytesleft, int casetype);
|