Home
last modified time | relevance | path

Searched refs:log_cb (Results 1 – 20 of 20) sorted by relevance

/third_party/selinux/libselinux/src/
Davc_internal.h40 const struct avc_log_callback *log_cb, in set_callbacks() argument
48 if (log_cb) { in set_callbacks()
49 avc_func_log = log_cb->func_log; in set_callbacks()
50 avc_func_audit = log_cb->func_audit; in set_callbacks()
Davc.c149 const struct avc_log_callback *log_cb, in avc_init_internal() argument
162 set_callbacks(mem_cb, log_cb, thread_cb, lock_cb); in avc_init_internal()
245 const struct avc_log_callback *log_cb, in avc_init() argument
249 return avc_init_internal(prefix, mem_cb, log_cb, thread_cb, lock_cb); in avc_init()
/third_party/node/deps/openssl/openssl/crypto/cmp/
Dcmp_vfy.c456 OSSL_CMP_log_cb_t backup_log_cb = ctx->log_cb; in check_msg_find_cert()
471 ctx->log_cb = no_log_cb; /* temporarily disable logging */ in check_msg_find_cert()
479 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
493 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
505 if (ctx->log_cb != NULL) { in check_msg_find_cert()
Dcmp_ctx.c346 if (ctx->log_cb == NULL) in ossl_cmp_log_trace_cb()
354 if (!ctx->log_cb(func != NULL ? func : "(no func)", in ossl_cmp_log_trace_cb()
375 if (ctx == NULL || ctx->log_cb == NULL) in ossl_cmp_print_log()
410 res = ctx->log_cb(func, file, line, level, hugebuf); in ossl_cmp_print_log()
424 ctx->log_cb = cb; in OSSL_CMP_CTX_set_log_cb()
441 OSSL_CMP_print_errors_cb(ctx == NULL ? NULL : ctx->log_cb); in OSSL_CMP_CTX_print_errors()
Dcmp_local.h36 OSSL_CMP_log_cb_t log_cb; /* log callback for error/debug/etc. output */ member
/third_party/openssl/crypto/cmp/
Dcmp_vfy.c456 OSSL_CMP_log_cb_t backup_log_cb = ctx->log_cb; in check_msg_find_cert()
471 ctx->log_cb = no_log_cb; /* temporarily disable logging */ in check_msg_find_cert()
479 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
493 ctx->log_cb = backup_log_cb; in check_msg_find_cert()
505 if (ctx->log_cb != NULL) { in check_msg_find_cert()
Dcmp_ctx.c346 if (ctx->log_cb == NULL) in ossl_cmp_log_trace_cb()
354 if (!ctx->log_cb(func != NULL ? func : "(no func)", in ossl_cmp_log_trace_cb()
375 if (ctx == NULL || ctx->log_cb == NULL) in ossl_cmp_print_log()
410 res = ctx->log_cb(func, file, line, level, hugebuf); in ossl_cmp_print_log()
424 ctx->log_cb = cb; in OSSL_CMP_CTX_set_log_cb()
441 OSSL_CMP_print_errors_cb(ctx == NULL ? NULL : ctx->log_cb); in OSSL_CMP_CTX_print_errors()
Dcmp_local.h36 OSSL_CMP_log_cb_t log_cb; /* log callback for error/debug/etc. output */ member
/third_party/ffmpeg/libavfilter/
Dfflcms2.c25 static void log_cb(cmsContext ctx, cmsUInt32Number error, const char *str) in log_cb() function
39 cmsSetLogErrorHandlerTHR(s->ctx, log_cb); in ff_icc_context_init()
Dvf_libplacebo.c225 .log_cb = pl_av_log, in libplacebo_init()
/third_party/ffmpeg/libavformat/
Dlibrist.c90 static int log_cb(void *arg, enum rist_log_level log_level, const char *msg) in log_cb() function
134 ret = rist_logging_set(&logging_settings, s->log_level, log_cb, h, NULL, NULL); in librist_open()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server.c42 if (conn->log_cb) in tlsv1_server_log()
43 conn->log_cb(conn->log_cb_ctx, buf); in tlsv1_server_log()
733 conn->log_cb = cb; in tlsv1_server_set_log_cb()
Dtlsv1_server_i.h56 void (*log_cb)(void *ctx, const char *msg); member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server.c42 if (conn->log_cb) in tlsv1_server_log()
43 conn->log_cb(conn->log_cb_ctx, buf); in tlsv1_server_log()
733 conn->log_cb = cb; in tlsv1_server_set_log_cb()
Dtlsv1_server_i.h56 void (*log_cb)(void *ctx, const char *msg); member
/third_party/openssl/test/
Dcmp_ctx_test.c147 if (!TEST_true(ctx->log_cb == NULL)) in execute_CTX_print_errors_test()
158 if (!TEST_true(ctx->log_cb == msg_total_size_log_cb)) { in execute_CTX_print_errors_test()
729 DEFINE_SET_CB_TEST(log_cb) in DEFINE_SET_CB_TEST() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dtls_internal.c140 void (*log_cb)(void *ctx, const char *msg), in tls_connection_set_log_cb()
145 tlsv1_server_set_log_cb(conn->server, log_cb, ctx); in tls_connection_set_log_cb()
Dtls.h627 void (*log_cb)(void *ctx, const char *msg),
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dtls_internal.c140 void (*log_cb)(void *ctx, const char *msg), in tls_connection_set_log_cb()
145 tlsv1_server_set_log_cb(conn->server, log_cb, ctx); in tls_connection_set_log_cb()
Dtls.h627 void (*log_cb)(void *ctx, const char *msg),