Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 25 of 124) 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/ltp/testcases/commands/at/
Dat_allow0139 tmpfile="$TMP/at_allow_test"
52 rm "${tmpfile}" >/dev/null 2>&1
102 rm "${tmpfile}" >/dev/null 2>&1
116 echo "echo 'TEST JOB RAN' >>\"${tmpfile}\" 2>&1" |
125 test -e "${tmpfile}" && exit_code=0
132 rm -f "${tmpfile}" >/dev/null 2>&1
142 echo "echo 'TEST JOB RAN' >>\"${tmpfile}\" 2>&1" |
150 test -e "${tmpfile}" || exit_code=0
157 rm -f "${tmpfile}" >/dev/null 2>&1
Dat_deny0137 tmpfile="$TMP/at_deny_test"
50 rm "${tmpfile}" >/dev/null 2>&1
106 rm "${tmpfile}" >/dev/null 2>&1
124 echo "echo 'TEST JOB RAN' >>\"${tmpfile}\" 2>&1" |
133 test -e "${tmpfile}" && exit_code=0
140 rm -f "${tmpfile}" >/dev/null 2>&1
150 echo "echo 'TEST JOB RAN' >>\"${tmpfile}\" 2>&1" |
158 test -e "${tmpfile}" || exit_code=0
165 rm -f "${tmpfile}" >/dev/null 2>&1
/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/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/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/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/autotest/site_utils/lxc/
Dcontainer_unittest.py76 with tempfile.NamedTemporaryFile(dir=self.test_dir) as tmpfile:
77 name = os.path.basename(tmpfile.name)
136 tmpfile = clone0.attach_run('mktemp').stdout
138 clone0.attach_run('test -f %s' % tmpfile)
146 clone1.attach_run('test -f %s' % tmpfile)
178 _unused, tmpfile = tempfile.mkstemp()
180 container.install_control_file(tmpfile)
185 os.path.basename(tmpfile)))
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast4-grpope01178 tmpfile=$TMPDIR/ns-mcast_join.$$
179 ns-mcast_join -f 4 -I $lhost_ifname -n $MCASTNUM_HEAVY -p $MCAST_ADDR_PREFIX > $tmpfile
182 rm -f $tmpfile
185 msg=`cat $tmpfile | grep groups`
187 rm -f $tmpfile
Dmcast6-grpope01175 tmpfile=$TMPDIR/ns-mcast_join.$$
176 ns-mcast_join -f 6 -I $lhost_ifname -n $MCASTNUM_HEAVY -p $MCAST_ADDR_PREFIX > $tmpfile
179 rm -f $tmpfile
182 msg=`cat $tmpfile | grep groups`
184 rm -f $tmpfile
Dmcast6-grpope02184 tmpfile=$TMPDIR/ns-mcast_join.$$
185 ns-mcast_join -m -f 6 -I $lhost_ifname -n $MCASTNUM_HEAVY -p $MCAST_ADDR_PREFIX > $tmpfile
188 rm -f $tmpfile
191 msg=`cat $tmpfile | grep groups`
193 rm -f $tmpfile
Dmcast4-grpope02187 tmpfile=$TMPDIR/ns-mcast_join.$$
188 ns-mcast_join -m -f 4 -I $lhost_ifname -n $MCASTNUM_HEAVY -p $MCAST_ADDR_PREFIX > $tmpfile
191 rm -f $tmpfile
194 msg=`cat $tmpfile | grep groups`
196 rm -f $tmpfile
/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/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c277 int map_and_thread(char *tmpfile, in map_and_thread() argument
297 if (strcmp(tmpfile, "NULL")) { in map_and_thread()
299 open(tmpfile, O_RDWR | O_CREAT, in map_and_thread()
315 remove_files(tmpfile, NULL); in map_and_thread()
334 remove_files(tmpfile, NULL); in map_and_thread()
378 remove_files(tmpfile, map_addr); in map_and_thread()
402 remove_files(tmpfile, map_addr); in map_and_thread()
411 remove_files(tmpfile, map_addr); in map_and_thread()
428 if (remove_files(tmpfile, map_addr) == FAILED) { in map_and_thread()
/external/vulkan-validation-layers/demos/smoke/
Dglsl-to-spirv43 def compile_glsl(filename, tmpfile): argument
46 args = [validator, "-V", "-H", "-o", tmpfile, filename]
54 with open(tmpfile, "rb") as f:
67 os.remove(tmpfile)
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-vmxcopy.c43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local
50 fd = mkstemp(tmpfile); in test_vmxcopy()
57 unlink(tmpfile); in test_vmxcopy()
/external/bison/lib/
Dstdio--.h34 # undef tmpfile
35 # define tmpfile tmpfile_safer macro
/external/toybox/tests/
Dcksum.test10 echo -n "hello" > tmpfile
12 rm -f tmpfile
/external/autotest/client/common_lib/cros/
Darc.py280 with tempfile.NamedTemporaryFile() as tmpfile:
282 pipes.quote(tmpfile.name)))
283 with open(tmpfile.name) as f:
295 with tempfile.NamedTemporaryFile() as tmpfile:
296 tmpfile.write(data)
297 tmpfile.flush()
299 adb_cmd('push %s %s' % (pipes.quote(tmpfile.name),
/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/clang/test/Analysis/
Dstream.c9 extern FILE *tmpfile(void);
57 FILE *p = tmpfile(); in f7()
/external/ltp/testcases/kernel/controllers/cpuset/
Dcpuset_regression_test.sh48 grep -w cpuset /proc/mounts > tmpfile
50 root_cpuset_dir=$(cat tmpfile | awk '{print $2}')

12345