Lines Matching refs:nConnections

155     static int nConnections;  member in ICEConnectionObserver
178 int ICEConnectionObserver::nConnections = 0; member in ICEConnectionObserver
630 nConnections = 0; in deactivate()
659 …hile( osl_scheduleThread(ICEConnectionObserver::ICEThread) && ICEConnectionObserver::nConnections ) in ICEConnectionWorker()
662 int nConnectionsBefore = ICEConnectionObserver::nConnections; in ICEConnectionWorker()
688 …if( ICEConnectionObserver::nConnections > 0 && ICEConnectionObserver::nConnections == nConnections… in ICEConnectionWorker()
690 … nRet = poll( ICEConnectionObserver::pFilehandles+1, ICEConnectionObserver::nConnections, 0 ); in ICEConnectionWorker()
695 for( int i = 0; i < ICEConnectionObserver::nConnections; i++ ) in ICEConnectionWorker()
721 nConnections++; in ICEWatchProc()
722 … pConnections = (IceConn*)rtl_reallocateMemory( pConnections, sizeof( IceConn )*nConnections ); in ICEWatchProc()
723 …s = (struct pollfd*)rtl_reallocateMemory( pFilehandles, sizeof( struct pollfd )*(nConnections+1) ); in ICEWatchProc()
724 pConnections[ nConnections-1 ] = connection; in ICEWatchProc()
725 pFilehandles[ nConnections ].fd = fd; in ICEWatchProc()
726 pFilehandles[ nConnections ].events = POLLIN; in ICEWatchProc()
727 if( nConnections == 1 ) in ICEWatchProc()
763 for( int i = 0; i < nConnections; i++ ) in ICEWatchProc()
767 if( i < nConnections-1 ) in ICEWatchProc()
769 … rtl_moveMemory( pConnections+i, pConnections+i+1, sizeof( IceConn )*(nConnections-i-1) ); in ICEWatchProc()
770 … rtl_moveMemory( pFilehandles+i+1, pFilehandles+i+2, sizeof( struct pollfd )*(nConnections-i-1) ); in ICEWatchProc()
772 nConnections--; in ICEWatchProc()
773 … pConnections = (IceConn*)rtl_reallocateMemory( pConnections, sizeof( IceConn )*nConnections ); in ICEWatchProc()
774 …s = (struct pollfd*)rtl_reallocateMemory( pFilehandles, sizeof( struct pollfd )*(nConnections+1) ); in ICEWatchProc()
778 if( nConnections == 0 && ICEThread ) in ICEWatchProc()