/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 | 33 string TmpDir(const string& path) { in TmpDir() function in tensorflow::__anon58aac0120111::S3FileSystemTest 38 return "s3://" + io::JoinPath(testing::TmpDir(), path); in TmpDir() 137 const string fname = TmpDir(large_file_name); in ReadLargeFile() 161 const string fname = TmpDir("RandomAccessFile"); in TEST_F() 185 const string fname = TmpDir("WritableFile"); in TEST_F() 201 const string fname = TmpDir("AppendableFile"); in TEST_F() 210 const string fname = TmpDir("MemoryFile"); in TEST_F() 221 const string fname = TmpDir("FileExists"); in TEST_F() 230 const string base = TmpDir("GetChildren"); in TEST_F() 250 const string fname = TmpDir("DeleteFile"); 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() 70 const string fname = TmpDir("RandomAccessFile"); in TEST_F() 96 const string fname = TmpDir("WritableFile"); in TEST_F() 116 const string fname = TmpDir("FileExists"); in TEST_F() 123 const string base = TmpDir("GetChildren"); in TEST_F() 138 const string fname = TmpDir("DeleteFile"); in TEST_F() 145 const string fname = TmpDir("GetFileSize"); in TEST_F() 153 const string dir = TmpDir("CreateDirStat"); in TEST_F() 161 const string dir = TmpDir("DeleteDir"); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | dump_graph_test.cc | 34 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST() 36 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph.pbtxt")); in TEST() 38 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "graph_1.pbtxt")); in TEST() 42 Env::Default(), io::JoinPath(testing::TmpDir(), "graph.pbtxt"), &gdef)); in TEST() 58 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST() 60 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() 143 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/c/experimental/filesystem/plugins/hadoop/ |
D | hadoop_filesystem_test.cc | 43 std::string TmpDir(const std::string& path) { in TmpDir() function in tensorflow::__anon720375a50111::HadoopFileSystemTest 48 return "file://" + io::JoinPath(testing::TmpDir(), path); in TmpDir() 122 const std::string path = TmpDir("RandomAccessFile"); in TEST_F() 153 const std::string path = TmpDir("WritableFile"); in TEST_F() 180 const std::string path = TmpDir("PathExists"); in TEST_F() 191 const std::string base = TmpDir("GetChildren"); in TEST_F() 220 const std::string path = TmpDir("DeleteFile"); in TEST_F() 228 const std::string path = TmpDir("GetFileSize"); in TEST_F() 238 const std::string path = TmpDir("CreateDirStat"); in TEST_F() 248 const std::string path = TmpDir("DeleteDir"); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | tf_record_dataset_op_test.cc | 89 absl::StrCat(testing::TmpDir(), "/tf_record_ZLIB_1"), in TFRecordDatasetParams1() 90 absl::StrCat(testing::TmpDir(), "/tf_record_ZLIB_2")}; in TFRecordDatasetParams1() 107 absl::StrCat(testing::TmpDir(), "/tf_record_GZIP_1"), in TFRecordDatasetParams2() 108 absl::StrCat(testing::TmpDir(), "/tf_record_GZIP_2")}; in TFRecordDatasetParams2() 125 absl::StrCat(testing::TmpDir(), "/tf_record_UNCOMPRESSED_1"), in TFRecordDatasetParams3() 126 absl::StrCat(testing::TmpDir(), "/tf_record_UNCOMPRESSED_2")}; in TFRecordDatasetParams3()
|
/external/tensorflow/tensorflow/core/data/service/ |
D | utils_test.cc | 37 std::string filename = testing::TmpDir(); in TEST() 48 std::string filename = testing::TmpDir(); in TEST() 62 std::string filename = testing::TmpDir(); in TEST()
|
/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/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/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/lib/io/ |
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_skip_basic_test"; in TEST() 200 testing::TmpDir() + "/record_reader_writer_skip_out_of_range_test"; in TEST() 234 string fname = testing::TmpDir() + "/record_reader_writer_snappy_test"; in TEST() 272 string fname = testing::TmpDir() + "/record_reader_writer_zlib_test"; in TEST() 310 string fname = testing::TmpDir() + "/record_reader_writer_flush_close_test"; in TEST()
|
D | random_inputstream_test.cc | 28 string fname = testing::TmpDir() + "/random_inputbuffer_test"; in TEST() 58 string fname = testing::TmpDir() + "/random_inputbuffer_test"; in TEST() 90 string fname = testing::TmpDir() + "/random_inputbuffer_test"; in TEST() 121 string fname = testing::TmpDir() + "/random_inputbuffer_seek_test"; in TEST()
|
/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/core/kernels/ |
D | merge_v2_checkpoints_op_test.cc | 68 io::JoinPath(testing::TmpDir(), "worker0/ckpt0"), in RunMergeTest() 69 io::JoinPath(testing::TmpDir(), "worker1/ckpt1"), in RunMergeTest() 70 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/profiler/rpc/client/ |
D | remote_profiler_session_manager_test.cc | 38 using ::tensorflow::testing::TmpDir; 80 PopulateProfileRequest(TmpDir(), "session_id", service_address, options); in TEST() 113 PopulateProfileRequest(TmpDir(), "session_id", service_address, options); in TEST() 146 PopulateProfileRequest(TmpDir(), "session_id", service_address, options); 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/llvm-project/compiler-rt/lib/profile/ |
D | InstrProfilingFile.c | 75 char *TmpDir; member 748 lprofCurFilename.TmpDir = getenv("TMPDIR"); in parseFilenamePattern() 749 if (!lprofCurFilename.TmpDir) { in parseFilenamePattern() 838 lprofCurFilename.TmpDir || lprofCurFilename.MergePoolSize)) in getCurFilenameLength() 844 (lprofCurFilename.TmpDir ? (strlen(lprofCurFilename.TmpDir) - 1) : 0); in getCurFilenameLength() 863 lprofCurFilename.TmpDir || lprofCurFilename.MergePoolSize || in getCurFilename() 876 TmpDirLength = lprofCurFilename.TmpDir ? strlen(lprofCurFilename.TmpDir) : 0; in getCurFilename() 887 memcpy(FilenameBuf + J, lprofCurFilename.TmpDir, TmpDirLength); in getCurFilename()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | dump_graph_test.cc | 68 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST() 71 ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir")); in TEST()
|
D | dump_mlir_util_test.cc | 53 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST() 75 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST()
|
/external/llvm-project/llvm/unittests/Support/ |
D | LockFileManagerTest.cpp | 22 TempDir TmpDir("LockFileManagerTestDir", /*Unique*/ true); in TEST() local 24 SmallString<64> LockedFile(TmpDir.path()); in TEST()
|