Lines Matching refs:m_handle
32 : m_handle( osl_createEmptySocketAddr( osl_Socket_FamilyInet ) ) in SocketAddr()
37 : m_handle( osl_copySocketAddr( Addr.m_handle ) ) in SocketAddr()
43 : m_handle( osl_copySocketAddr( Addr ) ) in SocketAddr()
49 : m_handle( Addr ) in SocketAddr()
55 : m_handle( osl_createInetSocketAddr( strAddrOrHostName.pData, nPort ) ) in SocketAddr()
57 if(! m_handle ) in SocketAddr()
59 m_handle = osl_resolveHostname(strAddrOrHostName.pData); in SocketAddr()
62 if(m_handle) in SocketAddr()
64 osl_setInetPortOfSocketAddr(m_handle, nPort); in SocketAddr()
68 osl_destroySocketAddr( m_handle ); in SocketAddr()
69 m_handle = 0; in SocketAddr()
77 if( m_handle ) in ~SocketAddr()
78 osl_destroySocketAddr( m_handle ); in ~SocketAddr()
85 oslSocketResult result = osl_getHostnameOfSocketAddr( m_handle, &(hostname.pData) ); in getHostname()
94 return osl_getInetPortOfSocketAddr(m_handle); in getPort()
100 return osl_setInetPortOfSocketAddr(m_handle, nPort ); in setPort()
112 return osl_setAddrOfSocketAddr( m_handle, address.getHandle() ) in setAddr()
119 oslSocketResult result = osl_getAddrOfSocketAddr( m_handle,(sal_Sequence **) &sequence ); in getAddr()
129 if( m_handle ) in operator =()
130 osl_destroySocketAddr( m_handle ); in operator =()
131 m_handle = pNewAddr; in operator =()
144 if( m_handle ) in assign()
145 osl_destroySocketAddr( m_handle ); in assign()
146 m_handle = Addr; in assign()
153 return osl_isEqualSocketAddr( m_handle, Addr ); in operator ==()
158 return m_handle; in getHandle()
164 return m_handle != 0; in is()
196 : m_handle( osl_createSocket(Family, Type, Protocol) ) in Socket()
201 : m_handle( socketHandle ) in Socket()
206 : m_handle( socketHandle ) in Socket()
208 osl_acquireSocket( m_handle ); in Socket()
213 : m_handle( socket.getHandle() ) in Socket()
215 osl_acquireSocket( m_handle ); in Socket()
221 osl_releaseSocket( m_handle ); in ~Socket()
228 osl_releaseSocket( m_handle ); in operator =()
229 m_handle = socketHandle; in operator =()
242 return m_handle == rSocket.getHandle(); in operator ==()
248 return m_handle == socketHandle; in operator ==()
254 osl_shutdownSocket( m_handle , Direction ); in shutdown()
260 osl_closeSocket( m_handle ); in close()
266 addr.assign( osl_getLocalAddrOfSocket( m_handle ) , SAL_NO_COPY ); in getLocalAddr()
288 addr.assign( osl_getPeerAddrOfSocket( m_handle ), SAL_NO_COPY ); in getPeerAddr()
310 return osl_bindAddrToSocket( m_handle , LocalInterface.getHandle() ); in bind()
316 return osl_isReceiveReady( m_handle , pTimeout ); in isRecvReady()
322 return osl_isSendReady( m_handle, pTimeout ); in isSendReady()
328 return osl_isExceptionPending( m_handle, pTimeout ); in isExceptionPending()
334 return osl_getSocketType( m_handle ); in getType()
344 return osl_getSocketOption( m_handle, Level, Option, pBuffer , BufferLen ); in getOption()
353 return osl_setSocketOption( m_handle, Level, Option , pBuffer, BufferLen ); in setOption()
373 return osl_enableNonBlockingMode( m_handle , bNonBlockingMode ); in enableNonBlockingMode()
379 return osl_isNonBlockingMode( m_handle ); in isNonBlockingMode()
392 return osl_getLastSocketError( m_handle ); in getError()
399 osl_getLastSocketErrorDescription( m_handle, &(error.pData) ); in getErrorAsString()
406 return m_handle; in getHandle()
434 return osl_readSocket( m_handle, pBuffer, n ); in read()
440 return osl_writeSocket( m_handle, pBuffer, n ); in write()
449 return osl_receiveSocket( m_handle, pBuffer,BytesToRead, Flag ); in recv()
457 return osl_sendSocket( m_handle, pBuffer, BytesToSend, Flag ); in send()
471 return osl_connectSocketTo( m_handle , TargetHost.getHandle(), pTimeout ); in connect()
484 return osl_listenOnSocket( m_handle, MaxPendingConnections ); in listen()
490 oslSocket o = osl_acceptConnectionOnSocket( m_handle, 0 ); in acceptConnection()
509 oslSocket o = osl_acceptConnectionOnSocket( m_handle, (oslSocketAddr *)&PeerAddr ); in acceptConnection()
540 nByteRead = osl_receiveFromSocket( m_handle, pSenderAddr->getHandle() , pBuffer, in recvFrom()
547 nByteRead = osl_receiveFromSocket( m_handle, 0 , pBuffer , BufferSize , Flag ); in recvFrom()
558 return osl_sendToSocket( m_handle, ReceiverAddr.getHandle(), pBuffer, BufferSize, Flag ); in sendTo()