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

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dpeer-mgr.c946 comparePieceByWeight( const void * va, const void * vb ) function
1004 qsort( t->pieces, t->pieceCount, sizeof( struct weighted_piece ), comparePieceByWeight );
1028 assert( comparePieceByWeight( &t->pieces[i], &t->pieces[i+1] ) <= 0 );
1169 if( isSorted && ( pos > 0 ) && ( comparePieceByWeight( p-1, p ) > 0 ) )
1171 if( isSorted && ( pos < t->pieceCount - 1 ) && ( comparePieceByWeight( p, p+1 ) > 0 ) )
1193 comparePieceByWeight, &exact );
1445 comparePieceByWeight, &exact );

Completed in 55 milliseconds