/external/tensorflow/tensorflow/core/platform/ |
D | file_system_test.cc | 80 const string& parent_path = this->JoinPath(split_path[0], split_path[1]); in CreateDir() 157 Status s = ipfs->GetMatchingPaths(ipfs->JoinPath(kPrefix, suffix_pattern), in Match() 185 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "Planet0"), nullptr)); in TEST() 186 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "Planet1"), nullptr)); in TEST() 193 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "match-00"), nullptr)); in TEST() 194 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "match-0a"), nullptr)); in TEST() 195 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "match-01"), nullptr)); in TEST() 196 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "match-aaa"), nullptr)); in TEST() 209 TF_EXPECT_OK(ipfs.CreateDir(ipfs.JoinPath(kPrefix, "abcd"), nullptr)); in TEST() 211 ipfs.CreateDir(ipfs.JoinPath(kPrefix, "evil_directory"), nullptr)); in TEST() [all …]
|
D | env_test.cc | 61 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() 77 const string filename = io::JoinPath(BaseDir(), "out_of_range"); in TEST_F() 97 io::JoinPath(BaseDir(), "bar", "..", strings::StrCat("file", length)); in TEST_F() 158 io::JoinPath(BaseDir(), strings::StrCat("file", length)); in TEST_F() 182 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() 183 const string child_dir1 = io::JoinPath(parent_dir, "child_dir1"); in TEST_F() 184 const string child_dir2 = io::JoinPath(parent_dir, "child_dir2"); in TEST_F() 186 const string root_file1 = io::JoinPath(parent_dir, "root_file1"); in TEST_F() 187 const string root_file2 = io::JoinPath(parent_dir, "root_file2"); in TEST_F() 188 const string root_file3 = io::JoinPath(parent_dir, ".root_file3"); in TEST_F() [all …]
|
D | rocm_rocdl_path_test.cc | 35 io::JoinPath(RocdlRoot(), "*.bc"), &rocdl_files)); in TEST() 37 io::JoinPath(RocdlRoot(), "*.amdgcn.bc"), &rocdl_files)); in TEST()
|
/external/tensorflow/tensorflow/cc/saved_model/ |
D | saved_model_bundle_test.cc | 65 io::JoinPath(export_dir, kSavedModelAssetsDirectory); in ValidateAssets() 67 const string asset_filepath = io::JoinPath(asset_directory, asset_filename); in ValidateAssets() 117 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 131 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 143 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 159 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 180 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 196 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 216 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 230 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataPbTxt); in TEST_F() [all …]
|
D | saved_model_bundle_lite_test.cc | 57 io::JoinPath(export_dir, kSavedModelAssetsDirectory); in ValidateAssets() 59 const string asset_filepath = io::JoinPath(asset_directory, asset_filename); in ValidateAssets() 118 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 132 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 145 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 157 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 173 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 193 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 207 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataPbTxt); in TEST_F() 219 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataMainOp); in TEST_F() [all …]
|
D | bundle_v2.cc | 35 io::JoinPath(export_dir, kSavedModelFilenamePb); in ReadSavedModelProto() 41 io::JoinPath(export_dir, kSavedModelFilenamePbTxt); in ReadSavedModelProto() 59 io::JoinPath(export_dir, "debug", "saved_model_debug_info.pb"); in ReadSavedModelDebugInfoIfPresent() 118 io::JoinPath(export_dir, kSavedModelVariablesDirectory); in Load() 125 io::JoinPath(variables_dir, kSavedModelVariablesFilename); in Load()
|
D | reader.cc | 35 io::JoinPath(export_dir, kSavedModelFilenamePb); in ReadSavedModel() 41 io::JoinPath(export_dir, kSavedModelFilenamePbTxt); in ReadSavedModel() 97 io::JoinPath(export_dir, "debug", "saved_model_debug_info.pb"); in ReadSavedModelDebugInfoIfPresent()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | path_test.cc | 22 TEST(PathTest, JoinPath) { in TEST() argument 23 EXPECT_EQ("/foo/bar", JoinPath("/foo", "bar")); in TEST() 24 EXPECT_EQ("foo/bar", JoinPath("foo", "bar")); in TEST() 25 EXPECT_EQ("foo/bar", JoinPath("foo", "/bar")); in TEST() 26 EXPECT_EQ("/foo/bar", JoinPath("/foo", "/bar")); in TEST() 28 EXPECT_EQ("/bar", JoinPath("", "/bar")); in TEST() 29 EXPECT_EQ("bar", JoinPath("", "bar")); in TEST() 30 EXPECT_EQ("/foo", JoinPath("/foo", "")); in TEST() 33 JoinPath("/foo/bar/baz/", "/blah/blink/biz")); in TEST() 34 EXPECT_EQ("/foo/bar/baz/blah", JoinPath("/foo", "bar", "baz", "blah")); in TEST()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | toco_port_test.cc | 50 TEST(TocoPortTest, JoinPath) { in TEST() argument 51 EXPECT_EQ("part1/part2", file::JoinPath("part1", "part2")); in TEST() 52 EXPECT_EQ("part1/part2", file::JoinPath("part1/", "part2")); in TEST() 53 EXPECT_EQ("part1/part2", file::JoinPath("part1", "/part2")); in TEST() 54 EXPECT_EQ("part1/part2", file::JoinPath("part1/", "/part2")); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_show_test.cc | 45 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 54 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 61 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 65 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 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 | 39 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 48 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 64 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 78 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
|
D | tfprof_stats_test.cc | 39 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 48 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 55 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 59 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 73 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto()
|
/external/tensorflow/tensorflow/core/grappler/inputs/ |
D | utils_test.cc | 27 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() 31 non_existent_file_ = io::JoinPath(BaseDir(), "non_existent_file.txt"); in SetUp() 32 actual_file_ = io::JoinPath(BaseDir(), "test_file.txt"); in SetUp() 35 text_graph_def_file_ = io::JoinPath(BaseDir(), "text_graph_def_file.txt"); in SetUp() 37 io::JoinPath(BaseDir(), "binary_graph_def_file.txt"); in SetUp() 39 io::JoinPath(BaseDir(), "text_meta_graph_def_file.txt"); in SetUp() 41 io::JoinPath(BaseDir(), "binary_meta_graph_def_file.txt"); in SetUp()
|
/external/llvm-project/lldb/source/Target/ |
D | ModuleCache.cpp | 60 static FileSpec JoinPath(const FileSpec &path1, const char *path2) { in JoinPath() function 73 const auto modules_dir_spec = JoinPath(root_dir_spec, kModulesSubdir); in GetModuleDirectory() 74 return JoinPath(modules_dir_spec, uuid.GetAsString().c_str()); in GetModuleDirectory() 132 JoinPath(JoinPath(root_dir_spec, hostname), in CreateHostSysRootModuleLink() 154 const auto lock_dir_spec = JoinPath(root_dir_spec, kLockDirName); in ModuleLock() 159 m_file_spec = JoinPath(lock_dir_spec, uuid.GetAsString().c_str()); in ModuleLock() 196 JoinPath(module_spec_dir, target_file.GetFilename().AsCString()); in Put() 228 const auto module_file_path = JoinPath( in Get() 294 const auto tmp_download_file_spec = JoinPath(module_spec_dir, kTempFileName); in GetAndPut() 314 JoinPath(module_spec_dir, kTempSymFileName); in GetAndPut()
|
/external/tensorflow/tensorflow/core/util/ |
D | dump_graph_test.cc | 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() 60 EXPECT_EQ(ret, io::JoinPath(testing::TmpDir(), "function.pbtxt")); 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/tensorflow/tensorflow/core/platform/default/ |
D | rocm_rocdl_path.cc | 40 return tensorflow::io::JoinPath(tensorflow::RocmRoot(), "amdgcn/bitcode"); in RocdlRoot() 42 return tensorflow::io::JoinPath(tensorflow::RocmRoot(), "lib"); in RocdlRoot()
|
D | test.cc | 65 return io::JoinPath(env, workspace, "tensorflow"); in TensorFlowSrcRoot() 67 return io::JoinPath(env, "tensorflow"); in TensorFlowSrcRoot()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen_test.cc | 91 const auto h_file_path = io::JoinPath(tmpdir, "test.h"); in GenerateCcOpFiles() 92 const auto cc_file_path = io::JoinPath(tmpdir, "test.cc"); in GenerateCcOpFiles() 93 const auto internal_h_file_path = io::JoinPath(tmpdir, "test_internal.h"); in GenerateCcOpFiles() 94 const auto internal_cc_file_path = io::JoinPath(tmpdir, "test_internal.cc"); in GenerateCcOpFiles()
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | op_compatibility_lib.cc | 32 return io::JoinPath(ops_prefix, in OpsHistoryDirectory() 38 return io::JoinPath(ops_prefix, strings::StrCat("compat/ops_history.", in OpsHistoryFile() 59 Status status = env->GetMatchingPaths(io::JoinPath(directory, "*.pbtxt"), in ReadOpHistory() 70 const string expected = io::JoinPath(directory, file_tail); in ReadOpHistory() 104 : ops_file_(io::JoinPath(ops_prefix, "ops.pbtxt")), in OpCompatibilityLib()
|
/external/tensorflow/tensorflow/core/platform/s3/ |
D | s3_file_system_test.cc | 36 return io::JoinPath(string(test_dir), path); in TmpDir() 38 return "s3://" + io::JoinPath(testing::TmpDir(), path); in TmpDir() 233 const string file = io::JoinPath(base, "TestFile.csv"); in TEST_F() 236 const string subdir = io::JoinPath(base, "SubDir"); in TEST_F() 240 const string subfile = io::JoinPath(subdir, "TestSubFile.csv"); in TEST_F() 269 const string file = io::JoinPath(dir, "CreateDirFile.csv"); in TEST_F() 280 const string file = io::JoinPath(dir, "DeleteDirFile.csv"); in TEST_F()
|
/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()
|
/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() 27 const tensorflow::string output_image = tensorflow::io::JoinPath( in TEST()
|
/external/tensorflow/tensorflow/tools/api/tests/ |
D | convert_from_multiline.cc | 30 const string file_pattern = io::JoinPath(input_dir, kApiDefFilePattern); in ConvertFilesFromMultiline() 42 string output_path = io::JoinPath(output_dir, io::Basename(path)); in ConvertFilesFromMultiline()
|
/external/tensorflow/tensorflow/core/data/service/ |
D | dataset_store.cc | 38 std::string path_to_write = io::JoinPath(datasets_dir_, key); in Put() 49 std::string path = io::JoinPath(datasets_dir_, key); in Get()
|