Home
last modified time | relevance | path

Searched refs:ki_setsockopt (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
Dsetsockopt.c12 return ki_setsockopt(fd, lvl, optname, optval, len); in setsockopt()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Dsocket_test.cc420 ASSERT_EQ(-1, ki_setsockopt(sock1_, SOL_SOCKET, SO_ERROR, in TEST_F()
430 ASSERT_EQ(-1, ki_setsockopt(sock1_, IPPROTO_TCP, TCP_NODELAY, &option, len)); in TEST_F()
443 ASSERT_EQ(0, ki_setsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, len)) in TEST_F()
483 ASSERT_EQ(0, ki_setsockopt(sock1_, SOL_SOCKET, SO_LINGER, &linger, len)); in TEST_F()
486 ASSERT_EQ(0, ki_setsockopt(sock2_, SOL_SOCKET, SO_LINGER, &linger, len)); in TEST_F()
505 ASSERT_EQ(0, ki_setsockopt(sock1_, SOL_SOCKET, SO_REUSEADDR, &value, len)); in TEST_F()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dsocket_test.cc225 EXPECT_EQ(-1, ki_setsockopt(123, SOL_SOCKET, SO_ACCEPTCONN, NULL, len)); in TEST_F()
229 EXPECT_EQ(-1, ki_setsockopt(-1, SOL_SOCKET, SO_ACCEPTCONN, optval, len)); in TEST_F()
233 EXPECT_EQ(-1, ki_setsockopt(0, SOL_SOCKET, SO_ACCEPTCONN, optval, len)); in TEST_F()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dkernel_intercept.h125 int ki_setsockopt(int fd, int lvl, int optname, const void* optval,
Dkernel_intercept.cc438 int ki_setsockopt(int fd, int lvl, int optname, const void* optval, in ki_setsockopt() function