Home
last modified time | relevance | path

Searched refs:outfile (Results 1 – 25 of 92) sorted by relevance

1234

/openbmc/linux/arch/x86/entry/vdso/
H A Dvdso2c.h8 static void BITSFUNC(copy)(FILE *outfile, const unsigned char *data, size_t len) in BITSFUNC()
14 fprintf(outfile, "\n\t"); in BITSFUNC()
15 fprintf(outfile, "0x%02X, ", (int)(data)[i]); in BITSFUNC()
27 FILE *outfile, ELF(Shdr) *sec, const char *name) in BITSFUNC()
38 fprintf(outfile, "static const unsigned char %s[%zu] = {", name, len); in BITSFUNC()
39 BITSFUNC(copy)(outfile, data + offset, len); in BITSFUNC()
40 fprintf(outfile, "\n};\n\n"); in BITSFUNC()
45 FILE *outfile, const char *image_name) in BITSFUNC()
174 fwrite(stripped_addr, stripped_len, 1, outfile); in BITSFUNC()
180 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n"); in BITSFUNC()
[all …]
H A Dvdso2c.c171 FILE *outfile, const char *name) in go() argument
177 outfile, name); in go()
180 outfile, name); in go()
210 FILE *outfile; in main() local
243 outfile = fopen(outfilename, "w"); in main()
244 if (!outfile) in main()
247 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
251 fclose(outfile); in main()
/openbmc/linux/scripts/
H A Dget_dvb_firmware28 $outfile = eval($cid);
31 Firmware(s) $outfile extracted successfully.
53 my $outfile = "dvb-fe-sp8870.fw";
61 copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile);
63 $outfile;
71 my $outfile = "dvb-fe-sp887x.fw";
81 copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
83 $outfile;
90 my $outfile = "dvb-fe-tda10045.fw";
99 copy("$tmpdir/fwtmp", $outfile);
[all …]
H A Dstackusage4 outfile=""
11 outfile="$2"
20 if [ -z "$outfile" ]
22 outfile=`mktemp --tmpdir stackusage.$$.XXXX`
32 sort -k3,3nr > "${outfile}"
34 echo "$0: output written to ${outfile}"
H A Dsyscallnr.sh55 outfile="$2"
57 guard=_ASM_$(basename "$outfile" |
74 } > "$outfile"
H A Dsyscallhdr.sh66 outfile="$2"
68 guard=_UAPI_ASM_$(basename "$outfile" |
98 } > "$outfile"
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dfib_notifications.sh28 local outfile=$1; shift
34 head -n 1 $outfile | grep -q "rt_offload_failed"
39 head -n 2 $outfile | tail -n 1 | grep -q "rt_offload_failed"
44 local outfile=$1; shift
49 head -n 1 $outfile | grep -q "rt_trap"
54 head -n 2 $outfile | tail -n 1 | grep -q "rt_trap"
59 local outfile=$1; shift
64 lines=`wc -l $outfile | cut "-d " -f1`
73 check_rt_trap $outfile
76 check_rt_offload_failed $outfile
[all …]
/openbmc/qemu/target/hexagon/
H A Dgen_semantics.c29 FILE *outfile; in main() local
35 outfile = fopen(argv[1], "w"); in main()
36 if (outfile == NULL) { in main()
55 fprintf(outfile, "SEMANTICS( \\\n" \ in main()
61 fprintf(outfile, "ATTRIBUTES( \\\n" \ in main()
69 fprintf(outfile, "SEMANTICS( \\\n" \ in main()
75 fprintf(outfile, "ATTRIBUTES( \\\n" \ in main()
97 fprintf(outfile, "MACROATTRIB( \\\n" \ in main()
110 fprintf(outfile, "MACROATTRIB( \\\n" \ in main()
119 fclose(outfile); in main()
H A Dgen_dectree_import.c135 FILE *outfile; in main() local
141 outfile = fopen(argv[1], "w"); in main()
142 if (outfile == NULL) { in main()
147 gen_iset_table(outfile); in main()
148 gen_tags_list(outfile); in main()
150 fclose(outfile); in main()
/openbmc/openpower-pnor-code-mgmt/
H A Dgenerate-tar96 outfile=""
109 outfile="$2"
153 if [[ -z $outfile ]]; then
155 outfile=$(pwd)/${pnorfile##*/}.$image_type.tar
157 outfile=$(pwd)/${pnorfile##*/}.pnor.$image_type.tar
161 outfile=$outfile.gz
164 if [[ $outfile != /* ]]; then
165 outfile=$(pwd)/$outfile
306 tar -cvf "$outfile" $files_to_sign $additional_files
307 echo "SquashFSTarball at ${outfile}"
[all …]
H A Dgenerate-ubi27 outfile="$2"
52 if [[ -z $outfile ]]; then
54 outfile=$(pwd)/${tarball%".squashfs.tar"}.ubi.mtd
56 if [[ $outfile != /* ]]; then
57 outfile=$(pwd)/$outfile
149 mk_nor_image "${outfile}" "${image_size}"
150 dd bs=1k conv=notrunc seek=0 if="${tmpfile}" of="${outfile}"
152 echo "PNOR UBI image at ${outfile}"
/openbmc/linux/arch/sparc/vdso/
H A Dvdso2c.h13 FILE *outfile, const char *name) in BITSFUNC()
112 fwrite(stripped_addr, stripped_len, 1, outfile); in BITSFUNC()
118 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n"); in BITSFUNC()
119 fprintf(outfile, "#include <linux/cache.h>\n"); in BITSFUNC()
120 fprintf(outfile, "#include <asm/vdso.h>\n"); in BITSFUNC()
121 fprintf(outfile, "\n"); in BITSFUNC()
122 fprintf(outfile, in BITSFUNC()
127 fprintf(outfile, "\n\t"); in BITSFUNC()
128 fprintf(outfile, "0x%02X, ", in BITSFUNC()
131 fprintf(outfile, "\n};\n\n"); in BITSFUNC()
[all …]
H A Dvdso2c.c144 FILE *outfile, const char *name) in go() argument
150 outfile, name); in go()
153 outfile, name); in go()
184 FILE *outfile; in main() local
217 outfile = fopen(outfilename, "w"); in main()
218 if (!outfile) in main()
221 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
225 fclose(outfile); in main()
/openbmc/qemu/
H A Dqemu-keymap.c31 static FILE *outfile; variable
57 fprintf(outfile, "%s 0x%02x%s\n", name, qcode_to_number(qcode), mod); in print_sym()
67 fprintf(outfile, "\n"); in walk_map()
80 fprintf(outfile, "# evdev %d (0x%x): no evdev -> QKeyCode mapping" in walk_map()
84 fprintf(outfile, "# evdev %d (0x%x), QKeyCode \"%s\", number 0x%x\n", in walk_map()
182 outfile = fopen(optarg, "w"); in main()
183 if (outfile == NULL) { in main()
197 if (outfile == NULL) { in main()
198 outfile = stdout; in main()
201 fprintf(outfile, in main()
[all …]
H A Dqemu-edid.c43 FILE *outfile = NULL; in main() local
56 if (outfile) { in main()
60 outfile = fopen(optarg, "w"); in main()
61 if (outfile == NULL) { in main()
118 if (outfile == NULL) { in main()
119 outfile = stdout; in main()
128 fwrite(blob, size, 1, outfile); in main()
129 fflush(outfile); in main()
/openbmc/phosphor-psu-code-mgmt/tools/
H A Dgenerate-psu-tar13 --outfile <filename> Outfile name
15 The default outfile name is image.tar,and
83 outfile=""
113 --outfile)
114 outfile="$2"
163 if [ -z "${outfile}" ]; then
164 outfile=$(pwd)/$image.tar
166 outfile=$(pwd)/$outfile
225 tar -cvf $outfile $files_to_sign $additional_files
226 echo "PSU FW tarball at $outfile"
/openbmc/skeleton/pydownloadmgr/
H A Ddownload_manager.py40 def DownloadComplete(self, outfile, filename): argument
41 print("Download Complete: " + outfile)
42 return outfile
52 outfile = FLASH_DOWNLOAD_PATH + "/" + os.path.basename(filename)
54 ["tftp", "-l", outfile, "-r", filename, "-g", ip]
57 self.DownloadComplete(outfile, filename)
71 outfile = FLASH_DOWNLOAD_PATH + "/" + os.path.basename(filename)
72 subprocess.call(["tftp", "-l", outfile, "-r", filename, "-g", url])
75 intf.update(outfile)
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dgen-bios-tar92 outfile=""
100 outfile="$2"
151 if [[ -z $outfile ]]; then
152 outfile=$(pwd)/obmc-bios.tar.gz
154 if [[ $outfile != /* ]]; then
155 outfile=$(pwd)/$outfile
220 tar -czvf $outfile $files_to_sign $additional_files
221 echo "Bios image tarball is at $outfile"
/openbmc/linux/arch/arm/vdso/
H A Dvdsomunge.c81 static const char *outfile; variable
97 if (failed && outfile != NULL) in cleanup()
98 unlink(outfile); in cleanup()
136 outfile = argv[2]; in main()
179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
181 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
184 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
189 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
204 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dprogress.py43 def __init__(self, d, outfile=None): argument
47 if outfile:
48 self._outfile = outfile
88 def __init__(self, d, outfile=None): argument
90 super().__init__(d, outfile)
115 def __init__(self, d, regex=r'(\d+)%', outfile=None): argument
116 super().__init__(d, outfile)
130 def __init__(self, d, regex, outfile=None): argument
131 super().__init__(d, outfile)
/openbmc/u-boot/tools/
H A Dmicrocode-tool.py174 def CreateFile(date, license_text, mcodes, outfile): argument
231 if outfile == '-':
234 if not outfile:
238 outfile = os.path.join(MICROCODE_DIR, mcode.name + '.dtsi')
240 ', '.join([mcode.name for mcode in mcodes]), outfile)
241 with open(outfile, 'w') as fd:
311 CreateFile(date, license_text, mcode_list, options.outfile)
H A Dmicrocode-tool174 def CreateFile(date, license_text, mcodes, outfile): argument
231 if outfile == '-':
234 if not outfile:
238 outfile = os.path.join(MICROCODE_DIR, mcode.name + '.dtsi')
240 ', '.join([mcode.name for mcode in mcodes]), outfile)
241 with open(outfile, 'w') as fd:
311 CreateFile(date, license_text, mcode_list, options.outfile)
/openbmc/sdbusplus/test/async/
H A Dfdio.cpp45 std::ofstream outfile((path / "test_fdio.txt").native()); in writeToFile() local
46 EXPECT_TRUE(outfile.is_open()) in writeToFile()
48 outfile << "Test fdio!" << std::endl; in writeToFile()
49 outfile.close(); in writeToFile()
/openbmc/openbmc/poky/meta/recipes-devtools/ruby/ruby/
H A D0003-rdoc-build-reproducible-documentation.patch21 debug_msg "Writing gzipped search index to %s" % outfile
23 Zlib::GzipWriter.open(outfile) do |gz|
30 debug_msg "Writing gzipped file to %s" % outfile
32 Zlib::GzipWriter.open(outfile) do |gz|
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate.py649 if args.outfile and os.path.isdir(args.outfile):
650 outfile = None
651 outdir = args.outfile
653 outfile = args.outfile
655 if outfile and outfile != '-':
656 if os.path.exists(outfile):
657 logger.error('Output file %s already exists' % outfile)
676 if outfile:
677 recipefn = os.path.splitext(os.path.basename(outfile))[0]
797 if not outfile:
[all …]

1234