/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_events.c | 34 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); argument 66 int fd = ev->fd; in fpm_got_signal() 139 if (!ev) { in fpm_event_queue_isset() 144 if (queue->ev == ev) { in fpm_event_queue_isset() 145 return ev; in fpm_event_queue_isset() 172 elt->ev = ev; in fpm_event_queue_add() 197 if (q->ev == ev) { in fpm_event_queue_del() 474 if (!ev || !ev->callback) { in fpm_event_fire() 478 (*ev->callback)( (struct fpm_event_s *) ev, ev->which, ev->arg); in fpm_event_fire() 488 ev->fd = fd; in fpm_event_set() [all …]
|
H A D | fpm_events.h | 11 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg)) argument 27 struct fpm_event_s *ev; member 36 int (*add)(struct fpm_event_s *ev); 37 int (*remove)(struct fpm_event_s *ev); 41 void fpm_event_fire(struct fpm_event_s *ev); 43 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,… 44 int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout); 45 int fpm_event_del(struct fpm_event_s *ev);
|
H A D | fpm_process_ctl.h | 22 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg); 23 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *… 24 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg);
|
H A D | fpm_systemd.h | 9 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg);
|
H A D | fpm_process_ctl.c | 52 static void fpm_pctl_action(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_action() argument 440 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_heartbeat() argument 465 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *… in fpm_pctl_perform_idle_server_maintenance_heartbeat() argument 495 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_pctl_on_socket_accept() argument
|
H A D | fpm_systemd.c | 48 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_systemd_heartbeat() argument
|
H A D | fpm_stdio.c | 115 static void fpm_stdio_child_said(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ argument 118 int fd = ev->fd;
|
/PHP-7.3/sapi/fpm/fpm/events/ |
H A D | poll.c | 159 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait() 165 fpm_event_fire(q->ev); in fpm_event_poll_wait() 195 ev->index = next_free_slot++; in fpm_event_poll_add() 210 pollfds[i].fd = ev->fd; in fpm_event_poll_add() 214 ev->index = next_free_slot++; in fpm_event_poll_add() 234 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove() 236 next_free_slot = ev->index; in fpm_event_poll_remove() 239 pollfds[ev->index].fd = -1; in fpm_event_poll_remove() 240 pollfds[ev->index].events = 0; in fpm_event_poll_remove() 243 ev->index = -1; in fpm_event_poll_remove() [all …]
|
H A D | select.c | 38 static int fpm_event_select_add(struct fpm_event_s *ev); 115 if (q->ev) { /* sanity check */ in fpm_event_select_wait() 118 if (FD_ISSET(q->ev->fd, ¤t_fds)) { in fpm_event_select_wait() 121 fpm_event_fire(q->ev); in fpm_event_select_wait() 143 if (ev->fd >= FD_SETSIZE) { in fpm_event_select_add() 149 if (!FD_ISSET(ev->fd, &fds)) { in fpm_event_select_add() 150 FD_SET(ev->fd, &fds); in fpm_event_select_add() 151 ev->index = ev->fd; in fpm_event_select_add() 164 if (FD_ISSET(ev->fd, &fds)) { in fpm_event_select_remove() 165 FD_CLR(ev->fd, &fds); in fpm_event_select_remove() [all …]
|
H A D | epoll.c | 32 static int fpm_event_epoll_add(struct fpm_event_s *ev); 33 static int fpm_event_epoll_remove(struct fpm_event_s *ev); 170 e.data.fd = ev->fd; in fpm_event_epoll_add() 171 e.data.ptr = (void *)ev; in fpm_event_epoll_add() 173 if (ev->flags & FPM_EV_EDGE) { in fpm_event_epoll_add() 179 zlog(ZLOG_ERROR, "epoll: unable to add fd %d", ev->fd); in fpm_event_epoll_add() 184 ev->index = ev->fd; in fpm_event_epoll_add() 198 e.data.fd = ev->fd; in fpm_event_epoll_remove() 199 e.data.ptr = (void *)ev; in fpm_event_epoll_remove() 201 if (ev->flags & FPM_EV_EDGE) { in fpm_event_epoll_remove() [all …]
|
H A D | kqueue.c | 35 static int fpm_event_kqueue_add(struct fpm_event_s *ev); 36 static int fpm_event_kqueue_remove(struct fpm_event_s *ev); 143 struct fpm_event_s *ev = (struct fpm_event_s *)kevents[i].udata; in fpm_event_kqueue_wait() local 144 fpm_event_fire(ev); in fpm_event_kqueue_wait() 159 static int fpm_event_kqueue_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_kqueue_add() argument 164 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_add() 168 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_add() 176 ev->index = ev->fd; in fpm_event_kqueue_add() 189 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_remove() 193 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_remove() [all …]
|
H A D | devpoll.c | 36 static int fpm_event_devpoll_add(struct fpm_event_s *ev); 37 static int fpm_event_devpoll_remove(struct fpm_event_s *ev); 177 if (q->ev && q->ev->fd == active_pollfds[i].fd) { in fpm_event_devpoll_wait() 180 fpm_event_fire(q->ev); in fpm_event_devpoll_wait() 199 static int fpm_event_devpoll_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_devpoll_add() argument 204 pollfd.fd = ev->fd; in fpm_event_devpoll_add() 215 ev->index = ev->fd; in fpm_event_devpoll_add() 224 static int fpm_event_devpoll_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_devpoll_remove() argument 229 pollfd.fd = ev->fd; in fpm_event_devpoll_remove() 240 ev->index = -1; in fpm_event_devpoll_remove()
|
H A D | port.c | 33 static int fpm_event_port_add(struct fpm_event_s *ev); 34 static int fpm_event_port_remove(struct fpm_event_s *ev); 158 static int fpm_event_port_add(struct fpm_event_s *ev) /* {{{ */ in fpm_event_port_add() argument 161 if (port_associate(pfd, PORT_SOURCE_FD, ev->fd, POLLIN, (void *)ev) < 0) { in fpm_event_port_add() 172 static int fpm_event_port_remove(struct fpm_event_s *ev) /* {{{ */ in fpm_event_port_remove() argument 175 if (port_dissociate(pfd, PORT_SOURCE_FD, ev->fd) < 0) { in fpm_event_port_remove()
|
/PHP-7.3/sapi/phpdbg/tests/ |
H A D | delimiter.phpt | 4 ev 1 + 3 # ev 2 ** 3#q
|
H A D | breakpoints_005.phpt | 6 ev $bar
|
H A D | exceptions_001.phpt | 6 ev 1 + 2
|
H A D | run_002.phpt | 8 ev file_put_contents("run_002_tmp.fixture", "stdin\ndata")
|
H A D | exceptions_002.phpt | 5 ev next_error()
|
/PHP-7.3/ext/com_dotnet/ |
H A D | com_iterator.c | 32 IEnumVARIANT *ev; member 46 if (I->ev) { in com_iter_dtor() 47 IEnumVARIANT_Release(I->ev); in com_iter_dtor() 97 if (I->ev) { in com_iter_move_forwards() 99 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in com_iter_move_forwards() 220 I->ev = iev; in php_com_iter_get() 223 if (SUCCEEDED(IEnumVARIANT_Next(I->ev, 1, &I->v, &n_fetched)) && n_fetched > 0) { in php_com_iter_get()
|
/PHP-7.3/sapi/phpdbg/tests/bug73615/ |
H A D | .phpdbginit | 1 ev "Executed .phpdbginit"
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_prompt.h | 40 PHPDBG_COMMAND(ev);
|
H A D | phpdbg_cmd.c | 672 return PHPDBG_COMMAND_HANDLER(ev)(top); in phpdbg_internal_stack_execute()
|
H A D | phpdbg_prompt.c | 74 …PHPDBG_COMMAND_D(ev, "evaluate some code", 0 , NULL, "i", PHPDBG_ASY… 1003 PHPDBG_COMMAND(ev) /* {{{ */ in PHPDBG_COMMAND() argument
|
H A D | xml.md | 434 ev section
|
/PHP-7.3/main/ |
H A D | fastcgi.c | 516 zend_long ev; in fcgi_init() local 519 ZEND_ATOL(ev, str); in fcgi_init() 520 shutdown_event = (HANDLE) ev; in fcgi_init()
|