Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 9 of 9) sorted by relevance

/libuv/src/unix/
H A Drandom-sysctl-linux.c48 char* pe; in uv__random_sysctl() local
52 pe = p + buflen; in uv__random_sysctl()
54 while (p < pe) { in uv__random_sysctl()
90 n = pe - p; in uv__random_sysctl()
H A Dposix-poll.c88 struct pollfd* pe; in uv__pollfds_add() local
101 pe = &loop->poll_fds[loop->poll_fds_used++]; in uv__pollfds_add()
102 pe->fd = w->fd; in uv__pollfds_add()
103 pe->events = w->pevents; in uv__pollfds_add()
146 struct pollfd* pe; in uv__io_poll() local
268 pe = loop->poll_fds + i; in uv__io_poll()
269 fd = pe->fd; in uv__io_poll()
289 pe->revents &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
291 if (pe->revents != 0) { in uv__io_poll()
297 w->cb(loop, w, pe->revents); in uv__io_poll()
H A Dos390.c815 struct epoll_event* pe; in uv__io_poll() local
964 pe = events + i; in uv__io_poll()
965 fd = pe->fd; in uv__io_poll()
972 if (pe->is_msg) { in uv__io_poll()
989 epoll_ctl(loop->ep, EPOLL_CTL_DEL, fd, pe); in uv__io_poll()
998 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
1000 if (pe->events == POLLERR || pe->events == POLLHUP) in uv__io_poll()
1001 pe->events |= w->pevents & (POLLIN | POLLOUT); in uv__io_poll()
1003 if (pe->events != 0) { in uv__io_poll()
1011 w->cb(loop, w, pe->events); in uv__io_poll()
H A Dsunos.c149 struct port_event* pe; in uv__io_poll() local
287 pe = events + i; in uv__io_poll()
288 fd = pe->portev_object; in uv__io_poll()
310 w->cb(loop, w, pe->portev_events); in uv__io_poll()
454 port_event_t pe; in uv__fs_event_read() local
474 r = port_getn(loop->fs_fd, &pe, 1, &n, &timeout); in uv__fs_event_read()
481 handle = (uv_fs_event_t*) pe.portev_user; in uv__fs_event_read()
491 if (pe.portev_events & (FILE_ATTRIB | FILE_MODIFIED)) in uv__fs_event_read()
493 if (pe.portev_events & ~(FILE_ATTRIB | FILE_MODIFIED)) in uv__fs_event_read()
H A Dlinux.c1252 struct epoll_event* pe; in uv__epoll_ctl_prep() local
1262 pe = &(*events)[slot]; in uv__epoll_ctl_prep()
1263 *pe = *e; in uv__epoll_ctl_prep()
1269 sqe->addr = (uintptr_t) pe; in uv__epoll_ctl_prep()
1354 struct epoll_event* pe; in uv__io_poll() local
1498 pe = events + i; in uv__io_poll()
1499 fd = pe->data.fd; in uv__io_poll()
1552 if (pe->events == POLLERR || pe->events == POLLHUP) in uv__io_poll()
1553 pe->events |= in uv__io_poll()
1556 if (pe->events != 0) { in uv__io_poll()
[all …]
H A Daix.c137 struct pollfd* pe; in uv__io_poll() local
297 pe = events + i; in uv__io_poll()
299 pc.fd = pe->fd; in uv__io_poll()
327 w->cb(loop, w, pe->revents); in uv__io_poll()
H A Dstream.c984 char* pe; in uv__stream_recv_cmsg() local
1003 pe = p + count * sizeof(fd); in uv__stream_recv_cmsg()
1005 while (p < pe) { in uv__stream_recv_cmsg()
/libuv/src/
H A Didna.c72 const char* pe, in uv__utf8_decode1_slow() argument
82 switch (pe - *p) { in uv__utf8_decode1_slow()
138 unsigned uv__utf8_decode1(const char** p, const char* pe) { in uv__utf8_decode1() argument
141 assert(*p < pe); in uv__utf8_decode1()
148 return uv__utf8_decode1_slow(p, pe, a); in uv__utf8_decode1()
H A Didna.h23 unsigned uv__utf8_decode1(const char** p, const char* pe);

Completed in 27 milliseconds