Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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-Core-3.5.0/subsys/logging/
Dlog_output_dict.c15 static void buffer_write(log_output_func_t outf, uint8_t *buf, size_t len, in buffer_write() argument
21 processed = outf(buf, len, ctx); in buffer_write()
Dlog_output.c150 static void buffer_write(log_output_func_t outf, uint8_t *buf, size_t len, in buffer_write() argument
156 processed = outf(buf, len, ctx); in buffer_write()
590 log_output_func_t outf = output->func; in log_output_dropped_process() local
595 buffer_write(outf, (uint8_t *)prefix, sizeof(prefix) - 1, in log_output_dropped_process()
597 buffer_write(outf, buf, len, output->control_block->ctx); in log_output_dropped_process()
598 buffer_write(outf, (uint8_t *)postfix, sizeof(postfix) - 1, in log_output_dropped_process()