Home
last modified time | relevance | path

Searched refs:FIFO_SIZE (Results 1 – 3 of 3) sorted by relevance

/freebsd-9-stable/contrib/ncurses/ncurses/
Dfifo_defs.h48 #define h_inc() { head == FIFO_SIZE-1 ? head = 0 : head++; if (head == tail) head = -1, tail = 0;}
49 #define h_dec() { head == 0 ? head = FIFO_SIZE-1 : head--; if (head == tail) tail = -1;}
50 #define t_inc() { tail == FIFO_SIZE-1 ? tail = 0 : tail++; if (tail == head) tail = -1;}
51 #define t_dec() { tail == 0 ? tail = FIFO_SIZE-1 : tail--; if (head == tail) fifo_clear(sp);}
52 #define p_inc() { peek == FIFO_SIZE-1 ? peek = 0 : peek++;}
Dcurses.priv.h240 #define FIFO_SIZE MAXCOLUMNS+2 /* for nocbreak mode input */ macro
725 int _fifo[FIFO_SIZE]; /* input push-back buffer */
865 MEVENT _sysmouse_fifo[FIFO_SIZE];
/freebsd-9-stable/contrib/ncurses/ncurses/base/
Dlib_mouse.c292 && sp->_sysmouse_tail < FIFO_SIZE in sysmouse_server()