Home
last modified time | relevance | path

Searched refs:SocketStreamHandle (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/platform/network/soup/
DSocketStreamHandleSoup.cpp59 static HashMap<void*, SocketStreamHandle*> gActiveHandles;
60 static SocketStreamHandle* getHandleFromId(void* id) in getHandleFromId()
67 static void deactivateHandle(SocketStreamHandle* handle) in deactivateHandle()
72 static void* activateHandle(SocketStreamHandle* handle) in activateHandle()
81 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
95 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
102 void SocketStreamHandle::connected(GSocketConnection* socketConnection, GError* error) in connected()
118 RefPtr<SocketStreamHandle> protect(this); in connected()
125 void SocketStreamHandle::readBytes(signed long bytesRead, GError* error) in readBytes()
138 RefPtr<SocketStreamHandle> protect(this); in readBytes()
[all …]
DSocketStreamHandle.h46 … class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
48 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
50 virtual ~SocketStreamHandle();
68 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
/external/webkit/Source/WebCore/platform/network/win/
DSocketStreamHandleWin.cpp42 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
49 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
56 int SocketStreamHandle::platformSend(const char*, int) in platformSend()
63 void SocketStreamHandle::platformClose() in platformClose()
69 void SocketStreamHandle::didReceiveAuthenticationChallenge(const AuthenticationChallenge&) in didReceiveAuthenticationChallenge()
74 void SocketStreamHandle::receivedCredential(const AuthenticationChallenge&, const Credential&) in receivedCredential()
79 void SocketStreamHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&) in receivedRequestToContinueWithoutCredential()
84 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge&) in receivedCancellation()
DSocketStreamHandle.h46 class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
48 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
50 virtual ~SocketStreamHandle();
57 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
/external/webkit/Source/WebCore/platform/network/curl/
DSocketStreamHandleCurl.cpp42 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
49 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
56 int SocketStreamHandle::platformSend(const char*, int) in platformSend()
63 void SocketStreamHandle::platformClose() in platformClose()
69 void SocketStreamHandle::didReceiveAuthenticationChallenge(const AuthenticationChallenge&) in didReceiveAuthenticationChallenge()
74 void SocketStreamHandle::receivedCredential(const AuthenticationChallenge&, const Credential&) in receivedCredential()
79 void SocketStreamHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&) in receivedRequestToContinueWithoutCredential()
84 void SocketStreamHandle::receivedCancellation(const AuthenticationChallenge&) in receivedCancellation()
DSocketStreamHandle.h46 … class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
48 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
50 virtual ~SocketStreamHandle();
57 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
/external/webkit/Source/WebCore/platform/network/cf/
DSocketStreamHandleCFNet.cpp62 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
83 void SocketStreamHandle::scheduleStreams() in scheduleStreams()
113 CFStringRef SocketStreamHandle::copyPACExecutionDescription(void*) in copyPACExecutionDescription()
119 …MainThreadPACCallbackInfo(SocketStreamHandle* handle, CFArrayRef proxyList) : handle(handle), prox… in MainThreadPACCallbackInfo()
120 RefPtr<SocketStreamHandle> handle;
124 void SocketStreamHandle::pacExecutionCallback(void* client, CFArrayRef proxyList, CFErrorRef) in pacExecutionCallback()
126 SocketStreamHandle* handle = static_cast<SocketStreamHandle*>(client); in pacExecutionCallback()
132 void SocketStreamHandle::pacExecutionCallbackMainThread(void* invocation) in pacExecutionCallbackMainThread()
142 void SocketStreamHandle::executePACFileURL(CFURLRef pacFileURL) in executePACFileURL()
155 void SocketStreamHandle::removePACRunLoopSource() in removePACRunLoopSource()
[all …]
DSocketStreamHandle.h47 class SocketStreamHandle : public ThreadSafeRefCounted<SocketStreamHandle>, public SocketStreamHand…
49 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
51 virtual ~SocketStreamHandle();
53 using ThreadSafeRefCounted<SocketStreamHandle>::ref;
54 using ThreadSafeRefCounted<SocketStreamHandle>::deref;
60 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
/external/webkit/Source/WebKit/chromium/src/
DSocketStreamHandle.cpp53 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle) in create()
70 explicit SocketStreamHandleInternal(SocketStreamHandle*);
72 SocketStreamHandle* m_handle;
78 SocketStreamHandleInternal::SocketStreamHandleInternal(SocketStreamHandle* handle) in SocketStreamHandleInternal()
168 SocketStreamHandle* h = m_handle; in didClose()
181 SocketStreamHandle* h = m_handle; in didFail()
192 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
199 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
205 int SocketStreamHandle::platformSend(const char* buf, int len) in platformSend()
212 void SocketStreamHandle::platformClose() in platformClose()
[all …]
/external/webkit/Source/WebCore/platform/network/
DSocketStreamHandleClient.h40 class SocketStreamHandle; variable
46 virtual void didOpen(SocketStreamHandle*) { } in didOpen() argument
47 virtual void didClose(SocketStreamHandle*) { } in didClose() argument
48 virtual void didReceiveData(SocketStreamHandle*, const char* /*data*/, int /*length*/) { } in didReceiveData() argument
50 virtual void didFail(SocketStreamHandle*, const SocketStreamError&) { } in didFail() argument
53 …virtual void didReceiveAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&… in didReceiveAuthenticationChallenge() argument
54 …virtual void didCancelAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&)… in didCancelAuthenticationChallenge() argument
DSocketStreamHandleBase.cpp81 …RefPtr<SocketStreamHandle> protect(static_cast<SocketStreamHandle*>(this)); // platformClose calls… in close()
DSocketStreamHandleBase.h41 class SocketStreamHandle; variable
/external/webkit/Source/WebCore/platform/network/brew/
DSocketStreamHandleBrew.cpp88 SocketStreamHandlePrivate::SocketStreamHandlePrivate(SocketStreamHandle* streamHandle, const KURL& … in SocketStreamHandlePrivate()
166 SocketStreamHandle* streamHandle = m_streamHandle; in socketClosed()
177 SocketStreamHandle* streamHandle = m_streamHandle; in socketError()
184 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
191 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
198 int SocketStreamHandle::platformSend(const char* data, int len) in platformSend()
204 void SocketStreamHandle::platformClose() in platformClose()
210 void SocketStreamHandle::didReceiveAuthenticationChallenge(const AuthenticationChallenge&) in didReceiveAuthenticationChallenge()
215 void SocketStreamHandle::receivedCredential(const AuthenticationChallenge&, const Credential&) in receivedCredential()
220 void SocketStreamHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&) in receivedRequestToContinueWithoutCredential()
[all …]
DSocketStreamHandle.h47 class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
49 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
51 virtual ~SocketStreamHandle();
58 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
DSocketStreamHandlePrivate.h46 SocketStreamHandlePrivate(SocketStreamHandle*, const KURL&);
65 SocketStreamHandle* m_streamHandle;
/external/webkit/Source/WebCore/platform/network/qt/
DSocketStreamHandleQt.cpp43 SocketStreamHandlePrivate::SocketStreamHandlePrivate(SocketStreamHandle* streamHandle, const KURL& … in SocketStreamHandlePrivate()
132 SocketStreamHandle* streamHandle = m_streamHandle; in socketClosedCallback()
143 SocketStreamHandle* streamHandle = m_streamHandle; in socketErrorCallback()
157 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) in SocketStreamHandle() function in WebCore::SocketStreamHandle
164 SocketStreamHandle::~SocketStreamHandle() in ~SocketStreamHandle()
171 int SocketStreamHandle::platformSend(const char* data, int len) in platformSend()
177 void SocketStreamHandle::platformClose() in platformClose()
183 void SocketStreamHandle::didReceiveAuthenticationChallenge(const AuthenticationChallenge&) in didReceiveAuthenticationChallenge()
188 void SocketStreamHandle::receivedCredential(const AuthenticationChallenge&, const Credential&) in receivedCredential()
193 void SocketStreamHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge&) in receivedRequestToContinueWithoutCredential()
[all …]
DSocketStreamHandle.h52 … class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
54 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
56 virtual ~SocketStreamHandle();
63 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
DSocketStreamHandlePrivate.h49 SocketStreamHandlePrivate(SocketStreamHandle*, const KURL&);
67 SocketStreamHandle* m_streamHandle;
/external/webkit/Source/WebCore/websockets/
DWebSocketChannel.h47 class SocketStreamHandle; variable
66 virtual void didOpen(SocketStreamHandle*);
67 virtual void didClose(SocketStreamHandle*);
68 virtual void didReceiveData(SocketStreamHandle*, const char*, int);
69 virtual void didFail(SocketStreamHandle*, const SocketStreamError&);
70 …virtual void didReceiveAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&…
71 …virtual void didCancelAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&);
91 RefPtr<SocketStreamHandle> m_handle;
DWebSocketChannel.cpp93 m_handle = SocketStreamHandle::create(m_handshake.url(), this); in connect()
149 void WebSocketChannel::didOpen(SocketStreamHandle* handle) in didOpen()
164 void WebSocketChannel::didClose(SocketStreamHandle* handle) in didClose()
185 void WebSocketChannel::didReceiveData(SocketStreamHandle* handle, const char* data, int len) in didReceiveData()
210 void WebSocketChannel::didFail(SocketStreamHandle* handle, const SocketStreamError& error) in didFail()
228 void WebSocketChannel::didReceiveAuthenticationChallenge(SocketStreamHandle*, const AuthenticationC… in didReceiveAuthenticationChallenge() argument
232 void WebSocketChannel::didCancelAuthenticationChallenge(SocketStreamHandle*, const AuthenticationCh… in didCancelAuthenticationChallenge() argument
/external/webkit/Source/WebCore/platform/network/chromium/
DSocketStreamHandle.h47 … class SocketStreamHandle : public RefCounted<SocketStreamHandle>, public SocketStreamHandleBase {
49 …tatic PassRefPtr<SocketStreamHandle> create(const KURL& url, SocketStreamHandleClient* client) { r… in create()
51 virtual ~SocketStreamHandle();
58 SocketStreamHandle(const KURL&, SocketStreamHandleClient*);
/external/webkit/Source/WebKit/chromium/
DWebKit.gyp398 'src/SocketStreamHandle.cpp',
DChangeLog-2011-02-1627278 * src/SocketStreamHandle.cpp:
27541 * src/SocketStreamHandle.cpp: Added.
27554 (WebCore::SocketStreamHandle::SocketStreamHandle):
27555 (WebCore::SocketStreamHandle::~SocketStreamHandle):
27556 (WebCore::SocketStreamHandle::platformSend):
27557 (WebCore::SocketStreamHandle::platformClose):
27558 (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
27559 (WebCore::SocketStreamHandle::receivedCredential):
27560 (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
27561 (WebCore::SocketStreamHandle::receivedCancellation):
/external/webkit/Source/WebCore/
DWebCore.gypi4736 'platform/network/brew/SocketStreamHandle.h',
4758 'platform/network/cf/SocketStreamHandle.h',
4770 'platform/network/chromium/SocketStreamHandle.h',
4785 'platform/network/curl/SocketStreamHandle.h',
4812 'platform/network/qt/SocketStreamHandle.h',
4828 'platform/network/soup/SocketStreamHandle.h',
4843 'platform/network/win/SocketStreamHandle.h',
DChangeLog-2010-01-291881 Connected between SocketStreamHandle and QTcpSocket/QSslSocket
1887 * platform/network/qt/SocketStreamHandle.h:
1902 (WebCore::SocketStreamHandle::SocketStreamHandle):
1903 (WebCore::SocketStreamHandle::~SocketStreamHandle):
1904 (WebCore::SocketStreamHandle::platformSend):
1905 (WebCore::SocketStreamHandle::platformClose):
23450 … (WebCore::SocketStreamHandle::readStreamCallback): This will no longer happen with SocketStream,
23453 (WebCore::SocketStreamHandle::writeStreamCallback): Ditto.
24823 (WebCore::SocketStreamHandle::readStreamCallback): Call platformClose() to unschedule both
24824 streams, guaranteeing that there will be no callbacks after SocketStreamHandle is destroyed.
[all …]

12