Lines Matching refs:piece
87 tr_piece_index_t * piece,
97 const tr_piece_index_t piece,
106 tr_piece_index_t piece );
280 /* what piece index is this block in? */
287 /* how many bytes are in this piece? */
289 tr_torPieceCountBytes( const tr_torrent * tor, const tr_piece_index_t piece )
291 return piece + 1 == tor->info.pieceCount ? tor->lastPieceSize
414 * piece size, etc. such as in BEP 9 where peers exchange metadata */
421 * @return true if this piece needs to be tested
426 * @brief Test a piece against its info dict checksum
427 * @return true if the piece's passes the checksum test