Searched refs:_unget (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwgetch.c76 for (i = __m_screen->_unget._count - 1; i >= 0; i--) {
77 int ch = __m_screen->_unget._stack[i];
89 if (__m_screen->_unget._count >= __m_screen->_unget._size)
91 __m_screen->_unget._stack[__m_screen->_unget._count++] = (int)ch;
99 if (++(__m_screen->_unget._count) >= __m_screen->_unget._size)
100 __m_screen->_unget._count = __m_screen->_unget
[all...]
H A Dnewterm.c259 sp->_unget._size = __m_decode_init((t_decode **) &sp->_decode);
265 if (sp->_unget._size < (M_TYPEAHEAD_SIZE + MB_LEN_MAX))
266 sp->_unget._size = M_TYPEAHEAD_SIZE + MB_LEN_MAX;
268 sp->_unget._stack = calloc((size_t) sp->_unget._size,
269 sizeof (*sp->_unget._stack));
270 if (sp->_unget._stack == NULL)
423 if (sp->_unget._stack != NULL)
424 free(sp->_unget._stack);
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dprivate.h215 #define ISFULL() (__m_screen->_unget._size <= __m_screen->_unget._count)
216 #define ISEMPTY() (__m_screen->_unget._count <= 0)
217 #define DEC() --__m_screen->_unget._count
218 #define INC() __m_screen->_unget._count++
219 #define RESET() __m_screen->_unget._count = 0
220 #define POP() __m_screen->_unget._stack[DEC()]
221 #define PUSH(x) (__m_screen->_unget._stack[INC()] = (x))
H A Dwgetch.c217 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;
H A Dnewterm.c263 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._stack
274 if (sp->_unget._stack == (void *) 0)
411 if (sp->_unget._stack != (int *) 0)
412 free(sp->_unget._stack);
/osnet-11/usr/src/lib/libxcurses/h/
H A Dcurses.h179 } _unget; member in struct:__anon2729
/osnet-11/usr/src/lib/libxcurses2/h/
H A Dcurses.h182 } _unget; member in struct:__anon2743

Completed in 56 milliseconds