Searched refs:tempfile (Results 1 - 25 of 445) sorted by relevance

1234567891011>>

/external/ltp/testcases/kernel/fs/stream/
H A Dstream05.c52 char tempfile[40] = ""; variable
73 sprintf(tempfile, "stream05.%d", getpid());
76 if ((stream = fopen(tempfile, "a+")) == NULL) {
78 tempfile,
84 if ((stream = fopen(tempfile, "r+")) == NULL) {
86 tempfile,
135 if ((stream = fopen(tempfile, "r+")) == NULL) {
137 tempfile,
182 if ((stream = fopen(tempfile, "rb")) == NULL) {
184 tempfile,
[all...]
/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dtempfile_ext.py8 import tempfile namespace
15 This is a context manager version of tempfile.mkdtemp. The arguments to this
21 d = tempfile.mkdtemp(suffix=suffix, prefix=prefix, dir=dir)
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/
H A DMakefile5 TEST_GEN_FILES := tempfile
13 $(OUTPUT)/tempfile:
/external/ltp/testcases/kernel/syscalls/open/
H A Dopen09.c38 static char tempfile[40] = ""; variable
57 fildes = open(tempfile, O_WRONLY);
69 fildes = open(tempfile, O_RDONLY);
94 sprintf(tempfile, "open09.%d", getpid());
96 fildes = creat(tempfile, 0600);
99 tempfile);
107 unlink(tempfile);
/external/chromium-trace/catapult/devil/devil/android/
H A Ddevice_blacklist_test.py7 import tempfile namespace
16 with tempfile.NamedTemporaryFile() as blacklist_file:
25 with tempfile.NamedTemporaryFile(delete=False) as blacklist_file:
/external/toolchain-utils/crosperf/
H A Dcrosperf_test.py9 import tempfile namespace
36 filehandle, filename = tempfile.mkstemp()
/external/llvm/utils/release/
H A Dmerge.sh76 tempfile=`mktemp /tmp/merge.XXXXXX` || exit 1
79 echo "Reverting r$rev:" > $tempfile
81 echo "Merging r$rev:" > $tempfile
83 svn log -c $rev http://llvm.org/svn/llvm-project/$proj/trunk >> $tempfile 2>&1
99 echo svn commit -F $tempfile
/external/toybox/toys/other/
H A Ddos2unix.c31 char *tempfile;
39 if (fd) outfd = copy_tempfile(fd, name, &TT.tempfile);
65 if (fd) replace_tempfile(-1, outfd, &TT.tempfile);
/external/autotest/client/site_tests/kernel_SchedCgroups/
H A Dkernel_SchedCgroups.py7 import os, tempfile namespace
26 self._tmpdir = tempfile.mkdtemp()
/external/autotest/client/site_tests/security_Minijail0/src/
H A Dmountns-enter.py8 import tempfile namespace
14 tmpdir = tempfile.mkdtemp(prefix="newns-", dir="/tmp")
/external/chromium-trace/catapult/common/eslint/eslint/
H A Dsmoke_test.py7 import tempfile namespace
27 tmp_file = tempfile.NamedTemporaryFile(
/external/fmtlib/support/
H A Dupdate-converity-branch.py7 import shutil, tempfile namespace
19 dir = tempfile.mkdtemp()
/external/icu/tools/
H A Di18nutil.py3 import tempfile namespace
32 tmp_dir = tempfile.mkdtemp('-i18n')
/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Domains/
H A DtDomain_creation_deletion.py282 tempfile = open("tempfile", "w")
283 tempfile.write(out)
284 tempfile.close()
287 tempfile = open("tempfile", "r")
289 line=tempfile.readline()
291 line=tempfile.readline()
293 tempfile.close()
295 tempfile
[all...]
/external/python/cpython2/Lib/test/
H A Dthreaded_import_hangers.py12 import tempfile namespace
32 ("tempfile.TemporaryFile", tempfile.TemporaryFile, ()),
H A Dtest_tempfile.py0 # tempfile.py unit tests.
2 import tempfile namespace
26 has_textmode = (tempfile._text_openflags != tempfile._bin_openflags)
36 # This is organized as one test for each chunk of code in tempfile.py,
72 # There are no surprising symbols in the tempfile module
73 dict = tempfile.__dict__
103 self.r = tempfile._RandomNameSequence()
174 cand = tempfile._candidate_tempdir_list()
190 cand = tempfile
[all...]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
H A Dlog_io_test.py8 import tempfile namespace
17 file = tempfile.NamedTemporaryFile()
25 file = tempfile.NamedTemporaryFile()
35 file = tempfile.NamedTemporaryFile()
H A Dtrace_test.py4 import tempfile namespace
28 self._file = tempfile.NamedTemporaryFile()
/external/valgrind/coregrind/
H A Dlink_tool_exe_solaris.in21 use File::Temp qw/tempfile unlink0/;
40 (my $fh, my $path) = tempfile();
/external/autotest/site_utils/lxc/
H A Dlxc_config_unittest.py10 import tempfile namespace
42 'source': tempfile.mkdtemp(dir=tmpdir),
49 'source': tempfile.mkdtemp(dir=tmpdir),
100 self.rootfs = tempfile.mkdtemp()
159 with tempfile.NamedTemporaryFile() as tmp:
171 tmpdir = tempfile.mkdtemp()
/external/autotest/client/site_tests/kernel_PerfEventRename/
H A Dkernel_PerfEventRename.py10 import tempfile namespace
40 (data_tmpfile, data_name) = tempfile.mkstemp(
/external/autotest/client/site_tests/security_mprotect/
H A Dsecurity_mprotect.py7 import logging, os, tempfile namespace
25 with tempfile.NamedTemporaryFile(prefix='%s-' % (self.executable),
/external/autotest/server/cros/
H A Dgsutil_wrapper.py9 import tempfile namespace
34 with tempfile.NamedTemporaryFile(suffix='.wpr') as tempsource:
/external/autotest/server/site_tests/native_Benchmarks/
H A Dnative_Benchmarks.py7 import tempfile namespace
36 scratch_srv = tempfile.mkdtemp()
/external/python/cpython2/Lib/hotshot/
H A Dstones.py29 import tempfile namespace
30 main(tempfile.NamedTemporaryFile().name)

Completed in 773 milliseconds

1234567891011>>