/freebsd-12-stable/contrib/apr/poll/unix/ |
H A D | pollcb.c | 78 apr_pollcb_t *pollcb = (apr_pollcb_t *) p; local 80 if (pollcb->provider->cleanup) { 81 (*pollcb->provider->cleanup)(pollcb); 83 if (pollcb->flags & APR_POLLSET_WAKEABLE) { 84 apr_poll_close_wakeup_pipe(pollcb->wakeup_pipe); 97 apr_pollcb_t *pollcb; local 105 * but someone might implement other pollcb method in 131 pollcb = apr_palloc(p, sizeof(*pollcb)); 221 apr_pollcb_method_name(apr_pollcb_t *pollcb) argument [all...] |
H A D | poll.c | 313 /* Poll method pollcb. 316 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 324 pollcb->fd = -1; 331 pollcb->pollset.ps = apr_palloc(p, size * sizeof(struct pollfd)); 332 pollcb->copyset = apr_palloc(p, size * sizeof(apr_pollfd_t *)); 338 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 341 if (pollcb->nelts == pollcb->nalloc) { 346 pollcb->pollset.ps[pollcb 364 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 392 impl_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton) argument [all...] |
H A D | port.c | 461 static apr_status_t impl_pollcb_cleanup(apr_pollcb_t *pollcb) argument 463 close(pollcb->fd); 467 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 472 pollcb->fd = port_create(); 474 if (pollcb->fd < 0) { 482 if ((flags = fcntl(pollcb->fd, F_GETFD)) == -1) { 484 close(pollcb->fd); 485 pollcb->fd = -1; 490 if (fcntl(pollcb->fd, F_SETFD, flags) == -1) { 492 close(pollcb 503 impl_pollcb_add(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 525 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 546 impl_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton) argument [all...] |
H A D | kqueue.c | 330 static apr_status_t impl_pollcb_cleanup(apr_pollcb_t *pollcb) argument 332 close(pollcb->fd); 336 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 355 pollcb->fd = -1; 363 pollcb->fd = -1; 368 pollcb->fd = fd; 369 pollcb->pollset.ke = (struct kevent *) apr_pcalloc(p, 2 * size * sizeof(struct kevent)); 374 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 391 if (kevent(pollcb->fd, &ev, 1, NULL, 0, NULL) == -1) { 399 if (kevent(pollcb 407 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 442 impl_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton) argument [all...] |
H A D | epoll.c | 334 static apr_status_t impl_pollcb_cleanup(apr_pollcb_t *pollcb) argument 336 close(pollcb->fd); 340 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 365 pollcb->fd = -1; 373 pollcb->fd = -1; 379 pollcb->fd = fd; 380 pollcb->pollset.epoll = apr_palloc(p, size * sizeof(struct epoll_event)); 385 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 395 ret = epoll_ctl(pollcb->fd, EPOLL_CTL_ADD, 399 ret = epoll_ctl(pollcb 410 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 436 impl_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton) argument [all...] |
/freebsd-12-stable/contrib/apr/include/ |
H A D | apr_poll.h | 316 /** Opaque structure used for pollcb API */ 320 * Set up a pollcb object 321 * @param pollcb The pointer in which to return the newly created object 323 * @param p The pool from which to allocate the pollcb 324 * @param flags Optional flags to modify the operation of the pollcb. 326 * @remark If flags contains APR_POLLSET_WAKEABLE, then a pollcb is 328 * apr_pollcb_wakeup() call. The actual size of pollcb is 333 APR_DECLARE(apr_status_t) apr_pollcb_create(apr_pollcb_t **pollcb, 339 * Set up a pollcb object 340 * @param pollcb Th 431 APR_DECLARE(apr_status_t) apr_pollcb_wakeup(apr_pollcb_t *pollcb); variable 437 APR_DECLARE(const char *) apr_pollcb_method_name(apr_pollcb_t *pollcb); variable [all...] |
/freebsd-12-stable/usr.bin/svn/lib/libapr/ |
H A D | Makefile | 54 pollcb.c \
|
/freebsd-12-stable/contrib/apr/ |
H A D | apr.mak | 93 -@erase "$(INTDIR)\pollcb.obj"
187 "$(INTDIR)\pollcb.obj" \
279 -@erase "$(INTDIR)\pollcb.obj"
373 "$(INTDIR)\pollcb.obj" \
465 -@erase "$(INTDIR)\pollcb.obj"
559 "$(INTDIR)\pollcb.obj" \
651 -@erase "$(INTDIR)\pollcb.obj"
746 "$(INTDIR)\pollcb.obj" \
1122 SOURCE=.\poll\unix\pollcb.c
1124 "$(INTDIR)\pollcb [all...] |
H A D | libapr.mak | 92 -@erase "$(INTDIR)\pollcb.obj"
228 "$(INTDIR)\pollcb.obj" \
336 -@erase "$(INTDIR)\pollcb.obj"
472 "$(INTDIR)\pollcb.obj" \
580 -@erase "$(INTDIR)\pollcb.obj"
716 "$(INTDIR)\pollcb.obj" \
824 -@erase "$(INTDIR)\pollcb.obj"
960 "$(INTDIR)\pollcb.obj" \
1320 SOURCE=.\poll\unix\pollcb.c
1322 "$(INTDIR)\pollcb [all...] |
H A D | build-outputs.mk | 84 poll/unix/pollcb.lo: poll/unix/pollcb.c .make.dirs include/apr_allocator.h include/apr_dso.h include/apr_errno.h include/apr_file_info.h include/apr_file_io.h include/apr_general.h include/apr_global_mutex.h include/apr_inherit.h include/apr_network_io.h include/apr_perms_set.h include/apr_poll.h include/apr_pools.h include/apr_portable.h include/apr_proc_mutex.h include/apr_shm.h include/apr_tables.h include/apr_thread_mutex.h include/apr_thread_proc.h include/apr_time.h include/apr_user.h include/apr_want.h 91 OBJECTS_poll_unix = poll/unix/epoll.lo poll/unix/kqueue.lo poll/unix/poll.lo poll/unix/pollcb.lo poll/unix/pollset.lo poll/unix/port.lo poll/unix/select.lo poll/unix/wakeup.lo poll/unix/z_asio.lo
|