/dports/www/firefox/firefox-99.0/xpcom/base/ |
H A D | AppShutdown.cpp | 73 static ShutdownPhase sFastShutdownPhase = ShutdownPhase::NotInShutdown; 74 static ShutdownPhase sLateWriteChecksPhase = ShutdownPhase::NotInShutdown; 76 static Atomic<ShutdownPhase> sCurrentShutdownPhase( 77 ShutdownPhase::NotInShutdown); 94 return ShutdownPhase::CCPostLastCycleCollection; in GetShutdownPhaseFromPrefValue() 96 return ShutdownPhase::XPCOMShutdownThreads; in GetShutdownPhaseFromPrefValue() 98 return ShutdownPhase::XPCOMShutdown; in GetShutdownPhaseFromPrefValue() 103 return ShutdownPhase::NotInShutdown; in GetShutdownPhaseFromPrefValue() 317 return phase == ShutdownPhase::NotInShutdown || in IsNoOrLegalShutdownTopic() 382 return static_cast<ShutdownPhase>(i); in GetShutdownPhaseFromTopic() [all …]
|
H A D | ClearOnShutdown.h | 100 ShutdownPhase aPhase); 104 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 106 extern ShutdownPhase sCurrentClearOnShutdownPhase; 112 SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 116 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 124 ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 128 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 134 inline bool PastShutdownPhase(ShutdownPhase aPhase) { in PastShutdownPhase() 143 void KillClearOnShutdown(ShutdownPhase aPhase);
|
H A D | AppShutdown.h | 24 static ShutdownPhase GetCurrentShutdownPhase(); 25 static bool IsInOrBeyond(ShutdownPhase aPhase); 76 ShutdownPhase aPhase, const char16_t* aNotificationData = nullptr, 85 static void AdvanceShutdownPhaseWithoutNotify(ShutdownPhase aPhase); 91 static void MaybeFastShutdown(ShutdownPhase aPhase); 96 static const char* GetObserverKey(ShutdownPhase aPhase); 101 static ShutdownPhase GetShutdownPhaseFromTopic(const char* aTopic);
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 15 ShutdownPhase sCurrentClearOnShutdownPhase = ShutdownPhase::NotInShutdown; 17 void InsertIntoShutdownList(ShutdownObserver* aObserver, ShutdownPhase aPhase) { in InsertIntoShutdownList() 36 void KillClearOnShutdown(ShutdownPhase aPhase) { in KillClearOnShutdown() 50 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in KillClearOnShutdown()
|
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/base/ |
H A D | AppShutdown.cpp | 73 static ShutdownPhase sFastShutdownPhase = ShutdownPhase::NotInShutdown; 74 static ShutdownPhase sLateWriteChecksPhase = ShutdownPhase::NotInShutdown; 77 static Atomic<ShutdownPhase> sCurrentShutdownPhase( 78 ShutdownPhase::NotInShutdown); 95 return ShutdownPhase::CCPostLastCycleCollection; in GetShutdownPhaseFromPrefValue() 97 return ShutdownPhase::XPCOMShutdownThreads; in GetShutdownPhaseFromPrefValue() 99 return ShutdownPhase::XPCOMShutdown; in GetShutdownPhaseFromPrefValue() 104 return ShutdownPhase::NotInShutdown; in GetShutdownPhaseFromPrefValue() 323 return phase == ShutdownPhase::NotInShutdown || in IsNoOrLegalShutdownTopic() 388 return static_cast<ShutdownPhase>(i); in GetShutdownPhaseFromTopic() [all …]
|
H A D | ClearOnShutdown.h | 100 ShutdownPhase aPhase); 104 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 106 extern ShutdownPhase sCurrentClearOnShutdownPhase; 112 SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 116 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 124 ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 128 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 134 inline bool PastShutdownPhase(ShutdownPhase aPhase) { in PastShutdownPhase() 143 void KillClearOnShutdown(ShutdownPhase aPhase);
|
H A D | AppShutdown.h | 23 static ShutdownPhase GetCurrentShutdownPhase(); 24 static bool IsInOrBeyond(ShutdownPhase aPhase); 75 ShutdownPhase aPhase, const char16_t* aNotificationData = nullptr, 84 static void AdvanceShutdownPhaseWithoutNotify(ShutdownPhase aPhase); 90 static void MaybeFastShutdown(ShutdownPhase aPhase); 95 static const char* GetObserverKey(ShutdownPhase aPhase); 100 static ShutdownPhase GetShutdownPhaseFromTopic(const char* aTopic);
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 15 ShutdownPhase sCurrentClearOnShutdownPhase = ShutdownPhase::NotInShutdown; 17 void InsertIntoShutdownList(ShutdownObserver* aObserver, ShutdownPhase aPhase) { in InsertIntoShutdownList() 36 void KillClearOnShutdown(ShutdownPhase aPhase) { in KillClearOnShutdown() 50 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in KillClearOnShutdown()
|
/dports/www/firefox-esr/firefox-91.8.0/xpcom/base/ |
H A D | AppShutdown.cpp | 73 static ShutdownPhase sFastShutdownPhase = ShutdownPhase::NotInShutdown; 74 static ShutdownPhase sLateWriteChecksPhase = ShutdownPhase::NotInShutdown; 77 static Atomic<ShutdownPhase> sCurrentShutdownPhase( 78 ShutdownPhase::NotInShutdown); 95 return ShutdownPhase::CCPostLastCycleCollection; in GetShutdownPhaseFromPrefValue() 97 return ShutdownPhase::XPCOMShutdownThreads; in GetShutdownPhaseFromPrefValue() 99 return ShutdownPhase::XPCOMShutdown; in GetShutdownPhaseFromPrefValue() 104 return ShutdownPhase::NotInShutdown; in GetShutdownPhaseFromPrefValue() 323 return phase == ShutdownPhase::NotInShutdown || in IsNoOrLegalShutdownTopic() 388 return static_cast<ShutdownPhase>(i); in GetShutdownPhaseFromTopic() [all …]
|
H A D | ClearOnShutdown.h | 100 ShutdownPhase aPhase); 104 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 106 extern ShutdownPhase sCurrentClearOnShutdownPhase; 112 SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 116 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 124 ShutdownPhase aPhase = ShutdownPhase::XPCOMShutdownFinal) { 128 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 134 inline bool PastShutdownPhase(ShutdownPhase aPhase) { in PastShutdownPhase() 143 void KillClearOnShutdown(ShutdownPhase aPhase);
|
H A D | AppShutdown.h | 23 static ShutdownPhase GetCurrentShutdownPhase(); 24 static bool IsInOrBeyond(ShutdownPhase aPhase); 75 ShutdownPhase aPhase, const char16_t* aNotificationData = nullptr, 84 static void AdvanceShutdownPhaseWithoutNotify(ShutdownPhase aPhase); 90 static void MaybeFastShutdown(ShutdownPhase aPhase); 95 static const char* GetObserverKey(ShutdownPhase aPhase); 100 static ShutdownPhase GetShutdownPhaseFromTopic(const char* aTopic);
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 15 ShutdownPhase sCurrentClearOnShutdownPhase = ShutdownPhase::NotInShutdown; 17 void InsertIntoShutdownList(ShutdownObserver* aObserver, ShutdownPhase aPhase) { in InsertIntoShutdownList() 36 void KillClearOnShutdown(ShutdownPhase aPhase) { in KillClearOnShutdown() 50 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in KillClearOnShutdown()
|
/dports/www/firefox/firefox-99.0/toolkit/components/terminator/ |
H A D | nsTerminator.cpp | 84 mozilla::ShutdownPhase mPhase; 94 ShutdownStep(mozilla::ShutdownPhase::AppShutdownTeardown), 95 ShutdownStep(mozilla::ShutdownPhase::AppShutdown), 96 ShutdownStep(mozilla::ShutdownPhase::AppShutdownQM), 97 ShutdownStep(mozilla::ShutdownPhase::XPCOMWillShutdown), 98 ShutdownStep(mozilla::ShutdownPhase::XPCOMShutdown), 103 int GetStepForPhase(mozilla::ShutdownPhase aPhase) { in GetStepForPhase() 211 mozilla::ShutdownPhase lastStep = mozilla::ShutdownPhase::NotInShutdown; in RunWatchdog() 415 AdvancePhase(mozilla::ShutdownPhase::AppShutdown); in Observe() 417 AdvancePhase(mozilla::ShutdownPhase::AppShutdownQM); in Observe() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/terminator/ |
H A D | nsTerminator.cpp | 83 mozilla::ShutdownPhase mPhase; 93 ShutdownStep(mozilla::ShutdownPhase::AppShutdownTeardown), 94 ShutdownStep(mozilla::ShutdownPhase::AppShutdown), 95 ShutdownStep(mozilla::ShutdownPhase::AppShutdownQM), 96 ShutdownStep(mozilla::ShutdownPhase::XPCOMWillShutdown), 97 ShutdownStep(mozilla::ShutdownPhase::XPCOMShutdown), 102 int GetStepForPhase(mozilla::ShutdownPhase aPhase) { in GetStepForPhase() 201 mozilla::ShutdownPhase lastStep = mozilla::ShutdownPhase::NotInShutdown; in RunWatchdog() 405 AdvancePhase(mozilla::ShutdownPhase::AppShutdown); in Observe() 407 AdvancePhase(mozilla::ShutdownPhase::AppShutdownQM); in Observe() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/toolkit/components/terminator/ |
H A D | nsTerminator.cpp | 83 mozilla::ShutdownPhase mPhase; 93 ShutdownStep(mozilla::ShutdownPhase::AppShutdownTeardown), 94 ShutdownStep(mozilla::ShutdownPhase::AppShutdown), 95 ShutdownStep(mozilla::ShutdownPhase::AppShutdownQM), 96 ShutdownStep(mozilla::ShutdownPhase::XPCOMWillShutdown), 97 ShutdownStep(mozilla::ShutdownPhase::XPCOMShutdown), 102 int GetStepForPhase(mozilla::ShutdownPhase aPhase) { in GetStepForPhase() 201 mozilla::ShutdownPhase lastStep = mozilla::ShutdownPhase::NotInShutdown; in RunWatchdog() 405 AdvancePhase(mozilla::ShutdownPhase::AppShutdown); in Observe() 407 AdvancePhase(mozilla::ShutdownPhase::AppShutdownQM); in Observe() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/base/ |
H A D | ClearOnShutdown.h | 99 ShutdownPhase aPhase); 103 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 105 extern ShutdownPhase sCurrentShutdownPhase; 111 SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::ShutdownFinal) { 115 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 122 ShutdownPhase aPhase = ShutdownPhase::ShutdownFinal) { 126 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 134 void KillClearOnShutdown(ShutdownPhase aPhase);
|
H A D | AppShutdown.cpp | 34 static ShutdownPhase sFastShutdownPhase = ShutdownPhase::NotInShutdown; 35 static ShutdownPhase sLateWriteChecksPhase = ShutdownPhase::NotInShutdown; 50 ShutdownPhase GetShutdownPhaseFromPrefValue(int32_t aPrefValue) { in GetShutdownPhaseFromPrefValue() 53 return ShutdownPhase::ShutdownPostLastCycleCollection; in GetShutdownPhaseFromPrefValue() 55 return ShutdownPhase::ShutdownThreads; in GetShutdownPhaseFromPrefValue() 57 return ShutdownPhase::Shutdown; in GetShutdownPhaseFromPrefValue() 62 return ShutdownPhase::NotInShutdown; in GetShutdownPhaseFromPrefValue() 148 void AppShutdown::MaybeFastShutdown(ShutdownPhase aPhase) { in MaybeFastShutdown()
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 15 ShutdownPhase sCurrentShutdownPhase = ShutdownPhase::NotInShutdown; 17 void InsertIntoShutdownList(ShutdownObserver* aObserver, ShutdownPhase aPhase) { in InsertIntoShutdownList() 37 void KillClearOnShutdown(ShutdownPhase aPhase) { in KillClearOnShutdown() 48 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in KillClearOnShutdown()
|
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/base/ |
H A D | ClearOnShutdown.h | 46 enum class ShutdownPhase { enum 83 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 85 extern ShutdownPhase sCurrentShutdownPhase; 91 SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::ShutdownFinal) { 95 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); 114 void KillClearOnShutdown(ShutdownPhase aPhase);
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> 15 ShutdownPhase sCurrentShutdownPhase = ShutdownPhase::NotInShutdown; 21 void KillClearOnShutdown(ShutdownPhase aPhase) { in KillClearOnShutdown() 32 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in KillClearOnShutdown()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/xpcom/base/ |
H A D | ClearOnShutdown.h | 46 enum class ShutdownPhase { in vla() 91 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> sShutdownObservers; in vla() 92 extern ShutdownPhase sCurrentShutdownPhase; in vla() 98 ClearOnShutdown(SmartPtr* aPtr, ShutdownPhase aPhase = ShutdownPhase::ShutdownFinal) in vla() 103 MOZ_ASSERT(aPhase != ShutdownPhase::ShutdownPhase_Length); in vla() 120 void KillClearOnShutdown(ShutdownPhase aPhase); in vla()
|
H A D | ClearOnShutdown.cpp | 13 static_cast<size_t>(ShutdownPhase::ShutdownPhase_Length)> sShutdownObservers; in foo() 14 ShutdownPhase sCurrentShutdownPhase = ShutdownPhase::NotInShutdown; in foo() 21 KillClearOnShutdown(ShutdownPhase aPhase) in foo() 32 for (size_t phase = static_cast<size_t>(ShutdownPhase::First); in foo()
|
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/build/ |
H A D | XPCOMInit.cpp | 608 mozilla::KillClearOnShutdown(ShutdownPhase::WillShutdown); in ShutdownXPCOM() 610 mozilla::ShutdownPhase::WillShutdown); in ShutdownXPCOM() 617 mozilla::KillClearOnShutdown(ShutdownPhase::Shutdown); in ShutdownXPCOM() 619 mozilla::ShutdownPhase::Shutdown); in ShutdownXPCOM() 636 mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownThreads); in ShutdownXPCOM() 638 mozilla::ShutdownPhase::ShutdownThreads); in ShutdownXPCOM() 653 mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownLoaders); in ShutdownXPCOM() 661 mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownFinal); in ShutdownXPCOM() 681 mozilla::ShutdownPhase::ShutdownFinal); in ShutdownXPCOM() 724 mozilla::KillClearOnShutdown(ShutdownPhase::ShutdownPostLastCycleCollection); in ShutdownXPCOM() [all …]
|
/dports/www/firefox/firefox-99.0/toolkit/components/glean/ipc/ |
H A D | Support.cpp | 16 using mozilla::ShutdownPhase; 23 if (AppShutdown::IsInOrBeyond(ShutdownPhase::AppShutdownConfirmed)) { in FOG_RegisterContentChildShutdown() 31 ShutdownPhase::AppShutdownConfirmed); in FOG_RegisterContentChildShutdown()
|
/dports/mail/thunderbird/thunderbird-91.8.0/toolkit/components/startup/ |
H A D | nsAppStartup.cpp | 448 mozilla::ShutdownPhase::AppShutdownConfirmed, in Quit() 477 int(mozilla::ShutdownPhase::NotInShutdown) && 483 int(mozilla::ShutdownPhase::AppShutdownTeardown) && 485 int(mozilla::ShutdownPhase::AppShutdown) && 487 int(mozilla::ShutdownPhase::AppShutdownQM) && 491 int(mozilla::ShutdownPhase::XPCOMWillShutdown) && 493 int(mozilla::ShutdownPhase::XPCOMShutdown), 497 Result<ShutdownPhase, nsresult> IDLShutdownPhaseToNative( in IDLShutdownPhaseToNative() 500 return ShutdownPhase(aPhase); in IDLShutdownPhaseToNative() 507 ShutdownPhase nativePhase; in AdvanceShutdownPhase() [all …]
|