/third_party/ltp/testcases/kernel/syscalls/pipe/ |
D | pipe07.c | 50 static void close_test_fds(int max_fd); 60 int pipes[2], max_fd = 0; in main() local 82 max_fd = MAX(pipes[0], max_fd); in main() 83 max_fd = MAX(pipes[1], max_fd); in main() 91 close_test_fds(max_fd); in main() 92 max_fd = 0; in main() 159 static void close_test_fds(int max_fd) in close_test_fds() argument 163 for (i = 0; i <= max_fd; i++) { in close_test_fds()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-service.c | 133 int max_fd = 0; in _lws_plat_service_tsi() local 140 if (pt->fds[n].fd >= max_fd) in _lws_plat_service_tsi() 141 max_fd = pt->fds[n].fd; in _lws_plat_service_tsi() 151 n = select(max_fd + 1, &readfds, &writefds, &errfds, ptv); in _lws_plat_service_tsi()
|
/third_party/ltp/include/lapi/ |
D | close_range.h | 22 static inline int close_range(unsigned int fd, unsigned int max_fd, in close_range() argument 25 return tst_syscall(__NR_close_range, fd, max_fd, flags); in close_range()
|
/third_party/ltp/testcases/kernel/syscalls/close_range/ |
D | close_range01.c | 36 static inline void do_close_range(unsigned int fd, unsigned int max_fd, in do_close_range() argument 39 int ret = close_range(fd, max_fd, flags); in do_close_range() 51 tst_brk(TBROK | TERRNO, "close_range(%d, %d, %d)", fd, max_fd, flags); in do_close_range()
|
/third_party/skia/third_party/externals/microhttpd/src/microspdy/ |
D | daemon.c | 441 int max_fd = -1; in SPDYF_get_fdset() local 448 max_fd = fd; in SPDYF_get_fdset() 465 if(fd > max_fd) in SPDYF_get_fdset() 466 max_fd = fd; in SPDYF_get_fdset() 469 return max_fd; in SPDYF_get_fdset()
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
D | microhttpd.h | 1584 MHD_socket *max_fd); 1613 MHD_socket *max_fd, 1636 #define MHD_get_fdset(daemon,read_fd_set,write_fd_set,except_fd_set,max_fd) \ argument 1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
|
/third_party/libuv/src/unix/ |
D | stream.c | 142 int max_fd; in uv__stream_osx_select() local 149 max_fd = fd; in uv__stream_osx_select() 151 max_fd = s->int_fd; in uv__stream_osx_select() 169 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select() 278 int max_fd; in uv__stream_try_select() local 315 max_fd = *fd; in uv__stream_try_select() 316 if (fds[1] > max_fd) in uv__stream_try_select() 317 max_fd = fds[1]; in uv__stream_try_select() 319 sread_sz = ROUND_UP(max_fd + 1, sizeof(uint32_t) * NBBY) / NBBY; in uv__stream_try_select()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstpoll.c | 471 gint max_fd = -1; in pollfd_to_fd_set() local 490 if (pfd->fd > max_fd && (pfd->events & (POLLIN | POLLOUT))) in pollfd_to_fd_set() 491 max_fd = pfd->fd; in pollfd_to_fd_set() 497 return max_fd; in pollfd_to_fd_set() 1510 gint max_fd; in gst_poll_wait() local 1512 max_fd = pollfd_to_fd_set (set, &readfds, &writefds, &errorfds); in gst_poll_wait() 1526 res = select (max_fd + 1, &readfds, &writefds, &errorfds, tvptr); in gst_poll_wait() 1542 pselect (max_fd + 1, &readfds, &writefds, &errorfds, tsptr, NULL); in gst_poll_wait()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
D | daemon.c | 630 MHD_socket *max_fd, in add_to_fd_set() argument 648 if ( (NULL != max_fd) && (MHD_INVALID_SOCKET != fd) && in add_to_fd_set() 649 ((fd > *max_fd) || (MHD_INVALID_SOCKET == *max_fd)) ) in add_to_fd_set() 650 *max_fd = fd; in add_to_fd_set() 681 MHD_socket *max_fd) in MHD_get_fdset() argument 685 max_fd, MHD_DEFAULT_FD_SETSIZE); in MHD_get_fdset() 714 MHD_socket *max_fd, in MHD_get_fdset2() argument 732 return add_to_fd_set (daemon->epoll_fd, read_fd_set, max_fd, fd_setsize); in MHD_get_fdset2() 736 MHD_YES != add_to_fd_set (daemon->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 744 if (MHD_YES != add_to_fd_set (pos->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 375 int max_fd = std::max(child_stdin_, child_stdout_); in Communicate() local 389 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { in Communicate()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | eloop.c | 100 int max_fd; member 387 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock() 394 eloop.max_fd = next; in eloop_sock_table_add_sock()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | eloop.c | 100 int max_fd; member 384 if (new_max_sock >= eloop.max_fd) { in eloop_sock_table_add_sock() 391 eloop.max_fd = next; in eloop_sock_table_add_sock()
|
/third_party/openssl/apps/ |
D | speed.c | 1155 OSSL_ASYNC_FD max_fd = 0; in run_benchmark() 1175 if (job_fd > max_fd) in run_benchmark() 1176 max_fd = job_fd; in run_benchmark() 1179 if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) { in run_benchmark() 1183 max_fd, FD_SETSIZE); in run_benchmark() 1189 select_result = select(max_fd + 1, &waitfdset, NULL, NULL, NULL); in run_benchmark()
|
/third_party/skia/third_party/externals/microhttpd/doc/ |
D | libmicrohttpd.texi | 1526 …D_Daemon *daemon, fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, int *max_fd) 1533 @var{max_fd} references the file descriptor with highest integer
|
D | libmicrohttpd.info | 1326 int *max_fd)
|
/third_party/chromium/patch/ |
D | 0003-ohos-1115.patch | 79879 int max_fd = implicit_cast<int>(sysconf(_SC_OPEN_MAX));
|