/external/nanohttpd/samples/src/main/java/fi/iki/elonen/ |
TempFilesServer.java | 28 private final List<TempFile> tempFiles; 32 tempFiles = new ArrayList<TempFile>(); 36 public TempFile createTempFile() throws Exception { 37 DefaultTempFile tempFile = new DefaultTempFile(tmpdir); 38 tempFiles.add(tempFile); 39 System.out.println("Created tempFile: " + tempFile.getName()); 40 return tempFile; 48 for (TempFile file : tempFiles) {
|
/external/toybox/tests/ |
bzcat.test | 14 testing "bzcat - decompresses a single file" "bzcat file.tar.bz2 > Tempfile && echo "yes"; diff Tempfile bzcatOut && echo "yes"; rm -rf file* bzcatOut Tempfile" "yes\nyes\n" "" "" 26 testing "bzcat - decompresses multiple files" "bzcat file1.tar.bz2 file2.tar.bz2 file3.tar.bz2 > Tempfile && echo "yes" ; diff Tempfile bzcatOut && echo "yes"; rm -rf file* bzcatOut Tempfile " "yes\nyes\n" "" ""
|
xzcat.test | 14 testing "xzcat - decompresses a single file" "xzcat file.xz > Tempfile && echo "yes"; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile" "yes\nyes\n" "" "" 26 testing "xzcat - decompresses multiple files" "xzcat file1.xz file2.xz file3.xz > Tempfile && echo "yes" ; diff Tempfile xzcatOut && echo "yes"; rm -rf file* xzcatOut Tempfile " "yes\nyes\n" "" ""
|
zcat.test | 14 testing "zcat - decompresses a single file" "zcat file.gz > Tempfile && echo "yes"; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile" "yes\nyes\n" "" "" 26 testing "zcat - decompresses multiple files" "zcat file1.gz file2.gz file3.gz > Tempfile && echo "yes" ; diff Tempfile zcatOut && echo "yes"; rm -rf file* zcatOut Tempfile " "yes\nyes\n" "" ""
|
/external/chromium-trace/trace-viewer/tracing/build/ |
vulcanize_trace_viewer_unittest.py | 8 import tempfile namespace 16 # Note: We can't use "with" when working with tempfile.NamedTemporaryFile 19 raw_tmpfile = tempfile.NamedTemporaryFile(
|
generate_about_tracing_contents_unittest.py | 7 import tempfile namespace 23 tmpdir = tempfile.mkdtemp()
|
trace2html_unittest.py | 7 import tempfile namespace 16 # Note: We can't use "with" when working with tempfile.NamedTemporaryFile as 19 raw_tmpfile = tempfile.NamedTemporaryFile(
|
/hardware/libhardware/tests/input/evdev/ |
TestHelpers.h | 43 class TempFile { 45 TempFile(const char* path); 46 ~TempFile(); 49 TempFile(const TempFile&) = delete; 50 TempFile& operator=(const TempFile&) = delete; 75 TempFile* newTempFile();
|
TestHelpers.cpp | 35 TempFile::TempFile(const char* path) { 57 TempFile::~TempFile() { 89 TempFile* TempDir::newTempFile() { 90 return new TempFile(mName);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
TempFile.java | 27 * @version $Id: TempFile.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $ 29 public interface TempFile { 34 * <code>TempFile</code> creates a <code>FileInputStream</code> or any 36 * <code>TempFile</code>'s responsibility to wrap it. 47 * <code>TempFile</code> creates a <code>FileOutputStream</code> or any 49 * <code>TempFile</code>'s responsibility to wrap it. 58 * <code>TempFile</code>. The path may be <code>null</code> if this is
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
TempFileTextBody.java | 35 import org.apache.james.mime4j.util.TempFile; 41 * Text body backed by a {@link org.apache.james.mime4j.util.TempFile}. 50 private TempFile tempFile = null; 62 tempFile = tempPath.createTempFile("attachment", ".txt"); 64 OutputStream out = tempFile.getOutputStream(); 104 return new InputStreamReader(tempFile.getInputStream()); 107 return new InputStreamReader(tempFile.getInputStream(), javaCharset); 115 IOUtils.copy(tempFile.getInputStream(), out);
|
/cts/tools/vm-tests-tf/src/util/build/ |
JarBuildStep.java | 40 File tempFile = new File(inputFile.folder, destFileName); 42 if (!inputFile.fileName.equals(tempFile)) { 43 copyFile(inputFile.fileName, tempFile); 45 tempFile = null; 66 if (tempFile != null) { 67 tempFile.delete();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_threadedtempfile.py | 2 Create and delete FILES_PER_THREAD temp files (via tempfile.TemporaryFile) 4 failures. A failure is a bug in tempfile, and may be due to: 6 + Trying to create more than one tempfile with the same name. 7 + Trying to delete a tempfile that doesn't still exist. 19 import tempfile namespace 38 f = tempfile.TemporaryFile("w+b")
|
test_tempfile.py | 0 # tempfile.py unit tests. 2 import tempfile namespace 25 has_textmode = (tempfile._text_openflags != tempfile._bin_openflags) 35 # This is organized as one test for each chunk of code in tempfile.py, 71 # There are no surprising symbols in the tempfile module 72 dict = tempfile.__dict__ 102 self.r = tempfile._RandomNameSequence() 173 cand = tempfile._candidate_tempdir_list() 189 cand = tempfile._candidate_tempdir_list( [all...] |
threaded_import_hangers.py | 12 import tempfile namespace 32 ("tempfile.TemporaryFile", tempfile.TemporaryFile, ()),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_threadedtempfile.py | 2 Create and delete FILES_PER_THREAD temp files (via tempfile.TemporaryFile) 4 failures. A failure is a bug in tempfile, and may be due to: 6 + Trying to create more than one tempfile with the same name. 7 + Trying to delete a tempfile that doesn't still exist. 19 import tempfile namespace 38 f = tempfile.TemporaryFile("w+b")
|
test_tempfile.py | 0 # tempfile.py unit tests. 2 import tempfile namespace 25 has_textmode = (tempfile._text_openflags != tempfile._bin_openflags) 35 # This is organized as one test for each chunk of code in tempfile.py, 71 # There are no surprising symbols in the tempfile module 72 dict = tempfile.__dict__ 102 self.r = tempfile._RandomNameSequence() 173 cand = tempfile._candidate_tempdir_list() 189 cand = tempfile._candidate_tempdir_list( [all...] |
threaded_import_hangers.py | 12 import tempfile namespace 32 ("tempfile.TemporaryFile", tempfile.TemporaryFile, ()),
|
/system/extras/simpleperf/ |
environment_test.cpp | 41 const char* tempfile = "tempfile_process_kernel_symbols"; local 42 ASSERT_TRUE(android::base::WriteStringToFile(data, tempfile)); 49 tempfile, std::bind(&FindKernelSymbol, std::placeholders::_1, expected_symbol))); 56 tempfile, std::bind(&FindKernelSymbol, std::placeholders::_1, expected_symbol))); 60 tempfile, std::bind(&FindKernelSymbol, std::placeholders::_1, expected_symbol))); 61 ASSERT_EQ(0, unlink(tempfile));
|
/external/compiler-rt/test/asan/android_commands/ |
android_common.py | 1 import os, subprocess, tempfile namespace 18 tmp = tempfile.mktemp()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/hotshot/ |
stones.py | 29 import tempfile namespace 30 main(tempfile.NamedTemporaryFile().name)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/hotshot/ |
stones.py | 29 import tempfile namespace 30 main(tempfile.NamedTemporaryFile().name)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/readwrite/tests/ |
test_gpickle.py | 4 import os,tempfile namespace 17 (fd,fname)=tempfile.mkstemp()
|
/frameworks/base/tools/layoutlib/rename_font/ |
test.py | 19 import tempfile namespace 24 srcdir = tempfile.mkdtemp() 27 destdir = tempfile.mkdtemp()
|
/external/iproute2/examples/ |
gaiconf | 59 TEMPFILE=`mktemp` 82 gai_conf=${TEMPFILE} 109 if [ x"$gai_conf" = x"${TEMPFILE}" ]; then 110 sed -e 's/^[[:space:]]*//' <<END_OF_DEFAULT >${TEMPFILE} 131 rm -f "${TEMPFILE}"
|