Home
last modified time | relevance | path

Searched refs:wf (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/scripts/build/
Dgen_symtab.py125 with open(args.output, 'w') as wf:
126 print("/* AUTO-GENERATED by gen_symtab.py, do not edit! */", file=wf)
127 print("", file=wf)
128 print("#include <zephyr/linker/sections.h>", file=wf)
129 print("#include <zephyr/debug/symtab.h>", file=wf)
130 print("", file=wf)
132 …const struct z_symtab_entry __symtab_entry z_symtab_entries[{len(symtab_list) + 1}] = {{", file=wf)
135 f"\t/* ADDR: {hex(entry.addr)} SIZE: {hex(entry.size)} */", file=wf)
137 f"\t[{i}] = {{.offset = {hex(entry.offset)}, .name = \"{entry.name}\"}},", file=wf)
144 print("\t/* dummy entry */", file=wf)
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/
Dfifo_mock.py70 with FifoFile(write_path, 'wb') as wf, FifoFile(read_path, 'rb'):
72 wf.write(f'{line}\n'.encode('utf-8'))
/Zephyr-latest/subsys/settings/src/
Dsettings_file.c232 struct fs_file_t wf; in settings_file_save_and_compress() local
245 .stor_ctx = &wf in settings_file_save_and_compress()
254 fs_file_t_init(&wf); in settings_file_save_and_compress()
262 if (settings_file_create_or_replace(&wf, tmp_file)) { in settings_file_save_and_compress()
347 rc = fs_close(&wf); in settings_file_save_and_compress()
363 (void)fs_close(&wf); in settings_file_save_and_compress()