Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 23 of 23) sorted by relevance

/openbmc/ipmitool/contrib/
H A Dlog_bmc.sh54 ${tmpfile} && \
55 ${IPMI_CMD} sel add ${tmpfile} > /dev/null 2>&1
61 tmpfile=$(/usr/bin/mktemp)
85 [ -f ${tmpfile} ] && rm -f ${tmpfile} > /dev/null 2>&1
/openbmc/u-boot/tools/
H A Dmrvl_uart.sh23 tmpfile=/tmp/xmodem.pattern
91 if [ -f "$tmpfile" ]
93 rm -f $tmpfile
100 echo -n -e "$prefix\x11\x22\x33\x44\x55\x66\x77" >> $tmpfile
107 dd if=$tmpfile of=$port &>/dev/null
H A Dfit_image.c27 const char *tmpfile) in fit_add_file_data() argument
36 tfd = mmap_fdt(params->cmdname, tmpfile, size_inc, &ptr, &sbuf, true); in fit_add_file_data()
633 char tmpfile[MKIMAGE_MAX_TMPFILE_LEN]; in fit_handle_file() local
643 strlen (MKIMAGE_TMPFILE_SUFFIX) + 1 > sizeof (tmpfile)) { in fit_handle_file()
649 sprintf (tmpfile, "%s%s", params->imagefile, MKIMAGE_TMPFILE_SUFFIX); in fit_handle_file()
653 if (fit_build(params, tmpfile)) { in fit_handle_file()
662 MKIMAGE_DTC, params->dtc, tmpfile, params->datafile); in fit_handle_file()
666 params->imagefile, tmpfile); in fit_handle_file()
675 ret = fit_import_data(params, tmpfile); in fit_handle_file()
690 ret = fit_add_file_data(params, size_inc, tmpfile); in fit_handle_file()
[all …]
/openbmc/openpower-inventory-upload/
H A Dinventory_upload.py103 h, tmpfile = tempfile.mkstemp() variable
114 subprocess.call(['pflash', '-f', '-e', '-p', tmpfile, '-P', 'BMC_INV'])
116 os.remove(tmpfile)
119 os.remove(tmpfile)
/openbmc/openbmc/poky/bitbake/lib/toaster/bldcollector/
H A Dviews.py29 with os.fdopen(handle, "w") as tmpfile:
31 tmpfile.write(chunk)
32 tmpfile.close()
/openbmc/openbmc/poky/meta/recipes-core/udev/udev-extraconf/
H A Dmount.sh209 tmpfile=`find /tmp | grep "\.automount-.*${name}$"`
210 if [ ! -e "/sys/$DEVPATH" -a -e "$tmpfile" ]; then
218 mntdir=`cat "$tmpfile"`
220 rm "$tmpfile"
/openbmc/u-boot/scripts/
H A Dfill_scrapyard.py136 tmpfile = TmpFile()
159 tmpfile.file.write(line)
162 os.rename(tmpfile.filename, DOC)
/openbmc/openpower-pnor-code-mgmt/
H A Dgenerate-ubi133 tmpfile=$(mktemp "${scratch_dir}"/ubinized.XXXXXX)
148 ubinize -p ${FLASH_PEB_SIZE}KiB -m ${FLASH_PAGE_SIZE} -o "${tmpfile}" "$config_file"
150 dd bs=1k conv=notrunc seek=0 if="${tmpfile}" of="${outfile}"
/openbmc/qemu/tests/qtest/
H A Dvirtio-net-failover.c1777 gchar *tmpfile; in main() local
1782 ret = g_file_open_tmp("failover_test_migrate-XXXXXX", &tmpfile, NULL); in main()
1809 qtest_add_data_func("failover-virtio-net/migrate/on/out", tmpfile, in main()
1811 qtest_add_data_func("failover-virtio-net/migrate/on/in", tmpfile, in main()
1813 qtest_add_data_func("failover-virtio-net/migrate/off/out", tmpfile, in main()
1815 qtest_add_data_func("failover-virtio-net/migrate/off/in", tmpfile, in main()
1817 qtest_add_data_func("failover-virtio-net/migrate/off/abort", tmpfile, in main()
1819 qtest_add_data_func("failover-virtio-net/migrate/guest_off/out", tmpfile, in main()
1821 qtest_add_data_func("failover-virtio-net/migrate/guest_off/in", tmpfile, in main()
1823 qtest_add_data_func("failover-virtio-net/migrate/guest_off/abort", tmpfile, in main()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dkernel-module-split.bbclass55 tmpfile = tf[1]
57 tmpkofile = tmpfile + ".ko"
70 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), tmpkofile, tmpfile)
72 cmd = "%s -j .modinfo -O binary %s %s" % (d.getVar("OBJCOPY"), file, tmpfile)
75 with open(tmpfile, errors='replace') as f:
78 os.unlink(tmpfile)
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0001-missing_type.h-add-comparison_fn_t.patch54 #include "tmpfile-util.h"
H A D0003-src-basic-missing.h-check-for-missing-strndupa.patch199 #include "tmpfile-util.h"
511 #include "tmpfile-util.h"
H A D0002-add-fallback-parse_printf_format-implementation.patch427 #include "tmpfile-util.h"
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0003-missing_type.h-add-comparison_fn_t.patch54 #include "tmpfile-util.h"
H A D0004-add-fallback-parse_printf_format-implementation.patch427 #include "tmpfile-util.h"
/openbmc/openbmc/poky/meta/recipes-devtools/clang/clang/
H A D0004-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch81 @@ -2559,6 +2576,9 @@ TLI_DEFINE_STRING_INTERNAL("tmpfile")
/openbmc/pldm/oem/ibm/test/
H A Dlibpldmresponder_fileio_test.cpp119 char tmpfile[] = "/tmp/pldm_fileio_table.XXXXXX"; in TEST() local
120 int fd = mkstemp(tmpfile); in TEST()
122 fs::path path(tmpfile); in TEST()
184 char tmpfile[] = "/tmp/pldm_fileio_table.XXXXXX"; in TEST() local
185 int fd = mkstemp(tmpfile); in TEST()
187 fs::path path(tmpfile); in TEST()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpatch.py450 tmpfile = tf.name
456 cmd += ["commit", "-F", tmpfile, "--no-verify"]
462 return (tmpfile, cmd)
584 (tmpfile, shellcmd) = self.prepareCommit(patch['file'], self.commituser, self.commitemail)
589 os.remove(tmpfile)
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_go.py603 tmpfile = os.path.join(localfilesdir, patchfilename)
604 shutil.move(os.path.join(srctree, patchfilename), tmpfile)
606 extravalues['extrafiles'][patchfilename] = tmpfile
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Ddata.py607 with tempfile.NamedTemporaryFile(delete=False) as tmpfile:
608 tmpfilename = tmpfile.name
609 pickle.dump(d, tmpfile)
/openbmc/openbmc/poky/meta/recipes-extended/slang/slang/
H A Dterminfo_fixes.patch162 + -/bin/rm -rf tmpfile*.* tmpdir*.*
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dsiggen.py479 fd, tmpfile = bb.utils.mkstemp(dir=os.path.dirname(sigfile), prefix="sigtask.")
484 os.chmod(tmpfile, 0o664)
485 bb.utils.rename(tmpfile, sigfile)
488 os.unlink(tmpfile)
/openbmc/openbmc/poky/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/
H A Dautotools-update.patch4956 - {"send_pseudo %s: cannot open tmpfile %s: %s", 33},
4957 - {"send_pseudo %s: cannot lstat tmpfile %s: %s", 34},
4959 - {"send_pseudo %s: cannot write to tmpfile %s: %s", 36},
5131 - {"cannot tmpfile() for tcp protocol synchronization", 122},