Lines Matching refs:piece_i
463 tr_piece_index_t piece_i;
473 for( piece_i=0; piece_i<piece_count; ++piece_i )
479 if( tr_bitfieldHas( &peers[peer_i]->have, piece_i ) )
482 t->pieceReplication[piece_i] = r;
1039 size_t piece_i;
1047 for( piece_i=0; piece_i<piece_count; ++piece_i )
1053 if( tr_bitsetHas( &peers[peer_i]->have, piece_i ) )
1056 assert( rep[piece_i] == r );