/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/base/bittorrent/ |
H A D | torrentinfo.cpp | 80 TorrentInfo::TorrentInfo(std::shared_ptr<const lt::torrent_info> nativeInfo) in TorrentInfo() function in TorrentInfo 85 TorrentInfo::TorrentInfo(const TorrentInfo &other) in TorrentInfo() function in TorrentInfo 90 TorrentInfo &TorrentInfo::operator=(const TorrentInfo &other) in operator =() 99 TorrentInfo TorrentInfo::load(const QByteArray &data, QString *error) noexcept in load() 113 return TorrentInfo(); in load() 121 return TorrentInfo(); in load() 127 TorrentInfo TorrentInfo::loadFromFile(const QString &path, QString *error) noexcept in loadFromFile() 137 return TorrentInfo(); in loadFromFile() 144 return TorrentInfo(); in loadFromFile() 392 TorrentInfo::PieceRange TorrentInfo::filePieces(const QString &file) const in filePieces() [all …]
|
H A D | torrentinfo.h | 50 class TorrentInfo final : public AbstractFileStorage 52 Q_DECLARE_TR_FUNCTIONS(TorrentInfo) 55 explicit TorrentInfo(std::shared_ptr<const lt::torrent_info> nativeInfo = {}); 56 TorrentInfo(const TorrentInfo &other); 58 static TorrentInfo load(const QByteArray &data, QString *error = nullptr) noexcept; 59 static TorrentInfo loadFromFile(const QString &path, QString *error = nullptr) noexcept; 62 TorrentInfo &operator=(const TorrentInfo &other); 114 Q_DECLARE_METATYPE(BitTorrent::TorrentInfo)
|
H A D | session.h | 219 QString torrentTempPath(const TorrentInfo &torrentInfo) const; 458 …bool addTorrent(const TorrentInfo &torrentInfo, const AddTorrentParams ¶ms = AddTorrentParams(… 496 void findIncompleteFiles(const TorrentInfo &torrentInfo, const QString &savePath) const; 507 void metadataDownloaded(const TorrentInfo &info); 598 …bool loadTorrentResumeData(const QByteArray &data, const TorrentInfo &metadata, LoadTorrentParams … 601 …bool addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &source, const AddTorrentParams &a…
|
H A D | torrent.h | 48 class TorrentInfo; variable 197 virtual TorrentInfo info() const = 0;
|
H A D | torrentimpl.h | 154 TorrentInfo info() const override; 308 TorrentInfo m_torrentInfo;
|
H A D | torrentimpl.cpp | 293 m_torrentInfo = TorrentInfo {m_nativeHandle.torrent_file()}; in TorrentImpl() 806 TorrentInfo TorrentImpl::info() const in info() 1483 const TorrentInfo::PieceRange extremities = info().filePieces(index); in applyFirstLastPiecePriority() 1552 m_torrentInfo = TorrentInfo {m_nativeHandle.torrent_file()}; in reload() 1800 TorrentInfo metadata = TorrentInfo {m_nativeHandle.torrent_file()}; in handleSaveResumeDataAlert() 2273 const TorrentInfo info = this->info(); in availableFileFractions() 2276 const TorrentInfo::PieceRange filePieces = info.filePieces(i); in availableFileFractions()
|
H A D | session.cpp | 677 QString Session::torrentTempPath(const TorrentInfo &torrentInfo) const in torrentTempPath() 1723 addTorrent(TorrentInfo::load(result.data), m_downloadedTorrents.take(result.url)); in handleDownloadFinished() 2057 if (addTorrent(TorrentInfo::loadFromFile(source), params)) in addTorrent() 2073 bool Session::addTorrent(const TorrentInfo &torrentInfo, const AddTorrentParams ¶ms) in addTorrent() 2121 const bool hasMetadata = std::holds_alternative<TorrentInfo>(source); in addTorrent_impl() 2122 TorrentInfo metadata = (hasMetadata ? std::get<TorrentInfo>(source) : TorrentInfo {}); in addTorrent_impl() 2258 void Session::findIncompleteFiles(const TorrentInfo &torrentInfo, const QString &savePath) const in findIncompleteFiles() 3942 TorrentInfo torrentInfo = TorrentInfo::loadFromFile(torrentFullpath); in handleTorrentFinished() 4228 addTorrent(TorrentInfo::loadFromFile(torrentFullpath), params); in recursiveTorrentDownload() 4389 TorrentInfo metadata = TorrentInfo::loadFromFile(torrentFilePath); in startUpTorrents() [all …]
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/tests/ |
H A D | test_ui_common.py | 15 from deluge.ui.common import TorrentInfo 29 ti = TorrentInfo(filename) 45 ti = TorrentInfo(filename)
|
H A D | test_metafile.py | 26 from deluge.ui.common import TorrentInfo 28 TorrentInfo(filename)
|
H A D | test_maketorrent.py | 26 from deluge.ui.common import TorrentInfo 28 TorrentInfo(filename)
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/torrent-10000.1.1/src/Data/ |
H A D | Torrent.hs | 9 , TorrentInfo(..) 34 , tInfo :: TorrentInfo 38 data TorrentInfo type 90 parseTorrentInfo :: ByteString -> Integer -> ByteString -> BParser TorrentInfo
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/gui/properties/ |
H A D | piecesbar.cpp | 55 PieceIndexToImagePos(const BitTorrent::TorrentInfo &torrentInfo, const QImage &image) in PieceIndexToImagePos() 66 ImageRange imagePos(const BitTorrent::TorrentInfo::PieceRange &pieces) const in imagePos() 85 const BitTorrent::TorrentInfo m_torrentInfo; 313 …BitTorrent::TorrentInfo::PieceRange filePieces = m_torrent->info().filePieces(fileIndices.first()); in highlightFile()
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/gui/ |
H A D | torrentcontentmodel.h | 44 class TorrentInfo; variable 77 void setupModelData(const BitTorrent::TorrentInfo &info);
|
H A D | addnewtorrentdialog.h | 84 void updateMetadata(const BitTorrent::TorrentInfo &metadata); 115 BitTorrent::TorrentInfo m_torrentInfo;
|
H A D | torrentcontenttreeview.h | 37 class TorrentInfo; variable
|
H A D | torrentcreatordialog.cpp | 237 …const BitTorrent::TorrentInfo info = BitTorrent::TorrentInfo::loadFromFile(Utils::Fs::toNativePath… in handleCreationSuccess()
|
H A D | addnewtorrentdialog.cpp | 256 m_torrentInfo = BitTorrent::TorrentInfo::loadFromFile(decodedPath, &error); in loadTorrentFile() 638 void AddNewTorrentDialog::updateMetadata(const BitTorrent::TorrentInfo &metadata) in updateMetadata() 724 m_torrentInfo = BitTorrent::TorrentInfo::load(result.data, &error); in handleDownloadFinished()
|
H A D | torrentcontentmodel.cpp | 480 void TorrentContentModel::setupModelData(const BitTorrent::TorrentInfo &info) in setupModelData()
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/console/modes/ |
H A D | add_util.py | 23 from deluge.ui.common import TorrentInfo 86 TorrentInfo(f)
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/base/ |
H A D | torrentfileswatcher.h | 76 …void onTorrentFound(const BitTorrent::TorrentInfo &torrentInfo, const BitTorrent::AddTorrentParams…
|
H A D | torrentfileswatcher.cpp | 205 …void torrentFound(const BitTorrent::TorrentInfo &torrentInfo, const BitTorrent::AddTorrentParams &… 428 void TorrentFilesWatcher::onTorrentFound(const BitTorrent::TorrentInfo &torrentInfo in onTorrentFound() 525 const auto torrentInfo = BitTorrent::TorrentInfo::loadFromFile(filePath); in processFolder() 566 const auto torrentInfo = BitTorrent::TorrentInfo::loadFromFile(torrentPath); in processFailedTorrents()
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/webui/api/ |
H A D | torrentscontroller.cpp | 551 const BitTorrent::TorrentInfo info = torrent->info(); in filesAction() 568 const BitTorrent::TorrentInfo::PieceRange idx = info.filePieces(index); in filesAction() 700 const BitTorrent::TorrentInfo torrentInfo = BitTorrent::TorrentInfo::load(it.value()); in addAction()
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/gtk3/ |
H A D | addtorrentdialog.py | 35 from deluge.ui.common import TorrentInfo 252 info = TorrentInfo(filename) 274 info = TorrentInfo.from_metadata(metadata, [[t] for t in trackers])
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/web/ |
H A D | json_api.py | 31 from deluge.ui.common import FileTree2, TorrentInfo 710 torrent_info = TorrentInfo(filename.strip(), 2)
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/ |
H A D | common.py | 172 class TorrentInfo(object): class
|