Lines Matching refs:Addr
51 OSocketAddr::OSocketAddr(oslSocketAddr Addr) in OSocketAddr() argument
53 m_SockAddr= Addr; in OSocketAddr()
59 OSocketAddr::OSocketAddr(const OSocketAddr& Addr) : in OSocketAddr() argument
62 m_SockAddr= osl_copySocketAddr((oslSocketAddr)Addr); in OSocketAddr()
117 void OSocketAddr::operator= (oslSocketAddr Addr) in operator =() argument
123 m_SockAddr= Addr; in operator =()
129 sal_Bool OSocketAddr::operator== (oslSocketAddr Addr) in operator ==() argument
131 return (osl_isEqualSocketAddr(m_SockAddr, Addr)); in operator ==()
137 OSocketAddr& OSocketAddr::operator=(const OSocketAddr& Addr) in operator =() argument
143 m_SockAddr= osl_copySocketAddr((oslSocketAddr)Addr); in operator =()
168 OInetSocketAddr::OInetSocketAddr(oslSocketAddr Addr) : in OInetSocketAddr() argument
169 OSocketAddr(Addr) in OInetSocketAddr()
171 VOS_ASSERT(osl_getFamilyOfSocketAddr(Addr) == osl_Socket_FamilyInet); in OInetSocketAddr()
226 void OInetSocketAddr::operator= (oslSocketAddr Addr) in operator =() argument
228 VOS_PRECOND(osl_getFamilyOfSocketAddr(Addr) == osl_Socket_FamilyInet, in operator =()
231 OSocketAddr::operator=(Addr); in operator =()
237 sal_Bool OInetSocketAddr::operator== (oslSocketAddr Addr) in operator ==() argument
239 return (osl_isEqualSocketAddr(m_SockAddr, Addr)); in operator ==()
245 OInetSocketAddr& OInetSocketAddr::operator=(const OInetSocketAddr& Addr) in operator =() argument
247 VOS_ASSERT(Addr.getFamily() == TFamily_Inet); in operator =()
249 OSocketAddr::operator=(Addr); in operator =()
257 OInetSocketAddr& OInetSocketAddr::operator=(const OSocketAddr& Addr) in operator =() argument
259 VOS_ASSERT(Addr.getFamily() == TFamily_Inet); in operator =()
261 OSocketAddr::operator=(Addr); in operator =()
361 OIpxSocketAddr::OIpxSocketAddr(oslSocketAddr Addr) : in OIpxSocketAddr() argument
362 OSocketAddr(Addr) in OIpxSocketAddr()
364 VOS_ASSERT(osl_getFamilyOfSocketAddr(Addr) == osl_Socket_FamilyIpx); in OIpxSocketAddr()
407 void OIpxSocketAddr::operator= (oslSocketAddr Addr) in operator =() argument
409 VOS_PRECOND(osl_getFamilyOfSocketAddr(Addr) == osl_Socket_FamilyIpx, in operator =()
412 OSocketAddr::operator=(Addr); in operator =()
418 sal_Bool OIpxSocketAddr::operator== (oslSocketAddr Addr) in operator ==() argument
420 return (osl_isEqualSocketAddr(m_SockAddr, Addr)); in operator ==()
426 OIpxSocketAddr& OIpxSocketAddr::operator=(const OIpxSocketAddr& Addr) in operator =() argument
428 VOS_ASSERT(Addr.getFamily() == TFamily_Ipx); in operator =()
430 OSocketAddr::operator=(Addr); in operator =()
438 OIpxSocketAddr& OIpxSocketAddr::operator=(const OSocketAddr& Addr) in operator =() argument
440 VOS_ASSERT(Addr.getFamily() == TFamily_Ipx); in operator =()
442 OSocketAddr::operator=(Addr); in operator =()
680 oslSocketAddr Addr= osl_getLocalAddrOfSocket((*m_pSockRef)()); in getLocalPort() local
682 if(Addr) in getLocalPort()
684 Port= osl_getInetPortOfSocketAddr(Addr); in getLocalPort()
685 osl_destroySocketAddr(Addr); in getLocalPort()
701 oslSocketAddr Addr= osl_getLocalAddrOfSocket((*m_pSockRef)()); in getLocalHost() local
703 if(Addr) in getLocalHost()
707 TResult Result= (TResult)osl_getHostnameOfSocketAddr(Addr, in getLocalHost()
710 osl_destroySocketAddr(Addr); in getLocalHost()
743 oslSocketAddr Addr= osl_getPeerAddrOfSocket((*m_pSockRef)()); in getPeerPort() local
745 if(Addr) in getPeerPort()
747 Port= osl_getInetPortOfSocketAddr(Addr); in getPeerPort()
748 osl_destroySocketAddr(Addr); in getPeerPort()
764 oslSocketAddr Addr= osl_getPeerAddrOfSocket((*m_pSockRef)()); in getPeerHost() local
766 if(Addr) in getPeerHost()
770 TResult Result= (TResult)osl_getHostnameOfSocketAddr(Addr, in getPeerHost()
773 osl_destroySocketAddr(Addr); in getPeerHost()
785 sal_Bool OSocket::bind(const OSocketAddr& Addr) in bind() argument
791 return osl_bindAddrToSocket((*m_pSockRef)(), (oslSocketAddr)Addr); in bind()
1595 OSocket::TResult OConnectorSocket::connect(const OSocketAddr& Addr, in connect() argument
1604 (oslSocketAddr)Addr, in connect()