Home
last modified time | relevance | path

Searched refs:socks (Results 1 – 25 of 60) sorted by relevance

123

/external/python/httplib2/python2/httplib2/test/
Dtest_no_socket.py14 self._oldsocks = httplib2.socks
15 httplib2.socks = None
18 httplib2.socks = self._oldsocks
/external/python/httplib2/tests/
Dtest_proxy.py94 httplib2.socks.PROXY_TYPE_HTTP, "localhost", 1234, proxy_headers=headers
110 httplib2.socks.PROXY_TYPE_HTTP, "255.255.255.255", 8001
124 httplib2.socks.PROXY_TYPE_HTTP,
139 httplib2.socks.PROXY_TYPE_HTTP,
/external/python/httplib2/python2/httplib2/test/functional/
Dtest_proxies.py12 from httplib2 import socks
29 if not socks:
76 socks.PROXY_TYPE_HTTP, "localhost", self.proxyport
/external/curl/lib/
Dasyn-ares.c244 curl_socket_t *socks, in Curl_resolver_getsock() argument
253 (ares_socket_t *)socks, numsocks); in Curl_resolver_getsock()
283 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform() local
288 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform()
295 pfd[i].fd = socks[i]; in waitperform()
299 pfd[i].fd = socks[i]; in waitperform()
Durl.h66 curl_socket_t *socks,
69 curl_socket_t *socks,
Dmulti.c871 curl_socket_t *socks, in domore_getsock() argument
875 return conn->handler->domore_getsock(conn, socks, numsocks); in domore_getsock()
881 curl_socket_t *socks, /* points to numsocks number in multi_getsock() argument
915 return Curl_resolv_getsock(data->conn, socks, numsocks); in multi_getsock()
919 return Curl_protocol_getsock(data->conn, socks, numsocks); in multi_getsock()
923 return Curl_doing_getsock(data->conn, socks, numsocks); in multi_getsock()
926 return waitproxyconnect_getsock(data->conn, socks, numsocks); in multi_getsock()
929 return waitconnect_getsock(data->conn, socks, numsocks); in multi_getsock()
932 return domore_getsock(data->conn, socks, numsocks); in multi_getsock()
939 return Curl_single_getsock(data->conn, socks, numsocks); in multi_getsock()
[all …]
Ddoh.h41 int Curl_doh_getsock(struct connectdata *conn, curl_socket_t *socks,
Dtransfer.h51 curl_socket_t *socks,
Dpingpong.h138 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks,
DMakefile.inc48 inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c \
69 socks.h ssh.h curl_base64.h curl_addrinfo.h curl_sspi.h \
Dhostip.c1060 curl_socket_t *socks, in Curl_resolv_getsock() argument
1068 return Curl_resolver_getsock(conn, socks, numsocks); in Curl_resolv_getsock()
1071 (void)socks; in Curl_resolv_getsock()
Drtsp.c67 curl_socket_t *socks,
90 curl_socket_t *socks, in rtsp_getsock_do() argument
95 socks[0] = conn->sock[FIRSTSOCKET]; in rtsp_getsock_do()
Dhostip.h249 curl_socket_t *socks,
Durldata.h659 curl_socket_t *socks,
665 curl_socket_t *socks,
671 curl_socket_t *socks,
678 curl_socket_t *socks,
Dpingpong.c466 curl_socket_t *socks, in Curl_pp_getsock() argument
474 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_pp_getsock()
Dasyn-thread.c595 curl_socket_t *socks, in Curl_resolver_getsock() argument
602 (void)socks; in Curl_resolver_getsock()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver.cc242 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in grpc_ares_notify_on_event_locked() local
244 ares_getsock(ev_driver->channel, socks, ARES_GETSOCK_MAXNUM); in grpc_ares_notify_on_event_locked()
248 fd_node* fdn = pop_fd_node_locked(&ev_driver->fds, socks[i]); in grpc_ares_notify_on_event_locked()
254 socks[i], ev_driver->pollset_set, ev_driver->combiner); in grpc_ares_notify_on_event_locked()
/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc208 ScopedSocketPair socks; in TYPED_TEST() local
209 EXPECT_EQ(1, HANDLE_EINTR(write(socks.right, "a", 1))); in TYPED_TEST()
214 FROM_HERE, socks.left, MessageLoop::kWatchRead, true, in TYPED_TEST()
222 FROM_HERE, socks.left, MessageLoop::kWatchWrite, true, in TYPED_TEST()
/external/syzkaller/vm/gvisor/
Dgvisor.go303 socks, err := syscall.Socketpair(syscall.AF_UNIX, syscall.SOCK_STREAM, 0)
307 hostSock := os.NewFile(uintptr(socks[0]), "host unix proxy")
308 guestSock := os.NewFile(uintptr(socks[1]), "guest unix proxy")
/external/openssh/
Dauth-pam.c675 int socks[2]; in sshpam_init_ctx() local
694 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) { in sshpam_init_ctx()
699 ctxt->pam_psock = socks[0]; in sshpam_init_ctx()
700 ctxt->pam_csock = socks[1]; in sshpam_init_ctx()
704 close(socks[0]); in sshpam_init_ctx()
705 close(socks[1]); in sshpam_init_ctx()
/external/curl/docs/cmdline-opts/
Dsocks5-gssapi-service.d6 The default service name for a socks server is rcmd/server-fqdn. This option
/external/curl/tests/data/
Dtest121230 noproxy setting together with socks proxy
/external/curl/lib/vtls/
Dvtls.c518 int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks, in Curl_ssl_getsock() argument
528 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_ssl_getsock()
533 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_ssl_getsock()
541 curl_socket_t *socks, in Curl_ssl_getsock() argument
545 (void)socks; in Curl_ssl_getsock()
/external/python/httplib2/python3/httplib2/
D__init__.py47 import socks
51 from . import socks
1011 return socks and (self.proxy_host != None) and (self.proxy_port != None)
1122 if self.proxy_info and socks is None:
1147 self.sock = socks.socksocket(af, socktype, proto)
1274 sock = socks.socksocket(family, socktype, proto)
/external/python/httplib2/python2/httplib2/
D__init__.py58 from httplib2 import socks
61 import socks
63 socks = None variable
1149 if self.proxy_info and socks is None:
1172 self.sock = socks.socksocket(af, socktype, proto)
1339 sock = socks.socksocket(family, socktype, proto)

123