Searched refs:_unget (Results 1 – 8 of 8) sorted by relevance
78 for (i = __m_screen->_unget._count - 1; i >= 0; i--) { in iqContainsFullLine()79 int ch = __m_screen->_unget._stack[i]; in iqContainsFullLine()91 if (__m_screen->_unget._count >= __m_screen->_unget._size) in iqPush()93 __m_screen->_unget._stack[__m_screen->_unget._count++] = in iqPush()102 if (++(__m_screen->_unget._count) >= __m_screen->_unget._size) in iqAdd()103 __m_screen->_unget._count = __m_screen->_unget._size - 1; in iqAdd()104 count = __m_screen->_unget._count - 1; in iqAdd()106 (void) memmove(__m_screen->_unget._stack + 1, in iqAdd()107 __m_screen->_unget._stack, count * sizeof (int)); in iqAdd()109 __m_screen->_unget._stack[0] = (int) ch; in iqAdd()[all …]
257 sp->_unget._size = __m_decode_init((t_decode **) &sp->_decode); in newterm()263 if (sp->_unget._size < (M_TYPEAHEAD_SIZE + MB_LEN_MAX)) in newterm()264 sp->_unget._size = M_TYPEAHEAD_SIZE + MB_LEN_MAX; in newterm()266 sp->_unget._stack = calloc((size_t) sp->_unget._size, in newterm()267 sizeof (*sp->_unget._stack)); in newterm()268 if (sp->_unget._stack == NULL) in newterm()421 if (sp->_unget._stack != NULL) in delscreen()422 free(sp->_unget._stack); in delscreen()
213 #define ISFULL() (__m_screen->_unget._size <= __m_screen->_unget._count)214 #define ISEMPTY() (__m_screen->_unget._count <= 0)215 #define DEC() --__m_screen->_unget._count216 #define INC() __m_screen->_unget._count++217 #define RESET() __m_screen->_unget._count = 0218 #define POP() __m_screen->_unget._stack[DEC()]219 #define PUSH(x) (__m_screen->_unget._stack[INC()] = (x))
261 sp->_unget._size = __m_decode_init((t_decode **) &sp->_decode);266 if (sp->_unget._size < MB_LEN_MAX)267 sp->_unget._size = MB_LEN_MAX;269 sp->_unget._stack = calloc(270 (size_t) sp->_unget._size, sizeof *sp->_unget._stack272 if (sp->_unget._stack == (void *) 0)409 if (sp->_unget._stack != (int *) 0)410 free(sp->_unget._stack);
215 for (i = 0, j = __m_screen->_unget._count; i < --j; ++i) {216 ch = __m_screen->_unget._stack[i];217 __m_screen->_unget._stack[i] =218 __m_screen->_unget._stack[j];219 __m_screen->_unget._stack[j] = ch;
440 goto _unget;466 _unget:
180 } _unget; member
177 } _unget; member