/external/tensorflow/tensorflow/core/grappler/inputs/ |
D | utils_test.cc | 27 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() function in tensorflow::grappler::__anon5e71ad6f0111::UtilsTest 30 TF_CHECK_OK(env_->CreateDir(BaseDir())); in SetUp() 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() 58 env_->DeleteRecursively(BaseDir(), &undeleted_files, &undeleted_dirs)); in TearDown()
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 56 string BaseDir() { return io::JoinPath(testing::TmpDir(), "base_dir"); } in BaseDir() function 60 void SetUp() override { TF_CHECK_OK(env_->CreateDir(BaseDir())); } in SetUp() 65 env_->DeleteRecursively(BaseDir(), &undeleted_files, &undeleted_dirs)); in TearDown() 72 const string filename = io::JoinPath(BaseDir(), "out_of_range"); in TEST_F() 91 const string filename = strings::StrCat(BaseDir(), "/bar/..//file", length); in TEST_F() 112 const string filename = strings::StrCat(BaseDir(), "binary_proto"); in TEST_F() 125 const string filename = strings::StrCat(BaseDir(), "text_proto"); in TEST_F() 142 io::JoinPath(BaseDir(), strings::StrCat("file", length)); in TEST_F() 166 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() 194 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | TarWriter.cpp | 161 StringRef BaseDir) { in create() argument 167 return std::unique_ptr<TarWriter>(new TarWriter(FD, BaseDir)); in create() 170 TarWriter::TarWriter(int FD, StringRef BaseDir) in TarWriter() argument 171 : OS(FD, /*shouldClose=*/true, /*unbuffered=*/false), BaseDir(BaseDir) {} in TarWriter() 176 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TarWriter.h | 22 StringRef BaseDir); 27 TarWriter(int FD, StringRef BaseDir); 29 std::string BaseDir; variable
|
/external/clang/tools/scan-build/bin/ |
D | scan-build | 555 my $BaseDir = shift; 899 if (defined $BaseDir) { chmod(0755, $BaseDir); } 1750 my $BaseDir = $Options{OutputDir}; 1827 my $NumBugs = Postprocess($Options{OutputDir}, $BaseDir,
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 972 SmallString<64> BaseDir; in TEST_F() local 975 ASSERT_NO_ERROR(fs::createUniqueDirectory("fs_remove", BaseDir)); in TEST_F() 977 ASSERT_NO_ERROR(fs::create_directories(Twine(BaseDir) + "/foo/bar/baz")); in TEST_F() 978 ASSERT_NO_ERROR(fs::create_directories(Twine(BaseDir) + "/foo/bar/buzz")); in TEST_F() 980 Twine(BaseDir) + "/foo/bar/baz/%%%%%%.tmp", fds[0], Paths[0])); in TEST_F() 982 Twine(BaseDir) + "/foo/bar/baz/%%%%%%.tmp", fds[1], Paths[1])); in TEST_F() 984 Twine(BaseDir) + "/foo/bar/buzz/%%%%%%.tmp", fds[2], Paths[2])); in TEST_F() 986 Twine(BaseDir) + "/foo/bar/buzz/%%%%%%.tmp", fds[3], Paths[3])); in TEST_F() 991 EXPECT_TRUE(fs::exists(Twine(BaseDir) + "/foo/bar/baz")); in TEST_F() 992 EXPECT_TRUE(fs::exists(Twine(BaseDir) + "/foo/bar/buzz")); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/PerfJITEvents/ |
D | PerfJITEventListener.cpp | 295 if (const char *BaseDir = getenv("JITDUMPDIR")) in InitDebuggingDir() local 296 Path.append(BaseDir); in InitDebuggingDir()
|
/external/clang/lib/Serialization/ |
D | ASTWriter.cpp | 1178 adjustFilenameForRelocatableAST(const char *Filename, StringRef BaseDir) { in adjustFilenameForRelocatableAST() argument 1181 if (BaseDir.empty()) in adjustFilenameForRelocatableAST() 1186 for (; Filename[Pos] && Pos < BaseDir.size(); ++Pos) in adjustFilenameForRelocatableAST() 1187 if (Filename[Pos] != BaseDir[Pos]) in adjustFilenameForRelocatableAST() 1197 if (!llvm::sys::path::is_separator(BaseDir.back())) in adjustFilenameForRelocatableAST() 1276 SmallString<128> BaseDir(WritingModule->Directory->getName()); in WriteControlBlock() local 1277 cleanPathForOutput(Context.getSourceManager().getFileManager(), BaseDir); in WriteControlBlock() 1293 Stream.EmitRecordWithBlob(AbbrevCode, Record, BaseDir); in WriteControlBlock() 1297 BaseDirectory.assign(BaseDir.begin(), BaseDir.end()); in WriteControlBlock()
|