Searched refs:_unget (Results 1 – 8 of 8) sorted by relevance
80 for (i = __m_screen->_unget._count - 1; i >= 0; i--) { in iqContainsFullLine()81 int ch = __m_screen->_unget._stack[i]; in iqContainsFullLine()93 if (__m_screen->_unget._count >= __m_screen->_unget._size) in iqPush()95 __m_screen->_unget._stack[__m_screen->_unget._count++] = in iqPush()104 if (++(__m_screen->_unget._count) >= __m_screen->_unget._size) in iqAdd()105 __m_screen->_unget._count = __m_screen->_unget._size - 1; in iqAdd()106 count = __m_screen->_unget._count - 1; in iqAdd()108 (void) memmove(__m_screen->_unget._stack + 1, in iqAdd()109 __m_screen->_unget._stack, count * sizeof (int)); in iqAdd()111 __m_screen->_unget._stack[0] = (int) ch; in iqAdd()[all …]
259 sp->_unget._size = __m_decode_init((t_decode **) &sp->_decode); in newterm()265 if (sp->_unget._size < (M_TYPEAHEAD_SIZE + MB_LEN_MAX)) in newterm()266 sp->_unget._size = M_TYPEAHEAD_SIZE + MB_LEN_MAX; in newterm()268 sp->_unget._stack = calloc((size_t) sp->_unget._size, in newterm()269 sizeof (*sp->_unget._stack)); in newterm()270 if (sp->_unget._stack == NULL) in newterm()423 if (sp->_unget._stack != NULL) in delscreen()424 free(sp->_unget._stack); in delscreen()
215 #define ISFULL() (__m_screen->_unget._size <= __m_screen->_unget._count)216 #define ISEMPTY() (__m_screen->_unget._count <= 0)217 #define DEC() --__m_screen->_unget._count218 #define INC() __m_screen->_unget._count++219 #define RESET() __m_screen->_unget._count = 0220 #define POP() __m_screen->_unget._stack[DEC()]221 #define PUSH(x) (__m_screen->_unget._stack[INC()] = (x))
263 sp->_unget._size = __m_decode_init((t_decode **) &sp->_decode);268 if (sp->_unget._size < MB_LEN_MAX)269 sp->_unget._size = MB_LEN_MAX;271 sp->_unget._stack = calloc(272 (size_t) sp->_unget._size, sizeof *sp->_unget._stack274 if (sp->_unget._stack == (void *) 0)411 if (sp->_unget._stack != (int *) 0)412 free(sp->_unget._stack);
217 for (i = 0, j = __m_screen->_unget._count; i < --j; ++i) {218 ch = __m_screen->_unget._stack[i];219 __m_screen->_unget._stack[i] = 220 __m_screen->_unget._stack[j];221 __m_screen->_unget._stack[j] = ch;
442 goto _unget;468 _unget:
179 } _unget; member
182 } _unget; member