/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/ |
H A D | command_groups.cc | 81 torrent::choke_group* 101 torrent::Object 113 torrent::Object 162 torrent::choke_group* 175 torrent::Object 185 torrent::Object 206 torrent::Object 223 torrent::Object 239 torrent::Object 244 …int t = torrent::option_find_string(is_up ? torrent::OPTION_CHOKE_HEURISTICS_UPLOAD : torrent::OPT… in apply_cg_heuristics_set() [all …]
|
H A D | command_file.cc | 53 if (value > torrent::PRIORITY_HIGH) in apply_f_set_priority() 54 throw torrent::input_error("Invalid value."); in apply_f_set_priority() 56 file->set_priority((torrent::priority_t)value); in apply_f_set_priority() 60 torrent::Object 61 apply_f_path(torrent::File* file) { in apply_f_path() 74 torrent::Object 75 apply_f_path_components(torrent::File* file) { in apply_f_path_components() 76 torrent::Object resultRaw = torrent::Object::create_list(); in apply_f_path_components() 85 torrent::Object 86 apply_f_path_depth(torrent::File* file) { in apply_f_path_depth() [all …]
|
H A D | command_ui.cc | 61 torrent::Object 81 torrent::Object 90 torrent::Object 110 torrent::Object 112 torrent::Object rawResult = torrent::Object::create_list(); in apply_view_list() 121 torrent::Object 137 torrent::Object 146 torrent::Object 154 torrent::Object 178 torrent::Object [all …]
|
H A D | command_peer.cc | 56 torrent::Object 57 retrieve_p_id(torrent::Peer* peer) { in retrieve_p_id() 63 torrent::Object 64 retrieve_p_id_html(torrent::Peer* peer) { in retrieve_p_id_html() 70 torrent::Object 71 retrieve_p_address(torrent::Peer* peer) { in retrieve_p_address() 80 torrent::Object 81 retrieve_p_port(torrent::Peer* peer) { in retrieve_p_port() 85 torrent::Object 93 torrent::Object [all …]
|
H A D | command_download.cc | 97 torrent::Object 166 torrent::Object 190 torrent::Object 199 torrent::Object 228 torrent::Object 239 torrent::Object 257 torrent::Object 267 torrent::Object 277 torrent::Object 296 torrent::Object [all …]
|
H A D | command_tracker.cc | 55 tracker_set_enabled(torrent::Tracker* tracker, bool state) { in tracker_set_enabled() 69 torrent::dht_manager()->add_node(sa, m_port); in operator ()() 76 torrent::Object 78 if (!torrent::dht_manager()->is_valid()) in apply_dht_add_node() 79 throw torrent::input_error("DHT not enabled."); in apply_dht_add_node() 90 throw torrent::input_error("Could not parse host."); in apply_dht_add_node() 93 throw torrent::input_error("Invalid port number."); in apply_dht_add_node() 96 return torrent::Object(); in apply_dht_add_node() 99 torrent::Object 103 … arg ? std::mem_fun(&torrent::Tracker::enable) : std::mem_fun(&torrent::Tracker::disable)); in apply_enable_trackers() [all …]
|
H A D | command_throttle.cc | 55 parse_address_range(const torrent::Object::list_type& args, torrent::Object::list_type::const_itera… in parse_address_range() 95 torrent::Object 121 … throttle = (up ? torrent::up_throttle_global() : torrent::down_throttle_global())->create_slave(); in apply_throttle() 126 return torrent::Object(); in apply_throttle() 134 torrent::Object 139 …torrent::Throttle* global = flags & throttle_info_down ? torrent::down_throttle_global() : torrent… in retrieve_throttle_info() 154 torrent::Object 165 return torrent::Object(); in apply_address_throttle() 168 torrent::Object 174 return torrent::Object(); in throttle_update() [all …]
|
H A D | command_ip.cc | 57 torrent::Object 63 return torrent::Object(); in apply_ip_tables_insert_table() 66 torrent::Object 77 torrent::Object 103 torrent::Object 293 torrent::Object 298 torrent::Object 312 torrent::Object 322 torrent::Object 367 torrent::Object [all …]
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/torrent/ |
H A D | PlatformTorrentUtils.java | 114 if (torrent == null) { in getContentMap() 139 if (torrent == null) { in getTempContentMap() 164 if (torrent == null) { in getContentMapString() 187 if (torrent == null) { in setContentMapString() 196 if (torrent == null) { in getContentMapLong() 220 if ( torrent == null ){ in getContentMapMap() 236 if (torrent == null) { in setContentMapLong() 246 if (torrent == null) { in setContentMapMap() 322 TOTorrent torrent ) in isFeaturedContent() argument 386 if (torrent == null) { in isContent() [all …]
|
/dports/net-p2p/libtorrent/libtorrent-0.13.8/test/torrent/ |
H A D | tracker_timeout_test.cc | 16 torrent::cachedTime = rak::timer::current(); in setUp() 47 torrent::cachedTime += rak::timer::from_seconds(3); in test_timeout_tracker() 50 flags = torrent::TrackerController::flag_active; in test_timeout_tracker() 53 tracker.send_state(torrent::Tracker::EVENT_NONE); in test_timeout_tracker() 55 tracker.send_state(torrent::Tracker::EVENT_SCRAPE); in test_timeout_tracker() 64 tracker.send_state(torrent::Tracker::EVENT_NONE); in test_timeout_tracker() 77 …flags = torrent::TrackerController::flag_active | torrent::TrackerController::flag_promiscuous_mod… in test_timeout_tracker() 80 tracker.send_state(torrent::Tracker::EVENT_NONE); in test_timeout_tracker() 91 flags = torrent::TrackerController::flag_active | torrent::TrackerController::flag_send_update; in test_timeout_update() 96 tracker.send_state(torrent::Tracker::EVENT_NONE); in test_timeout_update() [all …]
|
H A D | object_stream_test.cc | 54 torrent::object_buffer_t 64 torrent::Object obj = create_bencode(string_bencode); in testBuffer() 92 } catch (torrent::bencode_error& e) { in object_write_bencode() 99 torrent::Object tmp; in object_stream_read_skip() 103 } catch (torrent::bencode_error& e) { in object_stream_read_skip() 110 torrent::Object tmp; in object_stream_read_skip_catch() 114 } catch (torrent::bencode_error& e) { in object_stream_read_skip_catch() 121 } catch (torrent::bencode_error& e) { in object_stream_read_skip_catch() 169 torrent::Object obj; in test_write() 182 obj = torrent::Object::create_map(); in test_write() [all …]
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/webui/api/serialize/ |
H A D | serialize_torrent.cpp | 102 ? torrent.addedTime().toSecsSinceEpoch() in serialize() 109 {KEY_TORRENT_NAME, torrent.name()}, in serialize() 111 {KEY_TORRENT_SIZE, torrent.wantedSize()}, in serialize() 112 {KEY_TORRENT_PROGRESS, torrent.progress()}, in serialize() 116 {KEY_TORRENT_SEEDS, torrent.seedsCount()}, in serialize() 118 {KEY_TORRENT_LEECHS, torrent.leechsCount()}, in serialize() 122 {KEY_TORRENT_ETA, torrent.eta()}, in serialize() 126 {KEY_TORRENT_CATEGORY, torrent.category()}, in serialize() 129 {KEY_TORRENT_FORCE_START, torrent.isForced()}, in serialize() 144 {KEY_TORRENT_MAX_RATIO, torrent.maxRatio()}, in serialize() [all …]
|
/dports/net-p2p/libtorrent/libtorrent-0.13.8/test/ |
H A D | Makefile.am | 7 ../src/torrent/libsub_torrent.la \ 40 torrent/utils/log_test.cc \ 41 torrent/utils/log_test.h \ 44 torrent/utils/net_test.cc \ 45 torrent/utils/net_test.h \ 49 torrent/utils/test_extents.h \ 59 torrent/http_test.cc \ 60 torrent/http_test.h \ 61 torrent/object_test.cc \ 62 torrent/object_test.h \ [all …]
|
H A D | Makefile.in | 831 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 833 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 835 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 837 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 839 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 841 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 843 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 845 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 847 torrent/$(am__dirstamp) torrent/$(DEPDIR)/$(am__dirstamp) 1174 torrent/LibTorrentTest-http_test.o: torrent/http_test.cc [all …]
|
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/test/ |
H A D | Makefile.am | 64 bad_name.torrent \ 65 base.torrent \ 88 large.torrent \ 98 no_name.torrent \ 103 sample.torrent \ 108 string.torrent \ 124 zero.torrent \ 125 zero2.torrent 128 test1.torrent \ 132 test2.torrent \ [all …]
|
/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/test/ |
H A D | Makefile.am | 64 bad_name.torrent \ 65 base.torrent \ 88 large.torrent \ 98 no_name.torrent \ 103 sample.torrent \ 108 string.torrent \ 124 zero.torrent \ 125 zero2.torrent 128 test1.torrent \ 132 test2.torrent \ [all …]
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/util/ |
H A D | PlatformTorrentUtils.java | 54 if (torrent == null) { in getContentMap() 79 if (torrent == null) { in getTempContentMap() 104 if (torrent == null) { in getContentMapString() 127 if (torrent == null) { in setContentMapString() 137 if (torrent == null) { in getContentMapLong() 161 if ( torrent == null ){ in getContentMapMap() 177 if (torrent == null) { in setContentMapLong() 188 if (torrent == null) { in setContentMapMap() 264 writeTorrentIfExists(torrent); in setContentDescription() 281 writeTorrentIfExists(torrent); in setContentThumbnail() [all …]
|
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/rpc/ |
H A D | object_storage.h | 55 torrent::Object object; 118 …iterator insert(const torrent::raw_string& key, const torrent::Object& object, unsigned int flags); 129 const torrent::Object& get(const torrent::raw_string& key); 133 const torrent::Object& set_bool(const torrent::raw_string& key, int64_t object); 137 const torrent::Object& set_value(const torrent::raw_string& key, int64_t object); 141 const torrent::Object& set_string(const torrent::raw_string& key, const std::string& object); 145 …const torrent::Object& set_list(const torrent::raw_string& key, const torrent::Object::list_type& … 153 …torrent::Object call_function(const torrent::raw_string& key, target_type target, const tor… 158 const torrent::Object& set_function(const torrent::raw_string& key, const std::string& object); 236 inline torrent::Object [all …]
|
H A D | command.h | 54 namespace torrent { 112 typedef std::function<torrent::Object (target_type, const torrent::Object&)> base_function; 125 typedef const torrent::Object (*generic_slot) (command_base*, const torrent::Object&); 129 …typedef const torrent::Object (*file_slot) (command_base*, torrent::File*, const torrent::Obje… 130 …typedef const torrent::Object (*file_itr_slot) (command_base*, torrent::FileListIterator*, const t… 131 …typedef const torrent::Object (*peer_slot) (command_base*, torrent::Peer*, const torrent::Obje… 132 …typedef const torrent::Object (*tracker_slot) (command_base*, torrent::Tracker*, const torrent::O… 149 torrent::Object* begin() { return reinterpret_cast<torrent::Object*>(buffer); } 176 static torrent::Object* push_stack(const torrent::Object::list_type& args, stack_type* stack); 177 …static torrent::Object* push_stack(const torrent::Object* first_arg, const torrent::Object* last_a… [all …]
|
H A D | command.cc | 47 template const torrent::Object func_name<torrent::Peer*>(command_base* rawCommand, target_type targ… 48 template const torrent::Object func_name<torrent::Tracker*>(command_base* rawCommand, target_type t… 49 template const torrent::Object func_name<torrent::File*>(command_base* rawCommand, target_type targ… 50 template const torrent::Object func_name<torrent::FileListIterator*>(command_base* rawCommand, targ… 54 template <typename T> const torrent::Object 64 template <typename T> const torrent::Object 72 torrent::Object::value_type val; in command_base_call_value_base() 83 template <typename T> const torrent::Object 88 template <typename T> const torrent::Object 96 template <typename T> const torrent::Object [all …]
|
H A D | parse_commands.h | 73 inline torrent::Object 78 inline torrent::Object 88 inline torrent::Object 94 return torrent::Object(); in parse_command_multiple_d_nothrow() 106 inline torrent::Object 109 torrent::Object rawArgs = torrent::Object::create_list(); in call_command_d_range() 118 torrent::Object call_object(const torrent::Object& command, target_type target = make_target()); 120 inline torrent::Object 125 inline torrent::Object 134 const torrent::Object [all …]
|
/dports/net-p2p/rtorrent/rtorrent-0.9.8/src/core/ |
H A D | download_list.cc | 107 torrent::HashString key; in find_hex() 124 torrent::Download download; in create() 129 } catch (torrent::local_error& e) { in create() 145 torrent::Object* object = new torrent::Object; in create() 146 torrent::Download download; in create() 164 } catch (torrent::local_error& e) { in create() 195 } catch (torrent::local_error& e) { in insert() 240 } catch (torrent::local_error& e) { in open() 269 } catch (torrent::local_error& e) { in close() 424 } catch (torrent::local_error& e) { in resume() [all …]
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/gui/ |
H A D | transferlistmodel.cpp | 137 addTorrent(torrent); 358 return statusString(torrent->state(), torrent->error()); in displayValue() 360 return amountString(torrent->seedsCount(), torrent->totalSeedsCount()); in displayValue() 362 return amountString(torrent->leechsCount(), torrent->totalLeechersCount()); in displayValue() 398 return timeElapsedString(torrent->activeTime(), torrent->seedingTime()); in displayValue() 406 …return lastActivityString((torrent->isPaused() || torrent->isChecking()) ? -1 : torrent->timeSince… in displayValue() 431 return !alt ? torrent->seedsCount() : torrent->totalSeedsCount(); in internalValue() 433 return !alt ? torrent->leechsCount() : torrent->totalLeechersCount(); in internalValue() 467 return !alt ? torrent->activeTime() : torrent->seedingTime(); in internalValue() 477 return (torrent->isPaused() || torrent->isChecking()) ? -1 : torrent->timeSinceActivity(); in internalValue() [all …]
|
/dports/net-p2p/p5-Net-BitTorrent/Net-BitTorrent-0.052/t/700_classes/Net/BitTorrent/ |
H A D | Torrent.t | 60 my $torrent = 80 is( $torrent->infohash, 100 is( $torrent->bitfield, 115 is($torrent->comment, 118 is($torrent->created_by, 124 is($torrent->name, 130 ok($torrent->status & 64, 313 is( $torrent->_piece_by_index($torrent->piece_count), 319 is( $torrent->_piece_by_index($torrent->piece_count + 1), 370 $torrent->as_string(); [all …]
|
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/webui/api/ |
H A D | torrentscontroller.cpp | 380 if (!torrent) in propertiesAction() 451 if (!torrent) in trackersAction() 484 if (!torrent) in webseedsAction() 516 if (!torrent) in filesAction() 589 if (!torrent) in pieceHashesAction() 611 if (!torrent) in pieceStatesAction() 722 if (!torrent) in addTrackersAction() 744 if (!torrent) in editTrackerAction() 782 if (!torrent) in removeTrackersAction() 873 if (!torrent) in filePrioAction() [all …]
|