Home
last modified time | relevance | path

Searched refs:evl (Results 1 – 10 of 10) sorted by relevance

/NextBSD/contrib/ncurses/ncurses/tty/
HDlib_twait.c113 _nc_eventlist_timeout(_nc_eventlist * evl) in _nc_eventlist_timeout() argument
118 if (evl != 0) { in _nc_eventlist_timeout()
120 for (n = 0; n < evl->count; ++n) { in _nc_eventlist_timeout()
121 _nc_event *ev = evl->events[n]; in _nc_eventlist_timeout()
169 EVENTLIST_2nd(_nc_eventlist * evl)) in _nc_timed_wait() argument
205 int event_delay = _nc_eventlist_timeout(evl); in _nc_timed_wait()
224 if ((mode & TW_EVENT) && evl) in _nc_timed_wait()
225 evl->result_flags = 0; in _nc_timed_wait()
232 if ((mode & TW_EVENT) && evl) { in _nc_timed_wait()
233 fds = typeMalloc(struct pollfd, MIN_FDS + evl->count); in _nc_timed_wait()
[all …]
/NextBSD/contrib/ncurses/ncurses/base/
HDlib_getch.c131 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity() argument
136 rc = TCBOf(sp)->drv->testmouse(TCBOf(sp), delay EVENTLIST_2nd(evl)); in check_mouse_activity()
149 EVENTLIST_2nd(evl)); in check_mouse_activity()
197 fifo_push(SCREEN *sp EVENTLIST_2nd(_nc_eventlist * evl)) in fifo_push() argument
213 if (evl in fifo_push()
218 mask = check_mouse_activity(sp, -1 EVENTLIST_2nd(evl)); in fifo_push()
229 mask = check_mouse_activity(sp, -1 EVENTLIST_2nd(evl)); in fifo_push()
336 static int kgetch(SCREEN *EVENTLIST_2nd(_nc_eventlist * evl));
396 EVENTLIST_2nd(_nc_eventlist * evl)) in _nc_wgetch() argument
420 if (evl && (evl->count == 0)) in _nc_wgetch()
[all …]
HDlib_getstr.c75 EVENTLIST_1st(_nc_eventlist * evl)) in wgetnstr_events() argument
111 while ((ch = wgetch_events(win, evl)) != ERR) { in wgetnstr_events()
/NextBSD/sys/netgraph/
HDng_vlan.c518 struct ether_vlan_header *evl; in ng_vlan_rcvdata() local
556 evl = NULL; in ng_vlan_rcvdata()
562 evl = mtod(m, struct ether_vlan_header *); in ng_vlan_rcvdata()
563 vid = EVL_VLANOFTAG(ntohs(evl->evl_tag)); in ng_vlan_rcvdata()
572 if (evl == NULL) { /* m->m_flags & M_VLANTAG */ in ng_vlan_rcvdata()
580 if (evl == NULL || priv->decap_enable == 0) in ng_vlan_rcvdata()
583 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag); in ng_vlan_rcvdata()
598 bcopy((char *)evl, ((char *)evl + ETHER_VLAN_ENCAP_LEN), in ng_vlan_rcvdata()
659 evl = mtod(m, struct ether_vlan_header *); in ng_vlan_rcvdata()
660 bcopy(((char *)evl + ETHER_VLAN_ENCAP_LEN), in ng_vlan_rcvdata()
[all …]
/NextBSD/sys/net/
HDif_ethersubr.c534 struct ether_vlan_header *evl; in ether_input_internal() local
536 if (m->m_len < sizeof(*evl) && in ether_input_internal()
537 (m = m_pullup(m, sizeof(*evl))) == NULL) { in ether_input_internal()
546 evl = mtod(m, struct ether_vlan_header *); in ether_input_internal()
547 m->m_pkthdr.ether_vtag = ntohs(evl->evl_tag); in ether_input_internal()
550 bcopy((char *)evl, (char *)evl + ETHER_VLAN_ENCAP_LEN, in ether_input_internal()
1177 struct ether_vlan_header *evl; in ether_vlanencap() local
1184 if (m->m_len < sizeof(*evl)) { in ether_vlanencap()
1185 m = m_pullup(m, sizeof(*evl)); in ether_vlanencap()
1194 evl = mtod(m, struct ether_vlan_header *); in ether_vlanencap()
[all …]
HDif_vlan.c1118 struct ether_vlan_header *evl; local
1125 if (m->m_len < sizeof(*evl) &&
1126 (m = m_pullup(m, sizeof(*evl))) == NULL) {
1130 evl = mtod(m, struct ether_vlan_header *);
1131 vid = EVL_VLANOFTAG(ntohs(evl->evl_tag));
1139 bcopy((char *)evl, (char *)evl + ETHER_VLAN_ENCAP_LEN,
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDtinfo_driver.c856 EVENTLIST_2nd(_nc_eventlist * evl)) in drv_testmouse() argument
875 EVENTLIST_2nd(evl)); in drv_testmouse()
1157 EVENTLIST_2nd(_nc_eventlist * evl)) in drv_twait() argument
1164 return _nc_timed_wait(sp, mode, milliseconds, timeleft EVENTLIST_2nd(evl)); in drv_twait()
/NextBSD/sys/dev/mxge/
HDif_mxge.c2050 struct ether_vlan_header *evl; in mxge_vlan_tag_insert() local
2055 if (m->m_len < sizeof(*evl)) { in mxge_vlan_tag_insert()
2056 m = m_pullup(m, sizeof(*evl)); in mxge_vlan_tag_insert()
2064 evl = mtod(m, struct ether_vlan_header *); in mxge_vlan_tag_insert()
2065 bcopy((char *)evl + ETHER_VLAN_ENCAP_LEN, in mxge_vlan_tag_insert()
2066 (char *)evl, ETHER_HDR_LEN - ETHER_TYPE_LEN); in mxge_vlan_tag_insert()
2067 evl->evl_encap_proto = htons(ETHERTYPE_VLAN); in mxge_vlan_tag_insert()
2068 evl->evl_tag = htons(m->m_pkthdr.ether_vtag); in mxge_vlan_tag_insert()
2605 struct ether_vlan_header *evl; in mxge_vlan_tag_remove() local
2609 evl = mtod(m, struct ether_vlan_header *); in mxge_vlan_tag_remove()
[all …]
/NextBSD/contrib/ncurses/ncurses/win32con/
HDwin_driver.c1097 EVENTLIST_2nd(evl)); in drv_testmouse()
1281 EVENTLIST_2nd(_nc_eventlist * evl)) in drv_twait() argument
/NextBSD/contrib/ncurses/ncurses/
HDcurses.priv.h2066 #define wgetch_events(win, evl) wgetch(win) argument
2067 #define wgetnstr_events(win, str, maxlen, evl) wgetnstr(win, str, maxlen) argument