Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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.py155 with open(args.input, "r") as in_fp, open(args.output, "w") as out_fp:
157 process_line(line, out_fp)
/Zephyr-Core-3.7.0/scripts/pylib/twister/twisterlib/
Dhandlers.py849 out_fp = open(fifo_in, "wb")
855 return out_fp, in_fp, log_out_fp
858 def _thread_close_files(fifo_in, fifo_out, pid, out_fp, in_fp, log_out_fp): argument
860 out_fp.close()
887 out_fp, in_fp, log_out_fp = QEMUHandler._thread_open_files(
988 QEMUHandler._thread_close_files(fifo_in, fifo_out, pid, out_fp, in_fp, log_out_fp)
/Zephyr-Core-3.7.0/scripts/tests/twister/
Dtest_handlers.py1714 out_fp = mock.Mock()
1720 QEMUHandler._thread_close_files(fifo_in, fifo_out, pid, out_fp,
1723 out_fp.close.assert_called_once()