Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/scripts/
H A Dtools-support-relr.sh4 tmp_file=$(mktemp)
5 trap "rm -f $tmp_file.o $tmp_file $tmp_file.bin" EXIT
7 cat << "END" | $CC -c -x c - -o $tmp_file.o >/dev/null 2>&1
12 if ! $LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr -o $tmp_file 2>/dev/null; then
13 $LD $tmp_file.o -shared -Bsymbolic -z pack-relative-relocs -o $tmp_file 2>&1 |
19 test -z "$($NM $tmp_file 2>&1 >/dev/null)"
21 $OBJCOPY -O binary $tmp_file $tmp_file.bin
H A Dleaking_addresses.pl224 my $tmp_file = "";
231 my $tmp_file = "/tmp/tmpkconf";
233 if (system("gunzip < /proc/config.gz > $tmp_file")) {
237 @config_files = ($tmp_file);
253 if ($tmp_file ne "") {
254 system("rm -f $tmp_file");
H A Drecordmcount.c331 char tmp_file[strlen(fname) + 4]; in write_file() local
337 sprintf(tmp_file, "%s.rc", fname); in write_file()
344 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
364 if (rename(tmp_file, fname) < 0) { in write_file()
/openbmc/linux/tools/time/
H A Dudelay_test.sh19 tmp_file=`mktemp`
26 tee -a $tmp_file < $UDELAY_PATH
31 if [ -f $tmp_file ]; then
32 rm $tmp_file
53 count=`grep -c FAIL $tmp_file`
/openbmc/linux/tools/testing/selftests/
H A Dkselftest_deps.sh64 tmp_file=$(mktemp).c
65 trap "rm -f $tmp_file.o $tmp_file $tmp_file.bin" EXIT
77 cat << "EOF" > $tmp_file
264 $CC -o $tmp_file.bin $lib $tmp_file > /dev/null 2>&1
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dcompression.py25 tmp_file = self.tmpdir / "compressed"
27 with self.do_open(tmp_file, mode="w" + mode_suffix) as f:
30 with self.do_open(tmp_file, mode="r" + mode_suffix) as f:
58 tmp_file = self.tmpdir / "compressed"
59 with tmp_file.open("wb") as f:
63 with self.do_open(tmp_file, mode="rb", stderr=subprocess.DEVNULL) as f:
/openbmc/u-boot/test/py/tests/test_fs/
H A Dconftest.py366 tmp_file = mount_dir + '/tmpfile'
390 % (min_file, tmp_file), shell=True)
392 % (min_file, tmp_file), shell=True)
394 % tmp_file, shell=True)
399 % (min_file, tmp_file), shell=True)
401 % (min_file, tmp_file), shell=True)
403 % tmp_file, shell=True)
408 % (min_file, tmp_file), shell=True)
410 % (min_file, tmp_file), shell=True)
412 % tmp_file, shell=True)
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dreproducible.py195 tmp_file = "%s.new" % epochfile
196 with open(tmp_file, 'w') as f:
198 os.rename(tmp_file, epochfile)
H A Dgpg_sign.py94 tmp_file = os.path.join(tmp_dir, os.path.basename(output_file))
95 cmd += ['-o', tmp_file]
105 os.rename(tmp_file, output_file)
/openbmc/qemu/hw/core/
H A Deif.c193 FILE *tmp_file = NULL; in read_eif_kernel() local
200 tmp_file = fopen(*kernel_path, "wb"); in read_eif_kernel()
201 if (tmp_file == NULL) { in read_eif_kernel()
213 got = fwrite(kernel, 1, size, tmp_file); in read_eif_kernel()
221 fclose(tmp_file); in read_eif_kernel()
226 safe_fclose(tmp_file); in read_eif_kernel()
/openbmc/linux/tools/testing/selftests/net/
H A Dfib_tests.sh2198 local tmp_file=$(mktemp)
2199 ip netns exec ns2 socat UDP4-LISTEN:54321,fork $tmp_file &
2230 [[ $(cat $tmp_file | wc -l) -eq 3 ]]
2238 rm $tmp_file
2256 local tmp_file=$(mktemp)
2257 ip netns exec ns2 socat UDP6-LISTEN:54321,fork $tmp_file &
2288 [[ $(cat $tmp_file | wc -l) -eq 3 ]]
2296 rm $tmp_file
2446 local tmp_file=$(mktemp)
2455 run_cmd "perf stat -a -e fib:fib_table_lookup --filter 'err == 0' -j -o $tmp_file -- $cmd"
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A D05_gcc.diff30 : tmp_file(WvString::null)
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py179 tmp_file = os.path.join(root, f).replace(localpath, "")
180 dst_file = os.path.join(remotepath, tmp_file.lstrip("/"))
/openbmc/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c185 char *tmp_file; in main() local
/openbmc/openbmc/poky/meta/classes-global/
H A Dsanity.bbclass320 with tempfile.NamedTemporaryFile(prefix='TmP', dir=path) as tmp_file:
321 if os.path.exists(tmp_file.name.lower()):