Home
last modified time | relevance | path

Searched refs:trace_data (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/test/testutil/
Dtestutil_init.c26 tracedata *trace_data = vdata; in internal_trace_cb() local
32 trace_data->ingroup = 1; in internal_trace_cb()
39 BIO_set_prefix(trace_data->bio, buffer); in internal_trace_cb()
42 ret = BIO_write(trace_data->bio, buf, cnt); in internal_trace_cb()
45 trace_data->ingroup = 0; in internal_trace_cb()
47 BIO_set_prefix(trace_data->bio, NULL); in internal_trace_cb()
73 tracedata *trace_data; in setup_trace_category() local
82 trace_data = OPENSSL_zalloc(sizeof(*trace_data)); in setup_trace_category()
84 if (trace_data == NULL in setup_trace_category()
86 || (trace_data->bio = channel) == NULL in setup_trace_category()
[all …]
/third_party/openssl/apps/
Dopenssl.c108 tracedata *trace_data = vdata; in internal_trace_cb() local
114 if (trace_data->ingroup) { in internal_trace_cb()
118 trace_data->ingroup = 1; in internal_trace_cb()
126 BIO_set_prefix(trace_data->bio, buffer); in internal_trace_cb()
129 if (!trace_data->ingroup) { in internal_trace_cb()
134 ret = BIO_write(trace_data->bio, buf, cnt); in internal_trace_cb()
137 if (!trace_data->ingroup) { in internal_trace_cb()
141 trace_data->ingroup = 0; in internal_trace_cb()
143 BIO_set_prefix(trace_data->bio, NULL); in internal_trace_cb()
170 tracedata *trace_data; in setup_trace_category() local
[all …]
/third_party/openssl/crypto/
Dtrace.c384 struct trace_data_st *trace_data = NULL; in OSSL_trace_set_callback() local
391 || (trace_data = in OSSL_trace_set_callback()
395 trace_data->callback = callback; in OSSL_trace_set_callback()
396 trace_data->category = category; in OSSL_trace_set_callback()
397 trace_data->data = data; in OSSL_trace_set_callback()
399 BIO_set_data(channel, trace_data); in OSSL_trace_set_callback()
410 OPENSSL_free(trace_data); in OSSL_trace_set_callback()