Home
last modified time | relevance | path

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

123456

/dports/lang/spidermonkey60/firefox-60.9.0/dom/quota/
H A DPersistenceType.h29 inline void PersistenceTypeToText(PersistenceType aPersistenceType, in PersistenceTypeToText() argument
31 switch (aPersistenceType) { in PersistenceTypeToText()
65 const nsACString& aText, Nullable<PersistenceType>* aPersistenceType) { in NullablePersistenceTypeFromText() argument
67 *aPersistenceType = Nullable<PersistenceType>(); in NullablePersistenceTypeFromText()
82 *aPersistenceType = Nullable<PersistenceType>(PERSISTENCE_TYPE_DEFAULT); in NullablePersistenceTypeFromText()
90 PersistenceType aPersistenceType) { in PersistenceTypeToStorage() argument
91 return mozilla::dom::StorageType(static_cast<int>(aPersistenceType)); in PersistenceTypeToStorage()
104 PersistenceType aPersistenceType) { in ComplementaryPersistenceType() argument
105 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
106 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
[all …]
H A DQuotaManager.h70 : mOrigin(aOrigin), mPersistenceType(aPersistenceType) {} in OriginParams()
123 void InitQuotaForOrigin(PersistenceType aPersistenceType,
128 void DecreaseUsageForOrigin(PersistenceType aPersistenceType,
132 void UpdateOriginAccessTime(PersistenceType aPersistenceType,
138 void RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
244 void OriginClearCompleted(PersistenceType aPersistenceType,
281 if (aPersistenceType == PERSISTENCE_TYPE_PERSISTENT) { in GetStoragePath()
285 if (aPersistenceType == PERSISTENCE_TYPE_TEMPORARY) { in GetStoragePath()
289 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT); in GetStoragePath()
300 static void GetStorageId(PersistenceType aPersistenceType,
[all …]
H A DFileStreams.h30 FileQuotaStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileQuotaStream() argument
32 : mPersistenceType(aPersistenceType), mGroup(aGroup), mOrigin(aOrigin) {} in FileQuotaStream()
51 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
53 : FileQuotaStream<FileStreamBase>(aPersistenceType, aGroup, aOrigin) {} in FileQuotaStreamWithWrite()
62 PersistenceType aPersistenceType, const nsACString& aGroup,
67 FileInputStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileInputStream() argument
80 PersistenceType aPersistenceType, const nsACString& aGroup,
85 FileOutputStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileOutputStream() argument
99 PersistenceType aPersistenceType, const nsACString& aGroup,
104 FileStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileStream() argument
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/quota/
H A DPersistenceType.h33 PersistenceTypeToText(PersistenceType aPersistenceType, nsACString& aText) in PersistenceTypeToText() argument
35 switch (aPersistenceType) { in PersistenceTypeToText()
72 Nullable<PersistenceType>* aPersistenceType) in NullablePersistenceTypeFromText() argument
75 *aPersistenceType = Nullable<PersistenceType>(); in NullablePersistenceTypeFromText()
90 *aPersistenceType = Nullable<PersistenceType>(PERSISTENCE_TYPE_DEFAULT); in NullablePersistenceTypeFromText()
98 PersistenceTypeToStorage(PersistenceType aPersistenceType) in PersistenceTypeToStorage() argument
100 return mozilla::dom::StorageType(static_cast<int>(aPersistenceType)); in PersistenceTypeToStorage()
114 ComplementaryPersistenceType(PersistenceType aPersistenceType) in ComplementaryPersistenceType() argument
116 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
117 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
[all …]
H A DQuotaManager.h84 OriginParams(PersistenceType aPersistenceType, in OriginParams()
88 , mPersistenceType(aPersistenceType) in OriginParams()
153 InitQuotaForOrigin(PersistenceType aPersistenceType,
175 RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
184 GetQuotaObject(PersistenceType aPersistenceType,
190 GetQuotaObject(PersistenceType aPersistenceType,
201 GetDirectoryForOrigin(PersistenceType aPersistenceType,
249 OpenDirectory(PersistenceType aPersistenceType,
361 GetStorageId(PersistenceType aPersistenceType,
395 IsQuotaEnforced(PersistenceType aPersistenceType,
[all …]
H A DFileStreams.h31 FileQuotaStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileQuotaStream() argument
33 : mPersistenceType(aPersistenceType), mGroup(aGroup), mOrigin(aOrigin) in FileQuotaStream()
55 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
57 : FileQuotaStream<FileStreamBase>(aPersistenceType, aGroup, aOrigin) in FileQuotaStreamWithWrite()
67 Create(PersistenceType aPersistenceType, const nsACString& aGroup,
72 FileInputStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileInputStream() argument
74 : FileQuotaStream<nsFileInputStream>(aPersistenceType, aGroup, aOrigin) in FileInputStream()
88 Create(PersistenceType aPersistenceType, const nsACString& aGroup,
95 : FileQuotaStreamWithWrite<nsFileOutputStream>(aPersistenceType, aGroup, in FileOutputStream()
110 Create(PersistenceType aPersistenceType, const nsACString& aGroup,
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/quota/
H A DQuotaManager.h103 : mOrigin(aOrigin), mPersistenceType(aPersistenceType) {} in OriginParams()
172 void InitQuotaForOrigin(PersistenceType aPersistenceType,
188 void EnsureQuotaForOrigin(PersistenceType aPersistenceType,
209 void ResetUsageForClient(PersistenceType aPersistenceType,
213 bool GetUsageForClient(PersistenceType aPersistenceType,
223 void RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
304 const Nullable<PersistenceType>& aPersistenceType,
374 const Nullable<PersistenceType>& aPersistenceType,
418 if (aPersistenceType == PERSISTENCE_TYPE_PERSISTENT) { in GetStoragePath()
422 if (aPersistenceType == PERSISTENCE_TYPE_TEMPORARY) { in GetStoragePath()
[all …]
H A DFileStreams.h30 FileQuotaStream(PersistenceType aPersistenceType, const nsACString& aGroup, in FileQuotaStream() argument
32 : mPersistenceType(aPersistenceType), in FileQuotaStream()
55 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
58 : FileQuotaStream<FileStreamBase>(aPersistenceType, aGroup, aOrigin, in FileQuotaStreamWithWrite()
67 FileInputStream(PersistenceType aPersistenceType, const nsACString& aGroup, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
69 : FileQuotaStream<nsFileInputStream>(aPersistenceType, aGroup, aOrigin, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
95 FileStream(PersistenceType aPersistenceType, const nsACString& aGroup, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
97 : FileQuotaStreamWithWrite<nsFileStream>(aPersistenceType, aGroup, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
105 PersistenceType aPersistenceType, const nsACString& aGroup,
110 PersistenceType aPersistenceType, const nsACString& aGroup,
[all …]
H A DPersistenceType.h32 bool IsValidPersistenceType(PersistenceType aPersistenceType);
34 nsLiteralCString PersistenceTypeToString(PersistenceType aPersistenceType);
41 StorageType PersistenceTypeToStorageType(PersistenceType aPersistenceType);
49 const PersistenceType aPersistenceType) { in ComplementaryPersistenceType() argument
50 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
51 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
53 if (aPersistenceType == PERSISTENCE_TYPE_DEFAULT) { in ComplementaryPersistenceType()
/dports/www/firefox-esr/firefox-91.8.0/dom/quota/
H A DFileStreams.h45 FileQuotaStream(PersistenceType aPersistenceType, in FileQuotaStream() argument
48 : mPersistenceType(aPersistenceType), in FileQuotaStream()
69 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
72 : FileQuotaStream<FileStreamBase>(aPersistenceType, aOriginMetadata, in FileQuotaStreamWithWrite()
81 FileInputStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
84 : FileQuotaStream<nsFileInputStream>(aPersistenceType, aOriginMetadata, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
96 FileOutputStream(PersistenceType aPersistenceType, in FileOutputStream() argument
100 aPersistenceType, aOriginMetadata, aClientType) {} in FileOutputStream()
111 FileStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
113 : FileQuotaStreamWithWrite<nsFileStream>(aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
[all …]
H A DPersistenceType.h35 bool IsValidPersistenceType(PersistenceType aPersistenceType);
37 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType);
39 nsLiteralCString PersistenceTypeToString(PersistenceType aPersistenceType);
46 StorageType PersistenceTypeToStorageType(PersistenceType aPersistenceType);
59 const PersistenceType aPersistenceType) { in ComplementaryPersistenceType() argument
60 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
61 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
63 if (aPersistenceType == PERSISTENCE_TYPE_DEFAULT) { in ComplementaryPersistenceType()
H A DQuotaManager.h175 UsageInfo GetUsageForClient(PersistenceType aPersistenceType,
179 void UpdateOriginAccessTime(PersistenceType aPersistenceType,
184 void RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
227 nsIFile* aDirectory, PersistenceType aPersistenceType);
253 const Nullable<PersistenceType>& aPersistenceType,
309 const Nullable<PersistenceType>& aPersistenceType,
313 void OriginClearCompleted(PersistenceType aPersistenceType,
350 if (aPersistenceType == PERSISTENCE_TYPE_PERSISTENT) { in GetStoragePath()
354 if (aPersistenceType == PERSISTENCE_TYPE_TEMPORARY) { in GetStoragePath()
358 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT); in GetStoragePath()
[all …]
H A DDirectoryLockImpl.h52 const Nullable<PersistenceType>& aPersistenceType,
61 PersistenceType aPersistenceType, in Create() argument
65 Nullable<PersistenceType>(aPersistenceType), in Create()
74 PersistenceType aPersistenceType, in CreateForEviction() argument
76 MOZ_ASSERT(aPersistenceType != PERSISTENCE_TYPE_INVALID); in CreateForEviction()
80 Nullable<PersistenceType>(aPersistenceType), in CreateForEviction()
90 const Nullable<PersistenceType>& aPersistenceType, in CreateInternal() argument
222 PersistenceType aPersistenceType,
231 const Nullable<PersistenceType>& aPersistenceType, in Create() argument
238 MOZ_ASSERT_IF(!aInternal, !aPersistenceType.IsNull()); in Create()
[all …]
H A DPersistenceType.cpp137 Maybe<T> TypeTo_impl(const PersistenceType aPersistenceType) { in TypeTo_impl() argument
138 switch (aPersistenceType) { in TypeTo_impl()
174 bool IsValidPersistenceType(const PersistenceType aPersistenceType) { in IsValidPersistenceType() argument
175 switch (aPersistenceType) { in IsValidPersistenceType()
186 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType) { in IsBestEffortPersistenceType() argument
187 switch (aPersistenceType) { in IsBestEffortPersistenceType()
200 const PersistenceType aPersistenceType) { in PersistenceTypeToString() argument
201 const auto maybeString = TypeTo_impl<nsLiteralCString>(aPersistenceType); in PersistenceTypeToString()
222 const PersistenceType aPersistenceType) { in PersistenceTypeToStorageType() argument
223 const auto maybeStorageType = TypeTo_impl<StorageType>(aPersistenceType); in PersistenceTypeToStorageType()
/dports/www/firefox/firefox-99.0/dom/quota/
H A DFileStreams.h45 FileQuotaStream(PersistenceType aPersistenceType, in FileQuotaStream() argument
48 : mPersistenceType(aPersistenceType), in FileQuotaStream()
69 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
72 : FileQuotaStream<FileStreamBase>(aPersistenceType, aOriginMetadata, in FileQuotaStreamWithWrite()
81 FileInputStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
84 : FileQuotaStream<nsFileInputStream>(aPersistenceType, aOriginMetadata, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
96 FileOutputStream(PersistenceType aPersistenceType, in FileOutputStream() argument
100 aPersistenceType, aOriginMetadata, aClientType) {} in FileOutputStream()
111 FileStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
113 : FileQuotaStreamWithWrite<nsFileStream>(aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
[all …]
H A DPersistenceType.h35 bool IsValidPersistenceType(PersistenceType aPersistenceType);
37 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType);
39 nsLiteralCString PersistenceTypeToString(PersistenceType aPersistenceType);
46 StorageType PersistenceTypeToStorageType(PersistenceType aPersistenceType);
59 const PersistenceType aPersistenceType) { in ComplementaryPersistenceType() argument
60 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
61 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
63 if (aPersistenceType == PERSISTENCE_TYPE_DEFAULT) { in ComplementaryPersistenceType()
H A DQuotaManager.h174 UsageInfo GetUsageForClient(PersistenceType aPersistenceType,
178 void UpdateOriginAccessTime(PersistenceType aPersistenceType,
183 void RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
226 nsIFile* aDirectory, PersistenceType aPersistenceType);
252 const Nullable<PersistenceType>& aPersistenceType,
308 const Nullable<PersistenceType>& aPersistenceType,
312 void OriginClearCompleted(PersistenceType aPersistenceType,
349 if (aPersistenceType == PERSISTENCE_TYPE_PERSISTENT) { in GetStoragePath()
353 if (aPersistenceType == PERSISTENCE_TYPE_TEMPORARY) { in GetStoragePath()
357 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT); in GetStoragePath()
[all …]
H A DDirectoryLockImpl.h52 const Nullable<PersistenceType>& aPersistenceType,
61 PersistenceType aPersistenceType, in Create() argument
65 Nullable<PersistenceType>(aPersistenceType), in Create()
74 PersistenceType aPersistenceType, in CreateForEviction() argument
76 MOZ_ASSERT(aPersistenceType != PERSISTENCE_TYPE_INVALID); in CreateForEviction()
80 Nullable<PersistenceType>(aPersistenceType), in CreateForEviction()
90 const Nullable<PersistenceType>& aPersistenceType, in CreateInternal() argument
222 PersistenceType aPersistenceType,
231 const Nullable<PersistenceType>& aPersistenceType, in Create() argument
238 MOZ_ASSERT_IF(!aInternal, !aPersistenceType.IsNull()); in Create()
[all …]
H A DPersistenceType.cpp137 Maybe<T> TypeTo_impl(const PersistenceType aPersistenceType) { in TypeTo_impl() argument
138 switch (aPersistenceType) { in TypeTo_impl()
174 bool IsValidPersistenceType(const PersistenceType aPersistenceType) { in IsValidPersistenceType() argument
175 switch (aPersistenceType) { in IsValidPersistenceType()
186 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType) { in IsBestEffortPersistenceType() argument
187 switch (aPersistenceType) { in IsBestEffortPersistenceType()
200 const PersistenceType aPersistenceType) { in PersistenceTypeToString() argument
201 const auto maybeString = TypeTo_impl<nsLiteralCString>(aPersistenceType); in PersistenceTypeToString()
222 const PersistenceType aPersistenceType) { in PersistenceTypeToStorageType() argument
223 const auto maybeStorageType = TypeTo_impl<StorageType>(aPersistenceType); in PersistenceTypeToStorageType()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/quota/
H A DFileStreams.h45 FileQuotaStream(PersistenceType aPersistenceType, in FileQuotaStream() argument
48 : mPersistenceType(aPersistenceType), in FileQuotaStream()
69 FileQuotaStreamWithWrite(PersistenceType aPersistenceType, in FileQuotaStreamWithWrite() argument
72 : FileQuotaStream<FileStreamBase>(aPersistenceType, aOriginMetadata, in FileQuotaStreamWithWrite()
81 FileInputStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
84 : FileQuotaStream<nsFileInputStream>(aPersistenceType, aOriginMetadata, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
96 FileOutputStream(PersistenceType aPersistenceType, in FileOutputStream() argument
100 aPersistenceType, aOriginMetadata, aClientType) {} in FileOutputStream()
111 FileStream(PersistenceType aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
113 : FileQuotaStreamWithWrite<nsFileStream>(aPersistenceType, in NS_INLINE_DECL_REFCOUNTING_INHERITED()
[all …]
H A DPersistenceType.h35 bool IsValidPersistenceType(PersistenceType aPersistenceType);
37 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType);
39 nsLiteralCString PersistenceTypeToString(PersistenceType aPersistenceType);
46 StorageType PersistenceTypeToStorageType(PersistenceType aPersistenceType);
59 const PersistenceType aPersistenceType) { in ComplementaryPersistenceType() argument
60 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT || in ComplementaryPersistenceType()
61 aPersistenceType == PERSISTENCE_TYPE_TEMPORARY); in ComplementaryPersistenceType()
63 if (aPersistenceType == PERSISTENCE_TYPE_DEFAULT) { in ComplementaryPersistenceType()
H A DQuotaManager.h175 UsageInfo GetUsageForClient(PersistenceType aPersistenceType,
179 void UpdateOriginAccessTime(PersistenceType aPersistenceType,
184 void RemoveQuotaForOrigin(PersistenceType aPersistenceType, in RemoveQuotaForOrigin() argument
227 nsIFile* aDirectory, PersistenceType aPersistenceType);
253 const Nullable<PersistenceType>& aPersistenceType,
309 const Nullable<PersistenceType>& aPersistenceType,
313 void OriginClearCompleted(PersistenceType aPersistenceType,
350 if (aPersistenceType == PERSISTENCE_TYPE_PERSISTENT) { in GetStoragePath()
354 if (aPersistenceType == PERSISTENCE_TYPE_TEMPORARY) { in GetStoragePath()
358 MOZ_ASSERT(aPersistenceType == PERSISTENCE_TYPE_DEFAULT); in GetStoragePath()
[all …]
H A DDirectoryLockImpl.h52 const Nullable<PersistenceType>& aPersistenceType,
61 PersistenceType aPersistenceType, in Create() argument
65 Nullable<PersistenceType>(aPersistenceType), in Create()
74 PersistenceType aPersistenceType, in CreateForEviction() argument
76 MOZ_ASSERT(aPersistenceType != PERSISTENCE_TYPE_INVALID); in CreateForEviction()
80 Nullable<PersistenceType>(aPersistenceType), in CreateForEviction()
90 const Nullable<PersistenceType>& aPersistenceType, in CreateInternal() argument
222 PersistenceType aPersistenceType,
231 const Nullable<PersistenceType>& aPersistenceType, in Create() argument
238 MOZ_ASSERT_IF(!aInternal, !aPersistenceType.IsNull()); in Create()
[all …]
H A DPersistenceType.cpp137 Maybe<T> TypeTo_impl(const PersistenceType aPersistenceType) { in TypeTo_impl() argument
138 switch (aPersistenceType) { in TypeTo_impl()
174 bool IsValidPersistenceType(const PersistenceType aPersistenceType) { in IsValidPersistenceType() argument
175 switch (aPersistenceType) { in IsValidPersistenceType()
186 bool IsBestEffortPersistenceType(const PersistenceType aPersistenceType) { in IsBestEffortPersistenceType() argument
187 switch (aPersistenceType) { in IsBestEffortPersistenceType()
200 const PersistenceType aPersistenceType) { in PersistenceTypeToString() argument
201 const auto maybeString = TypeTo_impl<nsLiteralCString>(aPersistenceType); in PersistenceTypeToString()
222 const PersistenceType aPersistenceType) { in PersistenceTypeToStorageType() argument
223 const auto maybeStorageType = TypeTo_impl<StorageType>(aPersistenceType); in PersistenceTypeToStorageType()
/dports/www/firefox-esr/firefox-91.8.0/dom/indexedDB/
H A DIndexedDatabaseManager.cpp88 PersistenceType aPersistenceType);
91 PersistenceType aPersistenceType) const { in GetImmutableArray()
688 return info->GetFileManager(aPersistenceType, aDatabaseName); in GetFileManager()
721 info->InvalidateAndRemoveFileManagers(aPersistenceType); in InvalidateFileManagers()
847 const auto& managers = GetImmutableArray(aPersistenceType); in GetFileManager()
887 PersistenceType aPersistenceType) { in InvalidateAndRemoveFileManagers() argument
891 GetArray(aPersistenceType); in InvalidateAndRemoveFileManagers()
901 PersistenceType aPersistenceType, const nsAString& aName) { in InvalidateAndRemoveFileManager() argument
904 auto& managers = GetArray(aPersistenceType); in InvalidateAndRemoveFileManager()
916 PersistenceType aPersistenceType) { in GetArray() argument
[all …]

123456