/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | LockFileManagerTest.cpp | 21 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/ |
D | LockFileManagerTest.cpp | 21 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/ |
D | s3_file_system_test.cc | 32 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/ |
D | hadoop_file_system_test.cc | 32 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/ |
D | dump_graph_test.cc | 32 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()
|
D | reporter_test.cc | 72 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()
|
D | memmapped_file_system_test.cc | 68 const string dir = testing::TmpDir(); in TEST() 130 const string dir = testing::TmpDir(); in TEST() 140 const string dir = testing::TmpDir(); in TEST()
|
D | tensor_slice_reader_test.cc | 58 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/ |
D | buffered_inputstream_test.cc | 35 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 …]
|
D | inputbuffer_test.cc | 40 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()
|
D | random_inputstream_test.cc | 28 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()
|
D | record_reader_writer_test.cc | 63 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()
|
D | zlib_buffers_test.cc | 64 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/ |
D | kbuild_helper.h | 65 class TmpDir { 67 explicit TmpDir(const std::string &prefix = "/tmp/bcc-") 75 ~TmpDir() { in ~TmpDir()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | file_utils_test.cc | 45 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/ |
D | tfprof_show_test.cc | 80 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()
|
D | tfprof_timeline_test.cc | 64 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/ |
D | merge_v2_checkpoints_op_test.cc | 67 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()
|
D | range_sampler_test.cc | 158 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/ |
D | test.cc | 29 string TmpDir() { return FLAGS_test_tmpdir; } in TmpDir() function 32 string TmpDir() {
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
D | wav_to_spectrogram_test.cc | 26 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/ |
D | round_trip_packed_literal_test.cc | 54 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/ |
D | benchmark_model_test.cc | 51 const string dir = testing::TmpDir(); in TEST() 79 const string dir = testing::TmpDir(); in TEST()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_file_writer_test.cc | 52 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/ |
D | debug_io_utils_test.cc | 108 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()
|