Home
last modified time | relevance | path

Searched refs:_unget (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dwgetch.c80 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 …]
H A Dnewterm.c259 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()
/titanic_41/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 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);
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;
/titanic_41/usr/src/cmd/strings/
H A Dstrings.c442 goto _unget;
468 _unget:
/titanic_41/usr/src/lib/libxcurses/h/
H A Dcurses.h179 } _unget; member
/titanic_41/usr/src/lib/libxcurses2/h/
H A Dcurses.h182 } _unget; member