Lines Matching refs:tr_ptrArrayNth
588 tr_handshakeAbort( tr_ptrArrayNth( &manager->incomingHandshakes, 0 ) );
629 struct peer_atom * atom = tr_ptrArrayNth( &t->pool, i );
2459 tr_handshakeAbort( tr_ptrArrayNth( &t->outgoingHandshakes, 0 ) );
2800 const tr_peer * peer = tr_ptrArrayNth( &t->peers, i );
2894 const tr_peer * peer = tr_ptrArrayNth( &t->peers, i );
2954 tr_peer * peer = tr_ptrArrayNth( &t->peers, i );
3167 c = tr_ptrArrayNth( &randPool, tr_cryptoWeakRandInt( n ));
3362 removePeer( t, tr_ptrArrayNth( &t->peers, 0 ) );
3501 peers[n] = tr_ptrArrayNth( &t->peers, i );
3572 tr_peer * peer = tr_ptrArrayNth( &t->peers, j );