Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 10 of 10) 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.c1223 struct epoll_event* pe; in uv__epoll_ctl_prep() local
1233 pe = &(*events)[slot]; in uv__epoll_ctl_prep()
1234 *pe = *e; in uv__epoll_ctl_prep()
1240 sqe->addr = (uintptr_t) pe; in uv__epoll_ctl_prep()
1325 struct epoll_event* pe; in uv__io_poll() local
1469 pe = events + i; in uv__io_poll()
1470 fd = pe->data.fd; in uv__io_poll()
1523 if (pe->events == POLLERR || pe->events == POLLHUP) in uv__io_poll()
1524 pe->events |= in uv__io_poll()
1527 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.c983 char* pe; in uv__stream_recv_cmsg() local
1002 pe = p + count * sizeof(fd); in uv__stream_recv_cmsg()
1004 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);
/libuv/src/win/
H A Dutil.c321 PROCESSENTRY32 pe; in uv_os_getppid() local
324 pe.dwSize = sizeof(PROCESSENTRY32); in uv_os_getppid()
327 if (Process32First(handle, &pe)) { in uv_os_getppid()
329 if (pe.th32ProcessID == current_pid) { in uv_os_getppid()
330 parent_pid = pe.th32ParentProcessID; in uv_os_getppid()
333 } while( Process32Next(handle, &pe)); in uv_os_getppid()

Completed in 45 milliseconds