Home
last modified time | relevance | path

Searched refs:listeners (Results 1 – 25 of 36) sorted by relevance

12

/external/icu4c/common/
Dservnotf.cpp23 : notifyLock(0), listeners(NULL) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
31 delete listeners; in ~ICUNotifier()
32 listeners = NULL; in ~ICUNotifier()
49 if (listeners == NULL) { in addListener()
50 listeners = new UVector(5, status); in addListener()
52 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener()
53 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener()
60 listeners->addElement((void*)l, status); // cast away const in addListener()
82 if (listeners != NULL) { in removeListener()
84 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener()
[all …]
Dservnotf.h74 private: UVector* listeners;
/external/webkit/WebCore/inspector/front-end/
DObject.js41 var listeners = this._listeners[eventType];
42 for (var i = 0; i < listeners.length; ++i) {
43 … if (listener && listeners[i].listener === listener && listeners[i].thisObject === thisObject)
44 listeners.splice(i, 1);
45 else if (!listener && thisObject && listeners[i].thisObject === thisObject)
46 listeners.splice(i, 1);
49 if (!listeners.length)
73 var listeners = this._listeners[eventType];
74 for (var i = 0; i < listeners.length; ++i) {
75 listeners[i].listener.call(listeners[i].thisObject, event);
/external/webkit/WebCore/xml/
DXMLHttpRequestUpload.cpp57 ListenerVector listeners; in addEventListener() local
58 listeners.append(eventListener); in addEventListener()
59 m_eventListeners.add(eventType, listeners); in addEventListener()
61 ListenerVector& listeners = iter->second; in addEventListener() local
62 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
67 listeners.append(eventListener); in addEventListener()
68 m_eventListeners.add(eventType, listeners); in addEventListener()
78 ListenerVector& listeners = iter->second; in removeEventListener() local
79 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
81 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
DXMLHttpRequest.cpp407 ListenerVector listeners; in addEventListener() local
408 listeners.append(eventListener); in addEventListener()
409 m_eventListeners.add(eventType, listeners); in addEventListener()
411 ListenerVector& listeners = iter->second; in addEventListener() local
412 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
416 listeners.append(eventListener); in addEventListener()
417 m_eventListeners.add(eventType, listeners); in addEventListener()
427 ListenerVector& listeners = iter->second; in removeEventListener() local
428 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
430 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
/external/webkit/WebCore/dom/
DWorker.cpp154 ListenerVector listeners; in addEventListener() local
155 listeners.append(eventListener); in addEventListener()
156 m_eventListeners.add(eventType, listeners); in addEventListener()
158 ListenerVector& listeners = iter->second; in addEventListener() local
159 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
164 listeners.append(eventListener); in addEventListener()
165 m_eventListeners.add(eventType, listeners); in addEventListener()
175 ListenerVector& listeners = iter->second; in removeEventListener() local
176 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
178 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
DWorkerContext.cpp143 ListenerVector listeners; in addEventListener() local
144 listeners.append(eventListener); in addEventListener()
145 m_eventListeners.add(eventType, listeners); in addEventListener()
147 ListenerVector& listeners = iter->second; in addEventListener() local
148 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
153 listeners.append(eventListener); in addEventListener()
154 m_eventListeners.add(eventType, listeners); in addEventListener()
164 ListenerVector& listeners = iter->second; in removeEventListener() local
165 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
167 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
DMessagePort.cpp292 ListenerVector listeners; in addEventListener() local
293 listeners.append(eventListener); in addEventListener()
294 m_eventListeners.add(eventType, listeners); in addEventListener()
296 ListenerVector& listeners = iter->second; in addEventListener() local
297 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
302 listeners.append(eventListener); in addEventListener()
303 m_eventListeners.add(eventType, listeners); in addEventListener()
313 ListenerVector& listeners = iter->second; in removeEventListener() local
314 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
316 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
DEventTargetNode.cpp83 if (RegisteredEventListenerVector* listeners = rareData()->listeners()) in eventListeners() local
84 return *listeners; in eventListeners()
154 RegisteredEventListenerVector& listeners = ensureRareData()->ensureListeners(); in addEventListener() local
161 if (listeners.isEmpty() && !inDocument()) in addEventListener()
164 listeners.append(RegisteredEventListener::create(eventType, listener, useCapture)); in addEventListener()
181 RegisteredEventListenerVector* listeners = rareData()->listeners(); in removeEventListener() local
182 if (!listeners) in removeEventListener()
185 size_t size = listeners->size(); in removeEventListener()
187 RegisteredEventListener& r = *listeners->at(i); in removeEventListener()
190 listeners->remove(i); in removeEventListener()
[all …]
DNodeRareData.h91 RegisteredEventListenerVector* listeners() { return m_eventListeners.get(); } in listeners() function
/external/dropbear/
Dlistener.c33 ses.listeners = (struct Listener**)m_malloc(sizeof(struct Listener*)); in listeners_initialise()
35 ses.listeners[0] = NULL; in listeners_initialise()
46 listener = ses.listeners[i]; in set_listener_fds()
64 listener = ses.listeners[i]; in handle_listeners()
88 if (ses.listeners[i] == NULL) { in new_listener()
103 ses.listeners = (struct Listener**)m_realloc(ses.listeners, in new_listener()
110 ses.listeners[j] = NULL; in new_listener()
129 ses.listeners[i] = newlisten; in new_listener()
141 for (i = 0, listener = ses.listeners[i]; i < ses.listensize; i++) { in get_listener()
162 ses.listeners[listener->index] = NULL; in remove_listener()
Dsession.h162 struct Listener ** listeners; member
DCHANGES246 - Fix a null-pointer exception when trying to free non-existant listeners
/external/webkit/WebCore/loader/appcache/
DDOMApplicationCache.cpp198 ListenerVector listeners; in addEventListener() local
199 listeners.append(eventListener); in addEventListener()
200 m_eventListeners.add(eventType, listeners); in addEventListener()
202 ListenerVector& listeners = iter->second; in addEventListener() local
203 …for (ListenerVector::iterator listenerIter = listeners.begin(); listenerIter != listeners.end(); +… in addEventListener()
208 listeners.append(eventListener); in addEventListener()
209 m_eventListeners.add(eventType, listeners); in addEventListener()
219 ListenerVector& listeners = iter->second; in removeEventListener() local
220 …for (ListenerVector::const_iterator listenerIter = listeners.begin(); listenerIter != listeners.en… in removeEventListener()
222 listeners.remove(listenerIter - listeners.begin()); in removeEventListener()
/external/webkit/WebCore/bindings/js/
DJSEventListener.cpp152 JSDOMWindow::UnprotectedListenersMap& listeners = isInline in JSUnprotectedEventListener() local
154 listeners.set(m_listener, this); in JSUnprotectedEventListener()
161 JSDOMWindow::UnprotectedListenersMap& listeners = isInline() in ~JSUnprotectedEventListener() local
163 listeners.remove(m_listener); in ~JSUnprotectedEventListener()
200 JSDOMWindow::ListenersMap& listeners = isInline in JSEventListener() local
202 listeners.set(m_listener, this); in JSEventListener()
212 JSDOMWindow::ListenersMap& listeners = isInline() in ~JSEventListener() local
214 listeners.remove(m_listener); in ~JSEventListener()
335 JSDOMWindow::ListenersMap& listeners = globalObject()->jsInlineEventListeners(); in parseCode() local
336 listeners.set(m_listener, const_cast<JSLazyEventListener*>(this)); in parseCode()
DJSDOMGlobalObject.cpp98 ListenersMap& listeners = isInline ? d()->jsInlineEventListeners : d()->jsEventListeners; in findJSEventListener() local
99 return listeners.get(object); in findJSEventListener()
119 …UnprotectedListenersMap& listeners = isInline ? d()->jsUnprotectedInlineEventListeners : d()->jsUn… in findJSUnprotectedEventListener() local
120 return listeners.get(asObject(val)); in findJSUnprotectedEventListener()
/external/webkit/WebCore/inspector/
DJavaScriptDebugServer.cpp112 ListenerSet* listeners = result.first->second; in addListener() local
113 listeners->add(listener); in addListener()
127 ListenerSet* listeners = it->second; in removeListener() local
128 listeners->remove(listener); in removeListener()
129 if (listeners->isEmpty()) { in removeListener()
131 delete listeners; in removeListener()
251 static void dispatchDidParseSource(const ListenerSet& listeners, ExecState* exec, const JSC::Source… in dispatchDidParseSource() argument
254 copyToVector(listeners, copy); in dispatchDidParseSource()
259 static void dispatchFailedToParseSource(const ListenerSet& listeners, ExecState* exec, const Source… in dispatchFailedToParseSource() argument
262 copyToVector(listeners, copy); in dispatchFailedToParseSource()
[all …]
/external/webkit/WebCore/platform/win/
DWindowMessageBroadcaster.cpp117 ListenerSet::const_iterator end = broadcaster->listeners().end(); in SubclassedWndProc()
118 for (ListenerSet::const_iterator it = broadcaster->listeners().begin(); it != end; ++it) in SubclassedWndProc()
DWindowMessageBroadcaster.h55 const ListenerSet& listeners() const { return m_listeners; } in listeners() function
/external/webkit/WebCore/svg/
DSVGElement.cpp191 …const RegisteredEventListenerVector& listeners = static_cast<Element*>(currentNode)->eventListener… in hasLoadListener() local
192 size_t size = listeners.size(); in hasLoadListener()
194 const RegisteredEventListener& r = *listeners[i]; in hasLoadListener()
DSVGUseElement.cpp770 const RegisteredEventListenerVector& listeners = originalElement->eventListeners(); in transferEventListenersToShadowTree() local
771 size_t size = listeners.size(); in transferEventListenersToShadowTree()
773 const RegisteredEventListener& r = *listeners[i]; in transferEventListenersToShadowTree()
/external/srec/shared/src/
DSessionTypeImpl.c103 data->listeners = NULL; in ESR_SessionTypeCreate()
106 CHK(rc, ArrayListCreate(&data->listeners)); in ESR_SessionTypeCreate()
286 ArrayList* list = data->listeners; in firePropertyChanged()
1352 ArrayList* listeners = data->listeners; in ESR_SessionTypeAddListenerImpl() local
1355 CHKLOG(rc, listeners->add(listeners, listener)); in ESR_SessionTypeAddListenerImpl()
1364 ArrayList* listeners = data->listeners; in ESR_SessionTypeRemoveListenerImpl() local
1367 CHKLOG(rc, listeners->remove(listeners, listener)); in ESR_SessionTypeRemoveListenerImpl()
1404 if (data->listeners != NULL) in ESR_SessionTypeDestroyImpl()
1406 CHKLOG(rc, data->listeners->destroy(data->listeners)); in ESR_SessionTypeDestroyImpl()
1407 data->listeners = NULL; in ESR_SessionTypeDestroyImpl()
/external/netcat/data/
Dnfs-0.d1 # UDP NFS null-proc call; finds active NFS listeners on port 2049.
/external/srec/shared/include/
DESR_SessionTypeImpl.h46 ArrayList* listeners; member
/external/netcat/
DREADME354 up listeners and backup handlers [which can be restricted to specific addresses
376 inbound connections are generally sent to such specifically-bound listeners

12