Home
last modified time | relevance | path

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

123

/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.cc33 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/
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()
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/
Ddump_graph_test.cc34 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()
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()
143 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/c/experimental/filesystem/plugins/hadoop/
Dhadoop_filesystem_test.cc43 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/
Dtf_record_dataset_op_test.cc89 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/
Dutils_test.cc37 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/
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/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/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/lib/io/
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_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()
Drandom_inputstream_test.cc28 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/
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/core/kernels/
Dmerge_v2_checkpoints_op_test.cc68 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()
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/profiler/rpc/client/
Dremote_profiler_session_manager_test.cc38 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/
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/llvm-project/compiler-rt/lib/profile/
DInstrProfilingFile.c75 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/
Ddump_graph_test.cc68 setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); in TEST()
71 ASSERT_EQ(ret, io::JoinPath(testing::TmpDir(), "tir.mlir")); in TEST()
Ddump_mlir_util_test.cc53 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/
DLockFileManagerTest.cpp22 TempDir TmpDir("LockFileManagerTestDir", /*Unique*/ true); in TEST() local
24 SmallString<64> LockedFile(TmpDir.path()); in TEST()

123