/openbmc/u-boot/tools/dtoc/ |
H A D | test_dtoc.py | 157 with open(output) as infile: 158 lines = infile.read().splitlines() 162 with open(output) as infile: 163 lines = infile.read().splitlines() 171 with open(output) as infile: 172 data = infile.read() 196 with open(output) as infile: 197 data = infile.read() 275 with open(output) as infile: 276 data = infile.read() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | lzma.c | 44 FILE *infile; in lzma_decompress_to_file() local 46 infile = fopen(input, "rb"); in lzma_decompress_to_file() 47 if (!infile) { in lzma_decompress_to_file() 64 if (strm.avail_in == 0 && !feof(infile)) { in lzma_decompress_to_file() 66 strm.avail_in = fread(buf_in, 1, sizeof(buf_in), infile); in lzma_decompress_to_file() 68 if (ferror(infile)) { in lzma_decompress_to_file() 73 if (feof(infile)) in lzma_decompress_to_file() 104 fclose(infile); in lzma_decompress_to_file()
|
/openbmc/u-boot/scripts/ |
H A D | mailmapper | 128 infile = None variable 132 infile = open(map_file) 141 if infile: 142 for line in infile: 148 for line in infile: 150 infile.close()
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_offload.cpp | 181 std::ifstream infile{file, std::ios::in | std::ios::binary}; in requestOffload() local 182 if (!infile.good()) in requestOffload() 192 infile.exceptions(std::ifstream::failbit | std::ifstream::badbit | in requestOffload() 198 std::filebuf* pbuf = infile.rdbuf(); in requestOffload() 201 std::size_t size = pbuf->pubseekoff(0, infile.end, infile.in); in requestOffload() 202 pbuf->pubseekpos(0, infile.in); in requestOffload() 208 infile.close(); in requestOffload()
|
/openbmc/linux/arch/arm/vdso/ |
H A D | vdsomunge.c | 120 const char *infile; in main() local 135 infile = argv[1]; in main() 138 infd = open(infile, O_RDONLY); in main() 140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main() 143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main() 147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
|
/openbmc/openbmc/poky/meta/recipes-kernel/perf/perf/ |
H A D | sort-pmuevents.py | 23 infile = sys.argv[1] variable 26 if not os.path.exists(infile): 27 print( "ERROR. input file does not exist: %s" % infile ) 31 print( "WARNING. output file will be overwritten: %s" % infile ) 33 with open(infile, 'r') as file:
|
/openbmc/linux/scripts/ |
H A D | syscalltbl.sh | 50 infile="$1" 55 grep -E "^[0-9]+[[:space:]]+$abis" "$infile" | { 60 echo "error: $infile: syscall table is not sorted or duplicates the same syscall number" >&2
|
H A D | syscallnr.sh | 54 infile="$1" 61 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | sort -n | {
|
H A D | syscallhdr.sh | 65 infile="$1" 72 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | {
|
H A D | get_dvb_firmware | 869 my ($infile, $offset, $length, $outfile) = @_; 872 open INFILE, "<$infile"; 890 my ($FH, $infile) = @_; 893 open INFILE, "<$infile"; 903 my ($infile,$outfile) =@_; 905 open INFILE,"<$infile";
|
/openbmc/openbmc/poky/scripts/ |
H A D | cve-json-to-text.py | 12 infile = "in.json" variable 43 global infile, outfile 57 infile = arg 142 data = load_json(infile)
|
H A D | bblock | 91 with open(lockfile, "r") as infile, open(tmp_lockfile, "w") as outfile: 92 for line in infile:
|
/openbmc/linux/scripts/kconfig/ |
H A D | streamline_config.pl | 117 open(my $infile, '-|', "$exec $file") || die "Failed to run $exec $file"; 118 my @x = <$infile>; 119 close $infile; 301 open(my $infile, '<', $makefile) || die "Can't open $makefile"; 302 while (<$infile>) { 349 close($infile);
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | streamline_config.pl | 119 open(my $infile, '-|', "$exec $file") || die "Failed to run $exec $file"; 120 my @x = <$infile>; 121 close $infile; 301 open(my $infile, '<', $makefile) || die "Can't open $makefile"; 302 while (<$infile>) { 349 close($infile);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/audiofile/files/ |
H A D | 0006-Check-for-multiplication-overflow-in-sfconvert.patch | 31 bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid); 63 @@ -323,8 +350,11 @@ bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid) 65 int frameSize = afGetVirtualFrameSize(infile, trackid, 1); 75 AFframecount totalFrames = afGetFrameCount(infile, AF_DEFAULT_TRACK);
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | utils.h | 27 FILE *infile; variable 38 infile = fopen(filename, "r"); in open_input() 39 if (infile == 0) { in open_input()
|
H A D | makemapdata.c | 23 while (fgets(buffer, sizeof(buffer)-1, infile)) { in get_define() 44 fclose(infile); in get_define() 45 infile = 0; in get_define()
|
H A D | genmap.c | 74 while (fgets(buffer, sizeof(buffer), infile)) { in main() 120 fclose(infile); in main()
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | dbus-unit-test.py | 32 with open(dbus_config_file) as infile, open( 35 for line in infile: 56 infile.close()
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | ipvs.sh | 43 readonly infile="$(mktemp)" 99 dd if=/dev/urandom of="${infile}" bs="${datalen}" count=1 status=none 111 if [ -f "${infile}" ]; then 112 rm "${infile}" 123 ip netns exec ns0 timeout 2 nc -w 1 ${vip_v4} ${port} < "${infile}" 128 cmp "$infile" "$outfile" 2>/dev/null
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_tc_tunnel.sh | 25 readonly infile="$(mktemp)" 53 dd if=/dev/urandom of="${infile}" bs="${datalen}" count=1 status=none 63 if [[ -f "${infile}" ]]; then 64 rm "${infile}" 78 ip netns exec "${ns1}" timeout 2 nc "${netcat_opt}" -w 1 "${addr2}" "${port}" < "${infile}" 87 insum=($(sha1sum ${infile}))
|
/openbmc/u-boot/tools/patman/ |
H A D | command.py | 42 def RunPipe(pipe_list, infile=None, outfile=None, argument 80 elif infile: 81 kwargs['stdin'] = open(infile, 'rb')
|
/openbmc/u-boot/tools/binman/ |
H A D | state.py | 145 infile = tools.GetInputFilename(other_fname) 146 other_fname_dtb = fdt_util.EnsureCompiled(infile)
|
/openbmc/linux/arch/mips/boot/ |
H A D | elf2ecoff.c | 278 int infile, outfile; in main() local 300 if ((infile = open(argv[1], O_RDONLY)) < 0) { in main() 307 i = read(infile, &ex, sizeof ex); in main() 329 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main() 335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main() 598 copy(outfile, infile, ph[i].p_offset, in main()
|
/openbmc/openbmc/poky/scripts/contrib/ |
H A D | graph-tool | 74 with open(args.infile, 'r') as f:
|