Home
last modified time | relevance | path

Searched refs:test_tmpdir (Results 1 – 21 of 21) 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/protobuf/src/google/protobuf/io/
Dio_win32_unittest.cc99 string test_tmpdir; member in google::protobuf::io::win32::__anonc52b8de30111::IoWin32Test
105 EXPECT_FALSE(test_tmpdir.empty()); \
151 test_tmpdir.clear(); in SetUp()
185 test_tmpdir = result.str(); in SetUp()
186 wtest_tmpdir = testonly_utf8_to_winpath(test_tmpdir.c_str()); in SetUp()
273 string path = test_tmpdir; in TEST_F()
286 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F()
295 EXPECT_EQ(access((test_tmpdir + "/accesstest").c_str(), F_OK | W_OK), 0); in TEST_F()
296 ASSERT_EQ(access((test_tmpdir + "/./normalize_me/.././accesstest").c_str(), in TEST_F()
313 string path = test_tmpdir; in TEST_F()
[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/libpng/
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/curl/
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/python/cpython3/
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/expat/conftools/
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/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/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/pcre/dist2/
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/libevent/
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.py62 data_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
161 model_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
Dbidirectional_sequence_rnn_test.py63 data_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
209 model_dir = tempfile.mkdtemp(dir=FLAGS.test_tmpdir)
/external/selinux/sandbox/
Dtest_sandbox.py92 def test_tmpdir(self): member in SandboxTests
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/
Dtf_trt_integration_test_base.py621 test_tmpdir = os.getenv("TRT_TEST_TMPDIR")
622 if test_tmpdir:
624 test_tmpdir, self.__class__.__name__ + "_" + run_params.test_name +
/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");
/external/python/cffi/testing/cffi1/
Dtest_verify1.py1377 def test_tmpdir(): function
/external/python/cffi/testing/cffi0/
Dtest_verify.py1408 def test_tmpdir(): function