| /minix3/crypto/external/bsd/openssl/dist/crypto/des/ |
| H A D | enc_writ.c | 93 static unsigned char *outbuf = NULL; in DES_enc_write() 102 if (outbuf == NULL) { in DES_enc_write() 103 outbuf = OPENSSL_malloc(BSIZE + HDRSIZE); in DES_enc_write() 104 if (outbuf == NULL) in DES_enc_write() 131 p = outbuf; in DES_enc_write() 148 DES_pcbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched, in DES_enc_write() 151 DES_cbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched, in DES_enc_write() 162 i = write(fd, (void *)&(outbuf[j]), outnum - j); in DES_enc_write() 164 i = _write(fd, (void *)&(outbuf[j]), outnum - j); in DES_enc_write()
|
| /minix3/crypto/external/bsd/libsaslc/dist/src/ |
| H A D | mech_gssapi.c | 210 prep_output(saslc_sess_t *sess, gss_buffer_t outbuf, void **out, size_t *outlen) in prep_output() argument 214 if (outbuf == GSS_C_NO_BUFFER || outbuf->value == NULL) { in prep_output() 219 if (outbuf->length == 0) { in prep_output() 222 gss_release_buffer(&min_s, outbuf); in prep_output() 225 *out = malloc(outbuf->length); in prep_output() 228 gss_release_buffer(&min_s, outbuf); in prep_output() 232 *outlen = outbuf->length; in prep_output() 233 memcpy(*out, outbuf->value, outbuf->length); in prep_output() 234 gss_release_buffer(&min_s, outbuf); in prep_output() 249 prep_packet(saslc_sess_t *sess, gss_buffer_t outbuf, void **out, size_t *outlen) in prep_packet() argument [all …]
|
| /minix3/crypto/external/bsd/openssl/lib/libdes/ |
| H A D | oenc_writ.c | 88 static unsigned char *outbuf=NULL; in des_enc_write() local 94 if (outbuf == NULL) in des_enc_write() 96 outbuf=OPENSSL_malloc(BSIZE+HDRSIZE); in des_enc_write() 97 if (outbuf == NULL) return(-1); in des_enc_write() 123 p=outbuf; in des_enc_write() 142 des_pcbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, in des_enc_write() 145 des_cbc_encrypt(cp,&(outbuf[HDRSIZE]),(len<8)?8:len,sched,iv, in des_enc_write() 155 i=write(fd,(void *)&(outbuf[j]),outnum-j); in des_enc_write()
|
| /minix3/usr.bin/fmt/ |
| H A D | fmt.c | 75 static struct buffer outbuf; variable 109 buf_init(&outbuf); in main() 171 buf_end(&outbuf); in main() 451 if (outbuf.bptr == outbuf.ptr) in pack() 458 s = outbuf.ptr - outbuf.bptr; in pack() 466 buf_putc(&outbuf, *cp++); in pack() 474 buf_putc(&outbuf, *cp++); in pack() 484 if (outbuf.bptr == outbuf.ptr) in oflush() 486 buf_putc(&outbuf, '\0'); in oflush() 487 (void)buf_unputc(&outbuf); in oflush() [all …]
|
| /minix3/external/bsd/bind/dist/bin/tests/system/lwresd/ |
| H A D | lwtest.c | 138 char outbuf[64]; in test_gabn() local 179 outbuf, sizeof(outbuf)); in test_gabn() 182 outbuf, sizeof(outbuf)); in test_gabn() 184 target, outbuf, address); in test_gabn() 256 char outbuf[16]; in test_gethostbyname() local 258 outbuf, sizeof(outbuf)); in test_gethostbyname() 260 "expected %s\n", name, outbuf, address); in test_gethostbyname() 304 char outbuf[16]; in test_gethostbyname2() local 306 outbuf, sizeof(outbuf)); in test_gethostbyname2() 308 "expected %s\n", name, outbuf, address); in test_gethostbyname2() [all …]
|
| /minix3/external/public-domain/xz/dist/doc/examples/ |
| H A D | 03_compress_custom.c | 110 uint8_t outbuf[BUFSIZ]; in compress() local 114 strm->next_out = outbuf; in compress() 115 strm->avail_out = sizeof(outbuf); in compress() 136 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress() 138 if (fwrite(outbuf, 1, write_size, outfile) in compress() 145 strm->next_out = outbuf; in compress() 146 strm->avail_out = sizeof(outbuf); in compress()
|
| H A D | 01_compress_easy.c | 117 uint8_t outbuf[BUFSIZ]; in compress() local 132 strm->next_out = outbuf; in compress() 133 strm->avail_out = sizeof(outbuf); in compress() 183 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress() 185 if (fwrite(outbuf, 1, write_size, outfile) in compress() 193 strm->next_out = outbuf; in compress() 194 strm->avail_out = sizeof(outbuf); in compress()
|
| H A D | 04_compress_easy_mt.c | 123 uint8_t outbuf[BUFSIZ]; in compress() local 127 strm->next_out = outbuf; in compress() 128 strm->avail_out = sizeof(outbuf); in compress() 149 size_t write_size = sizeof(outbuf) - strm->avail_out; in compress() 151 if (fwrite(outbuf, 1, write_size, outfile) in compress() 158 strm->next_out = outbuf; in compress() 159 strm->avail_out = sizeof(outbuf); in compress()
|
| H A D | 02_decompress.c | 119 uint8_t outbuf[BUFSIZ]; in decompress() local 123 strm->next_out = outbuf; in decompress() 124 strm->avail_out = sizeof(outbuf); in decompress() 150 size_t write_size = sizeof(outbuf) - strm->avail_out; in decompress() 152 if (fwrite(outbuf, 1, write_size, outfile) in decompress() 159 strm->next_out = outbuf; in decompress() 160 strm->avail_out = sizeof(outbuf); in decompress()
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | rd_safe.c | 89 krb5_data *outbuf, in krb5_rd_safe() argument 96 krb5_data_zero(outbuf); in krb5_rd_safe() 193 outbuf->length = safe.safe_body.user_data.length; in krb5_rd_safe() 194 outbuf->data = malloc(outbuf->length); in krb5_rd_safe() 195 if (outbuf->data == NULL && outbuf->length != 0) { in krb5_rd_safe() 198 krb5_data_zero(outbuf); in krb5_rd_safe() 201 memcpy (outbuf->data, safe.safe_body.user_data.data, outbuf->length); in krb5_rd_safe()
|
| H A D | mk_req.c | 45 krb5_data *outbuf) in krb5_mk_req_exact() argument 77 outbuf); in krb5_mk_req_exact() 90 krb5_data *outbuf) in krb5_mk_req() argument 113 server, in_data, ccache, outbuf); in krb5_mk_req()
|
| H A D | mk_rep.c | 41 krb5_data *outbuf) in krb5_mk_rep() argument 119 ASN1_MALLOC_ENCODE(AP_REP, outbuf->data, outbuf->length, &ap, &len, ret); in krb5_mk_rep() 120 if (ret == 0 && outbuf->length != len) in krb5_mk_rep()
|
| H A D | mk_req_ext.c | 44 krb5_data *outbuf, in _krb5_mk_req_internal() argument 141 in_creds, ap_req_options, authenticator, outbuf); in _krb5_mk_req_internal() 154 krb5_data *outbuf) in krb5_mk_req_extended() argument 161 outbuf, in krb5_mk_req_extended()
|
| /minix3/sys/fs/cd9660/ |
| H A D | cd9660_rrip.c | 120 char *outbuf; in cd9660_rrip_slink() local 127 outbuf = ana->outbuf; in cd9660_rrip_slink() 141 *outbuf++ = '/'; in cd9660_rrip_slink() 164 outbuf -= len; in cd9660_rrip_slink() 171 outbuf -= len; in cd9660_rrip_slink() 201 ana->outbuf -= *ana->outlen; in cd9660_rrip_slink() 206 memcpy(outbuf, inbuf, wlen); in cd9660_rrip_slink() 207 outbuf += wlen; in cd9660_rrip_slink() 210 ana->outbuf = outbuf; in cd9660_rrip_slink() 271 ana->outbuf -= *ana->outlen - wlen; in cd9660_rrip_altname() [all …]
|
| H A D | iso_rrip.h | 68 char *outbuf; /* name/symbolic link output area */ member 77 char *outbuf, u_short *outlen, 80 char *outbuf, u_short *outlen,
|
| /minix3/usr.bin/gzip/ |
| H A D | unbzip2.c | 40 static char *inbuf, *outbuf; in unbzip2() local 44 if (outbuf == NULL) in unbzip2() 45 outbuf = malloc(BUFLEN); in unbzip2() 46 if (inbuf == NULL || outbuf == NULL) in unbzip2() 80 bzs.next_out = outbuf; in unbzip2() 102 n = write(out, outbuf, BUFLEN - bzs.avail_out); in unbzip2()
|
| /minix3/external/bsd/llvm/dist/llvm/test/Transforms/GVN/ |
| H A D | lpre-call-wrap-2.ll | 6 ; void bi_windup(unsigned char *outbuf, unsigned char bi_buf) { 7 ; outbuf[outcnt] = bi_buf; 10 ; outbuf[outcnt] = bi_buf; 16 define void @bi_windup(i8* %outbuf, i8 zeroext %bi_buf) nounwind { 20 %1 = getelementptr i8* %outbuf, i32 %0 ; <i8*> [#uses=1] 35 %5 = getelementptr i8* %outbuf, i32 %4 ; <i8*> [#uses=1]
|
| /minix3/minix/usr.bin/trace/ |
| H A D | output.c | 265 if (proc->outlen == sizeof(proc->outbuf)) in record_add() 271 if (len < sizeof(proc->outbuf) - proc->outlen - 1) { in record_add() 272 strcpy(&proc->outbuf[proc->outlen], text); in record_add() 276 proc->outlen = sizeof(proc->outbuf); /* buffer exhausted */ in record_add() 367 if (proc->outlen == sizeof(proc->outbuf)) in record_replay() 375 space = proc->outbuf[proc->outlen - 1] == ' '; in record_replay() 377 proc->outbuf[proc->outlen - 1] = 0; in record_replay() 379 put_text(proc, proc->outbuf); in record_replay() 385 proc->outbuf[proc->outlen - 1] = ' '; in record_replay()
|
| /minix3/usr.bin/banner/ |
| H A D | banner.c | 132 char outbuf[LINELEN+1], *sp, c, cc; in scan_out() local 136 strp = &outbuf[0]; in scan_out() 161 while (*--strp == ' ' && strp >= outbuf) in scan_out() 166 (void) write(scfd, outbuf, strp-outbuf); in scan_out()
|
| /minix3/external/bsd/bzip2/dist/ |
| H A D | unzcrash.c | 43 uchar outbuf[M_BLOCK_OUT]; variable 109 outbuf, &nOut, zbuf, nZ, 0, 0 ); in main() 120 if (inbuf[i] != outbuf[i]) { in main() 134 if (inbuf[i] != outbuf[i]) { in main()
|
| /minix3/external/bsd/bind/dist/bin/tests/ |
| H A D | sig0_test.c | 78 isc_buffer_t outbuf; variable 120 isc_buffer_init(&outbuf, output, sizeof(output)); in recvdone() 121 result = dns_message_totext(response, style, 0, &outbuf); in recvdone() 123 printf("%.*s\n", (int)isc_buffer_usedlength(&outbuf), in recvdone() 124 (char *)isc_buffer_base(&outbuf)); in recvdone() 184 isc_buffer_init(&outbuf, output, sizeof(output)); in buildquery() 185 result = dns_message_totext(query, style, 0, &outbuf); in buildquery() 187 printf("%.*s\n", (int)isc_buffer_usedlength(&outbuf), in buildquery() 188 (char *)isc_buffer_base(&outbuf)); in buildquery()
|
| H A D | lwres_test.c | 160 char outbuf[64]; in test_gabn() local 186 outbuf, sizeof(outbuf)); in test_gabn() 189 outbuf, sizeof(outbuf)); in test_gabn() 191 addr->length, addr->family, outbuf); in test_gabn()
|
| /minix3/lib/libc/inet/ |
| H A D | inet_net_ntop.c | 179 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; in inet_net_ntop_ipv6() local 189 cp = outbuf; in inet_net_ntop_ipv6() 261 if (cp != outbuf) in inet_net_ntop_ipv6() 270 if (strlen(outbuf) + 1 > size) in inet_net_ntop_ipv6() 272 strcpy(dst, outbuf); in inet_net_ntop_ipv6()
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
| H A D | init_sec_context.c | 396 krb5_data outbuf; in init_auth() local 401 krb5_data_zero(&outbuf); in init_auth() 443 "realm-config", &outbuf); in init_auth() 446 if (outbuf.length < 1 || ((((unsigned char *)outbuf.data)[0]) & 2)) in init_auth() 448 krb5_data_free(&outbuf); in init_auth() 528 krb5_data outbuf; in init_auth_restart() local 537 krb5_data_zero(&outbuf); in init_auth_restart() 666 &outbuf); in init_auth_restart() 676 output_token->value = outbuf.data; in init_auth_restart() 677 output_token->length = outbuf.length; in init_auth_restart() [all …]
|
| /minix3/external/public-domain/xz/dist/src/liblzma/common/ |
| H A D | stream_encoder_mt.c | 64 lzma_outbuf *outbuf; member 236 thr->outbuf->size = thr->block_options.header_size; in worker_encode() 249 thr->progress_out = thr->outbuf->size; in worker_encode() 278 thr->in, &in_pos, in_limit, thr->outbuf->buf, in worker_encode() 279 &thr->outbuf->size, out_size, action); in worker_encode() 280 } while (ret == LZMA_OK && thr->outbuf->size < out_size); in worker_encode() 290 thr->outbuf->buf); in worker_encode() 315 thr->outbuf->size = 0; in worker_encode() 317 thr->in, in_size, thr->outbuf->buf, in worker_encode() 318 &thr->outbuf->size, out_size); in worker_encode() [all …]
|