Home
last modified time | relevance | path

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

12345678910>>...12

/dports/www/firefox-legacy/firefox-52.8.0esr/dom/indexedDB/
H A DIDBFileHandle.cpp23 IDBFileHandle::IDBFileHandle(FileMode aMode, in IDBFileHandle() function in mozilla::dom::IDBFileHandle
32 IDBFileHandle::~IDBFileHandle() in ~IDBFileHandle()
40 already_AddRefed<IDBFileHandle>
41 IDBFileHandle::Create(IDBMutableFile* aMutableFile, in Create()
48 RefPtr<IDBFileHandle> fileHandle = in Create()
49 new IDBFileHandle(aMode, aMutableFile); in Create()
107 NS_IMPL_CYCLE_COLLECTION_CLASS(IDBFileHandle) in NS_IMPL_ADDREF_INHERITED()
120 IDBFileHandle::Run() in NS_IMPL_ADDREF_INHERITED()
149 IDBFileHandle::MutableFile() const in MutableFile()
182 IDBFileHandle::CheckWindow() in CheckWindow()
[all …]
H A DIDBMutableFile.cpp93 IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) in RegisterFileHandle()
104 IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) in UnregisterFileHandle()
123 AbortFileHandles(nsTHashtable<nsPtrHashKey<IDBFileHandle>>& aTable) in AbortFileHandles()
129 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
133 IDBFileHandle* fileHandle = iter.Get()->GetKey(); in AbortFileHandles()
148 for (RefPtr<IDBFileHandle>& fileHandle : fileHandlesToAbort) { in AbortFileHandles()
167 already_AddRefed<IDBFileHandle>
179 RefPtr<IDBFileHandle> fileHandle = in Open()
180 IDBFileHandle::Create(this, aMode); in Open()
201 RefPtr<IDBFileHandle> fileHandle = Open(FileMode::Readonly, aError); in GetFile()
[all …]
H A DIDBFileRequest.h25 class IDBFileHandle; variable
30 RefPtr<IDBFileHandle> mFileHandle;
36 Create(nsPIDOMWindowInner* aOwner, IDBFileHandle* aFileHandle,
40 IDBFileHandle*
47 IDBFileHandle*
82 IDBFileHandle* aFileHandle,
H A DIDBMutableFile.h32 class IDBFileHandle; variable
44 nsTHashtable<nsPtrHashKey<IDBFileHandle>> mFileHandles;
72 RegisterFileHandle(IDBFileHandle* aFileHandle);
75 UnregisterFileHandle(IDBFileHandle* aFileHandle);
102 already_AddRefed<IDBFileHandle>
H A DFileSnapshot.cpp29 RefPtr<IDBFileHandle> mFileHandle;
34 IDBFileHandle* aFileHandle) in StreamWrapper()
127 IDBFileHandle* aFileHandle) in BlobImplSnapshot()
173 RefPtr<IDBFileHandle> fileHandle = static_cast<IDBFileHandle*>(et.get()); in GetInternalStream()
194 RefPtr<IDBFileHandle> fileHandle = static_cast<IDBFileHandle*>(et.get()); in GetBlobImpl()
/dports/www/firefox-esr/firefox-91.8.0/dom/indexedDB/
H A DIDBFileHandle.cpp41 IDBFileHandle::IDBFileHandle(IDBMutableFile* aMutableFile, FileMode aMode) in IDBFileHandle() function in mozilla::dom::IDBFileHandle
61 IDBFileHandle::~IDBFileHandle() { in ~IDBFileHandle()
78 RefPtr<IDBFileHandle> IDBFileHandle::Create(IDBMutableFile* aMutableFile, in Create()
84 RefPtr<IDBFileHandle> fileHandle = new IDBFileHandle(aMutableFile, aMode); in Create()
100 IDBFileHandle* IDBFileHandle::GetCurrent() { in GetCurrent()
142 void IDBFileHandle::OnNewRequest() { in OnNewRequest()
204 bool IDBFileHandle::IsOpen() const { in IsOpen()
224 void IDBFileHandle::Abort() { in Abort()
665 void IDBFileHandle::SendFinish() { in SendFinish()
680 void IDBFileHandle::SendAbort() { in SendAbort()
[all …]
H A DIDBFileRequest.h23 class IDBFileHandle; variable
26 RefPtr<IDBFileHandle> mFileHandle;
34 [[nodiscard]] static RefPtr<IDBFileRequest> Create(IDBFileHandle* aFileHandle,
70 IDBFileHandle* GetFileHandle() const { in GetFileHandle()
75 IDBFileHandle* GetLockedFile() const { in GetLockedFile()
97 IDBFileRequest(IDBFileHandle* aFileHandle, bool aWrapAsDOMRequest);
H A DIDBMutableFile.h29 class IDBFileHandle; variable
40 nsTHashSet<IDBFileHandle*> mFileHandles;
99 void RegisterFileHandle(IDBFileHandle* aFileHandle);
101 void UnregisterFileHandle(IDBFileHandle* aFileHandle);
112 [[nodiscard]] RefPtr<IDBFileHandle> Open(FileMode aMode, ErrorResult& aError);
H A DIDBMutableFile.cpp92 void IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) { in RegisterFileHandle()
101 void IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) { in UnregisterFileHandle()
117 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
120 for (IDBFileHandle* const fileHandle : mFileHandles) { in AbortFileHandles()
148 RefPtr<IDBFileHandle> IDBMutableFile::Open(FileMode aMode, in Open()
157 auto fileHandle = IDBFileHandle::Create(this, aMode); in Open()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/indexedDB/
H A DIDBFileHandle.cpp42 IDBFileHandle::IDBFileHandle(IDBMutableFile* aMutableFile, FileMode aMode) in IDBFileHandle() function in mozilla::dom::IDBFileHandle
62 IDBFileHandle::~IDBFileHandle() { in ~IDBFileHandle()
79 RefPtr<IDBFileHandle> IDBFileHandle::Create(IDBMutableFile* aMutableFile, in Create()
85 RefPtr<IDBFileHandle> fileHandle = new IDBFileHandle(aMutableFile, aMode); in Create()
101 IDBFileHandle* IDBFileHandle::GetCurrent() { in GetCurrent()
143 void IDBFileHandle::OnNewRequest() { in OnNewRequest()
205 bool IDBFileHandle::IsOpen() const { in IsOpen()
225 void IDBFileHandle::Abort() { in Abort()
666 void IDBFileHandle::SendFinish() { in SendFinish()
681 void IDBFileHandle::SendAbort() { in SendAbort()
[all …]
H A DIDBFileRequest.h22 class IDBFileHandle; variable
25 RefPtr<IDBFileHandle> mFileHandle;
33 [[nodiscard]] static RefPtr<IDBFileRequest> Create(IDBFileHandle* aFileHandle,
69 IDBFileHandle* GetFileHandle() const { in GetFileHandle()
74 IDBFileHandle* GetLockedFile() const { in GetLockedFile()
96 IDBFileRequest(IDBFileHandle* aFileHandle, bool aWrapAsDOMRequest);
H A DIDBMutableFile.h29 class IDBFileHandle; variable
40 nsTHashtable<nsPtrHashKey<IDBFileHandle>> mFileHandles;
99 void RegisterFileHandle(IDBFileHandle* aFileHandle);
101 void UnregisterFileHandle(IDBFileHandle* aFileHandle);
112 [[nodiscard]] RefPtr<IDBFileHandle> Open(FileMode aMode, ErrorResult& aError);
H A DIDBMutableFile.cpp93 void IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) { in RegisterFileHandle()
102 void IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) { in UnregisterFileHandle()
118 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
122 IDBFileHandle* const fileHandle = entry.GetKey(); in AbortFileHandles()
150 RefPtr<IDBFileHandle> IDBMutableFile::Open(FileMode aMode, in Open()
159 auto fileHandle = IDBFileHandle::Create(this, aMode); in Open()
/dports/www/firefox/firefox-99.0/dom/indexedDB/
H A DIDBFileHandle.cpp41 IDBFileHandle::IDBFileHandle(IDBMutableFile* aMutableFile, FileMode aMode) in IDBFileHandle() function in mozilla::dom::IDBFileHandle
61 IDBFileHandle::~IDBFileHandle() { in ~IDBFileHandle()
78 RefPtr<IDBFileHandle> IDBFileHandle::Create(IDBMutableFile* aMutableFile, in Create()
84 RefPtr<IDBFileHandle> fileHandle = new IDBFileHandle(aMutableFile, aMode); in Create()
100 IDBFileHandle* IDBFileHandle::GetCurrent() { in GetCurrent()
142 void IDBFileHandle::OnNewRequest() { in OnNewRequest()
204 bool IDBFileHandle::IsOpen() const { in IsOpen()
224 void IDBFileHandle::Abort() { in Abort()
665 void IDBFileHandle::SendFinish() { in SendFinish()
680 void IDBFileHandle::SendAbort() { in SendAbort()
[all …]
H A DIDBFileRequest.h23 class IDBFileHandle; variable
26 RefPtr<IDBFileHandle> mFileHandle;
34 [[nodiscard]] static RefPtr<IDBFileRequest> Create(IDBFileHandle* aFileHandle,
70 IDBFileHandle* GetFileHandle() const { in GetFileHandle()
75 IDBFileHandle* GetLockedFile() const { in GetLockedFile()
97 IDBFileRequest(IDBFileHandle* aFileHandle, bool aWrapAsDOMRequest);
H A DIDBMutableFile.h29 class IDBFileHandle; variable
40 nsTHashSet<IDBFileHandle*> mFileHandles;
99 void RegisterFileHandle(IDBFileHandle* aFileHandle);
101 void UnregisterFileHandle(IDBFileHandle* aFileHandle);
112 [[nodiscard]] RefPtr<IDBFileHandle> Open(FileMode aMode, ErrorResult& aError);
H A DIDBMutableFile.cpp92 void IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) { in RegisterFileHandle()
101 void IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) { in UnregisterFileHandle()
117 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
120 for (IDBFileHandle* const fileHandle : mFileHandles) { in AbortFileHandles()
148 RefPtr<IDBFileHandle> IDBMutableFile::Open(FileMode aMode, in Open()
157 auto fileHandle = IDBFileHandle::Create(this, aMode); in Open()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/indexedDB/
H A DIDBFileHandle.cpp41 IDBFileHandle::IDBFileHandle(IDBMutableFile* aMutableFile, FileMode aMode) in IDBFileHandle() function in mozilla::dom::IDBFileHandle
61 IDBFileHandle::~IDBFileHandle() { in ~IDBFileHandle()
78 RefPtr<IDBFileHandle> IDBFileHandle::Create(IDBMutableFile* aMutableFile, in Create()
84 RefPtr<IDBFileHandle> fileHandle = new IDBFileHandle(aMutableFile, aMode); in Create()
100 IDBFileHandle* IDBFileHandle::GetCurrent() { in GetCurrent()
142 void IDBFileHandle::OnNewRequest() { in OnNewRequest()
204 bool IDBFileHandle::IsOpen() const { in IsOpen()
224 void IDBFileHandle::Abort() { in Abort()
665 void IDBFileHandle::SendFinish() { in SendFinish()
680 void IDBFileHandle::SendAbort() { in SendAbort()
[all …]
H A DIDBFileRequest.h23 class IDBFileHandle; variable
26 RefPtr<IDBFileHandle> mFileHandle;
34 [[nodiscard]] static RefPtr<IDBFileRequest> Create(IDBFileHandle* aFileHandle,
70 IDBFileHandle* GetFileHandle() const { in GetFileHandle()
75 IDBFileHandle* GetLockedFile() const { in GetLockedFile()
97 IDBFileRequest(IDBFileHandle* aFileHandle, bool aWrapAsDOMRequest);
H A DIDBMutableFile.h29 class IDBFileHandle; variable
40 nsTHashSet<IDBFileHandle*> mFileHandles;
99 void RegisterFileHandle(IDBFileHandle* aFileHandle);
101 void UnregisterFileHandle(IDBFileHandle* aFileHandle);
112 [[nodiscard]] RefPtr<IDBFileHandle> Open(FileMode aMode, ErrorResult& aError);
H A DIDBMutableFile.cpp92 void IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) { in RegisterFileHandle()
101 void IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) { in UnregisterFileHandle()
117 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
120 for (IDBFileHandle* const fileHandle : mFileHandles) { in AbortFileHandles()
148 RefPtr<IDBFileHandle> IDBMutableFile::Open(FileMode aMode, in Open()
157 auto fileHandle = IDBFileHandle::Create(this, aMode); in Open()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/indexedDB/
H A DIDBFileHandle.cpp34 IDBFileHandle* aFileHandle) { in GenerateFileRequest()
47 IDBFileHandle::IDBFileHandle(IDBMutableFile* aMutableFile, FileMode aMode) in IDBFileHandle() function in mozilla::dom::IDBFileHandle
66 IDBFileHandle::~IDBFileHandle() { in ~IDBFileHandle()
83 already_AddRefed<IDBFileHandle> IDBFileHandle::Create( in Create()
89 RefPtr<IDBFileHandle> fileHandle = new IDBFileHandle(aMutableFile, aMode); in Create()
107 IDBFileHandle* IDBFileHandle::GetCurrent() { in GetCurrent()
149 void IDBFileHandle::OnNewRequest() { in OnNewRequest()
234 void IDBFileHandle::Abort() { in Abort()
657 void IDBFileHandle::SendFinish() { in SendFinish()
672 void IDBFileHandle::SendAbort() { in SendAbort()
[all …]
H A DIDBMutableFile.cpp96 void IDBMutableFile::RegisterFileHandle(IDBFileHandle* aFileHandle) { in RegisterFileHandle()
105 void IDBMutableFile::UnregisterFileHandle(IDBFileHandle* aFileHandle) { in UnregisterFileHandle()
120 nsTHashtable<nsPtrHashKey<IDBFileHandle>>& aTable) { in AbortFileHandles()
125 nsTArray<RefPtr<IDBFileHandle>> fileHandlesToAbort; in AbortFileHandles()
129 IDBFileHandle* fileHandle = iter.Get()->GetKey(); in AbortFileHandles()
144 for (RefPtr<IDBFileHandle>& fileHandle : fileHandlesToAbort) { in AbortFileHandles()
161 already_AddRefed<IDBFileHandle> IDBMutableFile::Open(FileMode aMode, in Open()
170 RefPtr<IDBFileHandle> fileHandle = IDBFileHandle::Create(this, aMode); in Open()
187 RefPtr<IDBFileHandle> fileHandle = Open(FileMode::Readonly, aError); in GetFile()
H A DIDBFileRequest.h25 class IDBFileHandle; variable
28 RefPtr<IDBFileHandle> mFileHandle;
38 static already_AddRefed<IDBFileRequest> Create(IDBFileHandle* aFileHandle,
55 IDBFileHandle* GetFileHandle() const { in GetFileHandle()
60 IDBFileHandle* GetLockedFile() const { in GetLockedFile()
83 IDBFileRequest(IDBFileHandle* aFileHandle, bool aWrapAsDOMRequest);
H A DIDBMutableFile.h31 class IDBFileHandle; variable
42 nsTHashtable<nsPtrHashKey<IDBFileHandle>> mFileHandles;
101 void RegisterFileHandle(IDBFileHandle* aFileHandle);
103 void UnregisterFileHandle(IDBFileHandle* aFileHandle);
116 already_AddRefed<IDBFileHandle> Open(FileMode aMode, ErrorResult& aError);

12345678910>>...12