Home
last modified time | relevance | path

Searched refs:listener (Results 1 – 25 of 94) sorted by relevance

1234

/external/dropbear/
Dlistener.c42 struct Listener *listener; in set_listener_fds() local
46 listener = ses.listeners[i]; in set_listener_fds()
47 if (listener != NULL) { in set_listener_fds()
48 for (j = 0; j < listener->nsocks; j++) { in set_listener_fds()
49 FD_SET(listener->socks[j], readfds); in set_listener_fds()
59 struct Listener *listener; in handle_listeners() local
64 listener = ses.listeners[i]; in handle_listeners()
65 if (listener != NULL) { in handle_listeners()
66 for (j = 0; j < listener->nsocks; j++) { in handle_listeners()
67 sock = listener->socks[j]; in handle_listeners()
[all …]
Dtcp-accept.c37 static void cleanup_tcp(struct Listener *listener) { in cleanup_tcp() argument
39 struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata); in cleanup_tcp()
46 static void tcp_acceptor(struct Listener *listener, int sock) { in tcp_acceptor() argument
52 struct TCPListener *tcpinfo = (struct TCPListener*)(listener->typedata); in tcp_acceptor()
104 struct Listener *listener = NULL; in listen_tcpfwd() local
132 listener = new_listener(socks, nsocks, CHANNEL_ID_TCPFORWARDED, tcpinfo, in listen_tcpfwd()
135 if (listener == NULL) { in listen_tcpfwd()
/external/webkit/WebCore/bindings/js/
DJSDOMApplicationCacheCustom.cpp49 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onchec… in mark() local
50 listener->mark(); in mark()
52 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onerro… in mark() local
53 listener->mark(); in mark()
55 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onnoup… in mark() local
56 listener->mark(); in mark()
58 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->ondown… in mark() local
59 listener->mark(); in mark()
61 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onprog… in mark() local
62 listener->mark(); in mark()
[all …]
DJSWorkerCustom.cpp44 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onmess… in mark() local
45 listener->mark(); in mark()
47 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onerro… in mark() local
48 listener->mark(); in mark()
55 … JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(vecIter->get()); in mark() local
56 listener->mark(); in mark()
66 …RefPtr<JSUnprotectedEventListener> listener = globalObject->findOrCreateJSUnprotectedEventListener… in addEventListener() local
67 if (!listener) in addEventListener()
69 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
78 …JSUnprotectedEventListener* listener = globalObject->findJSUnprotectedEventListener(exec, args.at(… in removeEventListener() local
[all …]
DJSMessagePortCustom.cpp45 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onmess… in mark() local
46 listener->mark(); in mark()
48 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(m_impl->onclos… in mark() local
49 listener->mark(); in mark()
62 … JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(vecIter->get()); in mark() local
63 listener->mark(); in mark()
81 …RefPtr<JSUnprotectedEventListener> listener = globalObject->findOrCreateJSUnprotectedEventListener… in addEventListener() local
82 if (!listener) in addEventListener()
84 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
93 …JSUnprotectedEventListener* listener = globalObject->findJSUnprotectedEventListener(exec, args.at(… in removeEventListener() local
[all …]
DJSWorkerContextCustom.cpp54 …if (JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(impl()->onmess… in mark() local
55 listener->mark(); in mark()
62 … JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(vecIter->get()); in mark() local
63 listener->mark(); in mark()
80 …RefPtr<JSUnprotectedEventListener> listener = findOrCreateJSUnprotectedEventListener(exec, args.at… in addEventListener() local
81 if (!listener) in addEventListener()
83 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
89 JSUnprotectedEventListener* listener = findJSUnprotectedEventListener(exec, args.at(exec, 1)); in removeEventListener() local
90 if (!listener) in removeEventListener()
92 …impl()->removeEventListener(args.at(exec, 0).toString(exec), listener, args.at(exec, 2).toBoolean(… in removeEventListener()
DJSXMLHttpRequestUploadCustom.cpp74 … JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(vecIter->get()); in mark() local
75 listener->mark(); in mark()
85 …RefPtr<JSUnprotectedEventListener> listener = globalObject->findOrCreateJSUnprotectedEventListener… in addEventListener() local
86 if (!listener) in addEventListener()
88 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
97 …JSUnprotectedEventListener* listener = globalObject->findJSUnprotectedEventListener(exec, args.at(… in removeEventListener() local
98 if (!listener) in removeEventListener()
100 …impl()->removeEventListener(args.at(exec, 0).toString(exec), listener, args.at(exec, 2).toBoolean(… in removeEventListener()
DJSEventListener.cpp49 JSObject* listener = listenerObj(); in ASSERT_CLASS_FITS_IN_CELL() local
50 if (!listener) in ASSERT_CLASS_FITS_IN_CELL()
81 JSValuePtr handleEventFunction = listener->get(exec, Identifier(exec, "handleEvent")); in ASSERT_CLASS_FITS_IN_CELL()
86 callType = listener->getCallData(callData); in ASSERT_CLASS_FITS_IN_CELL()
107 retval = call(exec, handleEventFunction, callType, callData, listener, args); in ASSERT_CLASS_FITS_IN_CELL()
115 retval = call(exec, listener, callType, callData, thisValue, args); in ASSERT_CLASS_FITS_IN_CELL()
146 JSUnprotectedEventListener::JSUnprotectedEventListener(JSObject* listener, JSDOMGlobalObject* globa… in JSUnprotectedEventListener() argument
148 , m_listener(listener) in JSUnprotectedEventListener()
194 JSEventListener::JSEventListener(JSObject* listener, JSDOMGlobalObject* globalObject, bool isInline) in JSEventListener() argument
196 , m_listener(listener) in JSEventListener()
DJSEventListener.h52 …static PassRefPtr<JSUnprotectedEventListener> create(JSC::JSObject* listener, JSDOMGlobalObject* g… in create() argument
54 return adoptRef(new JSUnprotectedEventListener(listener, globalObject, isInline)); in create()
64 JSUnprotectedEventListener(JSC::JSObject* listener, JSDOMGlobalObject*, bool isInline);
72 …static PassRefPtr<JSEventListener> create(JSC::JSObject* listener, JSDOMGlobalObject* globalObject… in create() argument
74 return adoptRef(new JSEventListener(listener, globalObject, isInline)); in create()
83 JSEventListener(JSC::JSObject* listener, JSDOMGlobalObject*, bool isInline);
DJSXMLHttpRequestCustom.cpp85 … JSUnprotectedEventListener* listener = static_cast<JSUnprotectedEventListener*>(vecIter->get()); in mark() local
86 listener->mark(); in mark()
184 …RefPtr<JSUnprotectedEventListener> listener = globalObject->findOrCreateJSUnprotectedEventListener… in addEventListener() local
185 if (!listener) in addEventListener()
187 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
196 …JSUnprotectedEventListener* listener = globalObject->findJSUnprotectedEventListener(exec, args.at(… in removeEventListener() local
197 if (!listener) in removeEventListener()
199 …impl()->removeEventListener(args.at(exec, 0).toString(exec), listener, args.at(exec, 2).toBoolean(… in removeEventListener()
DJSEventTargetNodeCustom.cpp49 …if (RefPtr<JSEventListener> listener = globalObject->findOrCreateJSEventListener(exec, args.at(exe… in addEventListener() local
50 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
61 if (JSEventListener* listener = globalObject->findJSEventListener(args.at(exec, 1))) in removeEventListener() local
62 …impl()->removeEventListener(args.at(exec, 0).toString(exec), listener, args.at(exec, 2).toBoolean(… in removeEventListener()
DJSSVGElementInstanceCustom.cpp45 …if (RefPtr<JSEventListener> listener = globalObject->findOrCreateJSEventListener(exec, args.at(exe… in addEventListener() local
46 …impl()->addEventListener(args.at(exec, 0).toString(exec), listener.release(), args.at(exec, 2).toB… in addEventListener()
57 if (JSEventListener* listener = globalObject->findJSEventListener(args.at(exec, 1))) in removeEventListener() local
58 …impl()->removeEventListener(args.at(exec, 0).toString(exec), listener, args.at(exec, 2).toBoolean(… in removeEventListener()
/external/webkit/WebCore/inspector/front-end/
DObject.js30 addEventListener: function(eventType, listener, thisObject) { argument
35 this._listeners[eventType].push({ thisObject: thisObject, listener: listener }); property
38 removeEventListener: function(eventType, listener, thisObject) { argument
43 … if (listener && listeners[i].listener === listener && listeners[i].thisObject === thisObject)
45 else if (!listener && thisObject && listeners[i].thisObject === thisObject)
75 listeners[i].listener.call(listeners[i].thisObject, event);
/external/webkit/WebKit/win/
DDefaultPolicyDelegate.cpp108 /*[in]*/ IWebPolicyDecisionListener* listener) in decidePolicyForNavigationAction() argument
120 listener->use(); in decidePolicyForNavigationAction()
122 listener->use(); in decidePolicyForNavigationAction()
131 listener->ignore(); in decidePolicyForNavigationAction()
143 /*[in]*/ IWebPolicyDecisionListener* listener) in decidePolicyForNewWindowAction() argument
145 listener->use(); in decidePolicyForNewWindowAction()
154 /*[in]*/ IWebPolicyDecisionListener* listener) in decidePolicyForMIMEType() argument
170 listener->ignore(); in decidePolicyForMIMEType()
172 listener->use(); in decidePolicyForMIMEType()
174 listener->ignore(); in decidePolicyForMIMEType()
[all …]
DDefaultPolicyDelegate.h51 /* [in] */ IWebPolicyDecisionListener *listener);
58 /* [in] */ IWebPolicyDecisionListener *listener);
65 /* [in] */ IWebPolicyDecisionListener *listener);
/external/embunit/src/
DTestResult.c43 self->listener = listner; in TestResult_init()
49 if (self->listener) { in TestResult_startTest()
50 TestListner_startTest(self->listener, test); in TestResult_startTest()
56 if (self->listener) { in TestResult_endTest()
57 TestListner_endTest(self->listener, test); in TestResult_endTest()
64 if (self->listener) { in TestResult_addFailure()
65 TestListner_addFailure(self->listener, test, msg, line, file); in TestResult_addFailure()
/external/webkit/WebCore/platform/win/
DWindowMessageBroadcaster.cpp44 void WindowMessageBroadcaster::addListener(HWND hwnd, WindowMessageListener* listener) in addListener() argument
52 broadcaster->addListener(listener); in addListener()
55 void WindowMessageBroadcaster::removeListener(HWND hwnd, WindowMessageListener* listener) in removeListener() argument
61 broadcaster->removeListener(listener); in removeListener()
75 void WindowMessageBroadcaster::addListener(WindowMessageListener* listener) in addListener() argument
83 m_listeners.add(listener); in addListener()
86 void WindowMessageBroadcaster::removeListener(WindowMessageListener* listener) in removeListener() argument
88 ListenerSet::iterator found = m_listeners.find(listener); in removeListener()
/external/webkit/WebKit/mac/DefaultDelegates/
DWebDefaultPolicyDelegate.m63 decisionListener:(id <WebPolicyDecisionListener>)listener;
70 [listener use];
72 [listener ignore];
74 [listener use];
76 [listener ignore];
82 … decisionListener:(id <WebPolicyDecisionListener>)listener
87 [listener use];
89 [listener use];
96 [listener ignore];
103 … decisionListener:(id <WebPolicyDecisionListener>)listener
[all …]
/external/webkit/WebCore/bindings/objc/
DObjCEventListener.mm45 ObjCEventListener* ObjCEventListener::find(id <DOMEventListener> listener)
48 return map->get(listener);
52 PassRefPtr<ObjCEventListener> ObjCEventListener::wrap(id <DOMEventListener> listener)
54 RefPtr<ObjCEventListener> wrapper = find(listener);
57 return adoptRef(new ObjCEventListener(listener));
60 ObjCEventListener::ObjCEventListener(id <DOMEventListener> listener)
61 : m_listener([listener retain])
68 map->set(listener, this);
/external/webkit/WebCore/inspector/
DJavaScriptDebugServer.cpp83 void JavaScriptDebugServer::addListener(JavaScriptDebugListener* listener) in addListener() argument
85 ASSERT_ARG(listener, listener); in addListener()
87 m_listeners.add(listener); in addListener()
92 void JavaScriptDebugServer::removeListener(JavaScriptDebugListener* listener) in removeListener() argument
94 ASSERT_ARG(listener, listener); in removeListener()
96 m_listeners.remove(listener); in removeListener()
103 void JavaScriptDebugServer::addListener(JavaScriptDebugListener* listener, Page* page) in addListener() argument
105 ASSERT_ARG(listener, listener); in addListener()
113 listeners->add(listener); in addListener()
118 void JavaScriptDebugServer::removeListener(JavaScriptDebugListener* listener, Page* page) in removeListener() argument
[all …]
/external/embunit/inc/
DTestResult.h51 TestListner* listener; member
54 #define new_TestResult(listener)\ argument
58 (TestListner*)listener,\
/external/webkit/WebCore/dom/
DRegisteredEventListener.h35 …istener> create(const AtomicString& eventType, PassRefPtr<EventListener> listener, bool useCapture) in create() argument
37 return adoptRef(new RegisteredEventListener(eventType, listener, useCapture)); in create()
41 EventListener* listener() const { return m_listener.get(); } in listener() function
/external/junit/src/junit/framework/
DTestResult.java52 public synchronized void addListener(TestListener listener) { in addListener() argument
53 fListeners.addElement(listener); in addListener()
58 public synchronized void removeListener(TestListener listener) { in removeListener() argument
59 fListeners.removeElement(listener); in removeListener()
/external/webkit/WebKitTools/DumpRenderTree/win/
DPolicyDelegate.h49 /* [in] */ IWebPolicyDecisionListener *listener);
56 /* [in] */ IWebPolicyDecisionListener *listener){ return E_NOTIMPL; } in decidePolicyForNewWindowAction() argument
63 /* [in] */ IWebPolicyDecisionListener *listener){ return E_NOTIMPL; } in decidePolicyForMIMEType() argument
/external/webkit/WebKit/mac/WebView/
DWebPolicyDelegate.h151 … decisionListener:(id<WebPolicyDecisionListener>)listener;
172 … decisionListener:(id<WebPolicyDecisionListener>)listener;
186 decisionListener:(id<WebPolicyDecisionListener>)listener;

1234