Home
last modified time | relevance | path

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

/external/webkit/LayoutTests/http/tests/resources/
Dreset-temp-file.php9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename']; variable
11 if (!file_put_contents($tmpFile, "test")) {
12 echo "FAIL: unable to write to file: " . $tmpFile . "\n";
15 if (!unlink($tmpFile)) {
16 echo "FAIL: Unable to delete file: " . $tmpFile . "\n";
Dwrite-temp-file.php9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename']; variable
11 if (!file_put_contents($tmpFile, $_GET['data'])) {
12 echo "FAIL: unable to write to file: " . $tmpFile . "\n";
16 echo $tmpFile;
Dtouch-temp-file.php9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename']; variable
11 $stat = stat($tmpFile);
19 if (!touch($tmpFile, $mtime)) {
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DChannelsTest.java65 private File tmpFile; field in ChannelsTest
70 tmpFile = File.createTempFile("test","tmp"); in setUp()
71 tmpFile.deleteOnExit(); in setUp()
85 tmpFile.delete(); in tearDown()
91 this.fouts = new FileOutputStream(tmpFile); in writeFileSame()
133 this.fins = new FileInputStream(tmpFile); in testNewChannelInputStream_BufferNull()
160 this.fins = new FileInputStream(tmpFile); in testNewChannelInputStream()
207 this.fouts = new FileOutputStream(tmpFile); in testNewChannelOutputStream_BufNull()
231 this.fouts = new FileOutputStream(tmpFile); in testNewChannelOutputStream()
242 this.fins = new FileInputStream(tmpFile); in testNewChannelOutputStream()
[all …]
/external/webkit/Tools/Scripts/
Dparallelcl122 my $tmpFile;
124 ($pid, $tmpFile) = forkAndCompileFiles(@{$job}, $options);
126 … print STDERR "####### Spawned child with PID $pid and tmpFile $tmpFile ##########\n" if $debug;
128 push(@tmpFiles, $tmpFile);
168 …my (undef, $tmpFile) = File::Temp::tempfile('clcommandXXXXX', DIR => File::Spec->tmpdir, OPEN => 0…
175 open(TMP, '>:raw:encoding(UTF16-LE):crlf:utf8', $tmpFile) or die "Couldn't open $tmpFile";
182 chomp(my $winTmpFile = `cygpath -m $tmpFile`);
185 return ($pid, $tmpFile);
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
DMappedByteBufferTest.java37 File tmpFile, emptyFile; field in MappedByteBufferTest
45 FileInputStream fis = new FileInputStream(tmpFile); in testasIntBuffer()
128 FileInputStream fileInputStream = new FileInputStream(tmpFile); in test_force()
135 FileInputStream inputStream = new FileInputStream(tmpFile); in test_force()
146 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw"); in test_force()
154 RandomAccessFile random = new RandomAccessFile(tmpFile, "rw"); in test_force()
172 FileInputStream fileInputStream = new FileInputStream(tmpFile); in test_load()
179 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw"); in test_load()
192 tmpFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$ in setUp()
193 tmpFile.deleteOnExit(); in setUp()
[all …]
/external/webkit/LayoutTests/http/tests/appcache/resources/
Dfail-on-update-2.php4 $tmpFile = sys_get_temp_dir() . "/" . "fail_on_update_state"; variable
20 $state = getState($tmpFile);
27 unlink($tmpFile);
29 setState("Deleted", $tmpFile);
Dfail-on-update.php4 $tmpFile = sys_get_temp_dir() . "/" . "fail_on_update_state"; variable
20 $state = getState($tmpFile);
27 unlink($tmpFile);
29 setState("Deleted", $tmpFile);
Dversioned-manifest.php4 $tmpFile = sys_get_temp_dir() . "/" . "appcache_manifest_counter"; variable
29 stepCounter($tmpFile);
32 print("# version " . getCount($tmpFile) . "\n");
Dcounter.php4 $tmpFile = sys_get_temp_dir() . "/" . "appcache_counter"; variable
22 print(stepCounter($tmpFile));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/services/rss/
DRSSFeedWatcherTask.java70 private File tmpFile; field in RSSFeedWatcherTask
81 this.tmpFile = new File(file + ".tmp"); //$NON-NLS-1$ in setFile()
127 downloadFeed(tmpFile,debug>0); in checkFeed()
130 if (tmpFile.isFile()) { in checkFeed()
131 ….Compare") + SP + file + Messages.getString("RSSFeedWatcherTask.with") + tmpFile + CL); } //$NON-N… in checkFeed()
151 newFeedWatcher.setFile(tmpFile.toString()); in checkFeed()
210 RSSFeedUtil.transferData(new FileInputStream(tmpFile), new FileOutputStream(file)); in checkFeed()
211 tmpFile.deleteOnExit(); in checkFeed()
/external/clang/www/demo/
Dindex.cgi382 my $tmpFile = getname(".bc");
385 "llvm-ld $stats -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
388 system("mv $tmpFile.bc $bytecodeFile");
389 system("rm $tmpFile");
407 my $tmpFile = getname(".ll");
408 system("c++filt < $disassemblyFile > $tmpFile 2>&1");
409 system("mv $tmpFile $disassemblyFile");
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DComponentResults.java401 File tmpFile = new File(dir, getName()+".tmp"); //$NON-NLS-1$ in writeData() local
404 if (tmpFile.exists()) { in writeData()
406 tmpFile.renameTo(dataFile); in writeData()
411 if (tmpFile.exists()) { in writeData()
412 tmpFile.delete(); in writeData()
416 file = tmpFile; in writeData()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileInputStreamTest.java194 File tmpFile = File.createTempFile("FileOutputStream", "tmp"); in test_read$BII() local
195 FileInputStream in = new FileInputStream(tmpFile); in test_read$BII()
203 tmpFile.delete(); in test_read$BII()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DScannerTest.java83 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp"); in test_ConstructorLjava_io_File() local
84 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
87 assertTrue(tmpFile.delete()); in test_ConstructorLjava_io_File()
90 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
96 tmpFile = File.createTempFile("TestFileForScanner", ".tmp"); in test_ConstructorLjava_io_File()
97 FileOutputStream fos = new FileOutputStream(tmpFile); in test_ConstructorLjava_io_File()
100 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
101 tmpFile.delete(); in test_ConstructorLjava_io_File()
119 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp"); in test_ConstructorLjava_io_FileLjava_lang_String() local
120 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
[all …]