Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 25 of 25) sorted by relevance

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_events.c34 #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 Dfpm_events.h11 #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 Dfpm_process_ctl.h22 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 Dfpm_systemd.h9 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg);
H A Dfpm_process_ctl.c52 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 Dfpm_systemd.c48 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg) /* {{{ */ in fpm_systemd_heartbeat() argument
H A Dfpm_stdio.c115 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 Dpoll.c159 …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 Dselect.c38 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, &current_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 Depoll.c32 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 Dkqueue.c35 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 Ddevpoll.c36 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 Dport.c33 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 Ddelimiter.phpt4 ev 1 + 3 # ev 2 ** 3#q
H A Dbreakpoints_005.phpt6 ev $bar
H A Dexceptions_001.phpt6 ev 1 + 2
H A Drun_002.phpt8 ev file_put_contents("run_002_tmp.fixture", "stdin\ndata")
H A Dexceptions_002.phpt5 ev next_error()
/PHP-7.3/ext/com_dotnet/
H A Dcom_iterator.c32 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.phpdbginit1 ev "Executed .phpdbginit"
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_prompt.h40 PHPDBG_COMMAND(ev);
H A Dphpdbg_cmd.c672 return PHPDBG_COMMAND_HANDLER(ev)(top); in phpdbg_internal_stack_execute()
H A Dphpdbg_prompt.c74 …PHPDBG_COMMAND_D(ev, "evaluate some code", 0 , NULL, "i", PHPDBG_ASY…
1003 PHPDBG_COMMAND(ev) /* {{{ */ in PHPDBG_COMMAND() argument
H A Dxml.md434 ev section
/PHP-7.3/main/
H A Dfastcgi.c516 zend_long ev; in fcgi_init() local
519 ZEND_ATOL(ev, str); in fcgi_init()
520 shutdown_event = (HANDLE) ev; in fcgi_init()

Completed in 61 milliseconds