Home
last modified time | relevance | path

Searched refs:SOCK_STREAM (Results 1 – 25 of 272) sorted by relevance

1234567891011

/external/chromium_org/third_party/libjingle/source/talk/base/
Dsocket_unittest.cc214 SOCK_STREAM)); in ConnectInternal()
221 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
269 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
274 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
317 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
322 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
350 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
355 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
388 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
394 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
[all …]
Dvirtualsocket_unittest.cc218 SOCK_STREAM); in ConnectTest()
225 SOCK_STREAM); in ConnectTest()
286 SOCK_STREAM); in ConnectToNonListenerTest()
291 SOCK_STREAM); in ConnectToNonListenerTest()
320 SOCK_STREAM)); in CloseDuringConnectTest()
323 SOCK_STREAM)); in CloseDuringConnectTest()
343 server.reset(ss_->CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in CloseDuringConnectTest()
366 server.reset(ss_->CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in CloseDuringConnectTest()
404 AsyncSocket* a = ss_->CreateAsyncSocket(initial_addr.family(), SOCK_STREAM); in CloseTest()
411 SOCK_STREAM)); in CloseTest()
[all …]
Dnatsocketfactory.cc133 if (type_ == SOCK_STREAM) { in Connect()
153 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in SendTo()
177 if (server_addr_.IsNil() || type_ == SOCK_STREAM) { in RecvFrom()
268 if (type_ == SOCK_STREAM && !server_addr_.IsNil() && !connected_) { in OnReadEvent()
397 *nat_addr = (type == SOCK_STREAM) ? in CreateInternalSocket()
/external/openssl/apps/
Ds_socket.c265 if (type == SOCK_STREAM) in init_client_ip()
266 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL); in init_client_ip()
273 if (type == SOCK_STREAM) in init_client_ip()
303 if (type==SOCK_STREAM) in do_server()
315 if (type==SOCK_STREAM) in do_server()
346 if (type == SOCK_STREAM) in init_server_long()
347 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL); in init_server_long()
367 if (type==SOCK_STREAM && listen(s,128) == -1) goto err; in init_server_long()
/external/chromium_org/third_party/openssl/openssl/apps/
Ds_socket.c265 if (type == SOCK_STREAM) in init_client_ip()
266 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL); in init_client_ip()
273 if (type == SOCK_STREAM) in init_client_ip()
303 if (type==SOCK_STREAM) in do_server()
315 if (type==SOCK_STREAM) in do_server()
346 if (type == SOCK_STREAM) in init_server_long()
347 s=socket(AF_INET,SOCK_STREAM,SOCKET_PROTOCOL); in init_server_long()
367 if (type==SOCK_STREAM && listen(s,128) == -1) goto err; in init_server_long()
/external/compiler-rt/lib/tsan/lit_tests/
Dfd_socket_connect_norace.cc15 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in ClientThread()
26 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
Dfd_socket_norace.cc16 int c = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in ClientThread()
30 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Dsocket_test.cc109 sock1_ = ki_socket(AF_INET, SOCK_STREAM, 0); in SetUp()
110 sock2_ = ki_socket(AF_INET, SOCK_STREAM, 0); in SetUp()
148 sock_ = ki_socket(AF_INET, SOCK_STREAM, 0); in SetUp()
176 EXPECT_EQ(-1, ki_socket(AF_UNIX, SOCK_STREAM, 0)); in TEST()
193 int sock3 = ki_socket(AF_INET, SOCK_STREAM, 0); in TEST()
196 int sock4 = ki_socket(AF_INET6, SOCK_STREAM, 0); in TEST()
396 sock1_ = ki_socket(AF_INET, SOCK_STREAM, 0); in TEST_F()
414 sock1_ = ki_socket(AF_INET, SOCK_STREAM, 0); in TEST_F()
436 sock2_ = socket(AF_INET, SOCK_STREAM, 0); in TEST_F()
449 sock1_ = ki_socket(AF_INET, SOCK_STREAM, 0); in TEST_F()
[all …]
/external/valgrind/main/none/tests/
Dfdleak_ipv4.c21 s = DO( socket(PF_INET, SOCK_STREAM, 0) ); in server()
51 s = DO( socket(PF_INET, SOCK_STREAM, 0) ); in client()
Dfdleak_socketpair.c12 DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); in main()
Dfdleak_cmsg.c43 s = DO( socket(PF_UNIX, SOCK_STREAM, 0) ); in server()
101 s = socket(PF_UNIX, SOCK_STREAM, 0); in client()
Dfcntl_setown.c11 if ((s = socket(PF_INET, SOCK_STREAM, 0)) < 0) in main()
/external/wpa_supplicant_8/src/ap/
Dvlan_init.c49 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in ifconfig_helper()
119 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in br_delif()
170 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in br_addif()
217 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in br_delbr()
253 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in br_addbr()
305 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in br_getnumports()
353 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in vlan_rem()
399 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in vlan_add()
458 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) { in vlan_set_name_type()
/external/clang/test/Analysis/
Dtaint-generic.c156 #define SOCK_STREAM 1 macro
165 sock = socket(AF_INET, SOCK_STREAM, 0); in testSocket()
169 sock = socket(AF_LOCAL, SOCK_STREAM, 0); in testSocket()
/external/ipsec-tools/src/racoon/
Dkmpstat.c108 so = socket(AF_UNIX, SOCK_STREAM, 0); in com_init()
218 hint.ai_socktype = SOCK_STREAM;
/external/chromium/third_party/libjingle/source/talk/base/
Dbasicpacketsocketfactory.cc74 socket_factory()->CreateAsyncSocket(SOCK_STREAM); in CreateServerTcpSocket()
98 socket_factory()->CreateAsyncSocket(SOCK_STREAM); in CreateClientTcpSocket()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_network.c126 s = socket(host->h_addrtype, SOCK_STREAM, IPPROTO_TCP); in u_socket_connect()
153 s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in u_socket_listen_on_port()
/external/mesa3d/src/gallium/auxiliary/util/
Du_network.c126 s = socket(host->h_addrtype, SOCK_STREAM, IPPROTO_TCP); in u_socket_connect()
153 s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in u_socket_listen_on_port()
/external/chromium_org/v8/src/platform/
Dsocket.cc69 native_handle_ = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in Socket()
120 hint.ai_socktype = SOCK_STREAM; in Connect()
/external/chromium_org/net/base/
Daddress_list_unittest.cc29 ai.ai_socktype = SOCK_STREAM; in TEST()
60 ai[i].ai_socktype = SOCK_STREAM; in TEST()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dsocket_test.cc245 EXPECT_LT(ki_socket(AF_UNIX, SOCK_STREAM, 0), 0); in TEST_F()
253 EXPECT_LT(ki_socketpair(AF_INET, SOCK_STREAM, 0, NULL), 0); in TEST_F()
255 EXPECT_LT(ki_socketpair(AF_UNIX, SOCK_STREAM, 0, sv), 0); in TEST_F()
257 EXPECT_LT(ki_socketpair(AF_INET, SOCK_STREAM, 0, sv), 0); in TEST_F()
259 EXPECT_LT(ki_socketpair(AF_INET6, SOCK_STREAM, 0, sv), 0); in TEST_F()
/external/android-clat/
Dmtu.c36 fd = socket(AF_INET, SOCK_STREAM, 0); in getifmtu()
/external/valgrind/main/memcheck/tests/
Dbuflen_check.c11 res1 = socket(PF_UNIX, SOCK_STREAM, 0); in main()
/external/libppp/src/
Dtcp.c86 sock = socket(PF_INET, SOCK_STREAM, 0); in tcp_OpenConnection()
184 if (sz == sizeof type && type == SOCK_STREAM) { in tcp_Create()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dbasicpacketsocketfactory.cc91 SOCK_STREAM); in CreateServerTcpSocket()
130 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket()

1234567891011