Home
last modified time | relevance | path

Searched refs:new_listeners (Results 1 – 25 of 29) sorted by relevance

12

/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/tracker/
H A DTrackerTorrentImpl.java334 List new_listeners = new ArrayList( listeners_cow ); in addListener() local
336 new_listeners.add( listener ); in addListener()
338 if ( new_listeners.size() == 1 ){ in addListener()
343 listeners_cow = new_listeners; in addListener()
358 List new_listeners = new ArrayList( listeners_cow ); in removeListener() local
360 new_listeners.remove( listener ); in removeListener()
362 if ( new_listeners.size() == 0 ){ in removeListener()
367 listeners_cow = new_listeners; in removeListener()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/util/
H A DListenerManager.java123 ArrayList<T> new_listeners = new ArrayList<T>( listeners ); in addListener() local
125 if (new_listeners.contains(listener)) { in addListener()
133 new_listeners.add( listener ); in addListener()
135 if (new_listeners.size() > 50) { in addListener()
140 Debug.out( String.valueOf( new_listeners )); in addListener()
148 listeners = new_listeners; in addListener()
172 ArrayList<T> new_listeners = new ArrayList<T>( listeners ); in removeListener() local
174 new_listeners.remove( listener ); in removeListener()
176 listeners = new_listeners; in removeListener()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/tracker/host/impl/
H A DTRHostTorrentPublishImpl.java383 List new_listeners = new ArrayList( listeners_cow ); in addListener() local
385 new_listeners.add(l); in addListener()
387 listeners_cow = new_listeners; in addListener()
404 List new_listeners = new ArrayList( listeners_cow ); in removeListener() local
406 new_listeners.remove(l); in removeListener()
408 listeners_cow = new_listeners; in removeListener()
H A DTRHostTorrentHostImpl.java726 List new_listeners = new ArrayList( listeners_cow ); in addListener() local
728 new_listeners.add(l); in addListener()
730 listeners_cow = new_listeners; in addListener()
747 List new_listeners = new ArrayList( listeners_cow ); in removeListener() local
749 new_listeners.remove(l); in removeListener()
751 listeners_cow = new_listeners; in removeListener()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/dht/speed/impl/
H A DDHTSpeedTesterImpl.java58 private List<DHTSpeedTesterListener> new_listeners = new ArrayList<DHTSpeedTesterListener>(); field in DHTSpeedTesterImpl
162 synchronized( new_listeners ){ in pingContacts()
164 if ( new_listeners.size() > 0 ){ in pingContacts()
166 copy = new ArrayList( new_listeners ); in pingContacts()
168 new_listeners.clear(); in pingContacts()
320 synchronized( new_listeners ){ in destroy()
322 for ( DHTSpeedTesterListener l: new_listeners ){ in destroy()
333 new_listeners.clear(); in destroy()
352 synchronized( new_listeners ){ in addListener()
354 new_listeners.add( listener ); in addListener()
/dports/mail/dovecot/dovecot-2.3.17/src/master/
H A Dservice-listen.c419 struct service_listener *const *new_listeners, *const *old_listeners; in services_listen_using() local
430 new_listeners = array_get(&new_service->listeners, &new_count); in services_listen_using()
433 if (new_listeners[i]->type != old_listeners[i]->type) in services_listen_using()
441 new_listeners[i]->fd = old_listeners[i]->fd; in services_listen_using()
458 new_listeners = array_get(&new_listeners_arr, &new_count); in services_listen_using()
464 listener_equals(new_listeners[i], in services_listen_using()
466 new_listeners[i]->fd = old_listeners[j]->fd; in services_listen_using()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/download/
H A DDownloadEventNotifierImpl.java169 ArrayList new_listeners = new ArrayList(listeners); in addListener() local
170 new_listeners.add(o); in addListener()
171 this.listeners = new_listeners; in addListener()
185 ArrayList new_listeners = new ArrayList(listeners); in removeListener() local
186 new_listeners.remove(o); in removeListener()
187 this.listeners = new_listeners; in removeListener()
H A DDownloadManagerImpl.java876 List<DownloadManagerListener> new_listeners = new ArrayList<DownloadManagerListener>(listeners); in addListener() local
877 new_listeners.add(l); in addListener()
878 listeners = new_listeners; in addListener()
904 List<DownloadManagerListener> new_listeners = new ArrayList<DownloadManagerListener>(listeners); in removeListener() local
905 new_listeners.remove(l); in removeListener()
906 listeners = new_listeners; in removeListener()
H A DDownloadImpl.java977 List new_listeners = new ArrayList( listeners ); in addListener() local
979 new_listeners.add(l); in addListener()
981 listeners = new_listeners; in addListener()
996 List new_listeners = new ArrayList(listeners); in removeListener() local
998 new_listeners.remove(l); in removeListener()
1000 listeners = new_listeners; in removeListener()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/config/impl/
H A DConfigurationManager.java1098 ParameterListener[] new_listeners = new ParameterListener[ listeners.length + 1 ]; in addParameterListener() local
1108 new_listeners[0] = new_listener; in addParameterListener()
1114 new_listeners[ listeners.length ] = new_listener; in addParameterListener()
1128 new_listeners[pos++] = existing_listener; in addParameterListener()
1133 System.out.println( parameter + "->" + new_listeners.length ); in addParameterListener()
1136 parameterListenerz.put( parameter, new_listeners ); in addParameterListener()
1163 ParameterListener[] new_listeners = new ParameterListener[ listeners.length - 1 ]; in removeParameterListener() local
1173 if ( pos == new_listeners.length ){ in removeParameterListener()
1178 new_listeners[pos++] = existing_listener; in removeParameterListener()
1184 System.out.println( parameter + "->" + new_listeners.length ); in removeParameterListener()
[all …]
/dports/net/tigervnc-server/tigervnc-1.12.0/common/network/
H A DTcpSocket.cxx459 std::list<SocketListener*> new_listeners; in createTcpListeners() local
480 new_listeners.push_back(new TcpListener(current->ai_addr, in createTcpListeners()
487 while (!new_listeners.empty()) { in createTcpListeners()
488 delete new_listeners.back(); in createTcpListeners()
489 new_listeners.pop_back(); in createTcpListeners()
496 if (new_listeners.empty ()) in createTcpListeners()
500 listeners->splice (listeners->end(), new_listeners); in createTcpListeners()
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/network/
H A DTcpSocket.cxx459 std::list<SocketListener*> new_listeners; in createTcpListeners() local
480 new_listeners.push_back(new TcpListener(current->ai_addr, in createTcpListeners()
487 while (!new_listeners.empty()) { in createTcpListeners()
488 delete new_listeners.back(); in createTcpListeners()
489 new_listeners.pop_back(); in createTcpListeners()
496 if (new_listeners.empty ()) in createTcpListeners()
500 listeners->splice (listeners->end(), new_listeners); in createTcpListeners()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/serial/soap/
H A Dsoap_server.cpp321 TListeners new_listeners; in AddMessageListener() local
322 new_listeners.push_back(listener); in AddMessageListener()
325 make_pair(ns,new_listeners))); in AddMessageListener()
/dports/dns/bind916/bind-9.16.27/bin/named/
H A Dcontrolconf.c1285 controllistenerlist_t new_listeners; in named_controls_configure() local
1290 ISC_LIST_INIT(new_listeners); in named_controls_configure()
1372 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1450 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1499 ISC_LIST_APPEND(new_listeners, listener, link); in named_controls_configure()
1517 ISC_LIST_APPENDLIST(cp->listeners, new_listeners, link); in named_controls_configure()
/dports/dns/bind-tools/bind-9.16.27/bin/named/
H A Dcontrolconf.c1285 controllistenerlist_t new_listeners; in named_controls_configure() local
1290 ISC_LIST_INIT(new_listeners); in named_controls_configure()
1372 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1450 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1499 ISC_LIST_APPEND(new_listeners, listener, link); in named_controls_configure()
1517 ISC_LIST_APPENDLIST(cp->listeners, new_listeners, link); in named_controls_configure()
/dports/dns/samba-nsupdate/bind-9.16.5/bin/named/
H A Dcontrolconf.c1285 controllistenerlist_t new_listeners; in named_controls_configure() local
1290 ISC_LIST_INIT(new_listeners); in named_controls_configure()
1372 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1450 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1499 ISC_LIST_APPEND(new_listeners, listener, link); in named_controls_configure()
1517 ISC_LIST_APPENDLIST(cp->listeners, new_listeners, link); in named_controls_configure()
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/bin/named/
H A Dcontrolconf.c1209 controllistenerlist_t new_listeners; in named_controls_configure() local
1214 ISC_LIST_INIT(new_listeners); in named_controls_configure()
1296 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1380 ISC_LIST_APPEND(new_listeners, listener, in named_controls_configure()
1429 ISC_LIST_APPEND(new_listeners, listener, link); in named_controls_configure()
1447 ISC_LIST_APPENDLIST(cp->listeners, new_listeners, link); in named_controls_configure()
/dports/dns/bind911/bind-9.11.37/bin/named/
H A Dcontrolconf.c1279 controllistenerlist_t new_listeners; in ns_controls_configure() local
1284 ISC_LIST_INIT(new_listeners); in ns_controls_configure()
1362 ISC_LIST_APPEND(new_listeners, in ns_controls_configure()
1435 ISC_LIST_APPEND(new_listeners, in ns_controls_configure()
1482 ISC_LIST_APPEND(new_listeners, in ns_controls_configure()
1500 ISC_LIST_APPENDLIST(cp->listeners, new_listeners, link); in ns_controls_configure()
H A Dstatschannel.c3276 ns_statschannellist_t new_listeners; in ns_statschannels_configure() local
3283 ISC_LIST_INIT(new_listeners); in ns_statschannels_configure()
3391 ISC_LIST_APPEND(new_listeners, listener, in ns_statschannels_configure()
3405 ISC_LIST_APPENDLIST(server->statschannels, new_listeners, link); in ns_statschannels_configure()
/dports/net/sniproxy/sniproxy-0.6.0/src/
H A Dlistener.c107 struct Listener_head *new_listeners, in listeners_reload() argument
110 struct Listener *iter_new = SLIST_FIRST(new_listeners); in listeners_reload()
131 SLIST_REMOVE(new_listeners, new_listener, Listener, entries); in listeners_reload()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/peer/impl/transport/
H A DPEPeerTransportProtocol.java4654 final List new_listeners = new ArrayList( peer_listeners_cow ); in addListener() local
4656 new_listeners.add( listener ); in addListener()
4658 peer_listeners_cow = new_listeners; in addListener()
4675 List new_listeners = new ArrayList( peer_listeners_cow ); in removeListener() local
4677 new_listeners.remove( listener ); in removeListener()
4679 if ( new_listeners.isEmpty()){ in removeListener()
4681 new_listeners = null; in removeListener()
4684 peer_listeners_cow = new_listeners; in removeListener()
/dports/security/tor/tor-0.4.6.8/src/app/config/
H A Dconfig.c1578 smartlist_t *new_listeners; /**< List of new listeners that we opened. */ member
1599 xn->new_listeners = smartlist_new(); in options_start_listener_transaction()
1641 if (retry_all_listeners(xn->new_listeners, in options_start_listener_transaction()
1712 smartlist_free(xn->new_listeners); in options_commit_listener_transaction()
1731 SMARTLIST_FOREACH(xn->new_listeners, connection_t *, conn, in options_rollback_listener_transaction()
1739 smartlist_free(xn->new_listeners); in options_rollback_listener_transaction()
/dports/security/py-stem/stem-1.8.0/stem/
H A Dcontrol.py816 new_listeners, is_changed = [], False
820 new_listeners.append((listener, spawn))
824 self._status_listeners = new_listeners
/dports/net/freeradius3/freeradius-server-3.0.25/src/main/
H A Dprocess.c310 static rad_listen_t *new_listeners = NULL; variable
339 this->next = new_listeners; in radius_update_listener()
340 new_listeners = this; in radius_update_listener()
5782 for (this = new_listeners; this != NULL; this = next) { in handle_signal_self()
5789 new_listeners = NULL; in handle_signal_self()
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/app/config/
H A Dconfig.c1583 smartlist_t *new_listeners; /**< List of new listeners that we opened. */ member
1604 xn->new_listeners = smartlist_new(); in options_start_listener_transaction()
1646 if (retry_all_listeners(xn->new_listeners, in options_start_listener_transaction()
1717 smartlist_free(xn->new_listeners); in options_commit_listener_transaction()
1736 SMARTLIST_FOREACH(xn->new_listeners, connection_t *, conn, in options_rollback_listener_transaction()
1744 smartlist_free(xn->new_listeners); in options_rollback_listener_transaction()

12