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

  /bionic/libc/bionic/
__poll_chk.cpp 33 extern "C" int __poll_chk(struct pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) {
34 if (__predict_false(fds_size / sizeof(*fds) < fd_count)) {
37 return poll(fds, fd_count, timeout);
40 extern "C" int __ppoll_chk(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask, size_t fds_size) {
41 if (__predict_false(fds_size / sizeof(*fds) < fd_count)) {
44 return ppoll(fds, fd_count, timeout, mask);
poll.cpp 40 int poll(pollfd* fds, nfds_t fd_count, int ms) {
47 return __ppoll(fds, fd_count, ts_ptr, NULL, 0);
50 int ppoll(pollfd* fds, nfds_t fd_count, const timespec* ts, const sigset_t* ss) {
65 return __ppoll(fds, fd_count, mutable_ts_ptr, kernel_ss_ptr, sizeof(kernel_ss));
68 int select(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds, timeval* tv) {
78 int result = __pselect6(fd_count, read_fds, write_fds, error_fds, ts_ptr, NULL);
85 int pselect(int fd_count, fd_set* read_fds, fd_set* write_fds, fd_set* error_fds,
111 return __pselect6(fd_count, read_fds, write_fds, error_fds, mutable_ts_ptr, &extra_data);
  /bionic/libc/include/
poll.h 55 int poll(struct pollfd* fds, nfds_t fd_count, int timeout) {
57 return __poll_chk(fds, fd_count, timeout, __bos(fds));
60 if (!__builtin_constant_p(fd_count)) {
61 return __poll_chk(fds, fd_count, timeout, __bos(fds));
62 } else if (__bos(fds) / sizeof(*fds) < fd_count) {
66 return __poll_real(fds, fd_count, timeout);
71 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask) {
73 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds));
76 if (!__builtin_constant_p(fd_count)) {
77 return __ppoll_chk(fds, fd_count, timeout, mask, __bos(fds))
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/psdk_inc/
_fd_types.h 23 u_int fd_count; member in struct:fd_set
41 for(__i = 0; __i < ((fd_set *)(set))->fd_count; __i++) { \
43 while (__i < ((fd_set *)(set))->fd_count - 1) { \
48 ((fd_set *)(set))->fd_count--; \
56 #define FD_ZERO(set) (((fd_set *)(set))->fd_count = 0)
76 for(__i = 0; __i < ((fd_set *)(set))->fd_count; __i++) { \
81 if (__i == ((fd_set *)(set))->fd_count) { \
82 if (((fd_set *)(set))->fd_count < FD_SETSIZE) { \
84 ((fd_set *)(set))->fd_count++; \
92 if (((fd_set *)(set))->fd_count < FD_SETSIZE)
    [all...]
  /external/libevent/
win32select.c 56 u_int fd_count; member in struct:win_fd_set
104 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count &&
105 new_num_fds >= op->writeset_in->fd_count);
129 if (set->fd_count == op->num_fds_in_fd_sets) {
135 set->fd_array[set->fd_count] = s;
137 ent->read_pos_plus1 = set->fd_count+1;
139 ent->write_pos_plus1 = set->fd_count+1;
140 return (set->fd_count++);
158 if (--set->fd_count != (unsigned)i) {
161 s2 = set->fd_array[i] = set->fd_array[set->fd_count];
279 int fd_count; local
    [all...]
poll.c 103 for (i = 0; i < pop->fd_count; ++i) {
  /external/libchrome/sandbox/linux/services/
proc_util_unittest.cc 19 int fd_count = ProcUtil::CountOpenFds(proc_fd.get()); local
22 EXPECT_EQ(fd_count + 1, ProcUtil::CountOpenFds(proc_fd.get()));
24 EXPECT_EQ(fd_count, ProcUtil::CountOpenFds(proc_fd.get()));
  /external/curl/lib/
select.c 324 fds_read.fd_count ? &fds_read : NULL,
325 fds_write.fd_count ? &fds_write : NULL,
490 if(fds_read.fd_count == 0 && fds_write.fd_count == 0
491 && fds_err.fd_count == 0) {
516 fds_read.fd_count ? &fds_read : NULL,
517 fds_write.fd_count ? &fds_write : NULL,
518 fds_err.fd_count ? &fds_err : NULL,
  /frameworks/native/libs/binder/
Parcel.cpp 1272 const size_t fd_count = val.getFdCount(); local
2054 const size_t fd_count = this->readInt32(); local
    [all...]
  /device/google/contexthub/util/nanotool/
androidcontexthub.cpp 218 int fd_count = ResetPollFds(pollfds, kDeviceFileCount); local
221 int ret = poll(pollfds, fd_count, timeout);
  /bionic/tests/
fortify_test.cpp 1022 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local
1025 ASSERT_FORTIFY(poll(buf, fd_count, 0));
1029 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local
1034 ASSERT_FORTIFY(ppoll(buf, fd_count, &timeout, NULL));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/
Xpoll.h 167 #define XFD_SETCOUNT(p) (((fd_set FAR *)(p))->fd_count)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/
Xpoll.h 167 #define XFD_SETCOUNT(p) (((fd_set FAR *)(p))->fd_count)
  /system/core/adb/
sysdeps_test.cpp 219 TEST_F(sysdeps_poll, fd_count) {
  /external/webrtc/webrtc/p2p/base/
turnport_unittest.cc 84 int fd_count = 0; local
89 ++fd_count;
92 return fd_count;
    [all...]
  /external/valgrind/coregrind/m_syswrap/
syswrap-generic.c 548 static Int fd_count = 0; variable
570 fd_count--;
609 fd_count++;
828 VG_(message)(Vg_UserMsg, "FILE DESCRIPTORS: %d open %s.\n", fd_count, when);
    [all...]
  /external/libmicrohttpd/src/microhttpd/
daemon.c 747 if (set->fd_count >= fd_setsize)
    [all...]

Completed in 628 milliseconds