/external/libevent/ |
win32select.c | 60 unsigned int fd_count; member in struct:win_fd_set 108 EVUTIL_ASSERT(new_num_fds >= op->readset_in->fd_count && 109 new_num_fds >= op->writeset_in->fd_count); 133 if (set->fd_count == op->num_fds_in_fd_sets) { 139 set->fd_array[set->fd_count] = s; 141 ent->read_pos_plus1 = set->fd_count+1; 143 ent->write_pos_plus1 = set->fd_count+1; 144 return (set->fd_count++); 162 if (--set->fd_count != (unsigned)i) { 165 s2 = set->fd_array[i] = set->fd_array[set->fd_count]; 285 int fd_count; local [all...] |
/external/tensorflow/tensorflow/core/platform/posix/ |
subprocess.cc | 339 int fd_count = 0; local 386 iobufs[fd_count] = const_cast<string*>(stdin_input); 389 iobufs[fd_count] = stdout_output; 392 iobufs[fd_count] = stderr_output; 395 iobufs[fd_count] = nullptr; 398 nbytes[fd_count] = 0; 399 fds[fd_count].fd = parent_pipe_[i]; 400 fds[fd_count].events = (i > 0) ? POLLIN : POLLOUT; 401 fds[fd_count].revents = 0; 402 fd_count++ [all...] |
/bionic/tests/ |
fortify_test.cpp | 984 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local 987 ASSERT_FORTIFY(poll(buf, fd_count, 0)); 991 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local 996 ASSERT_FORTIFY(ppoll(buf, fd_count, &timeout, nullptr)); 1001 nfds_t fd_count = atoi("2"); // suppress compiler optimizations local 1006 ASSERT_FORTIFY(ppoll64(buf, fd_count, &timeout, nullptr));
|
/device/google/contexthub/util/nanotool/ |
androidcontexthub.cpp | 242 int fd_count = ResetPollFds(pollfds, kDeviceFileCount); local 245 int ret = poll(pollfds, fd_count, timeout);
|
/external/libchrome/base/process/ |
process_metrics_unittest.cc | 613 int fd_count = metrics->GetOpenFdCount(); local 614 EXPECT_GT(fd_count, 0); 619 EXPECT_EQ(new_fd_count, fd_count + 1);
|
/external/webrtc/webrtc/p2p/base/ |
turnport_unittest.cc | 84 int fd_count = 0; local 89 ++fd_count; 92 return fd_count; [all...] |
/external/grpc-grpc/src/core/lib/iomgr/ |
ev_epollex_linux.cc | 282 size_t fd_count; member in struct:grpc_pollset_set [all...] |
ev_poll_posix.cc | 204 size_t fd_count; member in struct:grpc_pollset 254 size_t fd_count; member in struct:grpc_pollset_set 895 pollset->fd_count = 0; 918 for (i = 0; i < pollset->fd_count; i++) { 921 if (pollset->fd_count == pollset->fd_capacity) { 923 GPR_MAX(pollset->fd_capacity + 8, pollset->fd_count * 3 / 2); 927 pollset->fds[pollset->fd_count++] = fd; 936 for (i = 0; i < pollset->fd_count; i++) { 939 pollset->fd_count = 0; 1011 size_t i, fd_count; local [all...] |
/external/python/cpython2/Lib/test/support/ |
__init__.py | 2065 def fd_count(): function [all...] |
/external/python/cpython3/Lib/test/support/ |
__init__.py | 111 "run_with_tz", "PGO", "missing_compiler_executable", "fd_count", 2787 def fd_count(): function [all...] |