/cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
TestDeviceStressTest.java | 53 File tmpFile = null; 59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir); 60 FileUtil.writeToFile(fileContents, tmpFile);
|
/external/clang/test/Analysis/ |
stream.c | 9 extern FILE *tmpfile(void); 57 FILE *p = tmpfile();
|
/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();
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostResultTest.java | 118 File tmpFile = FileUtil.createTempFile("tmp", "txt"); 124 assertTrue("Could not pull file", device.pullFile(devicePath, tmpFile)); 125 assertFilesAreEqual(testFile, tmpFile); 128 tmpFile.delete();
|
/external/iptables/iptables/ |
iptables-apply | 125 TMPFILE=$(tempfile -p iptap) 126 trap "rm -f $TMPFILE" EXIT 1 2 3 4 5 6 7 8 10 11 12 13 14 15 128 if ! "$SAVE" >"$TMPFILE"; then 165 "$RESTORE" <"$TMPFILE";
|
/system/extras/tests/bionic/libc/glibc/assert/ |
test-assert.c | 53 stderr = tmpfile ();
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBackupAgent.java | 94 File tmpfile = File.createTempFile("rst", null, getFilesDir()); local 99 crc = copyBackupToFile(data, tmpfile, data.getDataSize()); 101 FileInputStream infstream = new FileInputStream(tmpfile); 157 writeBackupState(tmpfile.length(), crc, newState); 161 tmpfile.delete();
|
/external/valgrind/main/VEX/switchback/ |
binary_switchback.pl | 144 my $TMPFILE = ".switchback_output.$n"; 148 system("$SWITCHBACK $n >& $TMPFILE"); 153 open(INFILE, "$TMPFILE"); 157 unlink($TMPFILE) if (! DEBUG); 163 unlink($TMPFILE) if (! DEBUG); 180 open(INFILE, "$TMPFILE"); 187 unlink($TMPFILE) if (! DEBUG); 191 open(INFILE, "$TMPFILE"); 195 unlink($TMPFILE) if (! DEBUG);
|
/external/chromium_org/tools/gyp/test/win/ |
gyptest-link-pgo.py | 25 tmpfile = test.read(test.built_file_path('linker_options.txt', chdir=CHDIR)) 26 return any(line.find('PGOPTIMIZE') for line in tmpfile)
|
/art/runtime/base/unix_file/ |
fd_file_test.cc | 27 return new FdFile(fileno(tmpfile()), false);
|
/external/ltrace/ |
memstream.c | 38 memstream->stream = tmpfile();
|
/external/fonttools/MetaTools/ |
roundTrip.py | 63 for tmpFile in (xmlFile1, ttFile2, xmlFile2): 64 if os.path.exists(tmpFile): 65 os.remove(tmpFile)
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasLoadAttachment.java | 290 final File tmpFile; 292 tmpFile = File.createTempFile("eas_", "tmp", mContext.getCacheDir()); 301 os = new FileOutputStream(tmpFile); 336 final boolean loadResult = finishLoadAttachment(mAttachment, tmpFile); 351 tmpFile.delete();
|
/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");
|
/cts/tests/tests/media/src/android/media/cts/ |
NativeDecoderTest.java | 434 String tmpFile = base.getPath() + "/tmp.dat"; 435 Log.i("@@@", "using tmp file " + tmpFile); 436 new File(tmpFile).delete(); 437 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile), 465 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile)); 469 new File(tmpFile).delete();
|
/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/bison/djgpp/ |
subpipe.c | 153 error(EXIT_FAILURE, 0, _("opening of tmpfile failed")); 197 error(EXIT_FAILURE, 0, _("opening of tmpfile failed")); 258 error(EXIT_FAILURE, 0, _("opening of tmpfile failed"));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_os.py | 98 if not hasattr(os, "tmpfile"): 100 # As with test_tmpnam() below, the Windows implementation of tmpfile() 104 # XP and below, the semantics of tmpfile() are the same, but the user 106 # their account already. If that's the case, then os.tmpfile() should 111 # test that a subsequent call to os.tmpfile() raises the same error. If 115 warnings.filterwarnings("ignore", "tmpfile", DeprecationWarning) 124 # open() failed, assert tmpfile() fails in the same way. 125 # Although open() raises an IOError and os.tmpfile() raises an 129 fp = os.tmpfile() 133 self.fail("expected os.tmpfile() to raise OSError" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_os.py | 98 if not hasattr(os, "tmpfile"): 100 # As with test_tmpnam() below, the Windows implementation of tmpfile() 104 # XP and below, the semantics of tmpfile() are the same, but the user 106 # their account already. If that's the case, then os.tmpfile() should 111 # test that a subsequent call to os.tmpfile() raises the same error. If 115 warnings.filterwarnings("ignore", "tmpfile", DeprecationWarning) 124 # open() failed, assert tmpfile() fails in the same way. 125 # Although open() raises an IOError and os.tmpfile() raises an 129 fp = os.tmpfile() 133 self.fail("expected os.tmpfile() to raise OSError" [all...] |
/bionic/libstdc++/include/ |
cstdio | 82 using ::tmpfile;
|
/bionic/tests/ |
sys_stat_test.cpp | 27 FILE* fp = tmpfile();
|
/external/chromium_org/third_party/cython/src/Cython/Includes/libc/ |
stdio.pxd | 23 FILE *tmpfile ()
|
/external/valgrind/main/none/tests/amd64/ |
faultstatus.c | 105 perror("tmpfile");
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageInstallerSession.java | 781 final File tmpFile = File.createTempFile("inherit", ".tmp", toDir); 782 if (LOGD) Slog.d(TAG, "Copying " + fromFile + " to " + tmpFile); 783 if (!FileUtils.copyFile(fromFile, tmpFile)) { 784 throw new IOException("Failed to copy " + fromFile + " to " + tmpFile); 787 Os.chmod(tmpFile.getAbsolutePath(), 0644); 789 throw new IOException("Failed to chmod " + tmpFile); 792 if (LOGD) Slog.d(TAG, "Renaming " + tmpFile + " to " + toFile); 793 if (!tmpFile.renameTo(toFile)) { 794 throw new IOException("Failed to rename " + tmpFile + " to " + toFile); [all...] |
/ndk/sources/cxx-stl/gabi++/include/ |
cstdio | 80 using ::tmpfile;
|