/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 8 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 D | vdso2c.c | 171 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 D | get_dvb_firmware | 28 $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 D | stackusage | 4 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 D | syscallnr.sh | 55 outfile="$2" 57 guard=_ASM_$(basename "$outfile" | 74 } > "$outfile"
|
H A D | syscallhdr.sh | 66 outfile="$2" 68 guard=_UAPI_ASM_$(basename "$outfile" | 98 } > "$outfile"
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib_notifications.sh | 28 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 D | gen_semantics.c | 29 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 D | gen_dectree_import.c | 135 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 D | generate-tar | 96 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 D | generate-ubi | 27 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 D | vdso2c.h | 13 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 D | vdso2c.c | 144 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 D | qemu-keymap.c | 31 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 D | qemu-edid.c | 43 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 D | generate-psu-tar | 13 --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 D | download_manager.py | 40 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 D | gen-bios-tar | 92 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 D | vdsomunge.c | 81 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 D | progress.py | 43 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 D | microcode-tool.py | 174 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 D | microcode-tool | 174 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 D | fdio.cpp | 45 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 D | 0003-rdoc-build-reproducible-documentation.patch | 21 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 D | create.py | 649 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 …]
|