Home
last modified time | relevance | path

Searched refs:TmpDir (Results 1 – 25 of 55) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DLockFileManagerTest.cpp21 SmallString<64> TmpDir; in TEST() local
23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
26 SmallString<64> LockedFile(TmpDir); in TEST()
43 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
48 SmallString<64> TmpDir; in TEST() local
50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
53 SmallString<64> LockedFile(TmpDir); in TEST()
56 SmallString<64> FileLocK(TmpDir); in TEST()
59 SmallString<64> TmpFileLock(TmpDir); in TEST()
85 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
[all …]
/external/llvm/unittests/Support/
DLockFileManagerTest.cpp21 SmallString<64> TmpDir; in TEST() local
23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
26 SmallString<64> LockedFile(TmpDir); in TEST()
43 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
48 SmallString<64> TmpDir; in TEST() local
50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
53 SmallString<64> LockedFile(TmpDir); in TEST()
56 SmallString<64> FileLocK(TmpDir); in TEST()
59 SmallString<64> TmpFileLock(TmpDir); in TEST()
85 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
[all …]
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system_test.cc32 string TmpDir(const string& path) { in TmpDir() function in tensorflow::__anon58aac0120111::S3FileSystemTest
37 return "s3://" + io::JoinPath(testing::TmpDir(), path); in TmpDir()
71 const string fname = TmpDir("RandomAccessFile"); in TEST_F()
96 const string fname = TmpDir("WritableFile"); in TEST_F()
112 const string fname = TmpDir("AppendableFile"); in TEST_F()
121 const string fname = TmpDir("MemoryFile"); in TEST_F()
132 const string fname = TmpDir("FileExists"); in TEST_F()
141 const string base = TmpDir("GetChildren"); in TEST_F()
161 const string fname = TmpDir("DeleteFile"); in TEST_F()
167 const string fname = TmpDir("GetFileSize"); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/platform/hadoop/
Dhadoop_file_system_test.cc32 string TmpDir(const string& path) { in TmpDir() function in tensorflow::__anon69e7931c0111::HadoopFileSystemTest
37 return "file://" + io::JoinPath(testing::TmpDir(), path); in TmpDir()
71 const string fname = TmpDir("RandomAccessFile"); in TEST_F()
98 const string fname = TmpDir("WritableFile"); in TEST_F()
118 const string fname = TmpDir("FileExists"); in TEST_F()
125 const string base = TmpDir("GetChildren"); in TEST_F()
140 const string fname = TmpDir("DeleteFile"); in TEST_F()
147 const string fname = TmpDir("GetFileSize"); in TEST_F()
155 const string dir = TmpDir("CreateDirStat"); in TEST_F()
163 const string dir = TmpDir("DeleteDir"); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/util/
Ddump_graph_test.cc32 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST()
34 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph.pbtxt")); in TEST()
36 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph_1.pbtxt")); in TEST()
40 Env::Default(), io::JoinPath(testing::TmpDir(), "graph.pbtxt"), &gdef)); in TEST()
56 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST()
58 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "function.pbtxt")); in TEST()
Dreporter_test.cc72 strings::StrCat(testing::TmpDir(), "/test_reporter_dupe"), "t1"); in TEST()
77 strings::StrCat(testing::TmpDir(), "/test_reporter_dupe"), "t1"); in TEST()
85 strings::StrCat(testing::TmpDir(), "/test_reporter_create_close"), "t1"); in TEST()
96 strings::StrCat(testing::TmpDir(), "/test_reporter_benchmarks_"); in TEST()
120 strings::StrCat(testing::TmpDir(), "/test_reporter_benchmarks_"); in TEST()
Dmemmapped_file_system_test.cc68 const string dir = testing::TmpDir(); in TEST()
130 const string dir = testing::TmpDir(); in TEST()
140 const string dir = testing::TmpDir(); in TEST()
Dtensor_slice_reader_test.cc58 const string fname_base = io::JoinPath(testing::TmpDir(), "float_checkpoint"); in SimpleFloatHelper()
183 const string fname_base = io::JoinPath(testing::TmpDir(), checkpoint_file); in SimpleIntXHelper()
315 const string fname_base = io::JoinPath(testing::TmpDir(), "float_checkpoint"); in TEST_SIMPLE_INT()
405 const string path = io::JoinPath(testing::TmpDir(), "checkpoint"); in VersionTest()
/external/tensorflow/tensorflow/core/lib/io/
Dbuffered_inputstream_test.cc35 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
51 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
76 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
100 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
129 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
158 string fname = testing::TmpDir() + "/buffer_test"; in TEST()
195 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
232 string fname = testing::TmpDir() + "/buffer_test"; in TEST()
267 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
302 string fname = testing::TmpDir() + "/buffered_inputstream_test"; in TEST()
[all …]
Dinputbuffer_test.cc40 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
54 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
77 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
99 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
126 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
153 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
226 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
261 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
297 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
335 string fname = testing::TmpDir() + "/inputbuffer_test"; in TEST()
Drandom_inputstream_test.cc28 string fname = testing::TmpDir() + "/random_inputbuffer_test"; in TEST()
57 string fname = testing::TmpDir() + "/random_inputbuffer_test"; in TEST()
88 string fname = testing::TmpDir() + "/random_inputbuffer_seek_test"; in TEST()
Drecord_reader_writer_test.cc63 string fname = testing::TmpDir() + "/record_reader_writer_flush_test"; in VerifyFlush()
122 string fname = testing::TmpDir() + "/record_reader_writer_test"; in TEST()
163 string fname = testing::TmpDir() + "/record_reader_writer_zlib_test"; in TEST()
201 string fname = testing::TmpDir() + "/record_reader_writer_flush_close_test"; in TEST()
Dzlib_buffers_test.cc64 string fname = testing::TmpDir() + "/zlib_buffers_test"; in TestAllCombinations()
115 string fname = testing::TmpDir() + "/zlib_buffers_test"; in TestMultipleWrites()
163 string fname = testing::TmpDir() + "/zlib_buffers_test"; in TEST()
215 string fname = testing::TmpDir() + "/zlib_buffers_test"; in TestTell()
259 string fname = testing::TmpDir() + "/zlib_buffers_test"; in TestSkipNBytes()
/external/bcc/src/cc/frontends/clang/
Dkbuild_helper.h65 class TmpDir {
67 explicit TmpDir(const std::string &prefix = "/tmp/bcc-")
75 ~TmpDir() { in ~TmpDir()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfile_utils_test.cc45 io::JoinPath(testing::TmpDir(), "text_graph.pbtxt"); in TestLoadTextOrBinaryGraphFile()
49 io::JoinPath(testing::TmpDir(), "binary_graph.pb"); in TestLoadTextOrBinaryGraphFile()
52 const string bogus_file = io::JoinPath(testing::TmpDir(), "bogus_graph.pb"); in TestLoadTextOrBinaryGraphFile()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show_test.cc80 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto()
99 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
128 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
175 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
Dtfprof_timeline_test.cc64 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
78 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dmerge_v2_checkpoints_op_test.cc67 io::JoinPath(testing::TmpDir(), "worker0/ckpt0"), in RunMergeTest()
68 io::JoinPath(testing::TmpDir(), "worker1/ckpt1"), in RunMergeTest()
69 io::JoinPath(testing::TmpDir(), "merged/ckpt") /* merged prefix */}; in RunMergeTest()
Drange_sampler_test.cc158 string fname = io::JoinPath(testing::TmpDir(), "vocab_file"); in TEST_F()
168 string fname = io::JoinPath(testing::TmpDir(), "vocab_file"); in TEST_F()
176 string fname = io::JoinPath(testing::TmpDir(), "vocab_file"); in TEST_F()
183 string fname = io::JoinPath(testing::TmpDir(), "vocab_file"); in TEST_F()
194 string fname = io::JoinPath(testing::TmpDir(), "vocab_file"); in TEST_F()
/external/tensorflow/tensorflow/core/platform/
Dtest.cc29 string TmpDir() { return FLAGS_test_tmpdir; } in TmpDir() function
32 string TmpDir() {
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/
Dwav_to_spectrogram_test.cc26 tensorflow::io::JoinPath(tensorflow::testing::TmpDir(), "input_wav.wav"); in TEST()
28 tensorflow::testing::TmpDir(), "output_image.png"); in TEST()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dround_trip_packed_literal_test.cc54 string fname = tensorflow::testing::TmpDir() + "/RoundTripsR1F32Length2.data"; in TEST_F()
80 tensorflow::testing::TmpDir() + "/RoundTripsR2F32Size2x2Dim0Minor.data"; in TEST_F()
113 tensorflow::testing::TmpDir() + "/RoundTripsR2F32Size2x2Dim1Minor.data"; in TEST_F()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model_test.cc51 const string dir = testing::TmpDir(); in TEST()
79 const string dir = testing::TmpDir(); in TEST()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc52 TF_CHECK_OK(CreateSummaryFileWriter(1, 1, testing::TmpDir(), test_name, in SummaryTestHelper()
60 TF_CHECK_OK(env_.GetChildren(testing::TmpDir(), &files)); in SummaryTestHelper()
69 TF_CHECK_OK(env_.NewRandomAccessFile(io::JoinPath(testing::TmpDir(), f), in SummaryTestHelper()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils_test.cc108 const string test_dir = testing::TmpDir(); in TEST_F()
151 const string test_dir = testing::TmpDir(); in TEST_F()
203 const string test_dir = testing::TmpDir(); in TEST_F()
257 string dump_root = strings::StrCat(testing::TmpDir(), "/", i); in TEST_F()
357 const string dump_root_base = testing::TmpDir(); in TEST_F()

123