/openssl-master/crypto/bio/ |
A D | bio_cb.c | 31 left = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio); in BIO_debug_callback_ex() 41 BIO_snprintf(p, left, "Free - %s\n", bio->method->name); in BIO_debug_callback_ex() 45 BIO_snprintf(p, left, "read(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() 49 BIO_snprintf(p, left, "read(%d,%zu) - %s\n", in BIO_debug_callback_ex() 54 BIO_snprintf(p, left, "write(%d,%zu) - %s fd=%d\n", in BIO_debug_callback_ex() 58 BIO_snprintf(p, left, "write(%d,%zu) - %s\n", in BIO_debug_callback_ex() 62 BIO_snprintf(p, left, "puts() - %s\n", bio->method->name); in BIO_debug_callback_ex() 65 BIO_snprintf(p, left, "gets(%zu) - %s\n", len, in BIO_debug_callback_ex() 69 BIO_snprintf(p, left, "ctrl(%d) - %s\n", argi, in BIO_debug_callback_ex() 73 BIO_snprintf(p, left, "read return %d processed: %zu\n", ret, l); in BIO_debug_callback_ex() [all …]
|
A D | bio_dump.c | 48 n = BIO_snprintf(buf, sizeof(buf), "%*s%04x - ", indent, "", in BIO_dump_indent_cb() 56 BIO_snprintf(buf + n, 4, "%02x%c", ch, in BIO_dump_indent_cb()
|
/openssl-master/apps/lib/ |
A D | app_params.c | 45 printed_len = BIO_snprintf(buf, bufsz, "%s: ", param->key); in describe_param_type() 50 printed_len = BIO_snprintf(buf, bufsz, "%s%s", type_mod, type); in describe_param_type() 56 printed_len = BIO_snprintf(buf, bufsz, " [%d]", param->data_type); in describe_param_type() 63 printed_len = BIO_snprintf(buf, bufsz, " (arbitrary size)"); in describe_param_type() 65 printed_len = BIO_snprintf(buf, bufsz, " (max %zu bytes large)", in describe_param_type()
|
A D | apps.c | 1641 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); in load_index() 1643 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); in load_index() 1716 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); in save_index() 1718 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s.%s", dbfile, suffix); in save_index() 1720 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s-attr", dbfile); in save_index() 1722 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s-%s", dbfile, suffix); in save_index() 1766 j = BIO_snprintf(buf[4], sizeof(buf[4]), "%s.attr", dbfile); in rotate_index() 1769 j = BIO_snprintf(buf[1], sizeof(buf[1]), "%s.%s", dbfile, old_suffix); in rotate_index() 1770 j = BIO_snprintf(buf[0], sizeof(buf[0]), "%s.%s", dbfile, new_suffix); in rotate_index() 1772 j = BIO_snprintf(buf[4], sizeof(buf[4]), "%s-attr", dbfile); in rotate_index() [all …]
|
/openssl-master/crypto/ |
A D | info.c | 46 BIO_snprintf(ossl_cpu_info_str, sizeof(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC() 53 BIO_snprintf(ossl_cpu_info_str + strlen(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC() 59 BIO_snprintf(ossl_cpu_info_str, sizeof(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC() 62 BIO_snprintf(ossl_cpu_info_str + strlen(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC() 68 BIO_snprintf(ossl_cpu_info_str, sizeof(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC() 98 BIO_snprintf(ossl_cpu_info_str + strlen(ossl_cpu_info_str), in DEFINE_RUN_ONCE_STATIC()
|
/openssl-master/doc/man3/ |
A D | BIO_printf.pod | 5 BIO_printf, BIO_vprintf, BIO_snprintf, BIO_vsnprintf 15 int BIO_snprintf(char *buf, size_t n, const char *format, ...); 29 BIO_snprintf() is for platforms that do not have the common snprintf() 33 BIO_vsnprintf() is to BIO_snprintf() as BIO_vprintf() is to BIO_printf(). 38 For BIO_snprintf() and BIO_vsnprintf() this includes when the output 43 Except when I<n> is 0, both BIO_snprintf() and BIO_vsnprintf() always
|
A D | ERR_new.pod | 37 The additional data is processed with L<BIO_snprintf(3)> to form the 67 L<ERR_load_strings(3)>, L<BIO_snprintf(3)>, L<provider-base(7)>
|
/openssl-master/crypto/cmp/ |
A D | cmp_status.c | 189 printed_chars = BIO_snprintf(write_ptr, bufsize, "%s", status_string); in snprint_PKIStatusInfo_parts() 194 printed_chars = BIO_snprintf(write_ptr, bufsize, "; PKIFailureInfo: "); in snprint_PKIStatusInfo_parts() 200 printed_chars = BIO_snprintf(write_ptr, bufsize, "%s%s", in snprint_PKIStatusInfo_parts() 211 printed_chars = BIO_snprintf(write_ptr, bufsize, "; <no failure info>"); in snprint_PKIStatusInfo_parts() 218 printed_chars = BIO_snprintf(write_ptr, bufsize, "; StatusString%s: ", in snprint_PKIStatusInfo_parts() 223 printed_chars = BIO_snprintf(write_ptr, bufsize, "\"%.*s\"%s", in snprint_PKIStatusInfo_parts()
|
A D | cmp_util.c | 175 BIO_snprintf(rsbuf, sizeof(rsbuf), "reason(%lu)", reason); in OSSL_CMP_print_errors_cb() 179 BIO_snprintf(msg, sizeof(msg), "%s:%s", rs, data); in OSSL_CMP_print_errors_cb() 181 BIO_snprintf(msg, sizeof(msg), "%s", rs); in OSSL_CMP_print_errors_cb()
|
A D | cmp_http.c | 70 BIO_snprintf(server_port, sizeof(server_port), "%d", ctx->serverPort); in OSSL_CMP_MSG_http_perform()
|
A D | cmp_client.c | 219 && BIO_snprintf(buf, sizeof(buf), "; errorCode: %08lX", in send_receive_check() 293 if (BIO_snprintf(str, OSSL_CMP_PKISI_BUFLEN, "value = %jd", in poll_for_response() 300 || (len = BIO_snprintf(str, OSSL_CMP_PKISI_BUFLEN, in poll_for_response() 308 || BIO_snprintf(str + len, sizeof(str) - len, in poll_for_response()
|
/openssl-master/test/ |
A D | bioprinttest.c | 136 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_zu() 164 BIO_snprintf(bio_buf, sizeof(bio_buf) - 1, data->format, data->value); in test_j() 199 BIO_snprintf(format, sizeof(format), "%%%s.%d%s", width, prec, in dofptest() 202 BIO_snprintf(format, sizeof(format), "%%%s%s", width, fspec); in dofptest() 203 BIO_snprintf(result, sizeof(result), format, val); in dofptest() 249 if (!TEST_int_eq(BIO_snprintf(buf, sizeof(buf), in test_big()
|
A D | threadstest.c | 622 BIO_snprintf(tids, sizeof(tids), "%d", id); in test_obj_create_one() 623 BIO_snprintf(oid, sizeof(oid), "1.3.6.1.4.1.16604.%s", tids); in test_obj_create_one() 624 BIO_snprintf(sn, sizeof(sn), "short-name-%s", tids); in test_obj_create_one() 625 BIO_snprintf(ln, sizeof(ln), "long-name-%s", tids); in test_obj_create_one()
|
A D | errtest.c | 86 BIO_snprintf(reasonbuf, sizeof(reasonbuf), "reason(%lu)", reasoncode); in test_print_error_format() 90 BIO_snprintf(expected, sizeof(expected), expected_format, in test_print_error_format()
|
A D | provider_internal_test.c | 45 BIO_snprintf(expected_greeting, sizeof(expected_greeting), in expected_greeting1()
|
/openssl-master/crypto/asn1/ |
A D | asn1_parse.c | 37 if (BIO_snprintf(str, sizeof(str), "%5ld:d=%-2d hl=%ld l=%4ld %s", in asn1_print_info() 41 if (BIO_snprintf(str, sizeof(str), "%5ld:d=%-2d hl=%ld l=inf %s", in asn1_print_info() 63 BIO_snprintf(str, sizeof(str), "priv [ %d ] ", tag); in asn1_print_info() 65 BIO_snprintf(str, sizeof(str), "cont [ %d ]", tag); in asn1_print_info() 67 BIO_snprintf(str, sizeof(str), "appl [ %d ]", tag); in asn1_print_info() 69 BIO_snprintf(str, sizeof(str), "<ASN1 %d>", tag); in asn1_print_info()
|
A D | a_strex.c | 76 BIO_snprintf(tmphex, sizeof(tmphex), "\\W%08lX", c); in do_esc_char() 82 BIO_snprintf(tmphex, sizeof(tmphex), "\\U%04lX", c); in do_esc_char() 110 BIO_snprintf(tmphex, 11, "\\%02X", chtmp); in do_esc_char()
|
/openssl-master/crypto/bn/ |
A D | bn_print.c | 64 BIO_snprintf(data, sizeof(data), "bn(%zu,%zu)", in BN_options() 67 BIO_snprintf(data, sizeof(data), "bn(%zu,%zu)", in BN_options()
|
A D | bn_conv.c | 103 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT1, *lp); in BN_bn2dec() 109 n = BIO_snprintf(p, tbytes - (size_t)(p - buf), BN_DEC_FMT2, *lp); in BN_bn2dec()
|
/openssl-master/crypto/err/ |
A D | err_prn.c | 37 BIO_snprintf(buf, sizeof(buf), "%s:", hex == NULL ? "<null>" : hex); in ERR_print_errors_cb() 41 BIO_snprintf(buf + offset, sizeof(buf) - offset, ":%s:%d:%s\n", in ERR_print_errors_cb()
|
A D | err.c | 510 BIO_snprintf(lsbuf, sizeof(lsbuf), "lib(%lu)", l); in ossl_err_string_int() 530 BIO_snprintf(rsbuf, sizeof(rsbuf), "reason(%lu)", r); in ossl_err_string_int() 534 BIO_snprintf(buf, len, "error:%08lX:%s:%s:%s", e, ls, func, rs); in ossl_err_string_int() 537 BIO_snprintf(buf, len, "err:%lx:%lx:%lx:%lx", e, l, 0L, r); in ossl_err_string_int()
|
/openssl-master/apps/ |
A D | rehash.c | 386 if (BIO_snprintf(buf, buflen, "%s%s%s", in do_dir() 409 BIO_snprintf(buf, buflen, "%08x.%s%d", bp->hash, in do_dir() 419 BIO_snprintf(buf, buflen, "%s%s%n%08x.%s%d", in do_dir() 441 BIO_snprintf(buf, buflen, "%s%s%n%08x.%s%d", in do_dir()
|
A D | s_time.c | 284 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, in s_time_main() 339 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, www_path); in s_time_main() 366 buf_len = BIO_snprintf(buf, sizeof(buf), fmt_http_get_cmd, in s_time_main()
|
/openssl-master/test/testutil/ |
A D | testutil_init.c | 36 BIO_snprintf(buffer, sizeof(buffer), "TRACE[%s]:%s: ", in internal_trace_cb()
|
/openssl-master/crypto/ct/ |
A D | ct_prn.c | 43 BIO_snprintf(genstr, sizeof(genstr), "%.14s.%03dZ", in timestamp_print()
|