/dports/www/firefox-esr/firefox-91.8.0/netwerk/cache/ |
H A D | nsDeleteDir.cpp | 26 nsDeleteDir::gInstance->mNotified = true; in Run() 44 gInstance = new nsDeleteDir(); in Init() 54 MutexAutoLock lock(gInstance->mLock); in Shutdown() 57 gInstance->mShutdownPending = true; in Shutdown() 87 gInstance->mNotified = false; in Shutdown() 88 while (!gInstance->mNotified) { in Shutdown() 89 gInstance->mCondVar.Wait(); in Shutdown() 94 delete gInstance; in Shutdown() 130 MutexAutoLock lock(gInstance->mLock); in TimerCallback() 158 MutexAutoLock lock(gInstance->mLock); in TimerCallback() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/cache/ |
H A D | nsDeleteDir.cpp | 26 nsDeleteDir::gInstance->mNotified = true; in Run() 44 gInstance = new nsDeleteDir(); in Init() 54 MutexAutoLock lock(gInstance->mLock); in Shutdown() 57 gInstance->mShutdownPending = true; in Shutdown() 87 gInstance->mNotified = false; in Shutdown() 88 while (!gInstance->mNotified) { in Shutdown() 89 gInstance->mCondVar.Wait(); in Shutdown() 94 delete gInstance; in Shutdown() 130 MutexAutoLock lock(gInstance->mLock); in TimerCallback() 158 MutexAutoLock lock(gInstance->mLock); in TimerCallback() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/cache/ |
H A D | nsDeleteDir.cpp | 26 nsDeleteDir::gInstance->mNotified = true; in Run() 48 gInstance = new nsDeleteDir(); in Init() 58 MutexAutoLock lock(gInstance->mLock); in Shutdown() 61 gInstance->mShutdownPending = true; in Shutdown() 91 gInstance->mNotified = false; in Shutdown() 92 while (!gInstance->mNotified) { in Shutdown() 93 gInstance->mCondVar.Wait(); in Shutdown() 98 delete gInstance; in Shutdown() 132 MutexAutoLock lock(gInstance->mLock); in TimerCallback() 160 MutexAutoLock lock(gInstance->mLock); in TimerCallback() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/cache/ |
H A D | nsDeleteDir.cpp | 50 gInstance = new nsDeleteDir(); in Init() 60 MutexAutoLock lock(gInstance->mLock); in Shutdown() 63 gInstance->mShutdownPending = true; in Shutdown() 82 thread.swap(gInstance->mThread); in Shutdown() 93 gInstance->mNotified = false; in Shutdown() 94 while (!gInstance->mNotified) { in Shutdown() 95 gInstance->mCondVar.Wait(); in Shutdown() 101 delete gInstance; in Shutdown() 139 MutexAutoLock lock(gInstance->mLock); in TimerCallback() 168 gInstance->DestroyThread(); in TimerCallback() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/cache/ |
H A D | nsDeleteDir.cpp | 49 gInstance = nullptr; in ~nsDeleteDir() 55 if (gInstance) in Init() 58 gInstance = new nsDeleteDir(); in Init() 65 if (!gInstance) in Shutdown() 95 thread.swap(gInstance->mThread); in Shutdown() 106 gInstance->mNotified = false; in Shutdown() 108 gInstance->mCondVar.Wait(); in Shutdown() 114 delete gInstance; in Shutdown() 189 gInstance->DestroyThread(); in TimerCallback() 198 if (!gInstance) in DeleteDir() [all …]
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/standalone/examples/standalone/source/ |
H A D | testabout.cpp | 19 About::Ptr About::gInstance; member in MyApp::About 24 if (gInstance) in show() 26 gInstance->window->activate (); in show() 29 gInstance = std::unique_ptr<About> (new About ()); in show() 32 if (gInstance && value.getValue () > 0.) in show() 33 gInstance->window->close (); in show() 43 gInstance->window = UIDesc::makeWindow (config); in show() 44 if (gInstance->window) in show() 46 gInstance->window->registerWindowListener (gInstance.get ()); in show() 47 gInstance->window->show (); in show() [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/vstgui.surge/vstgui/standalone/examples/standalone/source/ |
H A D | testabout.cpp | 19 About::Ptr About::gInstance; member in MyApp::About 24 if (gInstance) in show() 26 gInstance->window->activate (); in show() 29 gInstance = std::unique_ptr<About> (new About ()); in show() 32 if (gInstance && value.getValue () > 0.) in show() 33 gInstance->window->close (); in show() 43 gInstance->window = UIDesc::makeWindow (config); in show() 44 if (gInstance->window) in show() 46 gInstance->window->registerWindowListener (gInstance.get ()); in show() 47 gInstance->window->show (); in show() [all …]
|
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/utils/libfat/ |
H A D | libfat_public_api.c | 19 struct Instance* gInstance = NULL; variable 33 int have = gInstance->size_bytes - loc; in MEDIUM_io() 37 memcpy((uint8_t*)gInstance->buffer + loc,buffer,todo); in MEDIUM_io() 39 memcpy(buffer,(uint8_t*)gInstance->buffer + loc,todo); in MEDIUM_io() 78 gInstance = &sInstance; in LIBFAT_Init() 79 gInstance->buffer = buffer; in LIBFAT_Init() 80 gInstance->size_bytes = size_bytes; in LIBFAT_Init() 82 gInstance->devops = GetDeviceOpTab(NULL); in LIBFAT_Init() 102 gInstance->devops->close_r(&r, fd); in LIBFAT_WriteFile() 111 fatUnmountDirect(gInstance->devops); in LIBFAT_Shutdown() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/ |
H A D | ThreadPool.cpp | 29 if (nullptr != gInstance) { in init() 31 return gInstance->number(); in init() 34 if (nullptr == gInstance) { in init() 41 if (nullptr != gInstance) { in destroy() 42 delete gInstance; in destroy() 43 gInstance = nullptr; in destroy() 210 if (nullptr == gInstance) { in ThreadPool() 223 if (nullptr == gInstance) { in ThreadPool() 234 if (nullptr == gInstance) { in ThreadPool() 244 if (nullptr == gInstance) { in ThreadPool() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/crypto/ |
H A D | WebCryptoThreadPool.cpp | 20 StaticRefPtr<WebCryptoThreadPool> gInstance; variable 28 MOZ_ASSERT(!gInstance, "More than one instance!"); in NS_IMPL_ISUPPORTS() 30 gInstance = new WebCryptoThreadPool(); in NS_IMPL_ISUPPORTS() 31 NS_WARNING_ASSERTION(gInstance, "Failed create thread pool!"); in NS_IMPL_ISUPPORTS() 33 if (gInstance && NS_FAILED(gInstance->Init())) { in NS_IMPL_ISUPPORTS() 35 gInstance = nullptr; in NS_IMPL_ISUPPORTS() 42 if (gInstance) { in Dispatch() 43 return gInstance->DispatchInternal(aRunnable); in Dispatch() 110 if (gInstance) { in Observe() 111 gInstance->Shutdown(); in Observe() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/base/ |
H A D | SSLTokensCache.cpp | 87 MOZ_ASSERT(!gInstance); in NS_IMPL_ISUPPORTS() 100 if (!gInstance) { in Shutdown() 106 gInstance = nullptr; in Shutdown() 126 if (!gInstance) { in Put() 235 gInstance->LogStats(); in Put() 237 gInstance->EvictIfNecessary(); in Put() 249 if (!gInstance) { in Get() 275 if (!gInstance) { in GetSessionCacheInfo() 297 if (!gInstance) { in Remove() 393 if (!gInstance) { in Clear() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/crypto/ |
H A D | WebCryptoThreadPool.cpp | 22 StaticRefPtr<WebCryptoThreadPool> gInstance; variable 28 MOZ_ASSERT(!gInstance, "More than one instance!"); in NS_IMPL_ISUPPORTS() 30 gInstance = new WebCryptoThreadPool(); in NS_IMPL_ISUPPORTS() 31 NS_WARNING_ASSERTION(gInstance, "Failed create thread pool!"); in NS_IMPL_ISUPPORTS() 33 if (gInstance && NS_FAILED(gInstance->Init())) { in NS_IMPL_ISUPPORTS() 35 gInstance = nullptr; in NS_IMPL_ISUPPORTS() 40 if (gInstance) { in Dispatch() 41 return gInstance->DispatchInternal(aRunnable); in Dispatch() 115 if (gInstance) { in Observe() 116 gInstance->Shutdown(); in Observe() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/netwerk/base/ |
H A D | SSLTokensCache.cpp | 89 MOZ_ASSERT(!gInstance); in NS_IMPL_ISUPPORTS() 102 if (!gInstance) { in Shutdown() 108 gInstance = nullptr; in Shutdown() 146 if (!gInstance) { in Put() 247 gInstance->LogStats(); in Put() 249 gInstance->EvictIfNecessary(); in Put() 261 if (!gInstance) { in Get() 287 if (!gInstance) { in GetSessionCacheInfo() 309 if (!gInstance) { in Remove() 406 if (!gInstance) { in Clear() [all …]
|
/dports/www/firefox/firefox-99.0/netwerk/base/ |
H A D | SSLTokensCache.cpp | 89 MOZ_ASSERT(!gInstance); in NS_IMPL_ISUPPORTS() 102 if (!gInstance) { in Shutdown() 108 gInstance = nullptr; in Shutdown() 146 if (!gInstance) { in Put() 247 gInstance->LogStats(); in Put() 249 gInstance->EvictIfNecessary(); in Put() 261 if (!gInstance) { in Get() 287 if (!gInstance) { in GetSessionCacheInfo() 309 if (!gInstance) { in Remove() 406 if (!gInstance) { in Clear() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/base/ |
H A D | SSLTokensCache.cpp | 89 MOZ_ASSERT(!gInstance); in NS_IMPL_ISUPPORTS() 102 if (!gInstance) { in Shutdown() 108 gInstance = nullptr; in Shutdown() 146 if (!gInstance) { in Put() 247 gInstance->LogStats(); in Put() 249 gInstance->EvictIfNecessary(); in Put() 261 if (!gInstance) { in Get() 287 if (!gInstance) { in GetSessionCacheInfo() 309 if (!gInstance) { in Remove() 406 if (!gInstance) { in Clear() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/bf16/ |
H A D | BF16Functions.cpp | 713 gInstance = new CoreFunctions; in init() 719 gInstance->bytes = 2; in init() 720 gInstance->pack = 4; in init() 721 gInstance->MNNPackCUnit = (decltype(gInstance->MNNPackCUnit))MNNPackC4Int16; in init() 722 gInstance->MNNUnpackCUnit = (decltype(gInstance->MNNUnpackCUnit))MNNUnpackC4Int16; in init() 724 …gInstance->MNNPackCUnitTranspose = (decltype(gInstance->MNNPackCUnitTranspose))MNNUnpackTransposeI… in init() 731 gInstance->penalty = 10.0f; in init() 744 gInstance->penalty = 1.5f; in init() 747 gInstance->MNNPackedMatMul = (decltype(gInstance->MNNPackedMatMul))MNNPackedMatMul_BF16; in init() 752 gInstance->MNNPoolingAvg = (decltype(gInstance->MNNPoolingAvg))(poolingAvg<int16_t, BFVec4, 4>); in init() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/arm82/ |
H A D | Arm82Functions.cpp | 511 static CoreFunctions* gInstance = nullptr; variable 516 gInstance = new CoreFunctions; in init() 520 gInstance->bytes = 2; in init() 523 gInstance->pack = 8; in init() 524 FUNC_PTR_ASSIGN(gInstance->MNNPackCUnit, MNNPackC8FP16); in init() 537 gInstance->penalty = 2.0f; in init() 554 …gInstance->MNNDeconvRunForLineDepthwise = (decltype(gInstance->MNNDeconvRunForLineDepthwise))_MNND… in init() 555 …gInstance->MNNDeconvRunForUnitDepthWise = (decltype(gInstance->MNNDeconvRunForUnitDepthWise))_MNND… in init() 564 …gInstance->MNNPoolingMax = (decltype(gInstance->MNNPoolingMax))(poolingMax<float16_t, Vec, 8, -655… in init() 565 gInstance->MNNPoolingAvg = (decltype(gInstance->MNNPoolingAvg))(poolingAvg<float16_t, Vec, 8>); in init() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/widget/android/ |
H A D | nsNativeBasicThemeAndroid.cpp | 11 static mozilla::StaticRefPtr<nsITheme> gInstance; in do_GetBasicNativeThemeDoNotUseDirectly() local 12 if (MOZ_UNLIKELY(!gInstance)) { in do_GetBasicNativeThemeDoNotUseDirectly() 13 gInstance = new nsNativeBasicThemeAndroid(); in do_GetBasicNativeThemeDoNotUseDirectly() 14 ClearOnShutdown(&gInstance); in do_GetBasicNativeThemeDoNotUseDirectly() 16 return do_AddRef(gInstance); in do_GetBasicNativeThemeDoNotUseDirectly()
|
/dports/www/firefox-esr/firefox-91.8.0/widget/android/ |
H A D | nsNativeBasicThemeAndroid.cpp | 11 static mozilla::StaticRefPtr<nsITheme> gInstance; in do_GetBasicNativeThemeDoNotUseDirectly() local 12 if (MOZ_UNLIKELY(!gInstance)) { in do_GetBasicNativeThemeDoNotUseDirectly() 13 gInstance = new nsNativeBasicThemeAndroid(); in do_GetBasicNativeThemeDoNotUseDirectly() 14 ClearOnShutdown(&gInstance); in do_GetBasicNativeThemeDoNotUseDirectly() 16 return do_AddRef(gInstance); in do_GetBasicNativeThemeDoNotUseDirectly()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/base/ |
H A D | NetworkActivityMonitor.cpp | 186 NS_ASSERTION(gInstance==nullptr, in NetworkActivityMonitor() 193 gInstance = nullptr; in ~NetworkActivityMonitor() 201 if (gInstance) in Init() 211 gInstance = mon; in Init() 218 if (!gInstance) in Shutdown() 221 delete gInstance; in Shutdown() 256 if (!gInstance) in AttachIOLayer() 283 if (gInstance) { in DataInOut() 286 gInstance->mBlipInterval) { in DataInOut() 287 gInstance->mLastNotificationTime[direction] = now; in DataInOut() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/xul/ |
H A D | nsRepeatService.cpp | 16 nsRepeatService* nsRepeatService::gInstance = nullptr; member in nsRepeatService 31 if (!gInstance) { in GetInstance() 32 gInstance = new nsRepeatService(); in GetInstance() 33 NS_IF_ADDREF(gInstance); in GetInstance() 35 return gInstance; in GetInstance() 41 NS_IF_RELEASE(gInstance); in Shutdown()
|
/dports/mail/thunderbird/thunderbird-91.8.0/widget/windows/ |
H A D | nsNativeBasicThemeWin.cpp | 21 static mozilla::StaticRefPtr<nsITheme> gInstance; in do_GetBasicNativeThemeDoNotUseDirectly() local 22 if (MOZ_UNLIKELY(!gInstance)) { in do_GetBasicNativeThemeDoNotUseDirectly() 23 gInstance = new nsNativeBasicThemeWin(); in do_GetBasicNativeThemeDoNotUseDirectly() 24 ClearOnShutdown(&gInstance); in do_GetBasicNativeThemeDoNotUseDirectly() 26 return do_AddRef(gInstance); in do_GetBasicNativeThemeDoNotUseDirectly()
|
/dports/www/firefox-esr/firefox-91.8.0/widget/windows/ |
H A D | nsNativeBasicThemeWin.cpp | 21 static mozilla::StaticRefPtr<nsITheme> gInstance; in do_GetBasicNativeThemeDoNotUseDirectly() local 22 if (MOZ_UNLIKELY(!gInstance)) { in do_GetBasicNativeThemeDoNotUseDirectly() 23 gInstance = new nsNativeBasicThemeWin(); in do_GetBasicNativeThemeDoNotUseDirectly() 24 ClearOnShutdown(&gInstance); in do_GetBasicNativeThemeDoNotUseDirectly() 26 return do_AddRef(gInstance); in do_GetBasicNativeThemeDoNotUseDirectly()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/system/gonk/ |
H A D | SystemWorkerManager.cpp | 49 SystemWorkerManager *gInstance = nullptr; variable 57 NS_ASSERTION(!gInstance, "There should only be one instance!"); in SystemWorkerManager() 63 NS_ASSERTION(!gInstance || gInstance == this, in ~SystemWorkerManager() 65 gInstance = nullptr; in ~SystemWorkerManager() 139 RefPtr<SystemWorkerManager> instance(gInstance); in FactoryCreate() 148 gInstance = instance; in FactoryCreate() 158 return gInstance; in GetInterfaceRequestor()
|
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/lib/animation/ |
H A D | animator.cpp | 122 if (gInstance) in removeAnimator() 133 gInstance->animators.remove (animator); in removeAnimator() 134 if (gInstance->animators.empty ()) in removeAnimator() 136 gInstance->forget (); in removeAnimator() 137 gInstance = nullptr; in removeAnimator() 146 if (gInstance == nullptr) in getInstance() 147 gInstance = new Timer; in getInstance() 148 return gInstance; in getInstance() 168 gInstance = nullptr; in ~Timer() 192 static Timer* gInstance; member in VSTGUI::Animation::Detail::Timer [all …]
|