/external/nist-sip/java/gov/nist/javax/sip/stack/ |
TCPMessageChannel.java | 110 * new connections. The sock input is the socket that is returned from the accept. Global data 113 * @param sock Socket from which to read and write messages. The socket is already connected 119 protected TCPMessageChannel(Socket sock, SIPTransactionStack sipStack, 126 mySock = sock; 252 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(), local 261 if (sock != mySock && sock != null) { 267 mySock = sock; 310 Socket sock = this.sipStack.ioHandler.sendBytes(this.messageProcessor.getIpAddress(), local 312 if (sock != mySock && sock != null) [all...] |
/external/python/cpython2/Doc/library/ |
socketserver.rst | 466 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 470 sock.connect((HOST, PORT)) 471 sock.sendall(data + "\n") 474 received = sock.recv(1024) 476 sock.close() 542 sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 546 sock.sendto(data + "\n", (HOST, PORT)) 547 received = sock.recv(1024) 579 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 580 sock.connect((ip, port) [all...] |
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
SocketStream.cpp | 40 SocketStream::SocketStream(int sock, size_t bufSize) : 42 m_sock(sock),
|
/external/autotest/client/site_tests/kernel_ProtocolCheck/ |
kernel_ProtocolCheck.py | 57 sock = socket.socket(proto.domain, proto.socket_type, 59 sock.close()
|
/external/clang/test/Analysis/ |
casts.c | 19 void f(int sock) { 23 getsockname(sock, sockaddr, &addrlen);
|
/external/curl/lib/ |
multiif.h | 44 /* set the bit for the given sock number to make the bitmap for writable */ 47 /* set the bit for the given sock number to make the bitmap for readable */
|
/external/curl/tests/libtest/ |
lib500.c | 41 static int tst_closesocket(void *clientp, curl_socket_t sock) 45 return sclose(sock);
|
/external/iproute2/tipc/ |
socket.c | 46 static int publ_list(uint32_t sock) 58 mnl_attr_put_u32(nlh, TIPC_NLA_SOCK_REF, sock);
|
/external/iputils/ninfod/ |
ninfod.h | 58 int sock; member in struct:packetcontext 78 extern int sock; /* ninfod.c */
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/ |
rpc_clnttcp_create.c | 56 int sock = RPC_ANYSOCK; local 69 clnt = clnttcp_create(&server_addr, progNum, VERSNUM, &sock, 0, 0);
|
rpc_clnttcp_create_stress.c | 57 int sock = RPC_ANYSOCK; local 75 clnttcp_create(&server_addr, progNum, VERSNUM, &sock, 0, 0);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/ |
rpc_clntudp_bufcreate.c | 57 int sock = RPC_ANYSOCK; local 75 &sock, 1024, 1024);
|
rpc_clntudp_bufcreate_limits.c | 68 int sock = RPC_ANYSOCK; local 100 pertry_timeout, &sock,
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/ |
rpc_clntudp_create.c | 57 int sock = RPC_ANYSOCK; local 75 &sock);
|
rpc_clntudp_create_stress.c | 58 int sock = RPC_ANYSOCK; local 80 pertry_timeout, &sock);
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
SSLSocketFactory.java | 289 final Socket sock, 305 ((sock != null) ? sock : createSocket()); 360 * @param sock the connected socket 366 public boolean isSecure(Socket sock) 369 if (sock == null) { 373 if (!(sock instanceof SSLSocket)) { 378 if (sock.isClosed()) {
|
/kernel/tests/net/test/ |
tcp_nuke_addr_test.py | 99 for sock in socketpair: 100 self.assertTrue(sock.getpeername())
|
xfrm_algorithm_test.py | 276 def TcpServer(sock, client_port): 278 sock.listen(1) 280 accepted, peer = sock.accept() 289 sock.close() 291 def UdpServer(sock, client_port): 294 data, peer = sock.recvfrom(2048) 298 sock.sendto("hello response", peer) 302 sock.close()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLSocketFactory.java | 284 final Socket sock, 300 ((sock != null) ? sock : createSocket()); 347 * @param sock the connected socket 354 public boolean isSecure(Socket sock) 357 if (sock == null) { 361 if (!(sock instanceof SSLSocket)) { 366 if (sock.isClosed()) {
|
/system/bt/btif/src/ |
btif_sock_util.cc | 70 BTIF_TRACE_ERROR("sock fd:%d send errno:%d, ret:%d", sock_fd, errno, ret); 85 BTIF_TRACE_ERROR("sock fd:%d recv errno:%d, ret:%d", sock_fd, errno, ret);
|
/system/core/fastboot/ |
socket_mock.h | 81 void AddAccept(std::unique_ptr<Socket> sock); 93 std::unique_ptr<Socket> sock; member in struct:SocketMock::Event
|
/system/core/libmemunreachable/ |
LeakPipe.h | 186 bool SendFd(int sock, int fd); 187 int ReceiveFd(int sock);
|
/system/netd/server/ |
NetlinkCommands.h | 51 WARN_UNUSED_RESULT int recvNetlinkAck(int sock); 69 WARN_UNUSED_RESULT int processNetlinkDump(int sock, const NetlinkDumpCallback& callback);
|
NetlinkListener.cpp | 60 NetlinkListener::NetlinkListener(UniqueFd event, UniqueFd sock) 61 : mEvent(std::move(event)), mSock(std::move(sock)), mWorker([this]() { run(); }) {
|
/bionic/libc/dns/resolv/ |
res_send.c | 159 static int connect_with_timeout(int sock, const struct sockaddr *nsap, 161 static int retrying_select(const int sock, fd_set *readset, fd_set *writeset, 983 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, int sec) 989 origflags = fcntl(sock, F_GETFL, 0); 990 fcntl(sock, F_SETFL, origflags | O_NONBLOCK); 992 res = __connect(sock, nsap, salen); 1002 async_safe_format_log(ANDROID_LOG_DEBUG, "libc", " %d send_vc\n", sock); 1005 res = retrying_select(sock, &rset, &wset, &finish); 1011 fcntl(sock, F_SETFL, origflags); 1014 " %d connect_with_timeout returning %d\n", sock, res) [all...] |