/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/ |
H A D | inout.h | 32 tr_piece_index_t pieceIndex, 38 tr_piece_index_t pieceIndex, 47 tr_piece_index_t pieceIndex, 63 tr_piece_index_t pieceIndex,
|
H A D | inout.c | 157 tr_piece_index_t pieceIndex, 162 const uint64_t offset = tr_pieceOffset( tor, pieceIndex, pieceOffset, 0 ); 186 tr_piece_index_t pieceIndex, 196 if( pieceIndex >= tor->info.pieceCount ) 199 tr_ioFindFileLocation( tor, pieceIndex, pieceOffset, 226 tr_piece_index_t pieceIndex, 231 return readOrWritePiece( tor, TR_IO_READ, pieceIndex, begin, buf, len ); 236 tr_piece_index_t pieceIndex, 240 return readOrWritePiece( tor, TR_IO_PREFETCH, pieceIndex, begin, 246 tr_piece_index_t pieceIndex, 156 tr_ioFindFileLocation( const tr_torrent * tor, tr_piece_index_t pieceIndex, uint32_t pieceOffset, tr_file_index_t * fileIndex, uint64_t * fileOffset ) argument 184 readOrWritePiece( tr_torrent * tor, int ioMode, tr_piece_index_t pieceIndex, uint32_t pieceOffset, uint8_t * buf, size_t buflen ) argument 225 tr_ioRead( tr_torrent * tor, tr_piece_index_t pieceIndex, uint32_t begin, uint32_t len, uint8_t * buf ) argument 235 tr_ioPrefetch( tr_torrent * tor, tr_piece_index_t pieceIndex, uint32_t begin, uint32_t len) argument 245 tr_ioWrite( tr_torrent * tor, tr_piece_index_t pieceIndex, uint32_t begin, uint32_t len, const uint8_t * buf ) argument 261 recalculateHash( tr_torrent * tor, tr_piece_index_t pieceIndex, uint8_t * setme ) argument [all...] |
H A D | verify.c | 54 tr_piece_index_t pieceIndex = 0; local 63 while( !*stopFlag && ( pieceIndex < tor->info.pieceCount ) ) 72 hadPiece = tr_cpPieceIsComplete( &tor->completion, pieceIndex ); 84 leftInPiece = tr_torPieceCountBytes( tor, pieceIndex ) - piecePos; 115 hasPiece = !memcmp( hash, tor->info.pieces[pieceIndex].hash, SHA_DIGEST_LENGTH ); 118 tr_torrentSetHasPiece( tor, pieceIndex, hasPiece ); 121 tr_torrentSetPieceChecked( tor, pieceIndex ); 133 ++pieceIndex;
|
H A D | makemeta.h | 72 uint32_t pieceIndex; member in struct:tr_metainfo_builder
|
H A D | peer-common.h | 72 uint32_t pieceIndex; /* for GOT_BLOCK, GOT_HAVE, CANCEL, ALLOWED, SUGGEST */ member in struct:__anon7343
|
H A D | peer-msgs.h | 47 uint32_t pieceIndex );
|
H A D | torrent.h | 54 tr_piece_index_t pieceIndex, 423 bool tr_torrentPieceNeedsCheck( const tr_torrent * tor, tr_piece_index_t pieceIndex ); 429 bool tr_torrentCheckPiece( tr_torrent * tor, tr_piece_index_t pieceIndex );
|
H A D | makemeta.c | 212 b->pieceIndex = 0; 232 assert( b->pieceIndex < b->pieceCount ); 276 ++b->pieceIndex; 510 builder->pieceIndex = 0;
|
H A D | peer-mgr.c | 1556 gotBadPiece( Torrent * t, tr_piece_index_t pieceIndex ) 1559 const uint32_t byteCount = tr_torPieceCountBytes( tor, pieceIndex ); 1570 tr_piece_index_t pieceIndex UNUSED, 1579 if( pieceIndex >= t->tor->info.pieceCount ) 1583 if( tr_cpPieceIsComplete( t->tor->completion, pieceIndex ) ) 1587 if( !tr_bitfieldHas( peer->have, pieceIndex ) ) 1601 tr_torGetPieceBlockRange( t->tor, pieceIndex, &first, &last ); 1609 tr_peerMsgsAddRequest( peer->msgs, pieceIndex, offset, length ); 1610 incrementPieceRequests( t, pieceIndex ); 1681 tr_incrReplicationOfPiece( t, e->pieceIndex ); 2231 tr_peerMgrSetBlame( tr_torrent * tor, tr_piece_index_t pieceIndex, int success ) argument [all...] |
H A D | peer-msgs.c | 364 protocolSendAllowedFast( tr_peermsgs * msgs, uint32_t pieceIndex ) 373 evbuffer_add_uint32( io, out, pieceIndex ); 375 dbgmsg( msgs, "sending Allowed Fast %u...", pieceIndex ); 451 e.pieceIndex = req->index; 462 e.pieceIndex = req->index; 504 fireClientGotSuggest( tr_peermsgs * msgs, uint32_t pieceIndex ) 508 e.pieceIndex = pieceIndex; 522 fireClientGotAllowedFast( tr_peermsgs * msgs, uint32_t pieceIndex ) 526 e.pieceIndex [all...] |
H A D | webseed.c | 119 tr_torrentGetBlockLocation( tor, block, &e.pieceIndex, &e.offset, &e.length ); 135 tr_torrentGetBlockLocation( tor, block, &e.pieceIndex, &e.offset, &e.length );
|
H A D | torrent.c | 1496 tr_piece_index_t pieceIndex, 1500 assert( pieceIndex < tor->info.pieceCount ); 1503 tr_cpPieceAdd( &tor->completion, pieceIndex ); 1505 tr_cpPieceRem( &tor->completion, pieceIndex ); 2442 tr_torrentSetPieceChecked( tr_torrent * tor, tr_piece_index_t pieceIndex ) 2445 assert( pieceIndex < tor->info.pieceCount ); 2447 tor->info.pieces[pieceIndex].timeChecked = tr_time( ); 2462 tr_torrentCheckPiece( tr_torrent * tor, tr_piece_index_t pieceIndex ) 2464 const bool pass = tr_ioTestPiece( tor, pieceIndex ); 2466 tr_deeplog_tor( tor, "[LAZY] tr_torrentCheckPiece tested piece %zu, pass==%d", (size_t)pieceIndex, (in 1495 tr_torrentSetHasPiece( tr_torrent * tor, tr_piece_index_t pieceIndex, bool has ) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/gtk/ |
H A D | makemeta-ui.c | 70 const double fraction = b->pieceCount ? ((double)b->pieceIndex / b->pieceCount) : 0; 95 if( !b->pieceIndex ) 99 tr_strlsize( sizebuf, (uint64_t)b->pieceIndex *
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/qt/ |
H A D | options.cc | 498 uint64_t getPieceSize( const tr_info * info, tr_piece_index_t pieceIndex ) 500 if( pieceIndex != info->pieceCount - 1 )
|
H A D | make-dialog.cc | 81 myNewProgress->setValue( (int) ((100.0 * b->pieceIndex) / denom ) );
|