Home
last modified time | relevance | path

Searched refs:subscribers (Results 1 – 25 of 30) sorted by relevance

12

/external/guava/android/guava/src/com/google/common/eventbus/
DDispatcher.java70 abstract void dispatch(Object event, Iterator<Subscriber> subscribers); in dispatch() argument
96 void dispatch(Object event, Iterator<Subscriber> subscribers) { in dispatch() argument
98 checkNotNull(subscribers); in dispatch()
100 queueForThread.offer(new Event(event, subscribers)); in dispatch()
107 while (nextEvent.subscribers.hasNext()) { in dispatch()
108 nextEvent.subscribers.next().dispatchEvent(nextEvent.event); in dispatch()
120 private final Iterator<Subscriber> subscribers; field in Dispatcher.PerThreadQueuedDispatcher.Event
122 private Event(Object event, Iterator<Subscriber> subscribers) { in Event() argument
124 this.subscribers = subscribers; in Event()
155 void dispatch(Object event, Iterator<Subscriber> subscribers) { in dispatch() argument
[all …]
DEventBus.java104 private final SubscriberRegistry subscribers = new SubscriberRegistry(this); field in EventBus
186 subscribers.register(object); in register()
196 subscribers.unregister(object); in unregister()
210 Iterator<Subscriber> eventSubscribers = subscribers.getSubscribers(event); in post()
DSubscriberRegistry.java64 private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = field in SubscriberRegistry
82 CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType); in register()
87 MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); in register()
102 CopyOnWriteArraySet<Subscriber> currentSubscribers = subscribers.get(eventType); in unregister()
119 return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of()); in getSubscribersForTesting()
133 CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType); in getSubscribers()
/external/guava/guava/src/com/google/common/eventbus/
DDispatcher.java70 abstract void dispatch(Object event, Iterator<Subscriber> subscribers); in dispatch() argument
96 void dispatch(Object event, Iterator<Subscriber> subscribers) { in dispatch() argument
98 checkNotNull(subscribers); in dispatch()
100 queueForThread.offer(new Event(event, subscribers)); in dispatch()
107 while (nextEvent.subscribers.hasNext()) { in dispatch()
108 nextEvent.subscribers.next().dispatchEvent(nextEvent.event); in dispatch()
120 private final Iterator<Subscriber> subscribers; field in Dispatcher.PerThreadQueuedDispatcher.Event
122 private Event(Object event, Iterator<Subscriber> subscribers) { in Event() argument
124 this.subscribers = subscribers; in Event()
155 void dispatch(Object event, Iterator<Subscriber> subscribers) { in dispatch() argument
[all …]
DEventBus.java104 private final SubscriberRegistry subscribers = new SubscriberRegistry(this); field in EventBus
186 subscribers.register(object); in register()
196 subscribers.unregister(object); in unregister()
210 Iterator<Subscriber> eventSubscribers = subscribers.getSubscribers(event); in post()
DSubscriberRegistry.java64 private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = field in SubscriberRegistry
82 CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType); in register()
87 MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); in register()
102 CopyOnWriteArraySet<Subscriber> currentSubscribers = subscribers.get(eventType); in unregister()
119 return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of()); in getSubscribersForTesting()
133 CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType); in getSubscribers()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DSharingStressTest.kt99 val subscribers = ArrayList<SubJob>() in <lambda>() constant
105subscribers += launchSubscriber(sharedFlow, usingStateFlow, subCount, missingCollects) in <lambda>()
119 subscribers.forEach { in <lambda>()
123 subscribers.clear() in <lambda>()
128 if (!subscribers.isEmpty()) { in <lambda>()
130 subscribers.forEach { it.job.cancelAndJoin() } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DArrayBroadcastChannel.kt63 private val subscribers = subscriberList<Subscriber<E>>() constant in kotlinx.coroutines.channels.ArrayBroadcastChannel
89 for (sub in subscribers) sub.cancelInternal(cause) in cancelInternal()
134 for (sub in subscribers) { in checkSubOffers()
149 val wasEmpty = subscribers.isEmpty() in updateHead()
150 subscribers.add(addSub) in updateHead()
154 subscribers.remove(removeSub) in updateHead()
200 for (sub in subscribers) in computeMinHead()
DConflatedBroadcastChannel.kt57 @JvmField val subscribers: Array<Subscriber<E>>? in <lambda>() constant in kotlinx.coroutines.channels.ConflatedBroadcastChannel.State
111 … val update = State(state.value, addSubscriber((state as State<E>).subscribers, subscriber)) in <lambda>()
126 … val update = State(state.value, removeSubscriber((state as State<E>).subscribers!!, subscriber)) in <lambda>()
167 (state as State<E>).subscribers?.forEach { it.close(cause) } in <lambda>()
250 val update = State(element, (state as State<E>).subscribers) in <lambda>()
255 state.subscribers?.forEach { it.offerInternal(element) } in <lambda>()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-ref_count.hpp103 , subscribers(0) in ref_count_state()
112 , subscribers(0) in ref_count_state()
117 long subscribers; member
149 auto needConnect = ++state->subscribers == 1; in on_subscribe()
155 if (--keepAlive->subscribers == 0) { in on_subscribe()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DShareInTest.kt132 suspend fun checkStartTransition(subscribers: Int) { in <lambda>()
133 when (subscribers) { in <lambda>()
145 suspend fun checkStopTransition(subscribers: Int) { in <lambda>()
146 when (subscribers) { in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/
Dpackage.list14 io.reactivex.subscribers
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/
Dpackage.list14 io.reactivex.rxjava3.subscribers
/external/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
DREADME.md26 sent to all subscribers.
/external/Reactive-Extensions/RxCpp/
DDeveloperManual.md17 ```coordinator``` has a ```worker```, and is a factory for coordinated observables, subscribers and…
/external/curl/docs/
DMAIL-ETIQUETTE71 through to all the subscribers.
83 subscribers be moderated. This means that after you've subscribed and
258 We allow subscribers to subscribe to the "digest" version of the mailing
DFAQ375 the curl-library mailing list. We're many subscribers there and there are
/external/python/cpython2/Misc/
DRFD82 Currently there is a mailing list with over 130 subscribers.
/external/toybox/
DREADME161 Then send a file attachment. The list holds messages from non-subscribers
/external/freetype/docs/
Dformats.txt69 subscribers only). If you can provide a font example for a format
/external/kotlinx.coroutines/
DCHANGES.md27 * Fix `SharedFlow` with replay for subscribers working at different speed (#2325).
1007 be received by multiple subscribers without any omissions.
/external/libevent/
Dwhatsnew-2.1.txt32 is subscribers-only, so you will need to subscribe before you post.
/external/cldr/tools/java/org/unicode/cldr/util/data/
Deurope1847 # in Latvian for subscribers only).
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt17074 subscribers
/external/rust/crates/libz-sys/src/zlib-ng/test/data/
Dlcet10.txt2147 typeset-quality screens; and Hypertext links that enable subscribers to
2204 maintained on the computer permanently and subscribers, as part of

12