Home
last modified time | relevance | path

Searched refs:outf (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/scripts/build/
Dgen_strerror_table.py58 with open(output, 'w') as outf:
60 print(front_matter(highest_errno + 1), file=outf)
64 f'static const char *const sys_errlist[sys_nerr] = {{', file=outf)
65 print('[0] = "Success",', file=outf)
67 print(f'[{symbol}] = "{msgs[symbol]}",', file=outf)
69 print('};', file=outf)
73 f'static const uint8_t sys_errlen[sys_nerr] = {{', file=outf)
74 print('[0] = 8,', file=outf)
76 print(f'[{symbol}] = {len(msgs[symbol]) + 1},', file=outf)
78 print('};', file=outf)
Dgen_strsignal_table.py53 with open(output, 'w') as outf:
55 print(front_matter(), file=outf)
59 f'static const char *const strsignal_list[{highest_signo + 1}] = {{', file=outf)
61 print(f'\t[{symbol}] = "{msgs[symbol]}",', file=outf)
63 print('};', file=outf)
/Zephyr-latest/include/zephyr/logging/
Dlog_output.h200 static inline void log_output_write(log_output_func_t outf, uint8_t *buf, size_t len, void *ctx) in log_output_write() argument
205 processed = outf(buf, len, ctx); in log_output_write()
/Zephyr-latest/subsys/logging/
Dlog_output.c710 log_output_func_t outf = output->func; in log_output_dropped_process() local
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()