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

1 2

  /bionic/libc/include/
poll.h 53 int poll(struct pollfd* fds, nfds_t fd_count, int timeout) __overloadable
55 __bos(fds) < sizeof(*fds) * fd_count,
56 "selected when there aren't fd_count fds")
60 int poll(struct pollfd* const fds __pass_object_size, nfds_t fd_count,
65 return __call_bypassing_fortify(poll)(fds, fd_count, timeout);
68 return __poll_chk(fds, fd_count, timeout, bos_fds);
72 int ppoll(struct pollfd* fds, nfds_t fd_count, const struct timespec* timeout,
75 __bos(fds) < sizeof(*fds) * fd_count,
76 "selected when there aren't fd_count fds")
80 int ppoll(struct pollfd* const fds __pass_object_size, nfds_t fd_count,
    [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) {
  /bionic/libc/private/
bionic_fortify.h 50 static inline void __check_pollfd_array(const char* fn, size_t fds_size, nfds_t fd_count) {
52 if (__predict_false(pollfd_array_length < fd_count)) {
54 fn, pollfd_array_length, fd_count);
  /bionic/libc/bionic/
poll.cpp 40 int poll(pollfd* fds, nfds_t fd_count, int ms) __overloadable {
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) __overloadable {
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);
fortify.cpp 166 int __poll_chk(pollfd* fds, nfds_t fd_count, int timeout, size_t fds_size) {
167 __check_pollfd_array("poll", fds_size, fd_count);
168 return poll(fds, fd_count, timeout);
171 int __ppoll_chk(pollfd* fds, nfds_t fd_count, const timespec* timeout,
173 __check_pollfd_array("ppoll", fds_size, fd_count);
174 return ppoll(fds, fd_count, timeout, mask);
  /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()));
  /frameworks/native/libs/vr/libbufferhub/
ion_buffer.cpp 122 int IonBuffer::Import(const int* fd_array, int fd_count, const int* int_array,
128 "IonBuffer::Import: fd_count=%d int_count=%d width=%u height=%u "
130 fd_count, int_count, width, height, layer_count, stride, format,
133 if (fd_count < 0 || int_count < 0) {
138 native_handle_t* handle = native_handle_create(fd_count, int_count);
146 memcpy(handle->data, fd_array, sizeof(int) * fd_count);
147 memcpy(handle->data + fd_count, int_array, sizeof(int) * int_count);
165 const int fd_count = other->handle()->numFds; local
168 if (fd_count < 0 || int_count < 0)
171 native_handle_t* handle = native_handle_create(fd_count, int_count)
    [all...]
  /external/curl/lib/
select.c 321 fds_read.fd_count ? &fds_read : NULL,
322 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) {
515 fds_read.fd_count ? &fds_read : NULL,
516 fds_write.fd_count ? &fds_write : NULL,
517 fds_err.fd_count ? &fds_err : NULL, ptimeout);
  /frameworks/native/libs/vr/libbufferhub/include/private/dvr/
bufferhub_rpc.h 31 const int fd_count = buffer.handle()->numFds; local
33 for (int i = 0; i < fd_count; i++) {
37 opaque_ints_.push_back(buffer.handle()->data[fd_count + i]);
ion_buffer.h 53 int Import(const int* fd_array, int fd_count, const int* int_array,
  /frameworks/native/libs/vr/libpdx_uds/
ipc_helper.cpp 170 uint32_t fd_count{0};
183 preamble.fd_count = file_handles_.size();
292 if (cred || preamble.fd_count) {
293 const size_t receive_fd_bytes = preamble.fd_count * sizeof(int);
305 file_handles_.reserve(preamble.fd_count);
316 size_t fd_count = payload_len / sizeof(int); local
317 std::transform(fds, fds + fd_count, std::back_inserter(file_handles_),
service_endpoint.cpp 519 info.fd_count = request.file_descriptors.size();
565 info.fd_count = 0;
  /hardware/interfaces/bluetooth/1.0/default/
vendor_interface.cc 226 int fd_count = lib_interface_->op(BT_VND_OP_USERIAL_OPEN, &fd_list); local
228 for (int i = 0; i < fd_count; i++) {
240 if (fd_count == 1) {
  /frameworks/native/libs/vr/libpdx/private/pdx/
service_endpoint.h 30 size_t fd_count{0};
  /frameworks/native/libs/binder/
Parcel.cpp 1264 const size_t fd_count = val.getFdCount(); local
2211 const size_t fd_count = this->readInt32(); local
    [all...]
  /device/google/contexthub/util/nanotool/
androidcontexthub.cpp 222 int fd_count = ResetPollFds(pollfds, kDeviceFileCount); local
225 int ret = poll(pollfds, fd_count, timeout);
  /bionic/tests/
fortify_test.cpp 1034 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local
1037 ASSERT_FORTIFY(poll(buf, fd_count, 0));
1041 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local
1046 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 223 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...]
  /frameworks/native/libs/vr/libpdx/
service.cpp 434 size_t Message::GetFileDescriptorCount() const { return info_.fd_count; }
  /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...]

Completed in 664 milliseconds

1 2