Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 39) sorted by relevance

12

/openssl/test/testutil/
H A Doutput.c12 int test_printf_stdout(const char *fmt, ...) in test_printf_stdout() argument
17 va_start(ap, fmt); in test_printf_stdout()
18 ret = test_vprintf_stdout(fmt, ap); in test_printf_stdout()
24 int test_printf_stderr(const char *fmt, ...) in test_printf_stderr() argument
29 va_start(ap, fmt); in test_printf_stderr()
30 ret = test_vprintf_stderr(fmt, ap); in test_printf_stderr()
36 int test_printf_tapout(const char *fmt, ...) in test_printf_tapout() argument
41 va_start(ap, fmt); in test_printf_tapout()
42 ret = test_vprintf_tapout(fmt, ap); in test_printf_tapout()
53 va_start(ap, fmt); in test_printf_taperr()
[all …]
H A Doutput.h41 int test_vprintf_stdout(const char *fmt, va_list ap)
43 int test_vprintf_tapout(const char *fmt, va_list ap)
45 int test_vprintf_stderr(const char *fmt, va_list ap)
47 int test_vprintf_taperr(const char *fmt, va_list ap)
56 int test_printf_stdout(const char *fmt, ...)
58 int test_printf_tapout(const char *fmt, ...)
60 int test_printf_stderr(const char *fmt, ...)
62 int test_printf_taperr(const char *fmt, ...)
H A Dbasic_output.c93 int test_vprintf_stdout(const char *fmt, va_list ap) in test_vprintf_stdout() argument
98 r = BIO_vprintf(bio_out, fmt, ap); in test_vprintf_stdout()
104 int test_vprintf_stderr(const char *fmt, va_list ap) in test_vprintf_stderr() argument
109 r = BIO_vprintf(bio_err, fmt, ap); in test_vprintf_stderr()
137 int test_vprintf_tapout(const char *fmt, va_list ap) in test_vprintf_tapout() argument
142 r = BIO_vprintf(tap_out, fmt, ap); in test_vprintf_tapout()
148 int test_vprintf_taperr(const char *fmt, va_list ap) in test_vprintf_taperr() argument
153 r = BIO_vprintf(tap_err, fmt, ap); in test_vprintf_taperr()
H A Dtests.c71 const char *fmt, ...)
80 if (fmt != NULL) { in test_fail_message_va()
81 test_vprintf_stderr(fmt, ap); in test_fail_message_va()
90 const char *op, const char *fmt, ...) in test_fail_message() argument
94 va_start(ap, fmt); in test_fail_message()
146 void test_note(const char *fmt, ...) in test_note() argument
148 if (fmt != NULL) { in test_note()
151 va_start(ap, fmt); in test_note()
152 test_vprintf_stderr(fmt, ap); in test_note()
218 "[" fmt "] compared to [" fmt "]", \
[all …]
H A Doptions.c69 int opt_printf_stderr(const char *fmt, ...) in opt_printf_stderr() argument
74 va_start(ap, fmt); in opt_printf_stderr()
75 ret = test_vprintf_stderr(fmt, ap); in opt_printf_stderr()
/openssl/apps/lib/
H A Dlog.c44 static void log_with_prefix(const char *prog, const char *fmt, va_list ap) in log_with_prefix() argument
52 (void)BIO_vprintf(bio, fmt, ap); in log_with_prefix()
72 const char *prog, int level, const char *fmt, ...) in trace_log_message() argument
75 va_start(ap, fmt); in trace_log_message()
87 (void)BIO_vprintf(out, fmt, ap_copy); in trace_log_message()
90 (void)BIO_vprintf(out, fmt, ap); in trace_log_message()
101 vsyslog(level, fmt, ap); in trace_log_message()
106 log_with_prefix(prog, fmt, ap); in trace_log_message()
H A Dapps_opt_printf.c15 int opt_printf_stderr(const char *fmt, ...) in opt_printf_stderr() argument
20 va_start(ap, fmt); in opt_printf_stderr()
21 ret = BIO_vprintf(bio_err, fmt, ap); in opt_printf_stderr()
H A Dhttp_server.c39 #define log_HTTP1(prog, level, fmt, arg) \ argument
40 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, arg)
41 #define log_HTTP2(prog, level, fmt, arg1, arg2) \ argument
42 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, arg1, arg2)
43 #define log_HTTP3(prog, level, fmt, a1, a2, a3) \ argument
44 trace_log_message(OSSL_TRACE_CATEGORY_HTTP, prog, level, fmt, a1, a2, a3)
H A Dbuild.info11 $LIBAPPSSRC=apps.c apps_ui.c log.c opt.c fmt.c s_cb.c s_socket.c app_rand.c \
/openssl/crypto/err/
H A Derr_blocks.c40 void ERR_set_error(int lib, int reason, const char *fmt, ...) in ERR_set_error() argument
44 va_start(args, fmt); in ERR_set_error()
45 ERR_vset_error(lib, reason, fmt, args); in ERR_set_error()
49 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args) in ERR_vset_error() argument
62 if (fmt != NULL) { in ERR_vset_error()
90 printed_len = BIO_vsnprintf(buf, buf_size, fmt, args); in ERR_vset_error()
115 if (fmt != NULL) in ERR_vset_error()
/openssl/demos/guide/
H A Dtls-server-block.c36 static void vwarnx(const char *fmt, va_list ap) in vwarnx() argument
40 vfprintf(stderr, fmt, ap); in vwarnx()
44 static void errx(int status, const char *fmt, ...) in errx() argument
47 va_start(ap, fmt); in errx()
48 vwarnx(fmt, ap); in errx()
53 static void warnx(const char *fmt, ...) in warnx() argument
56 va_start(ap, fmt); in warnx()
57 vwarnx(fmt, ap); in warnx()
/openssl/test/
H A Dbioprinttest.c322 int test_vprintf_stdout(const char *fmt, va_list ap) in test_vprintf_stdout() argument
324 return fprintf(stdout, "%*s# ", tap_level, "") + vfprintf(stdout, fmt, ap); in test_vprintf_stdout()
327 int test_vprintf_stderr(const char *fmt, va_list ap) in test_vprintf_stderr() argument
329 return fprintf(stderr, "%*s# ", tap_level, "") + vfprintf(stderr, fmt, ap); in test_vprintf_stderr()
342 int test_vprintf_tapout(const char *fmt, va_list ap) in test_vprintf_tapout() argument
344 return fprintf(stdout, "%*s", tap_level, "") + vfprintf(stdout, fmt, ap); in test_vprintf_tapout()
347 int test_vprintf_taperr(const char *fmt, va_list ap) in test_vprintf_taperr() argument
349 return fprintf(stderr, "%*s", tap_level, "") + vfprintf(stderr, fmt, ap); in test_vprintf_taperr()
H A Dbio_prefix_text.c61 int opt_printf_stderr(const char *fmt, ...) in opt_printf_stderr() argument
66 va_start(ap, fmt); in opt_printf_stderr()
67 ret = BIO_vprintf(bio_err, fmt, ap); in opt_printf_stderr()
H A Dp_test.c78 const char *func, const char *fmt, ...) in p_set_error() argument
82 va_start(ap, fmt); in p_set_error()
85 c_vset_error(NULL, ERR_PACK(lib, 0, reason), fmt, ap); in p_set_error()
/openssl/providers/implementations/kem/
H A Dtemplate_kem.c27 static void debug_print(char *fmt, ...) in debug_print() argument
32 static void debug_print(char *fmt, ...) in debug_print() argument
37 va_start(argptr, fmt); in debug_print()
38 vsnprintf(out, BUFSIZE, fmt, argptr); in debug_print()
/openssl/crypto/
H A Dcryptlib.c110 const TCHAR *fmt; in OPENSSL_showfatal() local
135 fmt = (const TCHAR *)fmta; in OPENSSL_showfatal()
144 fmt = (const TCHAR *)L"no stack?"; in OPENSSL_showfatal()
186 fmt = (const TCHAR *)fmtw; in OPENSSL_showfatal()
190 _vsntprintf(buf, OSSL_NELEM(buf) - 1, fmt, ap); in OPENSSL_showfatal()
/openssl/providers/
H A Dlegacyprov.c276 void ERR_set_error(int lib, int reason, const char *fmt, ...) in ERR_set_error() argument
280 va_start(args, fmt); in ERR_set_error()
281 c_vset_error(NULL, ERR_PACK(lib, 0, reason), fmt, args); in ERR_set_error()
285 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args) in ERR_vset_error() argument
287 c_vset_error(NULL, ERR_PACK(lib, 0, reason), fmt, args); in ERR_vset_error()
/openssl/crypto/cmp/
H A Dcmp_local.h843 # define ossl_cmp_log1(level, ctx, fmt, arg1) \ argument
845 OPENSSL_LINE, #level, fmt, arg1)
846 # define ossl_cmp_log2(level, ctx, fmt, arg1, arg2) \ argument
848 OPENSSL_LINE, #level, fmt, arg1, arg2)
849 # define ossl_cmp_log3(level, ctx, fmt, arg1, arg2, arg3) \ argument
851 OPENSSL_LINE, #level, fmt, arg1, arg2, arg3)
852 # define ossl_cmp_log4(level, ctx, fmt, arg1, arg2, arg3, arg4) \ argument
854 OPENSSL_LINE, #level, fmt, arg1, arg2, arg3, arg4)
/openssl/doc/internal/man3/
H A Dossl_cmp_print_log.pod34 #define ossl_cmp_log1(level, ctx, fmt, arg1)
35 #define ossl_cmp_log2(level, ctx, fmt, arg1, arg2)
36 #define ossl_cmp_log3(level, ctx, fmt, arg1, arg2, arg3)
37 #define ossl_cmp_log4(level, ctx, fmt, arg1, arg2, arg3, arg4)
/openssl/providers/implementations/keymgmt/
H A Dtemplate_kmgmt.c29 static void debug_print(char *fmt, ...) in debug_print() argument
33 static void debug_print(char *fmt, ...) in debug_print() argument
38 va_start(argptr, fmt); in debug_print()
39 vsnprintf(out, BUFSIZE, fmt, argptr); in debug_print()
/openssl/doc/man3/
H A DERR_new.pod14 void ERR_set_error(int lib, int reason, const char *fmt, ...);
15 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args);
36 format string I<fmt> and an arbitrary number of arguments.
/openssl/apps/include/
H A Dlog.h48 const char *prog, int level, const char *fmt, ...);
/openssl/providers/fips/
H A Dfipsprov.c884 void ERR_set_error(int lib, int reason, const char *fmt, ...) in ERR_set_error() argument
888 va_start(args, fmt); in ERR_set_error()
889 c_vset_error(NULL, ERR_PACK(lib, 0, reason), fmt, args); in ERR_set_error()
893 void ERR_vset_error(int lib, int reason, const char *fmt, va_list args) in ERR_vset_error() argument
895 c_vset_error(NULL, ERR_PACK(lib, 0, reason), fmt, args); in ERR_vset_error()
/openssl/include/internal/
H A Dstatem.h144 const char *fmt, ...);
/openssl/ssl/statem/
H A Dstatem.c164 const char *fmt, ...) in ossl_statem_fatal() argument
168 va_start(args, fmt); in ossl_statem_fatal()
169 ERR_vset_error(ERR_LIB_SSL, reason, fmt, args); in ossl_statem_fatal()

Completed in 53 milliseconds

12