sock2_ 70 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc if (sock2_ != -1) sock2_ 71 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(0, ki_close(sock2_)); sock2_ 88 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int sock2_; sock2_ 97 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = ki_socket(AF_INET, SOCK_DGRAM, 0); sock2_ 100 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_GT(sock2_, -1); sock2_ 110 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = ki_socket(AF_INET, SOCK_STREAM, 0); sock2_ 113 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_GT(sock2_, -1); sock2_ 190 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int sock2_ = ki_socket(AF_INET6, SOCK_DGRAM, 0); sock2_ 191 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_NE(-1, sock2_); sock2_ 200 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ki_close(sock2_); sock2_ 213 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(EADDRINUSE, Bind(sock2_, LOCAL_HOST, PORT1)); sock2_ 216 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(0, Bind(sock2_, LOCAL_HOST, ANY_PORT)); sock2_ 219 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(EINVAL, Bind(sock2_, LOCAL_HOST, PORT1)); sock2_ 230 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(0, Bind(sock2_, LOCAL_HOST, PORT2)); sock2_ 246 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ki_recvfrom(sock2_, inbuf, sizeof(inbuf), 0, (sockaddr*) &addr, &addrlen); sock2_ 264 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc EXPECT_EQ(0, Bind(sock2_, LOCAL_HOST, PORT2)); sock2_ 294 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc recvfrom(sock2_, inbuf, sizeof(inbuf), 0, (sockaddr*) &addr, &addrlen); sock2_ 309 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, Bind(sock2_, LOCAL_HOST, PORT2)); sock2_ 436 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = socket(AF_INET, SOCK_STREAM, 0); sock2_ 437 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, &len)); sock2_ 443 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, len)) sock2_ 451 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = ki_socket(AF_INET, SOCK_DGRAM, 0); sock2_ 452 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_GT(sock2_, -1); sock2_ 466 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = ki_socket(AF_INET, SOCK_DGRAM, 0); sock2_ 467 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_GT(sock2_, -1); sock2_ 475 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, &len)); sock2_ 486 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_setsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, len)); sock2_ 493 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc ASSERT_EQ(0, ki_getsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, &len)); sock2_ 609 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int client_sock = sock2_; sock2_ 673 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int client_sock = sock2_; sock2_ 705 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int client_sock = sock2_; sock2_ 747 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int client_sock = sock2_; sock2_ 779 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc int client_sock = sock2_; sock2_ 802 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc sock2_ = -1;