HomeSort by relevance Sort by last modified time
    Searched refs:tmpFile (Results 1 - 25 of 36) sorted by null

1 2

  /external/webkit/LayoutTests/http/tests/resources/
reset-temp-file.php 9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename'];
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";
write-temp-file.php 9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename'];
11 if (!file_put_contents($tmpFile, $_GET['data'])) {
12 echo "FAIL: unable to write to file: " . $tmpFile . "\n";
16 echo $tmpFile;
touch-temp-file.php 9 $tmpFile = sys_get_temp_dir() . "/" . $_GET['filename'];
11 $stat = stat($tmpFile);
19 if (!touch($tmpFile, $mtime)) {
  /external/webkit/LayoutTests/http/tests/appcache/resources/
fail-on-update-2.php 4 $tmpFile = sys_get_temp_dir() . "/" . "fail_on_update_state";
20 $state = getState($tmpFile);
27 unlink($tmpFile);
29 setState("Deleted", $tmpFile);
fail-on-update.php 4 $tmpFile = sys_get_temp_dir() . "/" . "fail_on_update_state";
20 $state = getState($tmpFile);
27 unlink($tmpFile);
29 setState("Deleted", $tmpFile);
versioned-manifest.php 4 $tmpFile = sys_get_temp_dir() . "/" . "appcache_manifest_counter";
29 stepCounter($tmpFile);
32 print("# version " . getCount($tmpFile) . "\n");
counter.php 4 $tmpFile = sys_get_temp_dir() . "/" . "appcache_counter";
22 print(stepCounter($tmpFile));
  /libcore/luni/src/main/java/libcore/net/url/
JarHandler.java 76 String tmpFile = file.substring(idx + 1, file.lastIndexOf('/') + 1) + spec;
77 tmpFile = UrlUtils.canonicalizePath(tmpFile, true);
78 file = file.substring(0, idx + 1) + tmpFile;
  /external/webkit/Tools/Scripts/
parallelcl 122 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);
    [all...]
  /cts/hostsidetests/aadb/src/com/android/cts/aadb/
TestDeviceFuncTest.java 94 File tmpFile = null;
99 tmpFile = createTempTestFile(null);
108 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath));
112 assertTrue(compareFiles(tmpFile, tmpDestFile));
130 File tmpFile = null;
137 tmpFile = createTempTestFile(null);
146 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath));
150 assertTrue(compareFiles(tmpFile, tmpDestFile));
154 assertTrue(compareFiles(tmpFile, tmpDestFile2));
186 File tmpFile = null
    [all...]
TestDeviceStressTest.java 53 File tmpFile = null;
59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir);
60 FileUtil.writeToFile(fileContents, tmpFile);
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/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/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
ChannelsTest.java 65 private File tmpFile;
70 tmpFile = File.createTempFile("test","tmp");
71 tmpFile.deleteOnExit();
85 tmpFile.delete();
91 this.fouts = new FileOutputStream(tmpFile);
133 this.fins = new FileInputStream(tmpFile);
160 this.fins = new FileInputStream(tmpFile);
207 this.fouts = new FileOutputStream(tmpFile);
231 this.fouts = new FileOutputStream(tmpFile);
242 this.fins = new FileInputStream(tmpFile);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/services/rss/
RSSFeedWatcherTask.java 70 private File tmpFile;
81 this.tmpFile = new File(file + ".tmp"); //$NON-NLS-1$
127 downloadFeed(tmpFile,debug>0);
130 if (tmpFile.isFile()) {
131 if (debug>0) { System.out.println(Messages.getString("RSSFeedWatcherTask.Compare") + SP + file + Messages.getString("RSSFeedWatcherTask.with") + tmpFile + CL); } //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
151 newFeedWatcher.setFile(tmpFile.toString());
210 RSSFeedUtil.transferData(new FileInputStream(tmpFile), new FileOutputStream(file));
211 tmpFile.deleteOnExit();
  /libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/
CertBlacklistTest.java 42 private File tmpFile;
113 tmpFile = File.createTempFile("test", "");
116 tmpFile.delete();
122 tmpFile = File.createTempFile("test", "");
128 tmpFile.delete();
176 return getPubkeyBlacklist(tmpFile.getCanonicalPath());
180 return getSerialBlacklist(tmpFile.getCanonicalPath());
184 FileOutputStream out = new FileOutputStream(tmpFile);
234 CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(),
250 CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath()
    [all...]
  /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/
ComponentResults.java 401 File tmpFile = new File(dir, getName()+".tmp"); //$NON-NLS-1$
404 if (tmpFile.exists()) {
406 tmpFile.renameTo(dataFile);
411 if (tmpFile.exists()) {
412 tmpFile.delete();
416 file = tmpFile;
  /external/clang/www/demo/
index.cgi 382 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");
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
EasOutboxService.java 333 File tmpFile = File.createTempFile("eas_", "tmp", cacheDir);
361 FileOutputStream fileOutputStream = new FileOutputStream(tmpFile);
371 FileInputStream fileStream = new FileInputStream(tmpFile);
372 long fileLength = tmpFile.length();
470 if (tmpFile.exists()) {
471 tmpFile.delete();
  /libcore/benchmarks/src/benchmarks/regression/
ByteBufferBenchmark.java 58 File tmpFile = new File("/sdcard/bm.tmp");
61 tmpFile = File.createTempFile("MappedByteBufferTest", ".tmp");
63 tmpFile.createNewFile();
64 tmpFile.deleteOnExit();
65 RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw");
  /libcore/luni/src/test/java/libcore/java/io/
OldRandomAccessFileTest.java 54 File tmpFile = new File(fileName);
57 raf = new java.io.RandomAccessFile(tmpFile, "r");
65 tmpFile.createNewFile();
70 raf = new java.io.RandomAccessFile(tmpFile, "rwd");
76 raf = new java.io.RandomAccessFile(tmpFile, "rws");
82 raf = new java.io.RandomAccessFile(tmpFile, "rw");
90 raf = new java.io.RandomAccessFile(tmpFile, "i");
97 tmpFile.delete();
108 File tmpFile = new File(fileName);
161 if (tmpFile.exists()) tmpFile.delete()
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileInputStreamTest.java 194 File tmpFile = File.createTempFile("FileOutputStream", "tmp");
195 FileInputStream in = new FileInputStream(tmpFile);
203 tmpFile.delete();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ScannerTest.java 83 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
84 s = new Scanner(tmpFile);
87 assertTrue(tmpFile.delete());
90 s = new Scanner(tmpFile);
96 tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
97 FileOutputStream fos = new FileOutputStream(tmpFile);
100 s = new Scanner(tmpFile);
101 tmpFile.delete();
119 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
120 s = new Scanner(tmpFile, Charset.defaultCharset().name())
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
feedTools.jar 
  /frameworks/base/media/java/android/media/videoeditor/
MediaArtistNativeHelper.java     [all...]
  /prebuilts/devtools/tools/lib/
sdklib.jar 

Completed in 1668 milliseconds

1 2