/external/openssl/apps/ |
s_apps.h | 159 int init_client(int *sock, char *server, int port, int type);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
AbstractClientConnAdapter.java | 333 Socket sock = conn.getSocket(); local 334 if (sock instanceof SSLSocket) { 335 result = ((SSLSocket)sock).getSession();
|
/external/chromium/net/base/ |
listen_socket_unittest.cc | 177 bool ListenSocketTester::Send(SOCKET sock, const std::string& str) { 179 int send_len = HANDLE_EINTR(send(sock, str.data(), len, 0)); 203 void ListenSocketTester::DidClose(ListenSocket *sock) {
|
/external/chromium/third_party/libjingle/source/talk/base/ |
asynctcpsocket.cc | 52 AsyncSocket* sock = factory->CreateAsyncSocket(SOCK_STREAM); local 60 return (sock) ? new AsyncTCPSocket(sock, listen) : NULL;
|
/external/dropbear/ |
svr-main.c | 33 static size_t listensockets(int *sock, size_t sockcount, int *maxfd); 395 static size_t listensockets(int *sock, size_t sockcount, int *maxfd) { 408 nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], &sock[sockpos],
|
/external/kernel-headers/original/linux/ |
tcp.h | 164 #include <net/sock.h> 361 static inline struct tcp_sock *tcp_sk(const struct sock *sk) 375 static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk)
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_common.c | 87 static void process_watch_exception(int sock, void *eloop_ctx, void *sock_ctx) 93 static void process_watch_read(int sock, void *eloop_ctx, void *sock_ctx) 99 static void process_watch_write(int sock, void *eloop_ctx, void *sock_ctx)
|
/external/openssh/ |
clientloop.c | 1699 int remote_id, sock; local 1768 int sock; local 1807 int sock; local [all...] |
ssh-agent.c | 1000 int len, sock; local 1012 sock = accept(sockets[i].fd, 1014 if (sock < 0) { 1019 if (getpeereid(sock, &euid, &egid) < 0) { 1021 sock, strerror(errno)); 1022 close(sock); 1029 close(sock); 1032 new_socket(AUTH_CONNECTION, sock); 1130 int sock, fd, ch, result, saved_errno; local 1255 sock = socket(AF_UNIX, SOCK_STREAM, 0) [all...] |
mux.c | 375 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 850 if ((new_fd[i] = mm_receive_fd(c->sock)) == -1) { 1175 mux_listener_channel->self, mux_listener_channel->sock); 1943 int sock; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_ipw.c | 33 int sock; member in struct:wpa_driver_ipw_data 106 if (ioctl(drv->sock, IPW_IOCTL_WPA_SUPPLICANT, &iwr) < 0) { 424 drv->sock = socket(PF_INET, SOCK_DGRAM, 0); 425 if (drv->sock < 0) { 439 close(drv->sock);
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 415 p->sock = q->sock; 417 p->sock = -1; 531 p->sock = q->sock; 533 p->sock = -1; 916 return p->sock;
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 66 def _ssl_wrap_socket(sock, key_file, cert_file): 67 ssl_sock = socket.ssl(sock, key_file, cert_file) 68 return httplib.FakeSocket(sock, ssl_sock) 729 self.sock = socks.socksocket(af, socktype, proto) 730 self.sock.setproxy(*self.proxy_info.astuple()) 732 self.sock = socket.socket(af, socktype, proto) 735 self.sock.settimeout(self.timeout) 740 self.sock.connect(sa) 744 if self.sock: 745 self.sock.close( [all...] |
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | 337 mDNSexport int mDNSPlatformTCPGetFD(TCPSocket *sock) 339 (void)sock; // Unused 343 mDNSexport mStatus mDNSPlatformTCPConnect(TCPSocket *sock, const mDNSAddr *dst, mDNSOpaque16 dstport, domainname *hostname, mDNSInterfaceID InterfaceID, 346 (void)sock; // Unused 356 mDNSexport void mDNSPlatformTCPCloseConnection(TCPSocket *sock) 358 (void)sock; // Unused 361 mDNSexport long mDNSPlatformReadTCP(TCPSocket *sock, void *buf, unsigned long buflen, mDNSBool * closed) 363 (void)sock; // Unused 370 mDNSexport long mDNSPlatformWriteTCP(TCPSocket *sock, const char *msg, unsigned long len) 372 (void)sock; // Unuse 982 int sock; local [all...] |
/external/qemu/android/ |
console.c | 97 Socket sock; /* socket used for communication */ member in struct:ControlClientRec_ 204 if (client->sock < 0) 207 qemu_set_fd_handler( client->sock, NULL, NULL, NULL ); 208 result = client->sock; 209 client->sock = -1; 223 client->sock = fd; 233 int sock; local 259 sock = control_client_detach( client ); 260 if (sock >= 0) 261 socket_close(sock); [all...] |
/external/ipsec-tools/ |
setup.c | 120 myaddrs[0].sock = -1; 125 myaddrs[1].sock = -1; 420 add_isakmp_handler(myaddrs[0].sock, argv[1]); 422 add_isakmp_handler(myaddrs[1].sock, argv[1]); 550 return myaddrs[1].sock; 554 return myaddrs[0].sock;
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_ssdp.c | 820 int sock = -1; local 828 sock = socket(AF_INET, SOCK_DGRAM, 0); 829 if (sock < 0) 842 if (ioctl(sock, SIOCADDRT, &rt) < 0) { 857 if (sock >= 0) 858 close(sock);
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp_ssdp.c | 810 int sock = -1; local 818 sock = socket(AF_INET, SOCK_DGRAM, 0); 819 if (sock < 0) 832 if (ioctl(sock, SIOCADDRT, &rt) < 0) { 847 if (sock >= 0) 848 close(sock);
|
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 393 Socket sock; field in class:ServiceThread 397 sock = s; 402 web.process(sock);
|
/external/qemu/android/protocol/ |
core-commands-impl.c | 56 int sock; member in struct:CoreCmdImpl 406 _coreCmdImpl.sock = fd; 408 loopIo_init(&_coreCmdImpl.io, _coreCmdImpl.looper, _coreCmdImpl.sock,
|
/bionic/libc/kernel/common/linux/ |
skbuff.h | 107 struct sock *sk;
|
/development/ndk/platforms/android-3/include/linux/ |
skbuff.h | 108 struct sock *sk;
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SinkChannelTest.java | 476 SocketChannel sock = ssc.accept(); local 485 sock.close(); 493 SocketChannel sock = ssc.accept(); local 503 assertEquals(-1, sock.read(target));
|
/external/chromium/net/tools/testserver/ |
xmppserver.py | 365 def __init__(self, sock, socket_map, delegate, addr): 369 sock: The socket to the client. 383 asyncore.dispatcher.__init__(self, sock, socket_map) 502 (sock, addr) = self.accept() 503 xmpp_connection = XmppConnection(sock, self._socket_map, self, addr)
|
/external/wpa_supplicant_8/src/utils/ |
edit_readline.c | 73 static void edit_read_char(int sock, void *eloop_ctx, void *sock_ctx)
|