Lines Matching refs:fp
506 with open(args.syscall_dispatch, "w") as fp:
517 fp.write(table_template % (weak_defines,
523 with open(args.syscall_weakdefs_llext, "w") as fp:
527 fp.write(llext_weakdefs_template % weak_refs)
530 with open(args.syscall_exports_llext, "w") as fp:
536 fp.write(llext_exports_template % (extern_refs, exported_symbols))
556 with open(args.syscall_list, "w") as fp:
557 fp.write(list_template % ids_as_defines)
570 with open(out_fn, "w") as fp:
571 fp.write(header)
578 with open(mrsh_fn, "w") as fp:
579 fp.write("/* auto-generated by gen_syscalls.py, don't edit */\n\n")
580 fp.write(mrsh_includes[fn] + "\n")
581 fp.write("\n")
582 fp.write(mrsh_defs[fn] + "\n")