Home
last modified time | relevance | path

Searched refs:aTopic (Results 1 – 25 of 2498) sorted by relevance

12345678910>>...100

/dports/www/firefox/firefox-99.0/xpcom/ds/
H A DnsObserverService.cpp189 strcmp(aTopic, "http-on-opening-request") && in FilterHttpOnTopics()
190 strcmp(aTopic, "http-on-stop-request") && in FilterHttpOnTopics()
191 strcmp(aTopic, "http-on-image-cache-response")) { in FilterHttpOnTopics()
215 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
219 MOZ_TRY(FilterHttpOnTopics(aTopic)); in AddObserver()
239 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
277 if (NS_WARN_IF(!aTopic)) { in NotifyObservers()
324 return mObserverTopicTable.Contains(aTopic); in HasObservers()
336 mTopic(aTopic) { in NotifyWhenScriptSafeRunnable()
362 return NotifyObservers(aSubject, aTopic, aData); in NotifyWhenScriptSafe()
[all …]
H A DnsIObserverService.idl31 * @param aTopic : The notification topic or subject.
38 void addObserver( in nsIObserver anObserver, in string aTopic,
49 * @param aTopic : The notification topic or subject.
51 void removeObserver( in nsIObserver anObserver, in string aTopic );
61 * @param aTopic : The notification topic or subject.
65 in string aTopic,
75 * @param aTopic : The notification topic or subject.
91 * @param aTopic : The notification topic or subject.
95 const char* aTopic,
104 * @param aTopic : The notification topic or subject.
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/ds/
H A DnsObserverService.cpp50 : mTopic(aTopic), mReferentCount(aReferentCount) {} in CollectReports()
189 strcmp(aTopic, "http-on-opening-request") && in FilterHttpOnTopics()
190 strcmp(aTopic, "http-on-stop-request")) { in FilterHttpOnTopics()
214 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
218 MOZ_TRY(FilterHttpOnTopics(aTopic)); in AddObserver()
238 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
276 if (NS_WARN_IF(!aTopic)) { in NotifyObservers()
285 nsDependentCString(aTopic)); in NotifyObservers()
331 mTopic(aTopic) { in NotifyWhenScriptSafeRunnable()
357 return NotifyObservers(aSubject, aTopic, aData); in NotifyWhenScriptSafe()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/xpcom/ds/
H A DnsObserverService.cpp50 : mTopic(aTopic), mReferentCount(aReferentCount) {} in CollectReports()
189 strcmp(aTopic, "http-on-opening-request") && in FilterHttpOnTopics()
190 strcmp(aTopic, "http-on-stop-request")) { in FilterHttpOnTopics()
214 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
218 MOZ_TRY(FilterHttpOnTopics(aTopic)); in AddObserver()
238 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
276 if (NS_WARN_IF(!aTopic)) { in NotifyObservers()
285 nsDependentCString(aTopic)); in NotifyObservers()
331 mTopic(aTopic) { in NotifyWhenScriptSafeRunnable()
357 return NotifyObservers(aSubject, aTopic, aData); in NotifyWhenScriptSafe()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/ds/
H A DnsObserverService.cpp48 : mTopic(aTopic), mReferentCount(aReferentCount) {} in CollectReports()
186 strcmp(aTopic, "http-on-failed-opening-request") && in FilterHttpOnTopics()
187 strcmp(aTopic, "http-on-opening-request") && in FilterHttpOnTopics()
188 strcmp(aTopic, "http-on-stop-request")) { in FilterHttpOnTopics()
213 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
217 MOZ_TRY(FilterHttpOnTopics(aTopic)); in AddObserver()
237 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
275 if (NS_WARN_IF(!aTopic)) { in NotifyObservers()
328 mTopic(aTopic) { in NotifyWhenScriptSafeRunnable()
354 return NotifyObservers(aSubject, aTopic, aData); in NotifyWhenScriptSafe()
[all …]
H A DnsIObserverService.idl31 * @param aTopic : The notification topic or subject.
38 void addObserver( in nsIObserver anObserver, in string aTopic,
49 * @param aTopic : The notification topic or subject.
51 void removeObserver( in nsIObserver anObserver, in string aTopic );
59 * @param aTopic : The notification topic or subject.
63 in string aTopic,
76 * @param aTopic : The notification topic or subject.
80 const char* aTopic,
89 * @param aTopic : The notification topic or subject.
91 nsISimpleEnumerator enumerateObservers( in string aTopic );
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/ds/
H A DnsObserverService.cpp48 SuspectObserver(const char* aTopic, size_t aReferentCount) in CollectReports()
49 : mTopic(aTopic), mReferentCount(aReferentCount) {} in CollectReports()
188 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
195 strcmp(aTopic, "http-on-opening-request") && in AddObserver()
196 strcmp(aTopic, "http-on-stop-request")) { in AddObserver()
222 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
238 nsObserverService::EnumerateObservers(const char* aTopic, in EnumerateObservers() argument
241 if (NS_WARN_IF(!anEnumerator) || NS_WARN_IF(!aTopic)) { in EnumerateObservers()
258 LOG(("nsObserverService::NotifyObservers(%s)", aTopic)); in NotifyObservers()
261 if (NS_WARN_IF(!aTopic)) { in NotifyObservers()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/xpcom/ds/
H A DnsObserverService.cpp44 SuspectObserver(const char* aTopic, size_t aReferentCount) in CollectReports()
45 : mTopic(aTopic) in CollectReports()
199 (void*)aObserver, aTopic)); in AddObserver()
202 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in AddObserver()
209 strcmp(aTopic, "http-on-opening-request")) { in AddObserver()
232 (void*)aObserver, aTopic)); in RemoveObserver()
234 if (NS_WARN_IF(!aObserver) || NS_WARN_IF(!aTopic)) { in RemoveObserver()
250 nsObserverService::EnumerateObservers(const char* aTopic, in EnumerateObservers() argument
254 if (NS_WARN_IF(!anEnumerator) || NS_WARN_IF(!aTopic)) { in EnumerateObservers()
272 LOG(("nsObserverService::NotifyObservers(%s)", aTopic)); in NotifyObservers()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/storage/
H A DDOMStorageObserver.cpp115 DOMStorageObserver::Notify(const char* aTopic, in Notify() argument
127 const char* aTopic, in Observe() argument
133 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
148 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
165 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
182 if (!strcmp(aTopic, "perm-changed")) { in Observe()
276 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
300 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
306 if (!strcmp(aTopic, "profile-before-change") || in Observe()
307 !strcmp(aTopic, "xpcom-shutdown")) { in Observe()
[all …]
/dports/www/firefox/firefox-99.0/hal/
H A DHalWakeLock.cpp39 WakeLockInformation WakeLockInfoFromLockCount(const nsAString& aTopic, in WakeLockInfoFromLockCount() argument
41 nsString topic(aTopic); in WakeLockInfoFromLockCount()
76 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown")); in NS_IMPL_ISUPPORTS()
97 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in NS_IMPL_ISUPPORTS()
184 sLockTable->WithEntryHandle(aTopic, [&](auto&& entry) { in ModifyWakeLock()
206 (aTopic.Equals(u"video-playing"_ns) || in ModifyWakeLock()
207 aTopic.Equals(u"audio-playing"_ns))) { in ModifyWakeLock()
225 sLockTable->Remove(aTopic); in ModifyWakeLock()
233 hal::GetWakeLockInfo(aTopic, &info); in ModifyWakeLock()
238 void GetWakeLockInfo(const nsAString& aTopic, in GetWakeLockInfo() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/storage/
H A DStorageObserver.cpp143 void StorageObserver::Notify(const char* aTopic, in Notify() argument
203 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
219 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
245 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
272 if (!strcmp(aTopic, "perm-changed")) { in Observe()
373 Notify(aTopic, u""_ns, originScope); in Observe()
375 Notify(aTopic, u""_ns, ""_ns); in Observe()
382 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
444 Notify(aTopic, nsDependentString(aData)); in Observe()
449 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/storage/
H A DStorageObserver.cpp143 void StorageObserver::Notify(const char* aTopic, in Notify() argument
203 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
219 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
245 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
272 if (!strcmp(aTopic, "perm-changed")) { in Observe()
373 Notify(aTopic, u""_ns, originScope); in Observe()
375 Notify(aTopic, u""_ns, ""_ns); in Observe()
382 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
444 Notify(aTopic, nsDependentString(aData)); in Observe()
449 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/hal/
H A DHalWakeLock.cpp36 WakeLockInformation WakeLockInfoFromLockCount(const nsAString& aTopic, in WakeLockInfoFromLockCount() argument
38 nsString topic(aTopic); in WakeLockInfoFromLockCount()
73 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown")); in NS_IMPL_ISUPPORTS()
94 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in NS_IMPL_ISUPPORTS()
179 ProcessLockTable* table = sLockTable->Get(aTopic); in ModifyWakeLock()
184 sLockTable->Put(aTopic, table); in ModifyWakeLock()
213 sLockTable->Remove(aTopic); in ModifyWakeLock()
221 hal::GetWakeLockInfo(aTopic, &info); in ModifyWakeLock()
226 void GetWakeLockInfo(const nsAString& aTopic, in GetWakeLockInfo() argument
235 ProcessLockTable* table = sLockTable->Get(aTopic); in GetWakeLockInfo()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/hal/
H A DHalWakeLock.cpp52 info.topic() = aTopic;
88 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown"));
108 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown"));
197 ModifyWakeLock(const nsAString& aTopic,
212 ProcessLockTable* table = sLockTable->Get(aTopic);
217 sLockTable->Put(aTopic, table);
245 sLockTable->Remove(aTopic);
254 hal::GetWakeLockInfo(aTopic, &info);
271 ProcessLockTable* table = sLockTable->Get(aTopic);
273 *aWakeLockInfo = WakeLockInfoFromLockCount(aTopic, LockCount());
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/hal/
H A DHalWakeLock.cpp39 WakeLockInformation WakeLockInfoFromLockCount(const nsAString& aTopic, in WakeLockInfoFromLockCount() argument
48 info.topic() = aTopic; in WakeLockInfoFromLockCount()
83 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown")); in NS_IMPL_ISUPPORTS()
104 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in NS_IMPL_ISUPPORTS()
193 ProcessLockTable* table = sLockTable->Get(aTopic); in ModifyWakeLock()
198 sLockTable->Put(aTopic, table); in ModifyWakeLock()
227 sLockTable->Remove(aTopic); in ModifyWakeLock()
235 hal::GetWakeLockInfo(aTopic, &info); in ModifyWakeLock()
240 void GetWakeLockInfo(const nsAString& aTopic, in GetWakeLockInfo() argument
252 ProcessLockTable* table = sLockTable->Get(aTopic); in GetWakeLockInfo()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/dns/
H A DTRRServiceParent.cpp66 if (!strcmp(aTopic, kOpenCaptivePortalLoginEvent)) { in Observe()
68 nsDependentCString(aTopic), in Observe()
70 } else if (!strcmp(aTopic, NS_CAPTIVE_PORTAL_CONNECTIVITY)) { in Observe()
78 nsDependentCString(aTopic), in Observe()
87 nsCString topic(aTopic); in Observe()
106 nsDependentCString(aTopic), in Observe()
108 } else if (!strcmp(aTopic, kClearPrivateData) || !strcmp(aTopic, kPurge)) { in Observe()
110 nsDependentCString(aTopic), in Observe()
112 } else if (!strcmp(aTopic, NS_DNS_SUFFIX_LIST_UPDATED_TOPIC) || in Observe()
113 !strcmp(aTopic, NS_NETWORK_LINK_TOPIC)) { in Observe()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/storage/
H A DStorageObserver.cpp122 void StorageObserver::Notify(const char* aTopic, in Notify() argument
173 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
189 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
213 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
238 if (!strcmp(aTopic, "perm-changed")) { in Observe()
335 Notify(aTopic, EmptyString(), originScope); in Observe()
344 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
380 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
386 if (!strcmp(aTopic, "profile-before-change")) { in Observe()
425 if (!strcmp(aTopic, "domstorage-test-flushed")) { in Observe()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/hal/
H A DHalWakeLock.cpp38 WakeLockInformation WakeLockInfoFromLockCount(const nsAString& aTopic, in WakeLockInfoFromLockCount() argument
40 nsString topic(aTopic); in WakeLockInfoFromLockCount()
75 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown")); in NS_IMPL_ISUPPORTS()
96 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in NS_IMPL_ISUPPORTS()
183 sLockTable->WithEntryHandle(aTopic, [&](auto&& entry) { in ModifyWakeLock()
216 sLockTable->Remove(aTopic); in ModifyWakeLock()
224 hal::GetWakeLockInfo(aTopic, &info); in ModifyWakeLock()
229 void GetWakeLockInfo(const nsAString& aTopic, in GetWakeLockInfo() argument
238 ProcessLockTable* table = sLockTable->Get(aTopic); in GetWakeLockInfo()
240 *aWakeLockInfo = WakeLockInfoFromLockCount(aTopic, LockCount()); in GetWakeLockInfo()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/hal/
H A DHalWakeLock.cpp38 WakeLockInformation WakeLockInfoFromLockCount(const nsAString& aTopic, in WakeLockInfoFromLockCount() argument
40 nsString topic(aTopic); in WakeLockInfoFromLockCount()
75 MOZ_ASSERT(!strcmp(aTopic, "xpcom-shutdown")); in NS_IMPL_ISUPPORTS()
96 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in NS_IMPL_ISUPPORTS()
183 sLockTable->WithEntryHandle(aTopic, [&](auto&& entry) { in ModifyWakeLock()
216 sLockTable->Remove(aTopic); in ModifyWakeLock()
224 hal::GetWakeLockInfo(aTopic, &info); in ModifyWakeLock()
229 void GetWakeLockInfo(const nsAString& aTopic, in GetWakeLockInfo() argument
238 ProcessLockTable* table = sLockTable->Get(aTopic); in GetWakeLockInfo()
240 *aWakeLockInfo = WakeLockInfoFromLockCount(aTopic, LockCount()); in GetWakeLockInfo()
[all …]
/dports/www/firefox/firefox-99.0/dom/storage/
H A DStorageObserver.cpp144 void StorageObserver::Notify(const char* aTopic, in Notify() argument
204 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
220 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
246 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
273 if (!strcmp(aTopic, "perm-changed")) { in Observe()
374 Notify(aTopic, u""_ns, originScope); in Observe()
376 Notify(aTopic, u""_ns, ""_ns); in Observe()
383 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
445 Notify(aTopic, nsDependentString(aData)); in Observe()
450 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/storage/
H A DStorageObserver.cpp127 void StorageObserver::Notify(const char* aTopic, in Notify() argument
187 if (!strcmp(aTopic, kStartupTopic)) { in Observe()
199 if (!strcmp(aTopic, NS_TIMER_CALLBACK_TOPIC)) { in Observe()
222 if (!strcmp(aTopic, "cookie-changed")) { in Observe()
245 if (!strcmp(aTopic, "perm-changed")) { in Observe()
341 if (!strcmp(aTopic, "last-pb-context-exited")) { in Observe()
369 if (!strcmp(aTopic, "profile-after-change")) { in Observe()
375 if (!strcmp(aTopic, "profile-before-change")) { in Observe()
394 if (!strcmp(aTopic, "disk-space-watcher")) { in Observe()
416 if (!strcmp(aTopic, "domstorage-test-flushed")) { in Observe()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/power/
H A DWakeLock.cpp44 nsresult WakeLock::Init(const nsAString& aTopic, nsPIDOMWindowInner* aWindow) { in Init() argument
48 if (aTopic.IsEmpty()) { in Init()
52 mTopic.Assign(aTopic); in Init()
72 nsresult WakeLock::Init(const nsAString& aTopic, in Init() argument
78 if (aTopic.IsEmpty()) { in Init()
82 mTopic.Assign(aTopic); in Init()
96 WakeLock::Observe(nsISupports* aSubject, const char* aTopic, in Observe() argument
106 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in Observe()
199 void WakeLock::GetTopic(nsAString& aTopic) { aTopic.Assign(mTopic); } in GetTopic() argument
H A DPowerManagerService.cpp104 PowerManagerService::GetWakeLockState(const nsAString &aTopic, in GetWakeLockState() argument
107 GetWakeLockInfo(aTopic, &info); in GetWakeLockState()
115 const nsAString &aTopic, nsPIDOMWindowInner *aWindow, in NewWakeLock() argument
118 aRv = wakelock->Init(aTopic, aWindow); in NewWakeLock()
127 PowerManagerService::NewWakeLock(const nsAString &aTopic, in NewWakeLock() argument
132 NewWakeLock(aTopic, nsPIDOMWindowInner::From(aWindow), rv); in NewWakeLock()
143 const nsAString &aTopic, ContentParent *aContentParent) { in NewWakeLockOnBehalfOfProcess() argument
145 nsresult rv = wakelock->Init(aTopic, aContentParent); in NewWakeLockOnBehalfOfProcess()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/power/
H A DWakeLock.cpp58 WakeLock::Init(const nsAString &aTopic, nsPIDOMWindowInner* aWindow) in Init() argument
63 if (aTopic.IsEmpty()) { in Init()
67 mTopic.Assign(aTopic); in Init()
88 WakeLock::Init(const nsAString& aTopic, ContentParent* aContentParent) in Init() argument
94 if (aTopic.IsEmpty()) { in Init()
98 mTopic.Assign(aTopic); in Init()
112 WakeLock::Observe(nsISupports* aSubject, const char* aTopic, const char16_t* data) in Observe() argument
122 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in Observe()
231 WakeLock::GetTopic(nsAString &aTopic) in GetTopic() argument
233 aTopic.Assign(mTopic); in GetTopic()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/power/
H A DWakeLock.cpp43 nsresult WakeLock::Init(const nsAString& aTopic, nsPIDOMWindowInner* aWindow) { in Init() argument
47 if (aTopic.IsEmpty()) { in Init()
51 mTopic.Assign(aTopic); in Init()
71 nsresult WakeLock::Init(const nsAString& aTopic, in Init() argument
77 if (aTopic.IsEmpty()) { in Init()
81 mTopic.Assign(aTopic); in Init()
95 WakeLock::Observe(nsISupports* aSubject, const char* aTopic, in Observe() argument
105 MOZ_ASSERT(!strcmp(aTopic, "ipc:content-shutdown")); in Observe()
198 void WakeLock::GetTopic(nsAString& aTopic) { aTopic.Assign(mTopic); } in GetTopic() argument

12345678910>>...100