Home
last modified time | relevance | path

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

1234567891011

/dports/www/chromium-legacy/chromium-88.0.4324.182/storage/browser/blob/
H A Dscoped_file.cc17 ScopedFile::ScopedFile() in ScopedFile() function in storage::ScopedFile
21 ScopedFile::ScopedFile(const base::FilePath& path, in ScopedFile() function in storage::ScopedFile
33 ScopedFile::ScopedFile(ScopedFile&& other) { in ScopedFile() function in storage::ScopedFile
37 ScopedFile::~ScopedFile() { in ~ScopedFile()
41 void ScopedFile::AddScopeOutCallback(ScopeOutCallback callback, in AddScopeOutCallback()
48 base::FilePath ScopedFile::Release() { in Release()
56 void ScopedFile::Reset() { in Reset()
80 void ScopedFile::MoveFrom(ScopedFile& other) { in MoveFrom()
H A Dscoped_file.h28 class COMPONENT_EXPORT(STORAGE_BROWSER) ScopedFile { in COMPONENT_EXPORT()
36 ScopedFile(); in COMPONENT_EXPORT()
40 ScopedFile(const base::FilePath& path, in COMPONENT_EXPORT()
44 ScopedFile(ScopedFile&& other); in COMPONENT_EXPORT()
45 ScopedFile& operator=(ScopedFile&& rhs) { in COMPONENT_EXPORT()
50 ~ScopedFile(); in COMPONENT_EXPORT()
76 void MoveFrom(ScopedFile& other); in COMPONENT_EXPORT()
84 DISALLOW_COPY_AND_ASSIGN(ScopedFile); in COMPONENT_EXPORT()
H A Dshareable_file_reference.h21 using FinalReleaseCallback = ScopedFile::ScopeOutCallback; in COMPONENT_EXPORT()
24 DELETE_ON_FINAL_RELEASE = ScopedFile::DELETE_ON_SCOPE_OUT, in COMPONENT_EXPORT()
25 DONT_DELETE_ON_FINAL_RELEASE = ScopedFile::DONT_DELETE_ON_SCOPE_OUT, in COMPONENT_EXPORT()
51 ScopedFile scoped_file); in COMPONENT_EXPORT()
68 ShareableFileReference(ScopedFile scoped_file); in COMPONENT_EXPORT()
71 ScopedFile scoped_file_; in COMPONENT_EXPORT()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/storage/browser/blob/
H A Dscoped_file.cc16 ScopedFile::ScopedFile() in ScopedFile() function in storage::ScopedFile
20 ScopedFile::ScopedFile(const base::FilePath& path, in ScopedFile() function in storage::ScopedFile
32 ScopedFile::ScopedFile(ScopedFile&& other) { in ScopedFile() function in storage::ScopedFile
36 ScopedFile::~ScopedFile() { in ~ScopedFile()
40 void ScopedFile::AddScopeOutCallback(ScopeOutCallback callback, in AddScopeOutCallback()
47 base::FilePath ScopedFile::Release() { in Release()
55 void ScopedFile::Reset() { in Reset()
80 void ScopedFile::MoveFrom(ScopedFile& other) { in MoveFrom()
H A Dscoped_file.h28 class COMPONENT_EXPORT(STORAGE_BROWSER) ScopedFile { in COMPONENT_EXPORT()
36 ScopedFile(); in COMPONENT_EXPORT()
40 ScopedFile(const base::FilePath& path, in COMPONENT_EXPORT()
44 ScopedFile(ScopedFile&& other); in COMPONENT_EXPORT()
45 ScopedFile& operator=(ScopedFile&& rhs) { in COMPONENT_EXPORT()
50 ~ScopedFile(); in COMPONENT_EXPORT()
76 void MoveFrom(ScopedFile& other); in COMPONENT_EXPORT()
84 DISALLOW_COPY_AND_ASSIGN(ScopedFile); in COMPONENT_EXPORT()
H A Dshareable_file_reference.h21 using FinalReleaseCallback = ScopedFile::ScopeOutCallback; in COMPONENT_EXPORT()
24 DELETE_ON_FINAL_RELEASE = ScopedFile::DELETE_ON_SCOPE_OUT, in COMPONENT_EXPORT()
25 DONT_DELETE_ON_FINAL_RELEASE = ScopedFile::DONT_DELETE_ON_SCOPE_OUT, in COMPONENT_EXPORT()
51 ScopedFile scoped_file); in COMPONENT_EXPORT()
68 ShareableFileReference(ScopedFile scoped_file); in COMPONENT_EXPORT()
71 ScopedFile scoped_file_; in COMPONENT_EXPORT()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/test/
H A Dscoped_file.cc15 std::unique_ptr<ScopedFile> ScopedFile::Create(const base::FilePath& dir, in Create()
24 return std::make_unique<ScopedFile>(file_path); in Create()
27 ScopedFile::ScopedFile(const base::FilePath& file_path) in ScopedFile() function in ScopedFile
30 ScopedFile::~ScopedFile() { in ~ScopedFile()
35 const base::FilePath& ScopedFile::file_path() { in file_path()
H A Dscoped_file.h14 class ScopedFile {
16 static std::unique_ptr<ScopedFile> Create(const base::FilePath& dir,
20 explicit ScopedFile(const base::FilePath& file_path);
25 ~ScopedFile();
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/Support/
H A DFileCollectorTest.cpp84 struct ScopedFile { struct
86 ScopedFile(const Twine &Name) { in ScopedFile() argument
93 ~ScopedFile() { in ~ScopedFile() argument
128 ScopedFile a(aaa.str()); in TEST()
132 ScopedFile b(bbb.str()); in TEST()
136 ScopedFile c(ccc.str()); in TEST()
154 ScopedFile d(ddd.str()); in TEST()
190 ScopedFile a(subdir2 + "/a"); in TEST()
221 ScopedFile a(subdir2 + "/a"); in TEST()
269 ScopedFile d(foo + "/ddd"); in TEST()
[all …]
/dports/devel/llvm11/llvm-11.0.1.src/unittests/Support/
H A DFileCollectorTest.cpp84 struct ScopedFile { struct
86 ScopedFile(const Twine &Name) { in ScopedFile() argument
93 ~ScopedFile() { in ~ScopedFile() argument
128 ScopedFile a(aaa.str()); in TEST()
132 ScopedFile b(bbb.str()); in TEST()
136 ScopedFile c(ccc.str()); in TEST()
154 ScopedFile d(ddd.str()); in TEST()
190 ScopedFile a(subdir2 + "/a"); in TEST()
221 ScopedFile a(subdir2 + "/a"); in TEST()
269 ScopedFile d(foo + "/ddd"); in TEST()
[all …]
/dports/devel/llvm10/llvm-10.0.1.src/unittests/Support/
H A DFileCollectorTest.cpp84 struct ScopedFile { struct
86 ScopedFile(const Twine &Name) { in ScopedFile() function
93 ~ScopedFile() { in ~ScopedFile() argument
125 ScopedFile a(file_root + "/aaa"); in TEST()
126 ScopedFile b(file_root + "/bbb"); in TEST()
155 ScopedFile a(subdir2 + "/a"); in TEST()
186 ScopedFile a(subdir2 + "/a"); in TEST()
187 ScopedFile b(file_root + "/b"); in TEST()
234 ScopedFile d(foo + "/ddd"); in TEST()
237 ScopedFile e(foo + "/../eee"); in TEST()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/Support/
H A DFileCollectorTest.cpp84 struct ScopedFile { struct
86 ScopedFile(const Twine &Name) { in ScopedFile() function
93 ~ScopedFile() { in ~ScopedFile() argument
125 ScopedFile a(file_root + "/aaa"); in TEST()
126 ScopedFile b(file_root + "/bbb"); in TEST()
155 ScopedFile a(subdir2 + "/a"); in TEST()
186 ScopedFile a(subdir2 + "/a"); in TEST()
187 ScopedFile b(file_root + "/b"); in TEST()
234 ScopedFile d(foo + "/ddd"); in TEST()
237 ScopedFile e(foo + "/../eee"); in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/tracing/ipc/
H A Dmemfd.cc65 base::ScopedFile fd; in HasMemfdSupport()
73 base::ScopedFile CreateMemfd(const char* name, unsigned int flags) { in CreateMemfd()
76 return base::ScopedFile(); in CreateMemfd()
78 return base::ScopedFile( in CreateMemfd()
89 base::ScopedFile CreateMemfd(const char*, unsigned int) { in CreateMemfd()
91 return base::ScopedFile(); in CreateMemfd()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/tracing/ipc/
H A Dmemfd.cc65 base::ScopedFile fd; in HasMemfdSupport()
73 base::ScopedFile CreateMemfd(const char* name, unsigned int flags) { in CreateMemfd()
76 return base::ScopedFile(); in CreateMemfd()
78 return base::ScopedFile( in CreateMemfd()
89 base::ScopedFile CreateMemfd(const char*, unsigned int) { in CreateMemfd()
91 return base::ScopedFile(); in CreateMemfd()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/base/
H A Dscoped_file_unittest.cc65 ScopedFile scoped_file(raw_fd); in TEST()
93 ScopedFile scoped_file(raw_fd1); in TEST()
113 ScopedFile scoped_file(raw_fd); in TEST()
126 ScopedFile scoped_file1(ScopedFile{raw_fd1}); in TEST()
127 ScopedFile scoped_file2(std::move(scoped_file1)); in TEST()
148 ScopedFile scoped_file1(raw_fd1); in TEST()
149 ScopedFile scoped_file2(raw_fd2); in TEST()
175 ScopedFile scoped_file(raw_fd); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/base/
H A Dscoped_file_unittest.cc65 ScopedFile scoped_file(raw_fd); in TEST()
93 ScopedFile scoped_file(raw_fd1); in TEST()
113 ScopedFile scoped_file(raw_fd); in TEST()
126 ScopedFile scoped_file1(ScopedFile{raw_fd1}); in TEST()
127 ScopedFile scoped_file2(std::move(scoped_file1)); in TEST()
148 ScopedFile scoped_file1(raw_fd1); in TEST()
149 ScopedFile scoped_file2(raw_fd2); in TEST()
175 ScopedFile scoped_file(raw_fd); in TEST()
/dports/audio/drumgizmo/drumgizmo-0.9.19/test/
H A Dscopedfile.cc45 ScopedFile::ScopedFile(const std::string& data) in ScopedFile() function in ScopedFile
62 ScopedFile::~ScopedFile() in ~ScopedFile()
67 std::string ScopedFile::filename() const in filename()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/include/perfetto/ext/base/
H A Dunix_socket.h62 UnixSocketRaw(ScopedFile, SockFamily, SockType);
82 ScopedFile ReleaseFd() { return std::move(fd_); } in ReleaseFd()
95 ScopedFile* fd_vec = nullptr,
109 ScopedFile fd_;
201 static std::unique_ptr<UnixSocket> Listen(ScopedFile,
217 static std::unique_ptr<UnixSocket> AdoptConnected(ScopedFile,
263 size_t Receive(void* msg, size_t len, ScopedFile*, size_t max_files = 1);
309 ScopedFile,
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/include/perfetto/ext/base/
H A Dunix_socket.h62 UnixSocketRaw(ScopedFile, SockFamily, SockType);
82 ScopedFile ReleaseFd() { return std::move(fd_); } in ReleaseFd()
95 ScopedFile* fd_vec = nullptr,
109 ScopedFile fd_;
199 static std::unique_ptr<UnixSocket> Listen(ScopedFile,
215 static std::unique_ptr<UnixSocket> AdoptConnected(ScopedFile,
261 size_t Receive(void* msg, size_t len, ScopedFile*, size_t max_files = 1);
307 ScopedFile,
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/profiling/common/
H A Dunwind_support.h53 FDMaps(base::ScopedFile fd);
73 base::ScopedFile fd_;
78 FDMemory(base::ScopedFile mem_fd);
82 base::ScopedFile mem_fd_;
104 UnwindingMetadata(base::ScopedFile maps_fd, base::ScopedFile mem_fd);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/profiling/common/
H A Dunwind_support.h53 explicit FDMaps(base::ScopedFile fd);
73 base::ScopedFile fd_;
78 explicit FDMemory(base::ScopedFile mem_fd);
82 base::ScopedFile mem_fd_;
104 UnwindingMetadata(base::ScopedFile maps_fd, base::ScopedFile mem_fd);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/perfetto/src/traced/probes/sys_stats/
H A Dsys_stats_data_source.h50 using OpenFunction = base::ScopedFile (*)(const char*);
82 size_t ReadFile(base::ScopedFile*, const char* path);
86 base::ScopedFile meminfo_fd_;
87 base::ScopedFile vmstat_fd_;
88 base::ScopedFile stat_fd_;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/perfetto/src/traced/probes/sys_stats/
H A Dsys_stats_data_source.h50 using OpenFunction = base::ScopedFile (*)(const char*);
82 size_t ReadFile(base::ScopedFile*, const char* path);
86 base::ScopedFile meminfo_fd_;
87 base::ScopedFile vmstat_fd_;
88 base::ScopedFile stat_fd_;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/storage/browser/file_system/
H A Dtransient_file_util.cc26 ScopedFile TransientFileUtil::CreateSnapshotFile( in CreateSnapshotFile()
37 return ScopedFile(); in CreateSnapshotFile()
43 ScopedFile scoped_file(*platform_path, ScopedFile::DELETE_ON_SCOPE_OUT, in CreateSnapshotFile()
/dports/www/chromium-legacy/chromium-88.0.4324.182/storage/browser/file_system/
H A Dtransient_file_util.cc26 ScopedFile TransientFileUtil::CreateSnapshotFile( in CreateSnapshotFile()
37 return ScopedFile(); in CreateSnapshotFile()
43 ScopedFile scoped_file(*platform_path, ScopedFile::DELETE_ON_SCOPE_OUT, in CreateSnapshotFile()

1234567891011