Home
last modified time | relevance | path

Searched refs:max_fd (Results 1 - 16 of 16) sorted by relevance

/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-service.c133 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/
H A Dclose_range.h22 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/
H A Dclose_range01.c36 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/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtransport.cc405 int max_fd = faulted_thread_fd_read_;
408 max_fd = std::max(max_fd, handle_accept_);
415 ret = select(max_fd + 1, &fds, NULL, NULL, NULL);
420 ret = select(max_fd + 1, &fds, NULL, NULL, &timeout);
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
H A Ddaemon.c441 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/libuv/src/unix/
H A Dstream.c153 int max_fd; in uv__stream_osx_select() local
160 max_fd = fd; in uv__stream_osx_select()
162 max_fd = s->int_fd; in uv__stream_osx_select()
180 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
289 int max_fd; in uv__stream_try_select() local
326 max_fd = *fd; in uv__stream_try_select()
327 if (fds[1] > max_fd) in uv__stream_try_select()
328 max_fd = fds[1]; in uv__stream_try_select()
330 sread_sz = ROUND_UP(max_fd + 1, sizeof(uint32_t) * NBBY) / NBBY; in uv__stream_try_select()
/third_party/node/deps/uv/src/unix/
H A Dstream.c143 int max_fd; in uv__stream_osx_select() local
150 max_fd = fd; in uv__stream_osx_select()
152 max_fd = s->int_fd; in uv__stream_osx_select()
170 r = select(max_fd + 1, s->sread, s->swrite, NULL, NULL); in uv__stream_osx_select()
279 int max_fd; in uv__stream_try_select() local
316 max_fd = *fd; in uv__stream_try_select()
317 if (fds[1] > max_fd) in uv__stream_try_select()
318 max_fd = fds[1]; in uv__stream_try_select()
320 sread_sz = ROUND_UP(max_fd + 1, sizeof(uint32_t) * NBBY) / NBBY; in uv__stream_try_select()
/third_party/skia/third_party/externals/microhttpd/src/include/
H A Dmicrohttpd.h1571 * @param max_fd increased to largest FD added (if larger
1584 MHD_socket *max_fd);
1599 * @param max_fd increased to largest FD added (if larger
1613 MHD_socket *max_fd,
1628 * @param max_fd increased to largest FD added (if larger
1636 #define MHD_get_fdset(daemon,read_fd_set,write_fd_set,except_fd_set,max_fd) \
1637 MHD_get_fdset2((daemon),(read_fd_set),(write_fd_set),(except_fd_set),(max_fd),FD_SETSIZE)
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Ddaemon.c619 * greater than @a max_fd, set @a max_fd to @a fd.
623 * @param max_fd maximum value to potentially update
630 MHD_socket *max_fd, in add_to_fd_set()
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()
668 * @param max_fd increased to largest FD added (if larger
681 MHD_socket *max_fd) in MHD_get_fdset()
628 add_to_fd_set(MHD_socket fd, fd_set *set, MHD_socket *max_fd, unsigned int fd_setsize) add_to_fd_set() argument
677 MHD_get_fdset(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd) MHD_get_fdset() argument
710 MHD_get_fdset2(struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd, unsigned int fd_setsize) MHD_get_fdset2() argument
[all...]
/third_party/protobuf/src/google/protobuf/compiler/
H A Dsubprocess.cc375 int max_fd = std::max(child_stdin_, child_stdout_);
389 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) {
/third_party/curl/include/curl/
H A Dmulti.h166 int *max_fd);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Deloop.c100 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/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Deloop.c100 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/node/deps/openssl/openssl/apps/
H A Dspeed.c1169 OSSL_ASYNC_FD max_fd = 0; in run_benchmark()
1189 if (job_fd > max_fd) in run_benchmark()
1190 max_fd = job_fd; in run_benchmark()
1193 if (max_fd >= (OSSL_ASYNC_FD)FD_SETSIZE) { in run_benchmark()
1195 "Error: max_fd (%d) must be smaller than FD_SETSIZE (%d). " in run_benchmark()
1197 max_fd, FD_SETSIZE); in run_benchmark()
1203 select_result = select(max_fd + 1, &waitfdset, NULL, NULL, NULL); in run_benchmark()
/third_party/openssl/apps/
H A Dspeed.c1155 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()
1181 "Error: max_fd (%d) must be smaller than FD_SETSIZE (%d). " 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/curl/lib/
H A Dmulti.c1157 fd_set *exc_fd_set, int *max_fd) in curl_multi_fdset()
1191 *max_fd = this_max_fd; in curl_multi_fdset()
1155 curl_multi_fdset(struct Curl_multi *multi, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd) curl_multi_fdset() argument

Completed in 29 milliseconds