Lines Matching refs:prefix
181 char *prefix; member
247 const char **prefix, const char **suffix, in set_trace_data() argument
260 curr_prefix = trace_channels[category].prefix; in set_trace_data()
264 if (prefix != NULL && curr_prefix != NULL) { in set_trace_data()
277 if (prefix != NULL && curr_prefix != NULL) { in set_trace_data()
279 trace_channels[category].prefix = NULL; in set_trace_data()
294 if (prefix != NULL && *prefix != NULL) { in set_trace_data()
295 if ((curr_prefix = OPENSSL_strdup(*prefix)) == NULL) in set_trace_data()
297 trace_channels[category].prefix = curr_prefix; in set_trace_data()
320 if (prefix != NULL && *prefix != NULL) { in set_trace_data()
321 attach_cb(category, PREFIX, *prefix); in set_trace_data()
344 const char *prefix = NULL; in ossl_trace_cleanup() local
351 set_trace_data(category, 0, &channel, &prefix, &suffix, in ossl_trace_cleanup()
355 &prefix, &suffix, in ossl_trace_cleanup()
431 int OSSL_trace_set_prefix(int category, const char *prefix) in OSSL_trace_set_prefix() argument
435 return set_trace_data(category, 0, NULL, &prefix, NULL, in OSSL_trace_set_prefix()
477 char *prefix = NULL; in OSSL_trace_begin() local
484 prefix = trace_channels[category].prefix; in OSSL_trace_begin()
492 if (prefix != NULL) { in OSSL_trace_begin()
493 (void)BIO_puts(channel, prefix); in OSSL_trace_begin()
499 prefix == NULL ? 0 : strlen(prefix), prefix); in OSSL_trace_begin()