Name Description Size
Action.cpp 839
Action.h 3720
ActorChild.cpp 1671
ActorChild.h 980
ActorUtils.h 1531
AutoUtils.cpp 18380
AutoUtils.h 3218
Cache.cpp 18663
Cache.h 4124
CacheChild.cpp 4408
CacheChild.h 2414
CacheCommon.cpp 352
CacheCommon.h 495
CacheOpChild.cpp 7260
CacheOpChild.h 2268
CacheOpParent.cpp 10832
CacheOpParent.h 2485
CacheParent.cpp 2136
CacheParent.h 1356
CacheStorage.cpp 18789
CacheStorage.h 3693
CacheStorageChild.cpp 3980
CacheStorageChild.h 2324
CacheStorageParent.cpp 4015
CacheStorageParent.h 1801
CacheStreamControlChild.cpp 5448
CacheStreamControlChild.h 2200
CacheStreamControlParent.cpp 5190
CacheStreamControlParent.h 2592
CacheTypes.ipdlh 4263
CacheWorkerRef.cpp 4481
CacheWorkerRef.h 1676
Connection.cpp 7663
Connection.h 926
Context.cpp 34863
Context.h 7836
DBAction.cpp 7622
DBAction.h 2436
DBSchema.cpp 110464
DBSchema.h 3854
FileUtils.cpp 26620
FileUtils.h This function is used to check if the directory padding file is existed. 5155
FileUtilsImpl.h aTrackQuota 3769
IPCUtils.h 1093
Manager.cpp Note: The aCommitHook argument will be invoked while a lock is held. Callers should be careful not to pass a hook that might lock on something else and trigger a deadlock. 72124
Manager.h 10180
ManagerId.cpp 1991
ManagerId.h 1601
moz.build 2246
PCache.ipdl 719
PCacheOp.ipdl 784
PCacheStorage.ipdl 751
PCacheStreamControl.ipdl 753
PrincipalVerifier.cpp 5920
PrincipalVerifier.h 2435
QuotaClient.cpp aTrackQuota 19421
QuotaClient.h The following functions are used to access the directory padding file. The directory padding file lives in DOM Cache base directory (e.g. foo.com/cache/.padding). It is used to keep the current overall padding size for an origin, so that the QuotaManager doesn't need to access the database when getting quota clients' usage. For the directory padding file, it's only accessed on Quota IO thread (for getting current usage) and Cache IO threads (for tracking padding size change). Besides, the padding file is protected by a mutex lock held by CacheQuotaClient. Each padding file should only take 8 bytes (int64_t) to record the overall padding size. Besides, we use the temporary padding file to indicate if the previous action is completed successfully. If the temporary file exists, it represents that the previous action is failed and the content of padding file cannot be trusted, and we need to restore the padding file from the database. 1979
QuotaClientImpl.h 4959
ReadStream.cpp 18059
ReadStream.h 3900
SavedTypes.h 1401
StreamControl.cpp 2296
StreamControl.h 2734
StreamList.cpp 4527
StreamList.h 2054
test 3
Types.h 1384
TypeUtils.cpp 16529
TypeUtils.h 5191