Lines Matching refs:fileNum
3027 tr_torrentFileCompleted( tr_torrent * tor, tr_file_index_t fileNum )
3032 const tr_file * f = &inf->files[fileNum];
3038 tr_fdFileClose( tor->session, tor, fileNum );
3048 if( tr_torrentFindFile2( tor, fileNum, &base, &sub, NULL ) )
3071 tr_torrentFindFile2( const tr_torrent * tor, tr_file_index_t fileNum,
3080 assert( fileNum < tor->info.fileCount );
3082 file = &tor->info.files[fileNum];
3103 part = tr_torrentBuildPartial( tor, fileNum );
3133 tr_torrentFindFile( const tr_torrent * tor, tr_file_index_t fileNum )
3139 if( tr_torrentFindFile2( tor, fileNum, &base, &subpath, NULL ) )
3167 tr_torrentBuildPartial( const tr_torrent * tor, tr_file_index_t fileNum )
3169 return tr_strdup_printf( "%s.part", tor->info.files[fileNum].name );