Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 7 of 7) sorted by relevance

/openbmc/libcper/cli-app/
H A Dcper-convert.c19 void cper_to_json(char *in_file, char *out_file, int is_single_section);
20 void json_to_cper(const char *in_file, const char *out_file);
89 void cper_to_json(char *in_file, char *out_file, int is_single_section) in cper_to_json() argument
151 if (out_file == NULL) { in cper_to_json()
157 FILE *json_file = fopen(out_file, "w"); in cper_to_json()
160 out_file); in cper_to_json()
170 void json_to_cper(const char *in_file, const char *out_file) in json_to_cper() argument
173 if (out_file == NULL) { in json_to_cper()
187 FILE *cper_file = fopen(out_file, "w"); in json_to_cper()
190 out_file); in json_to_cper()
/openbmc/libcper/generator/
H A Dcper-generate-cli.c27 char *out_file = NULL; in main() local
34 out_file = argv[i + 1]; in main()
58 if (out_file == NULL) { in main()
67 FILE *cper_file = fopen(out_file, "w"); in main()
70 out_file); in main()
/openbmc/openbmc/poky/meta/recipes-devtools/meson/meson/
H A Dmeson-setup.py36 with open(cross_file, "w") as out_file:
37 out_file.write(output)
42 with open(native_file, "w") as out_file:
43 out_file.write(output)
/openbmc/u-boot/scripts/kconfig/tests/
H A Dconftest.py39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument
89 if self.retcode == 0 and out_file:
90 with open(os.path.join(temp_dir, out_file)) as f:
111 print("[output for '{}']".format(out_file))
208 return self._run_conf('--savedefconfig', out_file='defconfig')
217 out_file=None)
/openbmc/openbmc/poky/meta/recipes-devtools/cmake/cmake/
H A Dcmake-setup.py32 with open(cross_file, "w") as out_file:
33 out_file.write(output)
/openbmc/qemu/migration/
H A Dsavevm.c561 static void dump_vmstate_vmsd(FILE *out_file,
565 static void dump_vmstate_vmsf(FILE *out_file, const VMStateField *field, in dump_vmstate_vmsf() argument
568 fprintf(out_file, "%*s{\n", indent, ""); in dump_vmstate_vmsf()
570 fprintf(out_file, "%*s\"field\": \"%s\",\n", indent, "", field->name); in dump_vmstate_vmsf()
571 fprintf(out_file, "%*s\"version_id\": %d,\n", indent, "", in dump_vmstate_vmsf()
573 fprintf(out_file, "%*s\"field_exists\": %s,\n", indent, "", in dump_vmstate_vmsf()
576 fprintf(out_file, "%*s\"num\": %d,\n", indent, "", field->num); in dump_vmstate_vmsf()
578 fprintf(out_file, "%*s\"size\": %zu", indent, "", field->size); in dump_vmstate_vmsf()
580 fprintf(out_file, ",\n"); in dump_vmstate_vmsf()
581 dump_vmstate_vmsd(out_file, field->vmsd, indent, false); in dump_vmstate_vmsf()
[all …]
/openbmc/openbmc/poky/meta/classes/
H A Darchiver.bbclass468 out_file = os.path.join(ar_outdir, '%s-diff.gz' % d.getVar('PF'))
469 diff_cmd = 'diff -Naur %s.orig %s.patched | gzip -c > %s' % (basename, basename, out_file)