Home
last modified time | relevance | path

Searched refs:createTemporaryFile (Results 1 – 25 of 88) sorted by relevance

1234

/external/llvm-project/llvm/unittests/Support/
DMemoryBufferTest.cpp101 ASSERT_EQ(sys::fs::createTemporaryFile("MemoryBufferTest_getOpenFile", "temp", in TEST_F()
134 sys::fs::createTemporaryFile("MemoryBufferTest_NullTerminator4K", "temp", in TEST_F()
230 sys::fs::createTemporaryFile("prefix", "temp", TestFD, TestPath); in testGetOpenFileSlice()
272 sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath); in TEST_F()
319 sys::fs::createTemporaryFile("MemoryBufferTest_WritableSlice", "temp", FD, in TEST_F()
352 sys::fs::createTemporaryFile("MemoryBufferTest_WriteThrough", "temp", FD, in TEST_F()
387 ASSERT_NO_ERROR(sys::fs::createTemporaryFile( in TEST_F()
Draw_fd_stream_test.cpp24 ASSERT_FALSE(sys::fs::createTemporaryFile("foo", "bar", FD, Path)); in TEST()
Draw_pwrite_stream_test.cpp64 ASSERT_NO_ERROR(sys::fs::createTemporaryFile("foo", "bar", FD, Path)); in TEST()
/external/llvm-project/lldb/unittests/Host/
DFileTest.cpp25 llvm::sys::fs::createTemporaryFile(llvm::Twine(Info->test_case_name()) + "-" + in TEST()
42 llvm::sys::fs::createTemporaryFile(llvm::Twine(Info->test_case_name()) + "-" + in TEST()
/external/llvm-project/clang/unittests/Frontend/
DASTUnitTest.cpp37 EXPECT_FALSE(llvm::sys::fs::createTemporaryFile("ast-unit", "cpp", FD, in createASTUnit()
85 llvm::sys::fs::createTemporaryFile("ast-unit", "ast", FD, ASTFileName)); in TEST_F()
155 llvm::sys::fs::createTemporaryFile("ast-unit", "c", FD, InputFileName)); in TEST_F()
DCompilerInstanceTest.cpp27 ASSERT_FALSE(sys::fs::createTemporaryFile("vfs", "yaml", FD, FileName)); in TEST()
/external/llvm-project/clang/unittests/CrossTU/
DCrossTranslationUnitTest.cpp56 llvm::sys::fs::createTemporaryFile("f_ast", "ast", ASTFD, ASTFileName)); in HandleTranslationUnit()
61 ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("index", "txt", IndexFD, in HandleTranslationUnit()
72 ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("input", "cpp", SourceFD, in HandleTranslationUnit()
184 ASSERT_FALSE(llvm::sys::fs::createTemporaryFile("index", "txt", IndexFD, in TEST()
/external/llvm/unittests/Support/
DMemoryBufferTest.cpp72 sys::fs::createTemporaryFile("MemoryBufferTest_NullTerminator4K", "temp", in TEST_F()
135 sys::fs::createTemporaryFile("prefix", "temp", TestFD, TestPath); in testGetOpenFileSlice()
184 sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath); in TEST_F()
DPath.cpp447 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F()
459 fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2)); in TEST_F()
496 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F()
504 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2)); in TEST_F()
530 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "", TempPath3)); in TEST_F()
569 ASSERT_NO_ERROR(fs::createTemporaryFile(Path216, "", TempPath)); in TEST_F()
849 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD, TempPath)); in TEST_F()
861 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F()
1004 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F()
1032 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F()
[all …]
Draw_pwrite_stream_test.cpp38 sys::fs::createTemporaryFile("foo", "bar", FD, Path); in TEST()
/external/llvm/lib/Support/
DSignals.cpp108 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
109 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace()
DPath.cpp763 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() function
775 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() function
778 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile()
782 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
785 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
788 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
791 return createTemporaryFile(Prefix, Suffix, Dummy, ResultPath, FS_Name); in createTemporaryFile()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp108 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
109 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace()
DPath.cpp765 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() function
777 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() function
780 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile()
784 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
787 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
790 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
793 return createTemporaryFile(Prefix, Suffix, Dummy, ResultPath, FS_Name); in createTemporaryFile()
/external/llvm-project/mlir/tools/mlir-rocm-runner/
Dmlir-rocm-runner.cpp156 std::error_code ec = sys::fs::createTemporaryFile( in createHsaco()
171 ec = sys::fs::createTemporaryFile("kernel", "hsaco", tempHsacoFD, in createHsaco()
246 ec = sys::fs::createTemporaryFile("rocm_agent", "txt", tempFd, tempFilename); in configTargetChip()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSignals.cpp145 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
146 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace()
DPath.cpp816 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() function
828 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() function
831 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile()
835 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
838 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
841 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
844 auto EC = createTemporaryFile(Prefix, Suffix, FD, ResultPath); in createTemporaryFile()
873 return createTemporaryFile(Prefix, Suffix, Dummy, ResultPath, FS_Name); in getPotentiallyUniqueTempFileName()
/external/llvm-project/llvm/lib/Support/
DSignals.cpp150 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
151 sys::fs::createTemporaryFile("symbolizer-output", "", OutputFile); in printSymbolizedStackTrace()
DPath.cpp843 createTemporaryFile(const Twine &Model, int &ResultFD, in createTemporaryFile() function
855 createTemporaryFile(const Twine &Prefix, StringRef Suffix, int &ResultFD, in createTemporaryFile() function
858 return createTemporaryFile(Prefix + Middle + Suffix, ResultFD, ResultPath, in createTemporaryFile()
862 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
865 return createTemporaryFile(Prefix, Suffix, ResultFD, ResultPath, FS_File); in createTemporaryFile()
868 std::error_code createTemporaryFile(const Twine &Prefix, StringRef Suffix, in createTemporaryFile() function
871 auto EC = createTemporaryFile(Prefix, Suffix, FD, ResultPath); in createTemporaryFile()
900 return createTemporaryFile(Prefix, Suffix, Dummy, ResultPath, FS_Name); in getPotentiallyUniqueTempFileName()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dinit_text_file_to_import_test_pass.cc52 llvm::sys::fs::createTemporaryFile("text", "vocab", fd, filename); in runOnOperation()
/external/llvm-project/llvm/unittests/LineEditor/
DLineEditor.cpp26 sys::fs::createTemporaryFile("temp", "history", HistPath); in init()
/external/llvm/unittests/LineEditor/
DLineEditor.cpp27 sys::fs::createTemporaryFile("temp", "history", HistPath); in init()
/external/llvm-project/mlir/tools/mlir-reduce/
DReductionNode.cpp44 llvm::sys::fs::createTemporaryFile("mlir-reduce", "mlir", fd, filepath); in measureAndTest()
/external/llvm-project/clang/lib/AST/
DInheritViz.cpp141 if (std::error_code EC = llvm::sys::fs::createTemporaryFile( in viewInheritance()
/external/clang/lib/AST/
DInheritViz.cpp142 if (std::error_code EC = llvm::sys::fs::createTemporaryFile( in viewInheritance()

1234