Home
last modified time | relevance | path

Searched refs:out_fp (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/scripts/build/
Dgen_kobject_placeholders.py30 def write_define(out_fp, prefix, name, value): argument
33 out_fp.write(f"#ifndef {define_name}\n")
34 out_fp.write(f"#define {define_name} {value}\n")
35 out_fp.write("#endif\n\n")
43 out_fp = open(out_fn, "w")
50 write_define(out_fp, prefix, 'ALIGN', align)
51 write_define(out_fp, prefix, 'SZ', size)
53 out_fp.close()
Dprocess_gperf.py158 with open(args.input, "r") as in_fp, open(args.output, "w") as out_fp:
160 process_line(line, out_fp)