Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/
Dtest_no_socket.py13 self._oldsocks = httplib2.socks
14 httplib2.socks = None
17 httplib2.socks = self._oldsocks
/external/c-ares/
Dares_getsock.c25 ares_socket_t *socks, in ares_getsock() argument
49 socks[sockindex] = server->udp_socket; in ares_getsock()
61 socks[sockindex] = server->tcp_socket; in ares_getsock()
/external/chromium-trace/catapult/third_party/gsutil/third_party/socksipy-branch/
DREADME33 Simply copy the file "socks.py" to your Python's lib/site-packages directory,
40 First load the socks module with the command:
42 >>> import socks
45 The socks module provides a class called "socksocket", which is the base to
52 >>> s = socks.socksocket()
70 port - The port of the proxy server. Defaults to 1080 for socks and 8080 for http.
89 >>> s.setproxy(socks.PROXY_TYPE_SOCKS5,"socks.example.com")
179 This is quite useful if you wish to force 3rd party modules to use a socks proxy,
183 >>> socks.setdefaultproxy(socks.PROXY_TYPE_SOCKS5,"socks.example.com")
184 >>> socket.socket = socks.socksocket
DMANIFEST5 socks.py
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_util.py176 httplib2.socks.PROXY_TYPE_HTTP, 'hostname',
183 httplib2.ProxyInfo(httplib2.socks.PROXY_TYPE_HTTP, None, 0))
189 httplib2.ProxyInfo(httplib2.socks.PROXY_TYPE_HTTP, '1.2.3.4',
196 httplib2.ProxyInfo(httplib2.socks.PROXY_TYPE_HTTP,
204 httplib2.ProxyInfo(httplib2.socks.PROXY_TYPE_HTTP, '1.2.3.4',
211 httplib2.ProxyInfo(httplib2.socks.PROXY_TYPE_HTTP, None, 0))
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/functional/
Dtest_proxies.py11 from httplib2 import socks
28 if not socks:
76 proxy_info = httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP,
/external/curl/lib/
Dasyn-ares.c216 curl_socket_t *socks, in Curl_resolver_getsock() argument
225 (ares_socket_t *)socks, numsocks); in Curl_resolver_getsock()
255 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform() local
260 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform()
267 pfd[i].fd = socks[i]; in waitperform()
271 pfd[i].fd = socks[i]; in waitperform()
Durl.h51 curl_socket_t *socks,
54 curl_socket_t *socks,
Dmulti.c667 curl_socket_t *socks, in domore_getsock() argument
671 return conn->handler->domore_getsock(conn, socks, numsocks); in domore_getsock()
677 curl_socket_t *socks, /* points to numsocks number in multi_getsock() argument
713 return Curl_resolver_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
717 return Curl_protocol_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
721 return Curl_doing_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
724 return waitproxyconnect_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
727 return waitconnect_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
730 return domore_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
737 return Curl_single_getsock(data->easy_conn, socks, numsocks); in multi_getsock()
[all …]
Dtransfer.h46 curl_socket_t *socks,
Dpingpong.h137 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks,
DMakefile.inc39 inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c \
60 socks.h ssh.h curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h \
Durldata.h748 curl_socket_t *socks,
754 curl_socket_t *socks,
760 curl_socket_t *socks,
767 curl_socket_t *socks,
Dpingpong.c451 curl_socket_t *socks, in Curl_pp_getsock() argument
459 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_pp_getsock()
Drtsp.c67 curl_socket_t *socks,
89 curl_socket_t *socks, in rtsp_getsock_do() argument
94 socks[0] = conn->sock[FIRSTSOCKET]; in rtsp_getsock_do()
Dasyn-thread.c548 curl_socket_t *socks, in Curl_resolver_getsock() argument
552 (void)socks; in Curl_resolver_getsock()
Dhttp.c91 curl_socket_t *socks,
98 curl_socket_t *socks,
1387 curl_socket_t *socks, in http_getsock_do() argument
1392 socks[0] = conn->sock[FIRSTSOCKET]; in http_getsock_do()
1416 curl_socket_t *socks, in https_getsock() argument
1427 socks[0] = conn->sock[FIRSTSOCKET]; in https_getsock()
1432 socks[0] = conn->sock[FIRSTSOCKET]; in https_getsock()
1441 curl_socket_t *socks, in https_getsock() argument
1445 (void)socks; in https_getsock()
Dsmb.c62 static int smb_getsock(struct connectdata *conn, curl_socket_t *socks,
912 static int smb_getsock(struct connectdata *conn, curl_socket_t *socks, in smb_getsock() argument
920 socks[0] = conn->sock[FIRSTSOCKET]; in smb_getsock()
Dftp.c135 static int ftp_getsock(struct connectdata *conn, curl_socket_t *socks,
137 static int ftp_domore_getsock(struct connectdata *conn, curl_socket_t *socks,
862 curl_socket_t *socks, in ftp_getsock() argument
865 return Curl_pp_getsock(&conn->proto.ftpc.pp, socks, numsocks); in ftp_getsock()
869 static int ftp_domore_getsock(struct connectdata *conn, curl_socket_t *socks, in ftp_domore_getsock() argument
887 socks[0] = conn->sock[FIRSTSOCKET]; in ftp_domore_getsock()
896 socks[s] = conn->tempsock[i]; in ftp_domore_getsock()
902 socks[1] = conn->sock[SECONDARYSOCKET]; in ftp_domore_getsock()
909 return Curl_pp_getsock(&conn->proto.ftpc.pp, socks, numsocks); in ftp_domore_getsock()
/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc202 ScopedSocketPair socks; in TYPED_TEST() local
203 EXPECT_EQ(1, HANDLE_EINTR(write(socks.right, "a", 1))); in TYPED_TEST()
208 FROM_HERE, socks.left, MessageLoop::kWatchRead, true, in TYPED_TEST()
216 FROM_HERE, socks.left, MessageLoop::kWatchWrite, true, in TYPED_TEST()
/external/curl/tests/data/
Dtest121230 noproxy setting together with socks proxy
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/
D__init__.py59 from httplib2 import socks
62 import socks
64 socks = None variable
867 if self.proxy_info and socks is None:
887 self.sock = socks.socksocket(af, socktype, proto)
1009 sock = socks.socksocket(family, socktype, proto)
/external/curl/packages/Symbian/group/
Dlibcurl.mmp33 select.c vtls/gtls.c vtls/vtls.c tftp.c splay.c strdup.c socks.c \
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_client.py58 import socks
276 self._proxy_info = httplib2.ProxyInfo(socks.PROXY_TYPE_HTTP,
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/
DCHANGELOG20 Fix proxy socks for SSL connections. Fixes issue #199.
70 Sync to latest version of socks.py

12