| /dflybsd-src/crypto/libressl/crypto/lhash/ |
| H A D | lh_stats.c | 73 lh_stats(LHASH *lh, FILE *out) in lh_stats() argument 75 fprintf(out, "num_items = %lu\n", lh->num_items); in lh_stats() 76 fprintf(out, "num_nodes = %u\n", lh->num_nodes); in lh_stats() 77 fprintf(out, "num_alloc_nodes = %u\n", lh->num_alloc_nodes); in lh_stats() 78 fprintf(out, "num_expands = %lu\n", lh->num_expands); in lh_stats() 79 fprintf(out, "num_expand_reallocs = %lu\n", lh->num_expand_reallocs); in lh_stats() 80 fprintf(out, "num_contracts = %lu\n", lh->num_contracts); in lh_stats() 81 fprintf(out, "num_contract_reallocs = %lu\n", in lh_stats() 83 fprintf(out, "num_hash_calls = %lu\n", lh->num_hash_calls); in lh_stats() 84 fprintf(out, "num_comp_calls = %lu\n", lh->num_comp_calls); in lh_stats() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/bytestring/ |
| H A D | bs_cbs.c | 32 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup() argument 34 CBS_init(out, CBS_data(cbs), CBS_len(cbs)); in CBS_dup() 35 out->initial_len = cbs->initial_len; in CBS_dup() 147 cbs_get_u(CBS *cbs, uint32_t *out, size_t len) in cbs_get_u() argument 163 *out = result; in cbs_get_u() 168 CBS_get_u8(CBS *cbs, uint8_t *out) in CBS_get_u8() argument 175 *out = *v; in CBS_get_u8() 180 CBS_get_u16(CBS *cbs, uint16_t *out) in CBS_get_u16() argument 187 *out = v; in CBS_get_u16() 192 CBS_get_u24(CBS *cbs, uint32_t *out) in CBS_get_u24() argument [all …]
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | bs_cbs.c | 32 CBS_dup(const CBS *cbs, CBS *out) in CBS_dup() argument 34 CBS_init(out, CBS_data(cbs), CBS_len(cbs)); in CBS_dup() 35 out->initial_len = cbs->initial_len; in CBS_dup() 147 cbs_get_u(CBS *cbs, uint32_t *out, size_t len) in cbs_get_u() argument 163 *out = result; in cbs_get_u() 168 CBS_get_u8(CBS *cbs, uint8_t *out) in CBS_get_u8() argument 175 *out = *v; in CBS_get_u8() 180 CBS_get_u16(CBS *cbs, uint16_t *out) in CBS_get_u16() argument 187 *out = v; in CBS_get_u16() 192 CBS_get_u24(CBS *cbs, uint32_t *out) in CBS_get_u24() argument [all …]
|
| /dflybsd-src/bin/dd/ |
| H A D | dd.c | 74 IO in, out; /* input/output state */ variable 118 close(out.fd); in main() 151 if (out.name == NULL) { in setup() 153 out.fd = STDOUT_FILENO; in setup() 154 out.name = "stdout"; in setup() 158 out.fd = open(out.name, O_RDWR | OFLAGS, DEFFILEMODE); in setup() 164 if (out.fd == -1) { in setup() 165 out.fd = open(out.name, O_WRONLY | OFLAGS, DEFFILEMODE); in setup() 166 out.flags |= NOREAD; in setup() 168 if (out.fd == -1) in setup() [all …]
|
| H A D | position.c | 166 if (out.flags & (ISSEEK | ISPIPE)) { in pos_out() 168 if (lseek(out.fd, seek_offset(&out), SEEK_CUR) == -1 && in pos_out() 170 err(1, "%s", out.name); in pos_out() 175 if (out.offset < 0) in pos_out() 179 if (out.flags & NOREAD) { in pos_out() 181 t_op.mt_count = out.offset; in pos_out() 183 if (ioctl(out.fd, MTIOCTOP, &t_op) == -1) in pos_out() 184 err(1, "%s", out.name); in pos_out() 189 for (cnt = 0; cnt < out.offset; ++cnt) { in pos_out() 190 if ((n = read(out.fd, out.db, out.dbsz)) > 0) in pos_out() [all …]
|
| H A D | conv.c | 65 out.dbp = in.dbp; in def() 66 out.dbcnt = in.dbcnt; in def() 68 if (in.dbcnt >= out.dbsz) { in def() 77 in.dbp = out.dbp; in def() 78 in.dbcnt = out.dbcnt; in def() 87 out.dbcnt = in.dbcnt; in def_close() 131 for (inp = in.dbp - in.dbcnt, outp = out.dbp; in.dbcnt;) { in block() 177 out.dbp += cbsz; in block() 178 if ((out.dbcnt += cbsz) >= out.dbsz) in block() 180 outp = out.dbp; in block() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/asn1/ |
| H A D | tasn_prn.c | 165 static int asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, 169 int asn1_template_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, 172 static int asn1_primitive_print(BIO *out, ASN1_VALUE **fld, 176 static int asn1_print_fsname(BIO *out, int indent, const char *fname, 180 ASN1_item_print(BIO *out, ASN1_VALUE *ifld, int indent, const ASN1_ITEM *it, in ASN1_item_print() argument 191 return asn1_item_print_ctx(out, &ifld, indent, it, NULL, sname, in ASN1_item_print() 196 asn1_item_print_ctx(BIO *out, ASN1_VALUE **fld, int indent, const ASN1_ITEM *it, in asn1_item_print_ctx() argument 208 parg.out = out; in asn1_item_print_ctx() 219 !asn1_print_fsname(out, indent, fname, sname, pctx)) in asn1_item_print_ctx() 221 if (BIO_puts(out, "<ABSENT>\n") <= 0) in asn1_item_print_ctx() [all …]
|
| H A D | t_crl.c | 88 X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print() argument 96 BIO_printf(out, "Certificate Revocation List (CRL):\n"); in X509_CRL_print() 100 BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l + 1, l); in X509_CRL_print() 102 if (X509_signature_print(out, x->sig_alg, NULL) == 0) in X509_CRL_print() 107 BIO_printf(out, "%8sIssuer: %s\n", "", p); in X509_CRL_print() 109 BIO_printf(out, "%8sLast Update: ", ""); in X509_CRL_print() 110 ASN1_TIME_print(out, X509_CRL_get_lastUpdate(x)); in X509_CRL_print() 111 BIO_printf(out, "\n%8sNext Update: ", ""); in X509_CRL_print() 113 ASN1_TIME_print(out, X509_CRL_get_nextUpdate(x)); in X509_CRL_print() 115 BIO_printf(out, "NONE"); in X509_CRL_print() [all …]
|
| H A D | tasn_enc.c | 69 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 71 static int asn1_set_seq_out(STACK_OF(ASN1_VALUE) *sk, unsigned char **out, 73 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 75 static int asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out, 85 ASN1_item_ndef_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_ndef_i2d() argument 87 return asn1_item_flags_i2d(val, out, it, ASN1_TFLG_NDEF); in ASN1_item_ndef_i2d() 91 ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it) in ASN1_item_i2d() argument 93 return asn1_item_flags_i2d(val, out, it, 0); in ASN1_item_i2d() 106 asn1_item_flags_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it, in asn1_item_flags_i2d() argument 109 if (out && !*out) { in asn1_item_flags_i2d() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/ct/ |
| H A D | ct_prn.c | 74 BIO_hex_string(BIO *out, int indent, int width, unsigned char *data, in BIO_hex_string() argument 84 BIO_printf(out, "%*s", indent, ""); in BIO_hex_string() 86 BIO_printf(out, "%02X:", data[i]); in BIO_hex_string() 90 BIO_printf(out, "\n"); in BIO_hex_string() 94 BIO_printf(out, "%*s", indent, ""); in BIO_hex_string() 95 BIO_printf(out, "%02X", data[datalen - 1]); in BIO_hex_string() 100 SCT_signature_algorithms_print(const SCT *sct, BIO *out) in SCT_signature_algorithms_print() argument 105 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print() 107 BIO_printf(out, "%s", OBJ_nid2ln(nid)); in SCT_signature_algorithms_print() 111 timestamp_print(uint64_t timestamp, BIO *out) in timestamp_print() argument [all …]
|
| /dflybsd-src/crypto/libressl/crypto/modes/ |
| H A D | cbc128.c | 69 void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out, in CRYPTO_cbc128_encrypt() argument 78 ((size_t)in|(size_t)out|(size_t)ivec)%sizeof(size_t) != 0) { in CRYPTO_cbc128_encrypt() 81 out[n] = in[n] ^ iv[n]; in CRYPTO_cbc128_encrypt() 82 (*block)(out, out, key); in CRYPTO_cbc128_encrypt() 83 iv = out; in CRYPTO_cbc128_encrypt() 86 out += 16; in CRYPTO_cbc128_encrypt() 91 *(size_t*)(out+n) = in CRYPTO_cbc128_encrypt() 93 (*block)(out, out, key); in CRYPTO_cbc128_encrypt() 94 iv = out; in CRYPTO_cbc128_encrypt() 97 out += 16; in CRYPTO_cbc128_encrypt() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/libiberty/ |
| H A D | rust-demangle.c | 97 static int unescape (const char **in, char **out, const char *seq, char value); 246 char *out; in rust_demangle_sym() local 253 out = sym; in rust_demangle_sym() 260 if (!(unescape (&in, &out, "$C$", ',') in rust_demangle_sym() 261 || unescape (&in, &out, "$SP$", '@') in rust_demangle_sym() 262 || unescape (&in, &out, "$BP$", '*') in rust_demangle_sym() 263 || unescape (&in, &out, "$RF$", '&') in rust_demangle_sym() 264 || unescape (&in, &out, "$LT$", '<') in rust_demangle_sym() 265 || unescape (&in, &out, "$GT$", '>') in rust_demangle_sym() 266 || unescape (&in, &out, "$LP$", '(') in rust_demangle_sym() [all …]
|
| /dflybsd-src/usr.bin/time/ |
| H A D | time.c | 73 FILE *out = stderr; in main() local 108 if ((out = fopen(ofn, aflag ? "ae" : "we")) == NULL) in main() 110 setvbuf(out, NULL, _IONBF, (size_t)0); in main() 149 showtime(out, &before_ts, &after, &ru); in main() 167 fprintf(out, "%10ld %s\n", in main() 169 fprintf(out, "%10ld %s\n", in main() 171 fprintf(out, "%10ld %s\n", in main() 173 fprintf(out, "%10ld %s\n", in main() 175 fprintf(out, "%10ld %s\n", in main() 177 fprintf(out, "%10ld %s\n", in main() [all …]
|
| /dflybsd-src/crypto/libressl/apps/openssl/ |
| H A D | ecparam.c | 259 BIO *in = NULL, *out = NULL; in ecparam_main() local 281 out = BIO_new(BIO_s_file()); in ecparam_main() 282 if ((in == NULL) || (out == NULL)) { in ecparam_main() 295 BIO_set_fp(out, stdout, BIO_NOCLOSE); in ecparam_main() 297 if (BIO_write_filename(out, ecparam_config.outfile) <= 0) { in ecparam_main() 328 BIO_printf(out, " %-10s: ", sname); in ecparam_main() 329 BIO_printf(out, "%s\n", comment); in ecparam_main() 396 if (!ECPKParameters_print(out, group, 0)) in ecparam_main() 459 ecparam_print_var(out, ec_p, "ec_p", len, buffer); in ecparam_main() 460 ecparam_print_var(out, ec_a, "ec_a", len, buffer); in ecparam_main() [all …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | authfd.c | 193 goto out; in ssh_request_reply_decode() 196 out: in ssh_request_reply_decode() 226 goto out; in ssh_lock_agent() 229 out: in ssh_lock_agent() 245 goto out; in deserialise_identity2() 247 goto out; in deserialise_identity2() 253 out: in deserialise_identity2() 277 goto out; in ssh_fetch_identitylist() 280 goto out; in ssh_fetch_identitylist() 284 goto out; in ssh_fetch_identitylist() [all …]
|
| /dflybsd-src/tools/regression/lib/libm/ |
| H A D | test-nearbyint.c | 53 float out[3]; /* one answer per rounding mode except towardzero */ member 83 double out; in get_output() local 93 out = tests[testindex].out[rmodeindex]; in get_output() 94 return (negative ? -out : out); in get_output() 100 float in, out; in test_nearby() local 108 out = get_output(testindex, i, 0); in test_nearby() 109 assert(fpequal(out, nearbyintf(in))); in test_nearby() 110 assert(fpequal(out, nearbyint(in))); in test_nearby() 111 assert(fpequal(out, nearbyintl(in))); in test_nearby() 115 out = get_output(testindex, i, 1); in test_nearby() [all …]
|
| /dflybsd-src/crypto/libressl/include/openssl/ |
| H A D | modes.h | 16 unsigned char out[16], 19 typedef void (*cbc128_f)(const unsigned char *in, unsigned char *out, 23 typedef void (*ctr128_f)(const unsigned char *in, unsigned char *out, 27 typedef void (*ccm128_f)(const unsigned char *in, unsigned char *out, 31 void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out, 34 void CRYPTO_cbc128_decrypt(const unsigned char *in, unsigned char *out, 38 void CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out, 43 void CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out, 48 void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, 53 void CRYPTO_cfb128_encrypt(const unsigned char *in, unsigned char *out, [all …]
|
| /dflybsd-src/contrib/gcc-4.7/libcpp/ |
| H A D | traditional.c | 106 if (n > (size_t) (pfile->out.limit - pfile->out.cur)) in check_output_buffer() 108 size_t size = pfile->out.cur - pfile->out.base; in check_output_buffer() 111 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size); in check_output_buffer() 112 pfile->out.limit = pfile->out.base + new_size; in check_output_buffer() 113 pfile->out.cur = pfile->out.base + size; in check_output_buffer() 173 pfile->out.cur--; in copy_comment() 178 pfile->out.cur[-1] = ' '; in copy_comment() 181 pfile->out.cur--; in copy_comment() 188 memcpy (pfile->out.cur, cur, len); in copy_comment() 189 pfile->out.cur += len; in copy_comment() [all …]
|
| /dflybsd-src/contrib/zlib-1.2/ |
| H A D | inffast.c | 57 unsigned char FAR *out; /* local strm->next_out */ local 84 out = strm->next_out; 85 beg = out - (start - strm->avail_out); 86 end = out + (strm->avail_out - 257); 120 *out++ = (unsigned char)(here.val); 169 op = (unsigned)(out - beg); /* max distance in output */ 182 *out++ = 0; 188 *out++ = 0; 191 from = out - dist; 193 *out++ = *from++; [all …]
|
| /dflybsd-src/contrib/lvm2/dist/test/ |
| H A D | t-inconsistent-metadata.sh | 24 lvs -o lv_name,lv_size --units k $vg | tee lvs.out 25 grep resized lvs.out | not grep 8192 31 lvs -o lv_name,lv_size --units k $vg | tee lvs.out 32 grep resized lvs.out | grep 8192 37 vgscan 2>&1 | tee cmd.out 38 grep "Inconsistent metadata found for VG $vg" cmd.out 39 vgscan 2>&1 | tee cmd.out 40 not grep "Inconsistent metadata found for VG $vg" cmd.out 45 vgdisplay 2>&1 | tee cmd.out 46 grep "Inconsistent metadata found for VG $vg" cmd.out [all …]
|
| /dflybsd-src/lib/libc/yp/ |
| H A D | xdryp.c | 63 struct ypresp_all out; in xdr_ypresp_all_seq() local 68 bzero(&out, sizeof out); in xdr_ypresp_all_seq() 70 if (!xdr_ypresp_all(xdrs, &out)) { in xdr_ypresp_all_seq() 71 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 75 if (out.more == 0) { in xdr_ypresp_all_seq() 76 xdr_free((xdrproc_t)xdr_ypresp_all, &out); in xdr_ypresp_all_seq() 80 status = out.ypresp_all_u.val.stat; in xdr_ypresp_all_seq() 83 key = (char *)malloc(out.ypresp_all_u.val.key.keydat_len + 1); in xdr_ypresp_all_seq() 84 bcopy(out.ypresp_all_u.val.key.keydat_val, key, in xdr_ypresp_all_seq() 85 out.ypresp_all_u.val.key.keydat_len); in xdr_ypresp_all_seq() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/libcpp/ |
| H A D | traditional.c | 110 if (n > (size_t) (pfile->out.limit - pfile->out.cur)) in check_output_buffer() 112 size_t size = pfile->out.cur - pfile->out.base; in check_output_buffer() 115 pfile->out.base = XRESIZEVEC (unsigned char, pfile->out.base, new_size); in check_output_buffer() 116 pfile->out.limit = pfile->out.base + new_size; in check_output_buffer() 117 pfile->out.cur = pfile->out.base + size; in check_output_buffer() 185 pfile->out.cur--; in copy_comment() 190 pfile->out.cur[-1] = ' '; in copy_comment() 193 pfile->out.cur--; in copy_comment() 200 memcpy (pfile->out.cur, cur, len); in copy_comment() 201 pfile->out.cur += len; in copy_comment() [all …]
|
| /dflybsd-src/sbin/hammer2/zlib/ |
| H A D | hammer2_zlib_inffast.c | 74 unsigned char FAR *out; /* local strm->next_out */ in inflate_fast() local 101 out = strm->next_out - OFF; in inflate_fast() 102 beg = out - (start - strm->avail_out); in inflate_fast() 103 end = out + (strm->avail_out - 257); in inflate_fast() 137 PUP(out) = (unsigned char)(here.val); in inflate_fast() 186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast() 199 PUP(out) = 0; in inflate_fast() 205 PUP(out) = 0; in inflate_fast() 208 from = out - dist; in inflate_fast() 210 PUP(out) = PUP(from); in inflate_fast() [all …]
|
| /dflybsd-src/usr.sbin/makefs/hammer2/zlib/ |
| H A D | hammer2_zlib_inffast.c | 74 unsigned char FAR *out; /* local strm->next_out */ in inflate_fast() local 101 out = strm->next_out - OFF; in inflate_fast() 102 beg = out - (start - strm->avail_out); in inflate_fast() 103 end = out + (strm->avail_out - 257); in inflate_fast() 137 PUP(out) = (unsigned char)(here.val); in inflate_fast() 186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast() 199 PUP(out) = 0; in inflate_fast() 205 PUP(out) = 0; in inflate_fast() 208 from = out - dist; in inflate_fast() 210 PUP(out) = PUP(from); in inflate_fast() [all …]
|
| /dflybsd-src/sys/vfs/hammer2/zlib/ |
| H A D | hammer2_zlib_inffast.c | 74 unsigned char FAR *out; /* local strm->next_out */ in inflate_fast() local 101 out = strm->next_out - OFF; in inflate_fast() 102 beg = out - (start - strm->avail_out); in inflate_fast() 103 end = out + (strm->avail_out - 257); in inflate_fast() 137 PUP(out) = (unsigned char)(here.val); in inflate_fast() 186 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast() 199 PUP(out) = 0; in inflate_fast() 205 PUP(out) = 0; in inflate_fast() 208 from = out - dist; in inflate_fast() 210 PUP(out) = PUP(from); in inflate_fast() [all …]
|