/freebsd-11.0-release/contrib/apr/poll/unix/ |
H A D | pollcb.c | 83 apr_pollcb_t *pollcb; local 91 * but someone might implement other pollcb method in 112 pollcb = apr_palloc(p, sizeof(*pollcb)); 113 pollcb->nelts = 0; 114 pollcb->nalloc = size; 115 pollcb->pool = p; 116 pollcb->provider = provider; 118 rv = (*provider->create)(pollcb, size, p, flags); 133 rv = (*provider->create)(pollcb, siz [all...] |
H A D | poll.c | 312 /* Poll method pollcb. 315 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 323 pollcb->fd = -1; 330 pollcb->pollset.ps = apr_palloc(p, size * sizeof(struct pollfd)); 331 pollcb->copyset = apr_palloc(p, size * sizeof(apr_pollfd_t *)); 337 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 340 if (pollcb->nelts == pollcb->nalloc) { 345 pollcb->pollset.ps[pollcb 363 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 391 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 | 471 apr_pollcb_t *pollcb = (apr_pollcb_t *) p_; local 472 close(pollcb->fd); 476 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 481 pollcb->fd = port_create(); 483 if (pollcb->fd < 0) { 491 if ((flags = fcntl(pollcb->fd, F_GETFD)) == -1) { 493 close(pollcb->fd); 494 pollcb->fd = -1; 499 if (fcntl(pollcb->fd, F_SETFD, flags) == -1) { 501 close(pollcb 513 impl_pollcb_add(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 535 impl_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor) argument 556 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 apr_pollcb_t *pollcb = (apr_pollcb_t *) b_; local 331 close(pollcb->fd); 335 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 354 pollcb->fd = -1; 362 pollcb->fd = -1; 367 pollcb->fd = fd; 368 pollcb->pollset.ke = (struct kevent *)apr_pcalloc(p, 2 * size * sizeof(struct kevent)); 369 apr_pool_cleanup_register(p, pollcb, cb_cleanup, apr_pool_cleanup_null); 374 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 391 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 apr_pollcb_t *pollcb = (apr_pollcb_t *) p_; local 335 close(pollcb->fd); 339 static apr_status_t impl_pollcb_create(apr_pollcb_t *pollcb, argument 364 pollcb->fd = -1; 372 pollcb->fd = -1; 378 pollcb->fd = fd; 379 pollcb->pollset.epoll = apr_palloc(p, size * sizeof(struct epoll_event)); 380 apr_pool_cleanup_register(p, pollcb, cb_cleanup, apr_pool_cleanup_null); 385 static apr_status_t impl_pollcb_add(apr_pollcb_t *pollcb, argument 395 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-11.0-release/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. 329 APR_DECLARE(apr_status_t) apr_pollcb_create(apr_pollcb_t **pollcb, 335 * Set up a pollcb object 336 * @param pollcb The pointer in which to return the newly created object 338 * @param p The pool from which to allocate the pollcb 339 * @param flags Optional flags to modify the operation of the pollcb [all...] |
/freebsd-11.0-release/usr.bin/svn/lib/libapr/ |
H A D | Makefile | 15 otherchild.c pipe.c poll.c pollcb.c pollset.c port.c \
|
/freebsd-11.0-release/contrib/apr/ |
H A D | apr.mak | 89 -@erase "$(INTDIR)\pollcb.obj"
216 "$(INTDIR)\pollcb.obj" \
303 -@erase "$(INTDIR)\pollcb.obj"
430 "$(INTDIR)\pollcb.obj" \
517 -@erase "$(INTDIR)\pollcb.obj"
644 "$(INTDIR)\pollcb.obj" \
731 -@erase "$(INTDIR)\pollcb.obj"
858 "$(INTDIR)\pollcb.obj" \
945 -@erase "$(INTDIR)\pollcb.obj"
1072 "$(INTDIR)\pollcb [all...] |
H A D | libapr.mak | 91 -@erase "$(INTDIR)\pollcb.obj"
224 "$(INTDIR)\pollcb.obj" \
327 -@erase "$(INTDIR)\pollcb.obj"
460 "$(INTDIR)\pollcb.obj" \
563 -@erase "$(INTDIR)\pollcb.obj"
696 "$(INTDIR)\pollcb.obj" \
799 -@erase "$(INTDIR)\pollcb.obj"
932 "$(INTDIR)\pollcb.obj" \
1035 -@erase "$(INTDIR)\pollcb.obj"
1168 "$(INTDIR)\pollcb [all...] |
H A D | build-outputs.mk | 82 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_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 88 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/z_asio.lo
|