/external/e2fsprogs/tests/d_special_files/ |
script | 12 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1 16 $MKE2FS -Fq $TMPFILE 512 > /dev/null 2>&1 20 $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1 33 $DEBUGFS -R "stat foo" -w $TMPFILE >> $OUT.new 2>&1 39 $DEBUGFS -R "stat foo2" -w $TMPFILE >> $OUT.new 2>&1 45 $DEBUGFS -R "block_dump 28" -w $TMPFILE >> $OUT.new 2>&1 51 $DEBUGFS -R "stat pipe" -w $TMPFILE >> $OUT.new 2>&1 57 $DEBUGFS -R "stat sda" -w $TMPFILE >> $OUT.new 2>&1 63 $DEBUGFS -R "stat null" -w $TMPFILE >> $OUT.new 2>&1 69 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>& [all...] |
/external/e2fsprogs/tests/f_mmp/ |
script | 3 TMPFILE=$test_name.tmp 4 > $TMPFILE 6 stat -f $TMPFILE | grep -q "Type: tmpfs" 8 rm -f $TMPFILE 14 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1 25 awk "/debugfs -w $TMPFILE/ { print \$1 }") 36 $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 & ) > /dev/null 2>&1 & 47 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 56 $TUNE2FS -f -E clear_mmp $TMPFILE >> $test_name.log 2>&1 65 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>& [all...] |
/external/e2fsprogs/tests/f_imagic_fs/ |
script | 4 PREP_CMD='$DEBUGFS -w -R "feature imagic_inodes" $TMPFILE > /dev/null 2>&1'
|
/external/e2fsprogs/tests/t_quota_2off/ |
script | 8 $MKE2FS -q -F -o Linux -b 4096 -O quota $TMPFILE 100 > $test_name.log 2>&1 16 $TUNE2FS -O ^quota $TMPFILE >> $test_name.log 2>&1 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 35 rm -f $TMPFILE
|
/external/toybox/tests/ |
cksum.test | 10 echo -n "hello" > tmpfile 11 testing "cksum on file" "cksum tmpfile" "3287646509 5 tmpfile\n" "" "" 12 rm -f tmpfile
|
/packages/apps/Browser2/ |
run_startup_time_test.sh | 12 TMPFILE=$(tempfile) 13 echo '<body><div>just some text</div></body>' > $TMPFILE 14 adb push $TMPFILE /data/local/tmp/file.html 15 rm $TMPFILE
|
/external/autotest/server/self-test/ |
utils_test.py | 32 tmpfile = file(tmppath, 'w') 33 print >> tmpfile, 'Test string' 34 tmpfile.close() 35 tmpfile = file(tmppath) 36 newtmppath = utils.get(tmpfile)
|
/external/e2fsprogs/contrib/ |
e2croncheck | 26 TMPFILE=`mktemp -t e2fsck.log.XXXXXXXXXX` 34 if nice logsave -as $TMPFILE e2fsck -p $OPTS "/dev/${VG}/${VOLUME}-snap" && \ 35 nice logsave -as $TMPFILE e2fsck -fy $OPTS "/dev/${VG}/${VOLUME}-snap" ; then 42 mail -s "E2fsck of /dev/${VG}/${VOLUME} failed!" $EMAIL < $TMPFILE 46 rm $TMPFILE
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileOutputStreamTest.java | 286 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 287 tmpfile.deleteOnExit(); 288 FileOutputStream fos = new FileOutputStream(tmpfile); 292 FileOutputStream f = new FileOutputStream(tmpfile, true); 297 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 298 tmpfile.deleteOnExit(); 299 FileOutputStream fos = new FileOutputStream(tmpfile, true); 318 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 319 tmpfile.deleteOnExit(); 320 FileOutputStream fos = new FileOutputStream(tmpfile, false) 339 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 353 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 367 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local 381 File tmpfile = File.createTempFile("FileOutputStream", "tmp"); local [all...] |
/external/e2fsprogs/tests/f_resize_inode/ |
script | 15 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1 18 $MKE2FS -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 16384 2>&1 | 19 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" >> $OUT 21 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1 24 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT 31 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1 36 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1 42 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1 52 $DEBUGFS -R "clri <7>" -w $TMPFILE >> $OUT.new 2>&1 57 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>& [all...] |
/external/e2fsprogs/tests/d_loaddump/ |
script | 12 dd if=/dev/zero of=$TMPFILE bs=1k count=512 > /dev/null 2>&1 16 $MKE2FS -Fq $TMPFILE 512 > /dev/null 2>&1 24 $DEBUGFS -R "write $TEST_DATA test_data" -w $TMPFILE >> $OUT.new 2>&1 30 $FSCK $VERIFY_FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1 36 $DEBUGFS -R "dump test_data $VERIFY_DATA" $TMPFILE >> $OUT.new 2>&1 50 rm -f $VERIFY_DATA $TEST_DATA $TMPFILE $OUT.new
|
/external/parameter-framework/upstream/tools/xmlGenerator/ |
lightRoutingUpdate.sh | 42 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/chromium-trace/catapult/tracing/tracing_build/ |
vulcanize_trace_viewer_unittest.py | 23 with codecs.open(raw_tmpfile.name, 'w', encoding='utf-8') as tmpfile: 24 vulcanize_trace_viewer.WriteTraceViewer(tmpfile)
|
/external/elfutils/tests/ |
run-arsymtest.sh | 23 tmpfile=arsymtest.tmp 26 tempfiles $okfile $tmpfile $testfile 36 testrun ${abs_builddir}/arsymtest $lib $tmpfile || exit 1 37 sort $tmpfile > $testfile
|
/external/parameter-framework/upstream/test/tmpfile/ |
CMakeLists.txt | 31 set(OS_SPECIFIC_TMPFILE windows/TmpFile.cpp) 33 set(OS_SPECIFIC_TMPFILE posix/TmpFile.cpp) 36 add_library(tmpfile STATIC ${OS_SPECIFIC_TMPFILE}) 37 target_include_directories(tmpfile PUBLIC .)
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
float16_gen.sh | 22 TMPFILE=$TMPDIR/tmp.java 27 $EXECUTABLE > $TMPFILE 28 clang-format -style='{ColumnLimit: 80}' $TMPFILE > $OUTFILE
|
/external/e2fsprogs/tests/f_dup4/ |
script | 8 touch $TMPFILE 9 $MKE2FS -N 32 -F -o Linux -b 1024 $TMPFILE 100 > /dev/null 2>&1 10 $DEBUGFS -w $TMPFILE << EOF > /dev/null 2>&1
|
/system/extras/simpleperf/ |
cmd_record_test.cpp | 39 std::unique_ptr<TemporaryFile> tmpfile; local 44 tmpfile.reset(new TemporaryFile); 45 out_file = tmpfile->path; 75 TemporaryFile tmpfile; local 76 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "sleep", SLEEP_SEC})); 80 TemporaryFile tmpfile; local 81 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path)); 82 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); 100 TemporaryFile tmpfile; local 101 ASSERT_TRUE(RunRecordCmd({}, tmpfile.path)) 183 TemporaryFile tmpfile; local [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 93 char tmpfile[128]; local 94 temp_file_name(tmpfile, sizeof(tmpfile), "sanitizer_common.fileops.tmp."); 95 fd_t fd = OpenFile(tmpfile, WrOnly); 104 EXPECT_TRUE(FileExists(tmpfile)); 106 fd = OpenFile(tmpfile, RdOnly); 115 EXPECT_EQ(0u, internal_stat(tmpfile, &st1)); 116 EXPECT_EQ(0u, internal_lstat(tmpfile, &st2)); 145 ::DeleteFileA(&tmpfile[0]); 147 internal_unlink(tmpfile); 215 char tmpfile[128]; local [all...] |
/dalvik/opcode-gen/ |
opcode-gen | 27 tmpfile="/tmp/$$.txt" 59 "$file" > "$tmpfile" 62 cp "$tmpfile" "$file" 63 rm "$tmpfile"
|
/external/autotest/contrib/ |
run-stable-update | 46 trap 'rm -f ${TMPFILE}' EXIT 47 TMPFILE=$(mktemp) 50 site_utils/assign_stable_images.py "${OPTIONS[@]}" | tee ${TMPFILE} 60 site_utils/gmail_lib.py -s "${SUBJECT}" "${NOTIFY[@]}" <${TMPFILE}
|
/libcore/benchmarks/src/benchmarks/regression/ |
ByteBufferBulkBenchmark.java | 56 File tmpFile = File.createTempFile("MappedByteBufferTest", ".tmp"); 57 tmpFile.createNewFile(); 58 tmpFile.deleteOnExit(); 59 RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw");
|
/cts/hostsidetests/aadb/src/android/aadb/cts/ |
TestDeviceFuncTest.java | 99 File tmpFile = null; 104 tmpFile = createTempTestFile(null); 113 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath)); 117 assertTrue(compareFiles(tmpFile, tmpDestFile)); 135 File tmpFile = null; 142 tmpFile = createTempTestFile(null); 151 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath)); 155 assertTrue(compareFiles(tmpFile, tmpDestFile)); 159 assertTrue(compareFiles(tmpFile, tmpDestFile2)); 191 File tmpFile = null [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
MappedByteBufferTest.java | 37 File tmpFile, emptyFile; 45 FileInputStream fis = new FileInputStream(tmpFile); 128 FileInputStream fileInputStream = new FileInputStream(tmpFile); 135 FileInputStream inputStream = new FileInputStream(tmpFile); 146 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw"); 154 RandomAccessFile random = new RandomAccessFile(tmpFile, "rw"); 172 FileInputStream fileInputStream = new FileInputStream(tmpFile); 179 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw"); 192 tmpFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ 193 tmpFile.deleteOnExit() [all...] |
/external/autotest/client/tests/spew/ |
spew.py | 27 tmpfile = os.path.join(testdir, 'spew-test.%d' % os.getpid()) 30 (type, pattern, filesize, tmpfile)
|