/trunk/main/sal/qa/osl/socket/ |
H A D | osl_Socket.cxx | 311 TimeValue *pTimeout; in run() local 313 pTimeout->Seconds = 5; in run() 329 free( pTimeout ); in run() 495 TimeValue *pTimeout; in run() local 516 free( pTimeout ); in run() 1788 free( pTimeout ); in TearDown() 1899 free( pTimeout ); in TearDown() 1953 free( pTimeout ); in TearDown() 2640 free( pTimeout ); in run() 2830 free( pTimeout ); in TearDown() [all …]
|
H A D | osl_StreamSocket.cxx | 217 TimeValue *pTimeout; in run() local 219 pTimeout->Seconds = 5; in run() 220 pTimeout->Nanosec = 0; in run() 227 free( pTimeout ); in run() 241 free( pTimeout ); in run() 369 free( pTimeout ); in run() 730 free( pTimeout ); in run() 876 TimeValue *pTimeout; in TEST_F() local 878 pTimeout->Seconds = 3; in TEST_F() 881 free( pTimeout ); in TEST_F() [all …]
|
H A D | osl_ConnectorSocket.cxx | 127 TimeValue *pTimeout; member in osl_ConnectorSocket::connect 135 pTimeout = ( TimeValue* )malloc( sizeof( TimeValue ) ); in SetUp() 136 pTimeout->Seconds = 3; in SetUp() 137 pTimeout->Nanosec = 0; in SetUp() 143 free( pTimeout ); in TearDown() 168 …oslSocketResult eResult = csConnectorSocket.connect( saTargetSocketAddr, pTimeout ); /// connect… in TEST_F() 195 …oslSocketResult eResult = csConnectorSocket.connect( saTargetSocketAddr, pTimeout ); /// connect… in TEST_F() 213 oslSocketResult eResult1 = csConnectorSocket.connect( saTargetSocketAddr1, pTimeout ); in TEST_F() 214 oslSocketResult eResult2 = csConnectorSocket.connect( saTargetSocketAddr2, pTimeout ); in TEST_F() 216 oslSocketResult eResult3 = csConnectorSocket.connect( saTargetSocketAddr2, pTimeout ); in TEST_F() [all …]
|
H A D | osl_Socket2.cxx | 572 TimeValue *pTimeout; member in osl_Socket::getPeer 581 pTimeout->Seconds = 3; in SetUp() 582 pTimeout->Nanosec = 0; in SetUp() 588 free( pTimeout ); in TearDown() 682 TimeValue *pTimeout; member in osl_Socket::isRecvReady 691 pTimeout->Seconds = 3; in SetUp() 692 pTimeout->Nanosec = 0; in SetUp() 698 free( pTimeout ); in TearDown() 736 TimeValue *pTimeout; member in osl_Socket::isSendReady 752 free( pTimeout ); in TearDown() [all …]
|
H A D | osl_AcceptorSocket.cxx | 193 TimeValue *pTimeout; member in osl_AcceptorSocket::listen_accept 201 pTimeout = ( TimeValue* )malloc( sizeof( TimeValue ) ); in SetUp() 202 pTimeout->Seconds = 3; in SetUp() 203 pTimeout->Nanosec = 0; in SetUp() 210 free( pTimeout ); in TearDown() 231 csConnectorSocket.connect( saTargetSocketAddr, pTimeout ); /// connecting to server... in TEST_F() 254 csConnectorSocket.connect( saTargetSocketAddr, pTimeout ); /// connecting to server... in TEST_F()
|
H A D | sockethelper.cxx | 379 TimeValue *pTimeout; in ifAvailable() local 380 pTimeout = ( TimeValue* )malloc( sizeof( TimeValue ) ); in ifAvailable() 381 pTimeout->Seconds = 3; in ifAvailable() 382 pTimeout->Nanosec = 0; in ifAvailable() 384 oslSocketResult aResult = aSocket.connect( aSocketAddr, pTimeout ); in ifAvailable() 385 free( pTimeout ); in ifAvailable()
|
/trunk/main/sal/osl/w32/ |
H A D | socket.cxx | 1265 const TimeValue* pTimeout) in osl_connectSocketTo() argument 1277 if (pTimeout == NULL) in osl_connectSocketTo() 1626 const TimeValue* pTimeout) in osl_isReceiveReady() argument 1637 if (pTimeout) in osl_isReceiveReady() 1655 const TimeValue* pTimeout) in osl_isSendReady() argument 1666 if (pTimeout) in osl_isSendReady() 1684 const TimeValue* pTimeout) in osl_isExceptionPending() argument 1695 if (pTimeout) in osl_isExceptionPending() 2159 const TimeValue* pTimeout) in osl_demultiplexSocketEvents() argument 2167 if(pTimeout) in osl_demultiplexSocketEvents() [all …]
|
H A D | conditn.c | 86 const TimeValue* pTimeout) in osl_waitCondition() argument 92 if (pTimeout) in osl_waitCondition() 93 timeout = pTimeout->Seconds * 1000 + pTimeout->Nanosec / 1000000L; in osl_waitCondition()
|
H A D | process.cxx | 186 oslProcessError SAL_CALL osl_joinProcessWithTimeout(oslProcess Process, const TimeValue* pTimeout) in osl_joinProcessWithTimeout() argument 195 if (pTimeout) in osl_joinProcessWithTimeout() 196 timeout = pTimeout->Seconds * 1000 + pTimeout->Nanosec / 1000000L; in osl_joinProcessWithTimeout()
|
/trunk/main/sal/osl/unx/ |
H A D | socket.c | 2037 const TimeValue* pTimeout) in osl_connectSocketTo() argument 2109 if (pTimeout) in osl_connectSocketTo() 2112 tv.tv_sec= pTimeout->Seconds; in osl_connectSocketTo() 2121 (pTimeout) ? &tv : 0); in osl_connectSocketTo() 2521 const TimeValue* pTimeout, in __osl_socket_poll() argument 2539 if (pTimeout) in __osl_socket_poll() 2567 const TimeValue* pTimeout, in __osl_socket_poll() argument 2583 if (pTimeout) in __osl_socket_poll() 2586 tv.tv_sec = pTimeout->Seconds; in __osl_socket_poll() 3035 if (pTimeout) in osl_demultiplexSocketEvents() [all …]
|
H A D | conditn.c | 208 oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, const TimeValue* pTimeout) in osl_waitCondition() argument 230 if ( pTimeout ) in osl_waitCondition() 240 SET_TIMESPEC( to, tp.tv_sec + pTimeout->Seconds, in osl_waitCondition() 241 tp.tv_usec * 1000 + pTimeout->Nanosec ); in osl_waitCondition()
|
H A D | process.c | 1462 oslProcessError SAL_CALL osl_joinProcessWithTimeout(oslProcess Process, const TimeValue* pTimeout) in osl_joinProcessWithTimeout() argument 1488 oslConditionResult cond_res = osl_waitCondition(pChild->m_terminated, pTimeout); in osl_joinProcessWithTimeout() 1500 if (pTimeout) in osl_joinProcessWithTimeout() 1507 tend.tv_sec += pTimeout->Seconds; in osl_joinProcessWithTimeout()
|
/trunk/main/sal/osl/os2/ |
H A D | socket.c | 2060 const TimeValue* pTimeout) in osl_connectSocketTo() argument 2132 if (pTimeout) in osl_connectSocketTo() 2135 tv.tv_sec= pTimeout->Seconds; in osl_connectSocketTo() 2144 (pTimeout) ? &tv : 0); in osl_connectSocketTo() 2559 const TimeValue* pTimeout, in __osl_socket_poll() argument 2574 if (pTimeout) in __osl_socket_poll() 2602 const TimeValue* pTimeout, in __osl_socket_poll() argument 2615 if (pTimeout) in __osl_socket_poll() 2618 tv.tv_sec = pTimeout->Seconds; in __osl_socket_poll() 3065 if (pTimeout) in osl_demultiplexSocketEvents() [all …]
|
H A D | conditn.c | 91 oslConditionResult SAL_CALL osl_waitCondition(oslCondition Condition, const TimeValue * pTimeout ) in osl_waitCondition() argument 97 if( pTimeout ) in osl_waitCondition() 98 nTimeout = pTimeout->Seconds * 1000 + pTimeout->Nanosec / 1000000; in osl_waitCondition()
|
/trunk/main/vos/source/ |
H A D | socket.cxx | 801 void OSocket::setSendTimeout(const TimeValue* pTimeout) in setSendTimeout() argument 805 if (pTimeout) in setSendTimeout() 806 m_pSendTimeout = new TimeValue(*pTimeout); in setSendTimeout() 814 void OSocket::setRecvTimeout(const TimeValue* pTimeout) in setRecvTimeout() argument 818 if (pTimeout) in setRecvTimeout() 819 m_pRecvTimeout = new TimeValue(*pTimeout); in setRecvTimeout() 827 sal_Bool OSocket::isRecvReady(const TimeValue* pTimeout) const in isRecvReady() 833 return osl_isReceiveReady((*m_pSockRef)(), pTimeout); in isRecvReady() 848 return osl_isSendReady((*m_pSockRef)(), pTimeout); in isSendReady() 1596 const TimeValue* pTimeout) in connect() argument [all …]
|
H A D | conditn.cxx | 59 OCondition::TResult OCondition::wait(const TimeValue* pTimeout) in wait() argument 61 return (TResult)osl_waitCondition(m_Condition, pTimeout); in wait()
|
/trunk/main/sal/inc/osl/ |
H A D | socket.hxx | 314 inline sal_Bool Socket::isRecvReady(const TimeValue *pTimeout ) const in isRecvReady() 316 return osl_isReceiveReady( m_handle , pTimeout ); in isRecvReady() 320 inline sal_Bool Socket::isSendReady(const TimeValue *pTimeout ) const in isSendReady() 322 return osl_isSendReady( m_handle, pTimeout ); in isSendReady() 326 inline sal_Bool Socket::isExceptionPending(const TimeValue *pTimeout ) const in isExceptionPending() 328 return osl_isExceptionPending( m_handle, pTimeout ); in isExceptionPending() 469 const TimeValue* pTimeout ) in connect() argument 471 return osl_connectSocketTo( m_handle , TargetHost.getHandle(), pTimeout ); in connect()
|
H A D | socket.h | 456 const TimeValue* pTimeout); 597 sal_Bool SAL_CALL osl_isReceiveReady(oslSocket Socket, const TimeValue* pTimeout); 609 sal_Bool SAL_CALL osl_isSendReady(oslSocket Socket, const TimeValue* pTimeout); 620 sal_Bool SAL_CALL osl_isExceptionPending(oslSocket Socket, const TimeValue* pTimeout); 850 const TimeValue* pTimeout);
|
H A D | socket_decl.hxx | 280 inline sal_Bool SAL_CALL isRecvReady(const TimeValue *pTimeout = 0) const; 292 inline sal_Bool SAL_CALL isSendReady(const TimeValue *pTimeout = 0) const; 307 inline sal_Bool SAL_CALL isExceptionPending(const TimeValue *pTimeout = 0) const; 607 oslSocketResult SAL_CALL connect(const SocketAddr& TargetHost, const TimeValue* pTimeout = 0);
|
H A D | conditn.hxx | 77 Result wait(const TimeValue *pTimeout = 0) in wait() argument 79 return (Result) osl_waitCondition(condition, pTimeout); in wait()
|
/trunk/main/vos/inc/vos/ |
H A D | socket.hxx | 559 void SAL_CALL setSendTimeout(const TimeValue* pTimeout = 0); 564 void SAL_CALL setRecvTimeout(const TimeValue* pTimeout = 0); 575 sal_Bool SAL_CALL isRecvReady(const TimeValue* pTimeout = 0) const; 586 sal_Bool SAL_CALL isSendReady(const TimeValue* pTimeout = 0) const; 598 sal_Bool SAL_CALL isExceptionPending(const TimeValue* pTimeout = 0) const; 1044 TResult SAL_CALL connect(const OSocketAddr& TargetHost, const TimeValue* pTimeout = 0);
|
H A D | conditn.hxx | 79 virtual TResult SAL_CALL wait(const TimeValue* pTimeout = 0)= 0; 118 TResult SAL_CALL wait(const TimeValue* pTimeout = 0);
|
/trunk/main/vcl/unx/generic/app/ |
H A D | saldata.cxx | 696 timeval *pTimeout = &Timeout; in Yield() local 700 pTimeout = 0; in Yield() 711 pTimeout = &Timeout; in Yield() 718 nFound = select( nFDs, &ReadFDS, NULL, &ExceptionFDS, pTimeout ); in Yield()
|
/trunk/main/avmedia/source/gstreamer/ |
H A D | gstplayer.cxx | 88 lcl_implBusPrepare( GSource* pSource, gint* pTimeout ) in lcl_implBusPrepare() argument 90 if (pTimeout) in lcl_implBusPrepare() 92 *pTimeout = 0; in lcl_implBusPrepare()
|
/trunk/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | SConnection.cxx | 81 const char* pTimeout = "Timeout"; in construct() local 93 if(!pBegin->Name.compareToAscii(pTimeout)) in construct()
|