Home
last modified time | relevance | path

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

12345

/external/parameter-framework/upstream/tools/xmlGenerator/
DlightRoutingUpdate.sh42 tmpfile="/tmp/pfw_commands"
80 echo > "${tmpfile}"
86 echo "setTuningMode on" >> "${tmpfile}"
87 echo "setAutoSync off" >> "${tmpfile}"
94 echo "deleteDomain $domain" >> "${tmpfile}"
103 | $(dirname $0)/PFWScriptGenerator.py --output-kind pfw >> "${tmpfile}"
106 echo "setAutoSync off" >> "${tmpfile}"
107 echo "setTuningMode off" >> "${tmpfile}"
128 "${tmpfile}"
130 echo "set -xeu" > "${tmpfile}2"
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc93 char tmpfile[128]; in TEST() local
94 temp_file_name(tmpfile, sizeof(tmpfile), "sanitizer_common.fileops.tmp."); in TEST()
95 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST()
104 EXPECT_TRUE(FileExists(tmpfile)); in TEST()
106 fd = OpenFile(tmpfile, RdOnly); in TEST()
115 EXPECT_EQ(0u, internal_stat(tmpfile, &st1)); in TEST()
116 EXPECT_EQ(0u, internal_lstat(tmpfile, &st2)); in TEST()
145 ::DeleteFileA(&tmpfile[0]); in TEST()
147 internal_unlink(tmpfile); in TEST()
215 char tmpfile[128]; in TEST() local
[all …]
/external/autotest/server/
Dbase_utils.py70 tmpfile = os.path.join(tmpdir, "file")
71 tmpfileobj = file(tmpfile, 'w')
74 return tmpfile
79 tmpfile = os.path.join(tmpdir, os.path.basename(location))
80 utils.urlretrieve(location, tmpfile)
81 return tmpfile
89 tmpfile = os.path.join(tmpdir, os.path.basename(location))
91 tmpfile += '/'
92 shutil.copytree(location, tmpfile, symlinks=True)
93 return tmpfile
[all …]
/external/python/cpython2/Tools/faqwiz/
Dmove-faqwiz.sh32 tmpfile=$(tempfile -d .)
34 tmpfile=tmp$RANDOM.tmp
36 tmpfile=tmp$$.tmp
43 sed -e "s/$1\./$2\./g" data/$file1 > ${tmpfile}1
44 sed -e "s/$1\./$2\./g" data/RCS/$file1,v > ${tmpfile}2
51 mv ${tmpfile}1 data/$file2
52 mv ${tmpfile}2 data/RCS/$file2,v
/external/autotest/site_utils/lxc/
Dcontainer_unittest.py70 with tempfile.NamedTemporaryFile(dir=self.test_dir) as tmpfile:
71 name = os.path.basename(tmpfile.name)
171 tmpfile = clone0.attach_run('mktemp').stdout
173 clone0.attach_run('test -f %s' % tmpfile)
182 clone1.attach_run('test -f %s' % tmpfile)
214 _unused, tmpfile = tempfile.mkstemp()
216 container.install_control_file(tmpfile)
221 os.path.basename(tmpfile)))
227 with tempfile.NamedTemporaryFile() as tmpfile:
228 tmpfile.write(control_string)
[all …]
Dzygote_unittest.py175 _unused, tmpfile = tempfile.mkstemp()
180 zygote.install_control_file(tmpfile)
184 os.path.basename(tmpfile)))
190 with tempfile.NamedTemporaryFile() as tmpfile:
191 tmpfile.write(control_string)
192 tmpfile.flush()
196 os.path.basename(tmpfile.name))
198 zygote.copy(tmpfile.name, dst)
208 fd, tmpfile = tempfile.mkstemp(dir=tmpdir)
219 test_file = os.path.join(dst, os.path.basename(tmpfile))
/external/u-boot/tools/
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
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()
625 char tmpfile[MKIMAGE_MAX_TMPFILE_LEN]; in fit_handle_file() local
635 strlen (MKIMAGE_TMPFILE_SUFFIX) + 1 > sizeof (tmpfile)) { in fit_handle_file()
641 sprintf (tmpfile, "%s%s", params->imagefile, MKIMAGE_TMPFILE_SUFFIX); in fit_handle_file()
645 if (fit_build(params, tmpfile)) { in fit_handle_file()
654 MKIMAGE_DTC, params->dtc, tmpfile, params->datafile); in fit_handle_file()
658 params->imagefile, tmpfile); in fit_handle_file()
667 ret = fit_import_data(params, tmpfile); in fit_handle_file()
682 ret = fit_add_file_data(params, size_inc, tmpfile); in fit_handle_file()
[all …]
/external/elfutils/tests/
Drun-arsymtest.sh23 tmpfile=arsymtest.tmp
26 tempfiles $okfile $tmpfile $testfile
36 testrun ${abs_builddir}/arsymtest $lib $tmpfile || exit 1
37 sort $tmpfile > $testfile
/external/parameter-framework/support/android/asio/
Dasio_shrinker.sh100 tmpfile=$(mktemp)
106 list_compiled_files "$ANDROID_PRODUCT_OUT" $tmpfile
109 list_compiled_files "$ANDROID_HOST_OUT" $tmpfile
115 -e 's@ @\n@' $tmpfile | \
118 rm $tmpfile
/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c276 int map_and_thread(char *tmpfile, in map_and_thread() argument
296 if (strcmp(tmpfile, "NULL")) { in map_and_thread()
298 open(tmpfile, O_RDWR | O_CREAT, in map_and_thread()
314 remove_files(tmpfile, NULL); in map_and_thread()
333 remove_files(tmpfile, NULL); in map_and_thread()
377 remove_files(tmpfile, map_addr); in map_and_thread()
401 remove_files(tmpfile, map_addr); in map_and_thread()
410 remove_files(tmpfile, map_addr); in map_and_thread()
427 if (remove_files(tmpfile, map_addr) == FAILED) { in map_and_thread()
/external/libmtp/
Dautogen.sh54 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
55 mv tmpfile config.guess
56 wget -O tmpfile http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
57 mv tmpfile config.sub
/external/tensorflow/tensorflow/contrib/cmake/tools/
Dcreate_def_file.py108 tmpfile = tempfile.NamedTemporaryFile(mode="w", delete=False)
117 tmpfile.file.write(sym + "\n")
123 tmpfile.file.close()
142 proc = subprocess.Popen([UNDNAME, tmpfile.name], stdout=subprocess.PIPE)
172 os.unlink(tmpfile.name)
/external/python/httplib2/tests/
Dtest_cacerts_from_env.py26 tmpfd, tmpfile = tempfile.mkstemp()
27 open(tmpfile, 'a').close()
28 yield tmpfile
29 os.remove(tmpfile)
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-vmxcopy.c43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local
51 fd = mkstemp(tmpfile); in test_vmxcopy()
58 unlink(tmpfile); in test_vmxcopy()
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-lib.sh105 local param_multi_socket ret tmpfile
111 tmpfile=$$
112 EXPECT_PASS $MCAST_LCMD $param_multi_socket -n $num -p $mprefix \> $tmpfile
113 tst_res TINFO "joined $(grep groups $tmpfile)"
/external/u-boot/scripts/
Dfill_scrapyard.py136 tmpfile = TmpFile()
159 tmpfile.file.write(line)
162 os.rename(tmpfile.filename, DOC)
/external/python/cpython3/
Dsetup.py470 tmpfile = os.path.join(self.build_temp, 'multiarch')
474 '%s -print-multiarch > %s 2> /dev/null' % (cc, tmpfile))
478 with open(tmpfile) as fp:
481 os.unlink(tmpfile)
495 tmpfile = os.path.join(self.build_temp, 'multiarch')
500 (opt, tmpfile))
503 with open(tmpfile) as fp:
510 os.unlink(tmpfile)
514 tmpfile = os.path.join(self.build_temp, 'gccpaths')
517 ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile))
[all …]
/external/toybox/tests/
Dcksum.test10 echo -n "hello" > tmpfile
12 rm -f tmpfile
/external/autotest/server/site_tests/audio_AudioQualityAfterSuspend/
Daudio_AudioQualityAfterSuspend.py80 with tempfile.NamedTemporaryFile() as tmpfile:
81 file_utils.download_file(self.test_playback_file, tmpfile.name)
82 os.chmod(tmpfile.name, 0444)
83 self.host.send_file(tmpfile.name, host_file)
/external/scrypt/
Dimport_scrypt.sh259 declare -r tmpfile=$(mktemp)
260 (grep -e -D Makefile | grep -v CONFIGURE_ARGS= | grep -v OPTIONS=) > $tmpfile
262 declare -r ac_cflags=$(filter_by_egrep "^-D" $(grep -e "^CFLAG=" $tmpfile))
263 declare -r ac_depflags=$(filter_by_egrep "^-D" $(grep -e "^DEPFLAG=" $tmpfile))
264 rm -f $tmpfile
/external/autotest/client/tests/spew/
Dspew.py27 tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid())
30 (type, pattern, filesize, tmpfile)
/external/autotest/client/common_lib/cros/
Darc.py392 with tempfile.NamedTemporaryFile() as tmpfile:
394 pipes.quote(tmpfile.name)))
395 with open(tmpfile.name) as f:
407 with tempfile.NamedTemporaryFile() as tmpfile:
408 tmpfile.write(data)
409 tmpfile.flush()
411 adb_cmd('push %s %s' % (pipes.quote(tmpfile.name),
/external/ImageMagick/scripts/
Dformat_c_api_docs329 my($infile, $tmpfile) = @_;
338 open( TMP, ">$tmpfile" ) || die("Failed to open \"$tmpfile\" for write\n" );
/external/toybox/toys/pending/
Dsyslogd.c241 char *p, *tmpfile; in open_logfiles() local
247 tmpfile = xstrdup(tfd->filename + 1); in open_logfiles()
248 if ((p = strchr(tmpfile, ':'))) { in open_logfiles()
261 if (getaddrinfo(tmpfile, NULL, &rp, &info) || !info) in open_logfiles()
262 perror_exit("BAD ADDRESS: can't find : %s ", tmpfile); in open_logfiles()
268 free(tmpfile); in open_logfiles()

12345