Home
last modified time | relevance | path

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

/external/perfetto/src/base/
Dtemp_file.cc33 TempFile TempFile::Create() { in Create()
34 TempFile temp_file; in Create()
43 TempFile TempFile::CreateUnlinked() { in CreateUnlinked()
44 TempFile temp_file = TempFile::Create(); in CreateUnlinked()
49 TempFile::TempFile() = default;
51 TempFile::~TempFile() { in ~TempFile()
55 ScopedFile TempFile::ReleaseFD() { in ReleaseFD()
60 void TempFile::Unlink() { in Unlink()
67 TempFile::TempFile(TempFile&&) noexcept = default;
68 TempFile& TempFile::operator=(TempFile&&) = default;
Dtemp_file_unittest.cc37 TempFile tf = TempFile::Create(); in TEST()
45 TempFile moved_tf(std::move(tf)); in TEST()
52 TempFile moved_tf2 = std::move(moved_tf); in TEST()
69 TempFile tf = TempFile::CreateUnlinked(); in TEST()
81 TempFile tf = TempFile::Create(); in TEST()
91 TempFile tf = TempFile::CreateUnlinked(); in TEST()
/external/perfetto/include/perfetto/base/
Dtemp_file.h27 class TempFile {
29 static TempFile CreateUnlinked();
30 static TempFile Create();
32 TempFile(TempFile&&) noexcept;
33 TempFile& operator=(TempFile&&);
34 ~TempFile();
49 TempFile();
50 TempFile(const TempFile&) = delete;
51 TempFile& operator=(const TempFile&) = delete;
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
DTempFilesServer.java52 private final List<TempFile> tempFiles;
56 this.tempFiles = new ArrayList<TempFile>(); in ExampleManager()
64 for (TempFile file : this.tempFiles) { in clear()
75 public TempFile createTempFile(String filename_hint) throws Exception { in createTempFile()
/external/llvm/tools/verify-uselistorder/
Dverify-uselistorder.cpp73 struct TempFile { struct
109 bool TempFile::init(const std::string &Ext) { in init()
125 bool TempFile::writeBitcode(const Module &M) const { in writeBitcode()
138 bool TempFile::writeAssembly(const Module &M) const { in writeAssembly()
151 std::unique_ptr<Module> TempFile::readBitcode(LLVMContext &Context) const { in readBitcode()
172 std::unique_ptr<Module> TempFile::readAssembly(LLVMContext &Context) const { in readAssembly()
355 TempFile F; in verifyBitcodeUseListOrder()
367 TempFile F; in verifyAssemblyUseListOrder()
/external/perfetto/src/traced/probes/filesystem/
Dfs_mount_unittest.cc54 base::TempFile tmp_file = base::TempFile::Create(); in TEST()
/external/perfetto/src/tracing/ipc/
Dposix_shared_memory_unittest.cc69 base::TempFile tmp_file = base::TempFile::CreateUnlinked(); in TEST()
Dposix_shared_memory.cc57 fd = base::TempFile::CreateUnlinked().ReleaseFD(); in Create()
/external/python/cpython3/Lib/test/
Dtest_linecache.py40 class TempFile: class
50 class GetLineTestsGoodData(TempFile):
71 class GetLineTestsBadData(TempFile):
Dtest_lzma.py503 class TempFile: class
532 with TempFile(filename, COMPRESSED_XZ):
541 with TempFile(TESTFN, COMPRESSED_XZ):
550 with TempFile(TESTFN):
668 with TempFile(TESTFN, COMPRESSED_XZ):
701 with TempFile(TESTFN, COMPRESSED_XZ):
849 with TempFile(TESTFN, COMPRESSED_XZ):
859 with TempFile(TESTFN, COMPRESSED_XZ):
1219 with TempFile(TESTFN):
1234 with TempFile(filename):
/external/perfetto/src/ipc/
Dhost_impl_unittest.cc331 base::TempFile tx_file = base::TempFile::CreateUnlinked(); in TEST_F()
371 base::TempFile tx_file = base::TempFile::CreateUnlinked(); in TEST_F()
Dclient_impl_unittest.cc349 base::TempFile tx_file = base::TempFile::CreateUnlinked(); in TEST_F()
393 base::TempFile tx_file = base::TempFile::CreateUnlinked(); in TEST_F()
Dunix_socket_unittest.cc257 base::TempFile scoped_tmp = base::TempFile::CreateUnlinked(); in TEST_F()
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java385 public static class DefaultTempFile implements TempFile {
429 private final List<TempFile> tempFiles;
436 this.tempFiles = new ArrayList<TempFile>(); in DefaultTempFileManager()
441 for (TempFile file : this.tempFiles) { in clear()
452 public TempFile createTempFile(String filename_hint) throws Exception { in createTempFile()
979 TempFile tempFile = this.tempFileManager.createTempFile(null); in getTmpBucket()
1097 TempFile tempFile = this.tempFileManager.createTempFile(filename_hint); in saveTmpFile()
1592 public interface TempFile {
1613 public TempFile createTempFile(String filename_hint) throws Exception;
/external/llvm/tools/dsymutil/
Ddsymutil.cpp177 bool TempFile = false) { in getOutputFileName() argument
178 if (TempFile) { in getOutputFileName()
/external/perfetto/src/tracing/test/
Dtracing_integration_test.cc303 base::TempFile tmp_file = base::TempFile::CreateUnlinked(); in TEST_F()
/external/perfetto/src/tracing/core/
Dservice_impl_unittest.cc287 base::TempFile tmp_file = base::TempFile::Create(); in TEST_F()
/external/tensorflow/tensorflow/core/platform/s3/
Ds3_file_system.cc211 outfile_(Aws::MakeShared<Aws::Utils::TempFile>( in S3WritableFile()
271 std::shared_ptr<Aws::Utils::TempFile> outfile_;
/external/v8/tools/mb/
Dmb_unittest.py81 def TempFile(self, mode='w'): member in FakeMBW
Dmb.py1218 response_file = self.TempFile()
1459 def TempFile(self, mode='w'): member in MetaBuildWrapper
/external/clang/lib/Frontend/
DCompilerInstance.cpp627 std::string OutFile, TempFile; in createOutputFile() local
684 OSFile = TempFile = TempPath.str(); in createOutputFile()
707 *TempPathName = TempFile; in createOutputFile()
DASTUnit.cpp200 void ASTUnit::addTemporaryFile(StringRef TempFile) { in addTemporaryFile() argument
201 getOnDiskData(this).TemporaryFiles.push_back(TempFile); in addTemporaryFile()
/external/clang/include/clang/Frontend/
DASTUnit.h540 void addTemporaryFile(StringRef TempFile);
/external/clang/lib/Driver/
DDriver.cpp738 for (const char *TempFile : TempFiles) { in generateCompilationDiagnostics() local
739 Diag(clang::diag::note_drv_command_failed_diag_msg) << TempFile; in generateCompilationDiagnostics()
740 if (StringRef(TempFile).endswith(".cache")) { in generateCompilationDiagnostics()
743 VFS = llvm::sys::path::filename(TempFile); in generateCompilationDiagnostics()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp2263 std::string TempFile = applyEditsToTemp(I->first, I->second, in getFileRemappingsFromFileList() local
2265 if (TempFile.empty()) { in getFileRemappingsFromFileList()
2270 remap.emplace_back(I->first->getName(), TempFile); in getFileRemappingsFromFileList()