Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/tools/dtoc/
H A Dtest_dtoc.py172 data = infile.read()
197 data = infile.read()
276 data = infile.read()
288 data = infile.read()
348 data = infile.read()
364 data = infile.read()
412 data = infile.read()
423 data = infile.read()
442 data = infile.read()
457 data = infile.read()
[all …]
/openbmc/linux/tools/perf/util/
H A Dlzma.c44 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 Dmailmapper128 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/openbmc/meta-openembedded/meta-oe/recipes-support/libee/libee/
H A Dezapi1.sh6 rm -f infile
7 ./genfile 100 > infile
14 rm -f infile
/openbmc/linux/arch/arm/vdso/
H A Dvdsomunge.c120 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/phosphor-debug-collector/
H A Ddump_offload.cpp176 std::ifstream infile{file, std::ios::in | std::ios::binary}; in requestOffload() local
177 if (!infile.good()) in requestOffload()
187 infile.exceptions(std::ifstream::failbit | std::ifstream::badbit | in requestOffload()
193 std::filebuf* pbuf = infile.rdbuf(); in requestOffload()
196 std::size_t size = pbuf->pubseekoff(0, infile.end, infile.in); in requestOffload()
197 pbuf->pubseekpos(0, infile.in); in requestOffload()
203 infile.close(); in requestOffload()
/openbmc/openbmc/poky/meta/recipes-kernel/perf/perf/
H A Dsort-pmuevents.py23 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 Dsyscalltbl.sh50 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 Dsyscallnr.sh54 infile="$1"
61 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | sort -n | {
H A Dsyscallhdr.sh65 infile="$1"
72 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+$abis" "$infile" | {
H A Dget_dvb_firmware869 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/u-boot/scripts/kconfig/
H A Dstreamline_config.pl119 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/linux/scripts/kconfig/
H A Dstreamline_config.pl117 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/openbmc-build-scripts/scripts/
H A Ddbus-unit-test.py32 with open(dbus_config_file) as infile, open(
35 for line in infile:
56 infile.close()
/openbmc/linux/drivers/accessibility/speakup/
H A Dutils.h27 FILE *infile; variable
38 infile = fopen(filename, "r"); in open_input()
39 if (infile == 0) { in open_input()
H A Dmakemapdata.c23 while (fgets(buffer, sizeof(buffer)-1, infile)) { in get_define()
44 fclose(infile); in get_define()
45 infile = 0; in get_define()
H A Dgenmap.c74 while (fgets(buffer, sizeof(buffer), infile)) { in main()
120 fclose(infile); in main()
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dipvs.sh43 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 Dtest_tc_tunnel.sh25 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 Dcommand.py42 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 Dstate.py145 infile = tools.GetInputFilename(other_fname)
146 other_fname_dtb = fdt_util.EnsureCompiled(infile)
/openbmc/linux/arch/mips/boot/
H A Delf2ecoff.c278 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/
H A Dbblock91 with open(lockfile, "r") as infile, open(tmp_lockfile, "w") as outfile:
92 for line in infile:
/openbmc/openbmc/poky/scripts/contrib/
H A Dgraph-tool74 with open(args.infile, 'r') as f:
/openbmc/openbmc/poky/meta/lib/oe/
H A Dcopy_buildsystem.py179 with open(lockedsigs, 'r') as infile:
183 for line in infile:

12