Searched refs:tr_torPieceCountBytes (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dcompletion.c130 size += tr_torPieceCountBytes( tor, i );
160 const uint64_t pieceSize = tr_torPieceCountBytes( tor, p );
177 assert( n <= tr_torPieceCountBytes( tor, p ) );
242 const size_t pieceByteSize = tr_torPieceCountBytes( cp->tor, piece );
H A Dinout.c277 bytesLeft = tr_torPieceCountBytes( tor, pieceIndex );
H A Dtorrent.h289 tr_torPieceCountBytes( const tr_torrent * tor, const tr_piece_index_t piece ) function
H A Dverify.c84 leftInPiece = tr_torPieceCountBytes( tor, pieceIndex ) - piecePos;
H A Dpeer-mgr.c1559 const uint32_t byteCount = tr_torPieceCountBytes( tor, pieceIndex );
1828 const uint32_t n = tr_torPieceCountBytes( tor, p );
H A Dtorrent.c2373 else if( ( offset + length ) > tr_torPieceCountBytes( tor, index ) )
2432 offset += ( tr_torPieceCountBytes( tor, piece ) - 1 );

Completed in 126 milliseconds