HomeSort by relevance Sort by last modified time
    Searched refs:test_socket_ (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/net/socket/
tcp_listen_socket_unittest.cc 44 // verify the connect/accept and setup test_socket_
45 test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
46 ASSERT_NE(StreamListenSocket::kInvalidSocket, test_socket_);
52 connect(test_socket_, reinterpret_cast<sockaddr*>(&client),
70 ASSERT_EQ(0, closesocket(test_socket_));
72 ASSERT_EQ(0, HANDLE_EINTR(close(test_socket_)));
105 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0));
136 ASSERT_TRUE(Send(test_socket_, kHelloWorld));
150 ASSERT_TRUE(Send(test_socket_, long_string));
174 int r = HANDLE_EINTR(recv(test_socket_,
    [all...]
tcp_listen_socket_unittest.h 105 SocketDescriptor test_socket_; member in class:net::TCPListenSocketTester
  /external/chromium/chrome/browser/debugger/
devtools_remote_listen_socket_unittest.cc 79 test_socket_(INVALID_SOCKET) {
109 // verify the connect/accept and setup test_socket_
110 test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
111 ASSERT_NE(INVALID_SOCKET, test_socket_);
116 int ret = HANDLE_EINTR(connect(test_socket_,
121 net::SetNonBlocking(test_socket_);
129 closesocket(test_socket_);
131 int ret = HANDLE_EINTR(close(test_socket_));
216 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0));
289 ASSERT_TRUE(Send(test_socket_, kChromeDevToolsHandshake))
    [all...]
devtools_remote_listen_socket_unittest.h 119 SOCKET test_socket_; member in class:DevToolsRemoteListenSocketTester
  /external/chromium/net/base/
listen_socket_unittest.cc 45 // verify the connect/accept and setup test_socket_
46 test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
47 ASSERT_NE(INVALID_SOCKET, test_socket_);
53 connect(test_socket_, reinterpret_cast<sockaddr*>(&client),
63 ASSERT_EQ(0, closesocket(test_socket_));
65 ASSERT_EQ(0, HANDLE_EINTR(close(test_socket_)));
97 int len = HANDLE_EINTR(recv(test_socket_, buf, kReadBufSize, 0));
129 ASSERT_TRUE(Send(test_socket_, kHelloWorld));
143 ASSERT_TRUE(Send(test_socket_, long_string));
167 int r = HANDLE_EINTR(recv(test_socket_, buf, buf_len, 0))
    [all...]
listen_socket_unittest.h 106 SOCKET test_socket_; member in class:ListenSocketTester

Completed in 82 milliseconds