Searched refs:sockets (Results 1 - 25 of 44) sorted by relevance

12

/macosx-10.10/curl-83.1.2/curl/tests/libtest/
H A Dlib582.c34 curl_socket_t *sockets; member in struct:Sockets
35 int count; /* number of sockets actually stored in array */
36 int max_count; /* max number of sockets that fit in allocated array */
45 * Remove a file descriptor from a sockets array.
47 static void removeFd(struct Sockets* sockets, curl_socket_t fd, int mention) argument
54 for (i = 0; i < sockets->count; ++i) {
55 if (sockets->sockets[i] == fd) {
56 if (i < sockets->count - 1)
57 memmove(&sockets
67 addFd(struct Sockets* sockets, curl_socket_t fd, const char *what) argument
108 struct ReadWriteSockets* sockets = userp; local
188 updateFdSet(struct Sockets* sockets, fd_set* fdset, curl_socket_t *maxFd) argument
214 checkFdSet(CURLM *curl, struct Sockets *sockets, fd_set *fdset, int evBitmask, const char *name) argument
234 struct ReadWriteSockets sockets = {{NULL, 0, 0}, {NULL, 0, 0}}; local
[all...]
H A Dlibntlmconnect.c37 static curl_socket_t sockets[MAX_EASY_HANDLES]; variable
77 if (sockets[idx] == CURL_SOCKET_BAD) {
79 sockets[idx] = sock;
81 else if (sock != sockets[idx]) {
85 curlx_sztosi(idx), (int)sockets[idx], (int)sock);
117 sockets[i] = CURL_SOCKET_BAD;
195 if (sockets[j] == curfd) {
211 if (sockets[num_handles-1] != CURL_SOCKET_BAD) {
214 assert(curfd != sockets[num_handles-1]);
216 num_handles-1, (int)sockets[num_handle
[all...]
/macosx-10.10/ruby-106/ruby/ext/socket/lib/
H A Dsocket.rb371 sockets = []
373 sockets.clear
381 sockets << s
394 sockets.each {|s| s.close }
397 sockets.each {|s| s.close }
400 sockets
408 sockets = ip_sockets_port0(ai_list, true)
410 sockets.each {|s|
414 sockets.each {|s| s.close }
417 sockets
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/Launcher/efl/
H A DProcessLauncherEfl.cpp70 int sockets[2]; local
71 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0) {
101 auto args = createArgsArray(processCmdPrefix, executablePath, String::number(sockets[0]), pluginPath);
108 close(sockets[1]);
111 close(sockets[0]);
114 RunLoop::main().dispatch(bind(&ProcessLauncher::didFinishLaunchingProcess, this, pid, sockets[1]));
/macosx-10.10/Heimdal-398.1.2/appl/kx/
H A Dkxd.c86 * Remove all sockets and cookie files.
90 cleanup(int nsockets, struct x_socket *sockets) argument
97 if (sockets[i].pathname != NULL) {
98 unlink (sockets[i].pathname);
99 free (sockets[i].pathname);
102 free(sockets);
111 int *dispnr, int *nsockets, struct x_socket **sockets,
127 *sockets = NULL;
203 tmp = get_xsockets (nsockets, sockets, tcp_flag);
210 if (chown_xsockets (*nsockets, *sockets,
110 recv_conn(int sock, kx_context *kc, int *dispnr, int *nsockets, struct x_socket **sockets, int tcp_flag) argument
446 doit_passive(kx_context *kc, int sock, int flags, int dispnr, int nsockets, struct x_socket *sockets, int tcp_flag) argument
686 struct x_socket *sockets; local
[all...]
H A Dkx.h154 int get_xsockets (int *number, struct x_socket **sockets, int tcpp);
155 int chown_xsockets (int n, struct x_socket *sockets, uid_t uid, gid_t gid);
H A Dkx.c348 struct x_socket *sockets; local
429 tmp2 = get_xsockets (&nsockets, &sockets, kc->tcp_flag);
431 errx(1, "Failed to open sockets");
451 if (sockets[i].fd >= FD_SETSIZE)
453 FD_SET(sockets[i].fd, &fdset);
458 if (FD_ISSET(sockets[i].fd, &fdset)) {
459 thisfd = sockets[i].fd;
500 close (sockets[i].fd);
H A Dcommon.c196 * The potential places to create unix sockets.
202 "/usr/spool/sockets/X11/" "%u",
242 * Allocate a display, returning the number of sockets in `number' and
243 * all the corresponding sockets in `sockets'. If `tcp_socket' is
250 get_xsockets (int *number, struct x_socket **sockets, int tcp_socket) argument
328 *sockets = s;
333 * Change owner on the `n' sockets in `sockets' to `uid', `gid'.
338 chown_xsockets (int n, struct x_socket *sockets, uid_ argument
[all...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dssh-agent.c112 SocketEntry *sockets = NULL; variable
982 if (sockets[i].type == AUTH_UNUSED) {
983 sockets[i].fd = fd;
984 buffer_init(&sockets[i].input);
985 buffer_init(&sockets[i].output);
986 buffer_init(&sockets[i].request);
987 sockets[i].type = type;
992 sockets = xrealloc(sockets, new_alloc, sizeof(sockets[
[all...]
/macosx-10.10/ruby-106/ruby/lib/webrick/
H A Dutils.rb68 # Creates TCP server sockets bound to +address+:+port+ and returns them.
70 # It will create IPV4 and IPV6 sockets on all interfaces.
81 sockets = []
88 sockets << sock
94 raise last_error if sockets.empty?
95 return sockets
/macosx-10.10/bootp-298/IPConfiguration.bproj/
H A DDHCPv6Socket.c26 * - maintain list of DHCPv6 client "sockets"
27 * - distribute packet reception to enabled "sockets"
75 dynarray_t sockets; member in struct:DHCPv6SocketGlobals
173 dynarray_init(&globals->sockets, DHCPv6SocketFreeElement, NULL);
191 dynarray_free(&globals->sockets);
249 for (i = 0; i < dynarray_count(&S_globals->sockets); i++) {
252 client = dynarray_element(&S_globals->sockets, i);
314 if (dynarray_add(&globals->sockets, sock) == FALSE) {
341 i = dynarray_index(&S_globals->sockets, sock);
343 dynarray_remove(&S_globals->sockets,
[all...]
H A DRTADVSocket.c26 * - maintain list of Router Advertisement client "sockets"
27 * - distribute packet reception to enabled "sockets"
122 dynarray_t sockets; member in struct:RTADVSocketGlobals
182 dynarray_init(&globals->sockets, RTADVSocketFreeElement, NULL);
200 dynarray_free(&globals->sockets);
223 for (i = 0; i < dynarray_count(&S_globals->sockets); i++) {
227 sock = dynarray_element(&S_globals->sockets, i);
619 if (dynarray_add(&globals->sockets, sock) == FALSE) {
646 i = dynarray_index(&S_globals->sockets, sock);
648 dynarray_remove(&S_globals->sockets,
[all...]
/macosx-10.10/WebKit2-7600.1.25/Shared/linux/SeccompFilters/
H A DSeccompBroker.cpp286 int sockets[2]; local
287 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sockets) < 0)
292 close(sockets[1]);
293 SeccompBrokerClient::shared(sockets[0]);
300 close(sockets[0]);
301 runLoop(sockets[1]);
/macosx-10.10/WebKit2-7600.1.25/Platform/IPC/unix/
H A DConnectionUnix.cpp546 int sockets[2]; local
547 RELEASE_ASSERT(socketpair(AF_UNIX, SOCKET_TYPE, 0, sockets) != -1);
551 while (fcntl(sockets[1], F_SETFD, FD_CLOEXEC) == -1)
557 while (fcntl(sockets[0], F_SETFD, FD_CLOEXEC) == -1)
561 SocketPair socketPair = { sockets[0], sockets[1] };
/macosx-10.10/apr-32/apr/apr/test/
H A DNWGNUsockchild98 NLM_DESCRIPTION = socket NLM to test sockets
/macosx-10.10/xnu-2782.1.97/bsd/net/
H A Draw_usrreq.c118 int sockets = 0; local
156 sockets++;
168 sockets++;
/macosx-10.10/bind9-45.101/bind9/contrib/dbus/
H A Ddbus_mgr.c78 void * sockets; /* dbus fd tree */ member in struct:ns_dbus_mgr
251 mgr->sockets = 0L;
292 if( mgr->sockets != 0L )
295 twalk(mgr->sockets, dbus_mgr_close_socket);
296 tdestroy(mgr->sockets, dbus_mgr_destroy_socket);
297 mgr->sockets = 0L;
317 if( mgr->sockets != 0L )
319 twalk(mgr->sockets, dbus_mgr_close_socket);
320 tdestroy(mgr->sockets, dbus_mgr_destroy_socket);
321 mgr->sockets
[all...]
/macosx-10.10/ruby-106/ruby/test/socket/
H A Dtest_socket.rb146 sockets = Socket.tcp_server_sockets(port)
151 sockets.each {|s|
155 sockets.each {|s|
162 sockets = Socket.tcp_server_sockets(0)
163 ports = sockets.map {|s| s.local_address.ip_port }
169 if sockets
170 sockets.each {|s|
309 Socket.udp_server_sockets(0) {|sockets|
311 sockets.each {|s| famlies[s.local_address.afamily] = s }
368 port = sockets
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/conf/
H A Dfiles43 OPTIONS/sockets optional sockets
180 bsd/miscfs/fifofs/fifo_vnops.c optional fifo sockets
199 bsd/net/init.c optional sockets
466 bsd/kern/kpi_mbuf.c optional sockets
471 bsd/kern/mcache.c optional sockets
480 bsd/kern/sys_socket.c optional sockets
481 bsd/kern/sys_domain.c optional sockets
493 bsd/kern/uipc_domain.c optional sockets
494 bsd/kern/uipc_mbuf.c optional sockets
[all...]
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/unix/tools/
H A Dtclmanpages56 {http.n tcl/sockets/http}
107 {socket.n tcl/sockets/socket}
/macosx-10.10/apr-32/apr/apr/network_io/unix/
H A Dsockopt.c35 #error Please teach APR how to make sockets blocking on your platform.
61 #error Please teach APR how to make sockets non-blocking on your platform.
/macosx-10.10/apr-32/apr/apr/
H A Dapr.mak102 -@erase "$(INTDIR)\sockets.obj"
204 "$(INTDIR)\sockets.obj" \
308 -@erase "$(INTDIR)\sockets.obj"
411 "$(INTDIR)\sockets.obj" \
515 -@erase "$(INTDIR)\sockets.obj"
618 "$(INTDIR)\sockets.obj" \
722 -@erase "$(INTDIR)\sockets.obj"
825 "$(INTDIR)\sockets.obj" \
929 -@erase "$(INTDIR)\sockets.obj"
1032 "$(INTDIR)\sockets
[all...]
/macosx-10.10/security_systemkeychain-55202/src/
H A Dsystemkeychain.cpp564 launch_data_t sockets = launch_data_dict_lookup(checkinResponse, LAUNCH_JOBKEY_SOCKETS); local
565 if (NULL == sockets) {
566 syslog(LOG_ERR, "Unable to find sockets to listen to");
569 launch_data_t listening_fd_array = launch_data_dict_lookup(sockets, "Listener");
571 syslog(LOG_ERR, "No sockets to listen to");
583 // In theory there can be multiple sockets to listen to, and for the sake of not letting you set something
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/lib/SOAP/Transport/
H A DTCP.pm258 Reflects the attribute that denotes whether the client object is using SSL sockets for communications.
287 Reflects the attribute that denotes whether the client object is using SSL sockets for communications.
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/tests/
H A Dhelp.test159 signals/ sockets/ status/ strings/

Completed in 208 milliseconds

12