Home
last modified time | relevance | path

Searched refs:test_tmpdir (Results 1 – 14 of 14) sorted by relevance

/external/yapf/yapftests/
Dfile_resources_test.py42 self.test_tmpdir = tempfile.mkdtemp()
45 shutil.rmtree(self.test_tmpdir)
48 test_file = os.path.join(self.test_tmpdir, 'file.py')
54 style_file = os.path.join(self.test_tmpdir, '.style.yapf')
57 test_filename = os.path.join(self.test_tmpdir, 'file.py')
61 test_filename = os.path.join(self.test_tmpdir, 'dir1', 'file.py')
74 self.test_tmpdir = tempfile.mkdtemp()
78 shutil.rmtree(self.test_tmpdir)
82 fullpath = os.path.normpath(os.path.join(self.test_tmpdir, name))
128 [self.test_tmpdir], recursive=True, exclude=None)),
[all …]
Dyapf_test.py66 self.test_tmpdir = tempfile.mkdtemp()
69 shutil.rmtree(self.test_tmpdir)
94 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
119 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
142 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
170 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
186 with utils.TempFileContents(self.test_tmpdir, code) as filepath:
212 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
225 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
232 with utils.TempFileContents(self.test_tmpdir, unformatted_code) as filepath:
[all …]
Dstyle_test.py112 cls.test_tmpdir = tempfile.mkdtemp()
117 shutil.rmtree(cls.test_tmpdir)
124 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
135 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
146 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
157 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
168 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
180 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
192 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
207 with utils.TempFileContents(self.test_tmpdir, cfg) as filepath:
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
Dinput_pipeline_test.py41 def _make_csv_temp_file(to_write, test_tmpdir): argument
42 _, data_file = tempfile.mkstemp(dir=test_tmpdir)
50 def _make_csv_time_series(num_features, num_samples, test_tmpdir): argument
55 test_tmpdir=test_tmpdir)
59 def _make_tfexample_series(num_features, num_samples, test_tmpdir): argument
60 _, data_file = tempfile.mkstemp(dir=test_tmpdir)
125 test_tmpdir=self.get_temp_dir())
132 test_tmpdir=self.get_temp_dir())
149 test_tmpdir=self.get_temp_dir())
155 test_tmpdir=self.get_temp_dir())
[all …]
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c337 char *test_tmpdir; in test_FS() local
340 test_tmpdir = tst_get_tmpdir(); in test_FS()
341 if (test_tmpdir == NULL) { in test_FS()
344 } else if (chdir(test_tmpdir) == -1) { in test_FS()
351 free(test_tmpdir); in test_FS()
/external/lmfit/build-aux/
Dinstall-sh344 test_tmpdir="$tmpdir/a"
345 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
351 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
352 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/curl/
Dinstall-sh344 test_tmpdir="$tmpdir/a"
345 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
351 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
352 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/expat/conftools/
Dinstall-sh344 test_tmpdir="$tmpdir/a"
345 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
351 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
352 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/ImageMagick/config/
Dinstall-sh354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dunidirectional_sequence_rnn_test.py59 data_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
134 model_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
Dbidirectional_sequence_rnn_test.py61 data_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
156 model_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
/external/selinux/sandbox/
Dtest_sandbox.py92 def test_tmpdir(self): member in SandboxTests
/external/gflags/cmake/
Dutils.cmake156 set (args "--test_tmpdir=${PROJECT_BINARY_DIR}/Testing/Temporary"
/external/gflags/test/
Dgflags_unittest.cc70 DEFINE_string(test_tmpdir, "", "Dir we use for temp files");