Lines Matching +full:raw +full:- +full:x +full:- +full:min
4 * SPDX-License-Identifier: Apache-2.0
63 * 7 Debug Debug-level messages
101 char x = (char)c; in out_func() local
103 out_ctx->func((uint8_t *)&x, 1, out_ctx->control_block->ctx); in out_func()
107 if (out_ctx->control_block->offset == out_ctx->size) { in out_func()
111 idx = atomic_inc(&out_ctx->control_block->offset); in out_func()
112 out_ctx->buf[idx] = (uint8_t)c; in out_func()
114 __ASSERT_NO_MSG(out_ctx->control_block->offset <= out_ctx->size); in out_func()
174 us = (1000 * (remainder * 1000U - (ms * freq))) / freq; in timestamp_print()
183 char time_str[sizeof("1970-01-01T00:00:00")]; in timestamp_print()
191 "%04u-%02u-%02uT%02u:%02u:%02u.%06uZ ", in timestamp_print()
216 char time_str[sizeof("1970-01-01 00:00:00")]; in timestamp_print()
224 output, "[%04u-%02u-%02u %02u:%02u:%02u.%03u,%03u] ", in timestamp_print()
236 char time_str[sizeof("1970-01-01T00:00:00")]; in timestamp_print()
244 "[%04u-%02u-%02uT%02u:%02u:%02u,%06uZ] ", in timestamp_print()
259 seconds -= hours * 3600U; in timestamp_print()
261 seconds -= mins * 60U; in timestamp_print()
370 print_formatted(output, "%02x ", data[i]); in hexdump_line_print()
401 length = MIN(len, HEXDUMP_BYTES_IN_LINE); in log_msg_hexdump()
406 len -= length; in log_msg_hexdump()
452 * HOSTNAME SP APP-NAME SP PROCID SP MSGID SP STRUCTURED-DATA in syslog_print()
457 output->control_block->hostname ? in syslog_print()
458 output->control_block->hostname : in syslog_print()
461 /* Then APP-NAME. We use the thread name here. It should not in syslog_print()
484 /* No APP-NAME */ in syslog_print()
485 len += print_formatted(output, "- "); in syslog_print()
489 /* No PROCID, MSGID or STRUCTURED-DATA */ in syslog_print()
490 len += print_formatted(output, "- - - "); in syslog_print()
550 "- - " in syslog_print()
596 * facility at this point, use a pre-defined value. in prefix_print()
661 /* source set to 1 indicates raw string and contrary to printk in log_output_process()
707 static const char prefix[] = DROPPED_COLOR_PREFIX "--- "; in log_output_dropped_process()
709 " messages dropped ---\r\n" DROPPED_COLOR_POSTFIX; in log_output_dropped_process()
710 log_output_func_t outf = output->func; in log_output_dropped_process()
712 cnt = MIN(cnt, 9999); in log_output_dropped_process()
715 log_output_write(outf, (uint8_t *)prefix, sizeof(prefix) - 1, output->control_block->ctx); in log_output_dropped_process()
716 log_output_write(outf, buf, len, output->control_block->ctx); in log_output_dropped_process()
717 log_output_write(outf, (uint8_t *)postfix, sizeof(postfix) - 1, output->control_block->ctx); in log_output_dropped_process()