/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 …]
|
/external/tensorflow/tensorflow/cc/saved_model/ |
D | saved_model_bundle_test.cc | 68 io::JoinPath(export_dir, kSavedModelAssetsDirectory); in ValidateAssets() 70 const string asset_filepath = io::JoinPath(asset_directory, asset_filename); in ValidateAssets() 120 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 134 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 146 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 162 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 183 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 199 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 219 io::JoinPath(testing::TensorFlowSrcRoot(), kTestDataSharded); in TEST_F() 233 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 | fingerprinting_test.cc | 47 std::string file_path = io::JoinPath(file_dir, "saved_model.pb"); in ReadSavedModel() 66 io::JoinPath(testing::TensorFlowSrcRoot(), "cc/saved_model/testdata", in TEST() 85 const std::string export_dir = io::JoinPath( in TEST() 95 const std::string export_dir2 = io::JoinPath( in TEST() 110 const std::string export_dir = io::JoinPath( in TEST() 118 const std::string export_dir2 = io::JoinPath( in TEST() 134 const std::string export_dir = io::JoinPath( in TEST() 148 const std::string export_dir = io::JoinPath( in TEST() 158 const std::string export_dir = io::JoinPath( in TEST()
|
D | bundle_v2_test.cc | 74 const string export_dir = io::JoinPath( in TEST_F() 88 io::JoinPath(testing::TensorFlowSrcRoot(), kTestData, "CyclicModule"); in TEST_F() 104 const string export_dir = io::JoinPath( in TEST_F()
|
D | bundle_v2.cc | 44 io::JoinPath(export_dir, kSavedModelFilenamePb); in ReadSavedModelProto() 56 io::JoinPath(export_dir, kSavedModelFilenamePbTxt); in ReadSavedModelProto() 127 io::JoinPath(export_dir, kSavedModelVariablesDirectory); in Load() 134 io::JoinPath(variables_dir, kSavedModelVariablesFilename); in Load()
|
D | reader.cc | 48 io::JoinPath(export_dir, kSavedModelFilenamePb); in ReadSavedModel() 63 io::JoinPath(export_dir, kSavedModelFilenamePbTxt); in ReadSavedModel() 134 io::JoinPath(export_dir, "debug", "saved_model_debug_info.pb"); in ReadSavedModelDebugInfoIfPresent()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | checkpoint_callback_manager_test.cc | 178 checkpoint_callback_manager_->Save(io::JoinPath( in TEST_F() 182 Env::Default(), io::JoinPath(testing::TmpDir(), "model.ckpt-123.foo"), in TEST_F() 188 Env::Default(), io::JoinPath(testing::TmpDir(), "model.ckpt-123.bar"), in TEST_F() 201 checkpoint_callback_manager_->Save(io::JoinPath( in TEST_F() 204 checkpoint_callback_manager_->Save(io::JoinPath( in TEST_F() 207 checkpoint_callback_manager_->Save(io::JoinPath( in TEST_F() 212 Env::Default(), io::JoinPath(testing::TmpDir(), "model.ckpt-100.foo"), in TEST_F() 217 Env::Default(), io::JoinPath(testing::TmpDir(), "model.ckpt-200.foo"), in TEST_F() 237 Env::Default(), io::JoinPath(testing::TmpDir(), "model.ckpt-100.foo"), in TEST_F() 242 io::JoinPath(testing::TmpDir(), "model.ckpt-100")); in TEST_F() [all …]
|
D | merge_v2_checkpoints_op_test.cc | 69 io::JoinPath(testing::TmpDir(), "worker0/ckpt0"), in RunMergeTest() 70 io::JoinPath(testing::TmpDir(), "worker1/ckpt1"), in RunMergeTest() 71 io::JoinPath(testing::TmpDir(), "merged/ckpt") /* merged prefix */}; in RunMergeTest()
|
/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/core/profiler/internal/ |
D | tfprof_show_test.cc | 42 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 51 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 58 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 62 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfShowTest() 77 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto() 96 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 125 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 172 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
|
D | tfprof_timeline_test.cc | 36 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 45 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfTimelineTest() 61 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F() 75 string dump_file = io::JoinPath(testing::TmpDir(), "dump"); in TEST_F()
|
D | tfprof_stats_test.cc | 35 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 44 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 51 io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 55 string ckpt_path = io::JoinPath(testing::TensorFlowSrcRoot(), in TFProfStatsTest() 69 string profile_file = io::JoinPath(testing::TmpDir(), "profile"); in TestToFromProto()
|
/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/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/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()
|
D | tensor_slice_reader_test.cc | 64 const string fname_base = io::JoinPath(testing::TmpDir(), "float_checkpoint"); in SimpleFloatHelper() 189 const string fname_base = io::JoinPath(testing::TmpDir(), checkpoint_file); in SimpleIntXHelper() 359 const string fname = io::JoinPath(testing::TmpDir(), "invalid_checkpoint"); in TEST() 387 const string fname = io::JoinPath(testing::TmpDir(), "int32_ref_checkpoint"); in TEST() 416 io::JoinPath(testing::TmpDir(), "negative_dim_checkpoint"); in TEST() 441 io::JoinPath(testing::TmpDir(), "invalid_slice_checkpoint"); in TEST() 464 io::JoinPath(testing::TmpDir(), "missing_data_checkpoint"); in TEST() 492 const string fname_base = io::JoinPath(testing::TmpDir(), "float_checkpoint"); in CachedTensorSliceReaderTesterHelper() 582 const string path = io::JoinPath(testing::TmpDir(), "checkpoint"); in VersionTest()
|
/external/tensorflow/tensorflow/cc/experimental/libexport/ |
D | load.cc | 40 const string saved_model_pb_path = io::JoinPath(path, kSavedModelFilenamePb); in Load() 42 io::JoinPath(path, kSavedModelFilenamePbTxt); in Load() 58 tensorflow::io::JoinPath(path, tensorflow::kSavedModelVariablesDirectory); in Load() 63 tf_package.variables_filepath_ = tensorflow::io::JoinPath( in Load()
|
/external/cronet/net/third_party/quiche/src/quiche/common/platform/api/ |
D | quiche_file_utils.cc | 7 std::string JoinPath(absl::string_view a, absl::string_view b) { in JoinPath() function 34 if (!EnumerateDirectoryRecursivelyInner(JoinPath(path, directory), in EnumerateDirectoryRecursivelyInner() 40 files.push_back(JoinPath(path, file)); in EnumerateDirectoryRecursivelyInner()
|
/external/tensorflow/tensorflow/c/experimental/ops/gen/cpp/ |
D | cpp_generator_test.cc | 48 string golden_dir = io::JoinPath(testing::TensorFlowSrcRoot(), in TEST() 54 string header_file_name = io::JoinPath(golden_dir, "testing_ops.h.golden"); in TEST() 58 string source_file_name = io::JoinPath(golden_dir, "testing_ops.cc.golden"); 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/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/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/tsl/platform/default/ |
D | test.cc | 65 return io::JoinPath(env, workspace, "tensorflow"); in TensorFlowSrcRoot() 67 return io::JoinPath(env, "tensorflow"); in TensorFlowSrcRoot()
|