HomeSort by relevance Sort by last modified time
    Searched refs:nfds (Results 51 - 75 of 181) sorted by null

1 23 4 5 6 7 8

  /libcore/ojluni/src/main/native/
linux_close.cpp 165 int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout) {
166 BLOCKING_IO_RETURN_INT( ufds[0].fd, poll(ufds, nfds, timeout) );
net_util_md.h 59 extern int NET_Poll(struct pollfd *ufds, unsigned int nfds, int timeout);
  /external/libusb/libusb/os/
poll_windows.h 94 int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout);
  /external/ltp/testcases/network/lib6/
asapi_03.c 299 int nfds, cc; local
315 nfds = select(sr + 1, &rfds, 0, 0, &tv);
316 if (nfds < 0) {
322 if (nfds == 0) {
327 /* else, nfds == 1 */
asapi_01.c 384 int sd, nfds, maxfd, cc; local
413 while ((nfds = select(maxfd + 1, &rset, 0, 0, &tv)) >= 0) {
414 if (nfds < 0) {
418 } else if (nfds == 0) {
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
pcm_ioplug.h 183 int (*poll_revents)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents);
hwdep.h 100 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
pcm_ioplug.h 183 int (*poll_revents)(snd_pcm_ioplug_t *io, struct pollfd *pfd, unsigned int nfds, unsigned short *revents);
hwdep.h 100 int snd_hwdep_poll_descriptors_revents(snd_hwdep_t *hwdep, struct pollfd *pfds, unsigned int nfds, unsigned short *revents);
  /external/ipsec-tools/src/racoon/
schedule.c 333 int nfds = 0; local
340 nfds = 1;
350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
  /external/curl/lib/
asyn-ares.c 253 int nfds; local
281 nfds = Curl_poll(pfd, num, timeout_ms);
283 nfds = 0;
285 if(!nfds)
299 return nfds;
multi.c 983 unsigned int nfds = 0; local
1008 ++nfds;
1012 ++nfds;
1023 curlfds = nfds; /* number of internal file descriptors */
1024 nfds += extra_nfds; /* add the externally provided ones */
1026 if(nfds || extra_nfds) {
1027 ufds = malloc(nfds * sizeof(struct pollfd));
1031 nfds = 0;
1046 ufds[nfds].fd = sockbunch[i];
1047 ufds[nfds].events = POLLIN
    [all...]
  /external/ltp/testcases/kernel/syscalls/sendmsg/
sendmsg01.c 486 int nfds, cc, fd; local
492 nfds = MAX(sfd + 1, ufd + 1);
500 if (select(nfds, &rfds, NULL, NULL, NULL) < 0)
510 nfds = MAX(nfds, newfd + 1);
521 for (fd = 0; fd < nfds; ++fd) {
  /external/libvncserver/libvncserver/
httpd.c 169 int nfds; local
195 nfds = select(max(rfbScreen->httpListen6Sock, max(rfbScreen->httpSock,rfbScreen->httpListenSock)) + 1, &fds, NULL, NULL, &tv);
196 if (nfds == 0) {
199 if (nfds < 0) {
sockets.c 285 int nfds; local
304 nfds = select(rfbScreen->maxFd + 1, &fds, NULL, NULL /* &fds */, &tv);
305 if (nfds == 0) {
318 if (nfds < 0) {
327 result += nfds;
335 if (--nfds == 0)
345 if (--nfds == 0)
381 if (--nfds == 0)
  /external/mdnsresponder/mDNSPosix/
Responder.c 715 int nfds = 0; local
732 mDNSPosixGetFDSet(&mDNSStorage, &nfds, &readfds, &timeout);
735 verbosedebugf("select(%d, %d.%06d)", nfds, timeout.tv_sec, timeout.tv_usec);
736 result = select(nfds, &readfds, NULL, NULL, &timeout);
Identify.c 187 int nfds = 0; local
202 mDNSPosixGetFDSet(m, &nfds, &readfds, &remain);
203 result = select(nfds, &readfds, NULL, NULL, &remain);
  /external/valgrind/include/
pub_tool_libcfile.h 92 extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout);
  /system/netd/libnetdutils/include/netdutils/
MockSyscalls.h 48 MOCK_CONST_METHOD3(ppoll, StatusOr<int>(pollfd* fds, nfds_t nfds, double timeout));
  /external/curl/tests/server/
sockfilt.c 685 static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
701 if(nfds < 0) {
707 if(!nfds) {
720 data = malloc(nfds * sizeof(struct select_ws_data));
727 handles = malloc(nfds * sizeof(HANDLE));
735 memset(data, 0, nfds * sizeof(struct select_ws_data));
736 memset(handles, 0, nfds * sizeof(HANDLE));
739 for(fds = 0; fds < nfds; fds++) {
869 for(fds = 0; fds < nfds; fds++) {
    [all...]
  /external/linux-kselftest/tools/testing/selftests/x86/
test_syscall_vdso.c 172 int nfds; variable
185 nfds = 42;
259 " mov nfds, %%ebx\n" /* ebx arg1 */
272 " cmp nfds, %%ebx\n" /* ebx arg1 */
  /system/netd/libnetdutils/
Syscalls.cpp 101 StatusOr<int> ppoll(pollfd* fds, nfds_t nfds, double timeout) const override {
105 auto rv = syscallRetry(::ppoll, fds, nfds, &ts, nullptr);
  /external/libcups/cups/
http.c 3131 int nfds; \/* Result from select()\/poll() *\/ local
4659 int nfds; \/* Result from select()\/poll() *\/ local
    [all...]
  /external/ltp/testcases/kernel/syscalls/epoll2/examples/
epoll-test.c 519 int i, nfds; local
524 nfds = epoll_wait(kdpfd, events, maxfds, timeout);
526 for (i = 0, cevents = events; i < nfds; i++, cevents++) {
536 if (nfds <= 0)
551 "use: %s [--msgsize nbytes (%d)] [--port nbr (%d)] [--maxfds nfds (%d)]\n\t[--stksize bytes (%d)]\n",
778 int nfds = numfds, errs = 0, diffconns = nconns - numfds; local
783 if (nfds == numfds) {
793 nfds = numfds;
801 ("rate = %lu avg = %lu totconns = %d diff = %d resp = %ld nfds = %d\n",
  /device/google/contexthub/util/nanotool/
androidcontexthub.cpp 394 int nfds = 1; local
398 nfds++;
400 return nfds;

Completed in 806 milliseconds

1 23 4 5 6 7 8