Searched refs:tr_bitfieldCountRange (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dbitfield.h85 size_t tr_bitfieldCountRange( const tr_bitfield*, size_t begin, size_t end );
H A Dcompletion.c171 n = tr_bitfieldCountRange( &cp->blockBitfield, f, l+1 );
216 tab[i] = tr_bitfieldCountRange( &cp->blockBitfield, f, l+1 )
230 return (l+1-f) - tr_bitfieldCountRange( &cp->blockBitfield, f, l+1 );
245 /* nb: we don't pass the usual l+1 here to tr_bitfieldCountRange().
248 haveBytes = tr_bitfieldCountRange( &cp->blockBitfield, f, l );
266 return tr_bitfieldCountRange( &cp->blockBitfield, f, l+1 ) == (l+1-f);
H A Dbitfield.c119 tr_bitfieldCountRange( const tr_bitfield * b, size_t begin, size_t end ) function
356 const size_t diff = (end-begin) - tr_bitfieldCountRange( b, begin, end );
405 const size_t diff = tr_bitfieldCountRange( b, begin, end );
H A Dutils-test.c78 count2 = tr_bitfieldCountRange( &bf, begin, end );
H A Dtorrent.c1348 uint64_t u = tr_bitfieldCountRange( &tor->completion.blockBitfield, first+1, last );

Completed in 74 milliseconds