/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/ |
H A D | sendmsg.c | 10 ssize_t sendmsg(int fd, const struct msghdr* msg, int flags) { argument 11 return ki_sendmsg(fd, msg, flags);
|
H A D | sendto.c | 10 ssize_t sendto(int fd, const void* buf, size_t len, int flags, argument 12 return ki_sendto(fd, buf, len, flags, addr, addrlen);
|
H A D | setsockopt.c | 10 int setsockopt(int fd, int lvl, int optname, const void* optval, argument 12 return ki_setsockopt(fd, lvl, optname, optval, len);
|
H A D | shutdown.c | 10 int shutdown(int fd, int how) { argument 11 return ki_shutdown(fd, how);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | tcdrain.c | 18 int tcdrain(int fd) { argument
|
H A D | tcflow.c | 17 int tcflow(int fd, int action) { argument
|
H A D | tcflush.c | 16 int tcflush(int fd, int queue_selector) { argument 17 return ki_tcflush(fd, queue_selector);
|
H A D | tcgetattr.c | 17 int tcgetattr(int fd, struct termios* termios_p) { argument 18 return ki_tcgetattr(fd, termios_p);
|
H A D | tcsendbreak.c | 19 int tcsendbreak(int fd, int duration) { argument
|
H A D | tcsetattr.c | 16 int tcsetattr(int fd, int optional_actions, const struct termios* termios_p) { argument 17 return ki_tcsetattr(fd, optional_actions, termios_p);
|
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/ |
H A D | ps_instance.cc | 426 int fd = open(filename, O_RDONLY); local 427 if (fd < 0) { 432 int ret = ioctl(fd, NACL_IOC_HANDLEMESSAGE, &message.pp_var()); 435 close(fd); 439 close(fd);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
H A D | socket_test.cc | 47 static int ki_fcntl_wrapper(int fd, int request, ...) { argument 50 int rtn = ki_fcntl(fd, request, ap); 74 int Bind(int fd, uint32_t ip, uint16_t port) { argument 79 int err = ki_bind(fd, (sockaddr*)&addr, addrlen); 714 pollfd.fd = server_sock; 729 pollfd.fd = server_sock;
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | fuse_fs_test.cc | 439 int fd = ki_open("/hello", O_WRONLY | O_CREAT, 0777); local 440 ASSERT_GT(fd, -1); 442 ki_write(fd, hello_world, sizeof(hello_world))); 443 EXPECT_EQ(0, ki_close(fd)); 446 fd = ki_open("/hello", O_RDONLY, 0); 447 ASSERT_GT(fd, -1); 451 ASSERT_EQ(sizeof(hello_world), ki_read(fd, buffer, sizeof(buffer))); 453 EXPECT_EQ(0, ki_close(fd));
|
H A D | js_fs_test.cc | 483 static const int fd; member in class:__anon8961::JsFsNodeTest 499 ASSERT_EQ(true, SetDictKeyValue(&response, "fd", fd)); 510 EXPECT_EQ(fd, sdk_util::static_scoped_ref_cast<JsFsNode>(node_)->fd()); 517 const int JsFsNodeTest::fd = 123; member in class:__anon8961::JsFsNodeTest 533 ASSERT_EQ(true, SetDictKeyValue(&response, "fd", 123)); 540 EXPECT_EQ(123, sdk_util::static_scoped_ref_cast<JsFsNode>(node)->fd()); 640 ASSERT_EQ(true, SetDictKeyValue(&expected, "fildes", fd)); 685 ASSERT_EQ(true, SetDictKeyValue(&expected, "fildes", fd)); [all...] |
H A D | jspipe_test.cc | 30 int ki_ioctl_wrapper(int fd, int request, ...) { argument 33 int rtn = ki_ioctl(fd, request, ap); 411 int IsReadable(int fd) { argument 417 FD_SET(fd, &readfds); 418 FD_SET(fd, &errorfds); 419 int rtn = ki_select(fd + 1, &readfds, NULL, &errorfds, &timeout); 424 if (FD_ISSET(fd, &errorfds)) 426 if (!FD_ISSET(fd, &readfds))
|
H A D | kernel_proxy_test.cc | 73 static int ki_fcntl_wrapper(int fd, int request, ...) { argument 76 int rtn = ki_fcntl(fd, request, ap); 84 * since the fd flags are not stored in the kernel_handle 88 int fd = ki_open("/test", O_RDWR | O_CREAT, 0777); local 89 ASSERT_NE(-1, fd); 92 ASSERT_EQ(0, ki_fcntl_wrapper(fd, F_GETFD)); 96 ASSERT_EQ(0, ki_fcntl_wrapper(fd, F_SETFD, flags)) 98 ASSERT_EQ(FD_CLOEXEC, ki_fcntl_wrapper(fd, F_GETFD)); 102 ASSERT_EQ(-1, ki_fcntl_wrapper(fd, F_SETFD, flags)); 119 int fd local 451 int fd = ki_open("/foo", O_CREAT | O_RDWR, 0777); local 471 int fd = ki_open("/foo", O_CREAT | O_RDWR, 0777); local 484 int fd = ki_open("/foo", O_CREAT | O_RDWR, 0777); local 516 int fd = ki_open("/foo", O_CREAT | O_RDWR, 0777); local 534 int fd = ki_open("/foo", O_CREAT | O_RDWR, 0723); local 543 int fd = ki_open("/dummy", O_CREAT | O_WRONLY, 0777); local 610 ki_ioctl_wrapper(int fd, int request, ...) argument 639 int fd = ki_open(path, O_RDONLY, 0); local 760 int fd = ki_open("/file", O_RDWR | O_CREAT, 0777); local 851 int fd = ki_open("/dummy", O_WRONLY, 0); local 873 int fd = ki_open("/dummy", O_RDONLY, 0); local [all...] |
H A D | kernel_wrap_test.cc | 28 int fchdir(int fd); 173 ssize_t DefaultWrite(int fd, const void* buf, size_t count) { argument 174 assert(fd <= 2); 176 int rtn = _real_write(fd, buf, count, &nwrote); 243 // or the value of the new fd.
|
H A D | syscalls_test.cc | 65 int fd = open("/tmp/file", O_CREAT | O_RDWR, 0644); local 66 ASSERT_GT(fd, -1); 67 ASSERT_EQ(0, close(fd));
|
H A D | tty_test.cc | 27 static int ki_ioctl_wrapper(int fd, int request, ...) { argument 30 int rtn = ki_ioctl(fd, request, ap); 66 int TtyWrite(int fd, const char* string) { argument 68 int result = ki_ioctl_wrapper(fd, NACL_IOC_HANDLEMESSAGE, &message_var); 165 static int IsReadable(int fd) { argument 171 FD_SET(fd, &readfds); 172 FD_SET(fd, &errorfds); 173 int rtn = ki_select(fd + 1, &readfds, NULL, &errorfds, &timeout); 178 if (FD_ISSET(fd, &errorfds)) 180 if (!FD_ISSET(fd, 350 int fd = ki_open("/dev/tty", O_RDONLY, 0); local [all...] |
/external/chromium_org/net/base/ |
H A D | address_tracker_linux.cc | 382 void AddressTrackerLinux::OnFileCanReadWithoutBlocking(int fd) { argument 383 DCHECK_EQ(netlink_fd_, fd); 396 void AddressTrackerLinux::OnFileCanWriteWithoutBlocking(int /* fd */) {}
|
H A D | net_util.cc | 327 int SetNonBlocking(int fd) { argument 330 return ioctlsocket(fd, FIONBIO, &no_block); 332 int flags = fcntl(fd, F_GETFL, 0); 335 return fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
H A D | nss_memio.c | 194 static PRStatus PR_CALLBACK memio_Close(PRFileDesc *fd) argument 196 struct PRFilePrivate *secret = fd->secret; 200 fd->dtor(fd); 204 static PRStatus PR_CALLBACK memio_Shutdown(PRFileDesc *fd, PRIntn how) argument 214 static int PR_CALLBACK memio_Recv(PRFileDesc *fd, void *buf, PRInt32 len, argument 226 secret = fd->secret; 252 static int PR_CALLBACK memio_Read(PRFileDesc *fd, void *buf, PRInt32 len) argument 255 return memio_Recv(fd, buf, len, 0, PR_INTERVAL_NO_TIMEOUT); 258 static int PR_CALLBACK memio_Send(PRFileDesc *fd, cons argument 286 memio_Write(PRFileDesc *fd, const void *buf, PRInt32 len) argument 292 memio_GetPeerName(PRFileDesc *fd, PRNetAddr *addr) argument 300 memio_GetSocketOption(PRFileDesc *fd, PRSocketOptionData *data) argument 376 PRFileDesc *fd; local 392 memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername) argument 399 memio_GetSecret(PRFileDesc *fd) argument [all...] |
/external/chromium_org/net/dns/ |
H A D | notify_watcher_mac.cc | 51 void NotifyWatcherMac::OnFileCanReadWithoutBlocking(int fd) { argument
|
/external/chromium_org/net/socket/ |
H A D | socket_libevent.cc | 345 void SocketLibevent::OnFileCanReadWithoutBlocking(int fd) { argument 354 void SocketLibevent::OnFileCanWriteWithoutBlocking(int fd) { argument
|
H A D | stream_listen_socket.cc | 284 void StreamListenSocket::OnFileCanReadWithoutBlocking(int fd) { argument 303 void StreamListenSocket::OnFileCanWriteWithoutBlocking(int fd) { argument
|