/illumos-gate/usr/src/lib/libxcurses/h/ |
H A D | curses.h | 834 #define mvwaddch(w,y,x,ch) (wmove(w,y,x)?ERR:waddch(w,ch)) argument 910 #define wclear(w) (clearok(w,1)?ERR:werase(w)) argument 911 #define werase(w) (wmove(w,0,0)?ERR:wclrtobot(w)) argument 915 #define mvwdelch(w,y,x) (wmove(w,y,x)?ERR:wdelch(w)) argument 927 #define wechochar(w,ch) (waddch(w,ch)?ERR:wrefresh(w)) argument 935 #define mvwgetch(w,y,x) (wmove(w,y,x)?ERR:wgetch(w)) argument 987 #define mvwinch(w,y,x) (wmove(w,y,x)?ERR:winch(w)) argument 1014 #define mvwinstr(w,y,x,s) (wmove(w,y,x)?ERR:winstr(w,s)) argument 1067 #define redrawwin(w) wredrawln(w, 0, (w)->_maxy) argument 1079 #define touchwin(w) wtouchln(w, 0, (w)->_maxy, 1) argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | whln_st.c | 46 WINDOW *w; in whline_set() 59 n += w->_curx; 60 if (w->_maxx < n) 61 n = w->_maxx; 67 WSYNC(w); 74 WINDOW *w; in wvline_set() 87 n += w->_cury; 88 if (w->_maxy < n) 89 n = w->_maxy; 92 if (__m_cc_replace(w, y, w->_curx, v, 0) == -1) [all …]
|
H A D | clearok.c | 45 clearok(WINDOW *w, bool bf) in clearok() argument 59 immedok(WINDOW *w, bool bf) in immedok() argument 65 w->_flags &= ~W_FLUSH; in immedok() 67 w->_flags |= W_FLUSH; in immedok() 73 leaveok(WINDOW *w, bool bf) in leaveok() argument 87 notimeout(WINDOW *w, bool bf) in notimeout() argument 93 w->_flags &= ~W_USE_TIMEOUT; in notimeout() 95 w->_flags |= W_USE_TIMEOUT; in notimeout() 101 scrollok(WINDOW *w, bool bf) in scrollok() argument 107 w->_flags &= ~W_CAN_SCROLL; in scrollok() [all …]
|
H A D | wattr_on.c | 51 w->_fg._at |= at; in wattr_on() 65 w->_fg._at &= ~at; in wattr_off() 79 w->_fg._co = co; in wattr_set() 80 w->_fg._at = at; in wattr_set() 95 *at = w->_fg._at; in wattr_get() 98 *co = w->_fg._co; in wattr_get() 112 w->_fg._co = co; in wcolor_set() 120 wstandout(WINDOW *w) in wstandout() argument 126 w->_fg._at |= WA_STANDOUT; in wstandout() 134 wstandend(WINDOW *w) in wstandend() argument [all …]
|
H A D | m_cc.c | 453 WINDOW *w; in __m_cc_first() 471 WINDOW *w; in __m_cc_next() 476 for (lp = w->_line[y]; ++x < w->_maxx; ) { 489 WINDOW *w; in __m_cc_islast() 511 WINDOW *w; in __m_cc_replace() 525 (void) __m_cc_erase(w, y, x, y, w->_maxx-1); 550 cp->_at |= w->_fg._at | w->_bg._at; 604 WINDOW *w; in __m_cc_add() 631 if (__m_cc_erase(w, y, x, y, w->_maxx-1) == -1) 676 WINDOW *w; in __m_cc_erase() [all …]
|
H A D | mvwin.c | 51 mvwin(w, by, bx) in mvwin() argument 52 WINDOW *w; in mvwin() 56 WINDOW *parent = w->_parent; 68 if (lines < by + w->_maxy || columns < bx + w->_maxx) 86 w->_begy = by; 87 w->_begx = bx; 88 (void) wtouchln(w, 0, w->_maxy, 1); 94 mvderwin(w, py, px) in mvderwin() argument 95 WINDOW *w; in mvderwin() 105 parent = w->_parent; [all …]
|
H A D | wclrbot.c | 49 wclrtobot(w) in wclrtobot() argument 50 WINDOW *w; in wclrtobot() 55 __m_trace("wclrtobot(%p) from (%d, %d)", w, w->_cury, w->_curx); 58 x = __m_cc_first(w, w->_cury, w->_curx); 59 if (__m_cc_erase(w, w->_cury, x, w->_maxy-1, w->_maxx-1) != 0) 62 WSYNC(w); 64 return __m_return_code("wclrtobot", WFLUSH(w));
|
H A D | wclreol.c | 49 wclrtoeol(w) in wclrtoeol() argument 50 WINDOW *w; in wclrtoeol() 55 __m_trace("wclrtoeol(%p) from (%d, %d)", w, w->_cury, w->_curx); 58 x = __m_cc_first(w, w->_cury, w->_curx); 59 if (__m_cc_erase(w, w->_cury, x, w->_cury, w->_maxx-1) != 0) 62 WSYNC(w); 64 return __m_return_code("wclrtoeol", WFLUSH(w));
|
H A D | dupwin.c | 51 dupwin(w) in dupwin() argument 52 WINDOW *w; in dupwin() 58 __m_trace("dupwin(%p)", w); 62 v = __m_newwin(w->_parent, w->_maxy, w->_maxx, w->_begy, w->_begx); 67 v->_top = w->_top; 68 v->_bottom = w->_bottom; 71 v->_vmin = w->_vmin; 72 v->_vtime = w->_vtime; 75 v->_flags = w->_flags; 79 v->_first, w->_first, [all …]
|
H A D | touchwin.c | 45 (touchwin)(w) 46 WINDOW *w; 49 __m_trace("touchwin(%p)", w); 52 return __m_return_code("touchwin", wtouchln(w, 0, w->_maxy, 1)); 56 (untouchwin)(w) 57 WINDOW *w; 60 __m_trace("untouchwin(%p)", w); 63 return __m_return_code("untouchwin", wtouchln(w, 0, w->_maxy, 0)); 67 (touchline)(w, y, n) 68 WINDOW *w; [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/ |
H A D | tst.rv32a.out | 1 libdis_test: 2f a4 04 10 lr.w s0,(s1) 2 libdis_test+0x4: af 24 09 14 lr.w.aq s1,(s2) 3 libdis_test+0x8: 2f a9 09 12 lr.w.rl s2,(s3) 4 libdis_test+0xc: af 29 0a 16 lr.w.aqrl s3,(s4) 5 libdis_test+0x10: 2f a4 24 19 sc.w s0,s2,(s1) 6 libdis_test+0x14: af a4 34 1d sc.w.aq s1,s3,(s1) 7 libdis_test+0x18: 2f a9 44 1b sc.w.rl s2,s4,(s1) 8 libdis_test+0x1c: af a9 54 1f sc.w.aqrl s3,s5,(s1) 9 libdis_test+0x20: af a2 63 08 amoswap.w t0,t1,(t2) 13 libdis_test+0x30: af a2 63 00 amoadd.w t0,t1,(t2) [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | wadd_wch.c | 53 int xsave = w->_curx; in __m_wadd_wch() 54 int ysave = w->_cury; in __m_wadd_wch() 82 x = w->_curx; in wadd_wch() 83 y = w->_cury; in wadd_wch() 85 if (x < 0 || w->_maxx <= x || y < 0 || w->_maxy <= y) in wadd_wch() 100 WSYNC(w); in wadd_wch() 101 WFLUSH(w); in wadd_wch() 120 w->_curx = (short) x; in wadd_wch() 123 WSYNC(w); in wadd_wch() 125 code = WFLUSH(w); in wadd_wch() [all …]
|
H A D | wchgat.c | 51 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) in wchgat() argument 57 n = w->_maxx; in wchgat() 59 cp = &w->_line[w->_cury][w->_curx]; in wchgat() 64 for (i = 0, x = w->_curx; x < w->_maxx; ++x, ++cp) { in wchgat() 72 if (w->_curx < w->_first[w->_cury]) in wchgat() 73 w->_first[w->_cury] = w->_curx; in wchgat() 74 if (w->_last[w->_cury] < x) in wchgat() 75 w->_last[w->_cury] = x; in wchgat() 77 WSYNC(w); in wchgat() 79 return (WFLUSH(w)); in wchgat()
|
H A D | wdelch.c | 57 wdelch(WINDOW *w) in wdelch() argument 61 y = w->_cury; in wdelch() 62 x = w->_curx; in wdelch() 65 x = __m_cc_first(w, y, x); in wdelch() 71 (void) memcpy(&w->_line[y][x], &w->_line[y][next], in wdelch() 72 (w->_maxx - next) * sizeof (**w->_line)); in wdelch() 78 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in wdelch() 81 if (x < w->_first[y]) in wdelch() 83 w->_last[y] = w->_maxx; in wdelch() 85 WSYNC(w); in wdelch() [all …]
|
H A D | whln_st.c | 55 n += w->_curx; in whline_set() 56 if (w->_maxx < n) in whline_set() 57 n = w->_maxx; in whline_set() 60 if ((width = __m_cc_replace(w, w->_cury, x, h, 0)) == -1) in whline_set() 63 WSYNC(w); in whline_set() 65 return (WFLUSH(w)); in whline_set() 76 n += w->_cury; in wvline_set() 77 if (w->_maxy < n) in wvline_set() 78 n = w->_maxy; in wvline_set() 81 if (__m_cc_replace(w, y, w->_curx, v, 0) == -1) in wvline_set() [all …]
|
H A D | wattr_on.c | 53 w->_fg._at |= at; in wattr_on() 64 w->_fg._at &= ~at; in wattr_off() 75 w->_fg._co = co; in wattr_set() 76 w->_fg._at = w->_bg._at | at; in wattr_set() 88 *at = w->_fg._at; in wattr_get() 91 *co = w->_fg._co; in wattr_get() 102 w->_fg._co = co; in wcolor_set() 110 wstandout(WINDOW *w) in wstandout() argument 112 w->_fg._at |= WA_STANDOUT; in wstandout() 120 wstandend(WINDOW *w) in wstandend() argument [all …]
|
H A D | clearok.c | 48 clearok(WINDOW *w, bool bf) in clearok() argument 58 immedok(WINDOW *w, bool bf) in immedok() argument 60 w->_flags &= ~W_FLUSH; in immedok() 62 w->_flags |= W_FLUSH; in immedok() 66 leaveok(WINDOW *w, bool bf) in leaveok() argument 76 notimeout(WINDOW *w, bool bf) in notimeout() argument 78 w->_flags &= ~W_USE_TIMEOUT; in notimeout() 80 w->_flags |= W_USE_TIMEOUT; in notimeout() 86 scrollok(WINDOW *w, bool bf) in scrollok() argument 88 w->_flags &= ~W_CAN_SCROLL; in scrollok() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | coshl.c | 88 long double t, w; in coshl() local 90 w = fabsl(x); in coshl() 91 if (!finitel(w)) in coshl() 92 return (w + w); /* x is INF or NaN */ in coshl() 93 if (w < thr1) { in coshl() 94 t = w < tinyl ? w : expm1l(w); in coshl() 95 w = one + t; in coshl() 96 if (w != one) in coshl() 97 w = one + (t * t) / (w + w); in coshl() 98 return (w); in coshl() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | coshl.c | 89 w = fabsl(x); in coshl() 90 if (!finitel(w)) in coshl() 91 return (w + w); /* x is INF or NaN */ in coshl() 92 if (w < thr1) { in coshl() 93 if (w < tinyl) in coshl() 95 t = expm1l(w); in coshl() 96 w = one + t; in coshl() 97 w = one + (t * t) / (w + w); in coshl() 98 return (w); in coshl() 100 if (w < thr2) { in coshl() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | pty.sh | 101 w wait 124 w wait 147 w wait 163 w o 179 w e 193 w allo 382 w :wq 405 w /rep 411 w dd 419 w ?rep [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfwrite.c | 39 reg ssize_t w; local 66 for(w = n; w > 0; ) 70 { n -= w; 73 else w -= r; 101 n -= w; 106 if(w == 0 || ((f->flags&SF_WHOLE) && w < (ssize_t)n) ) 139 f->next += w; 142 s += w; 154 n = w; 169 w = s-begs; [all …]
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | utility.c | 148 if (!w) in _pos_form_cursor() 183 if (!w) in _update_current() 235 wsyncup(w); in _update_current() 314 if (!w) in display_field() 327 wsyncup(w); in display_field() 340 if (!w) in erase_field() 344 wsyncup(w); in erase_field() 503 if (w) { in _set_current_field() 530 if (!w) in _set_current_field() 534 W(f) = w; in _set_current_field() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | uuid_to_string.c | 77 char *w; in uuid_to_string() local 83 w = *s = malloc(37); in uuid_to_string() 95 *w++ = '-'; in uuid_to_string() 97 *w++ = '-'; in uuid_to_string() 99 *w++ = '-'; in uuid_to_string() 103 *w++ = '-'; in uuid_to_string() 104 tohex(&w, 2, u->node[0]); in uuid_to_string() 105 tohex(&w, 2, u->node[1]); in uuid_to_string() 106 tohex(&w, 2, u->node[2]); in uuid_to_string() 107 tohex(&w, 2, u->node[3]); in uuid_to_string() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/h/ |
H A D | curses.h | 331 : (w)->_begy - (w)->_parent->_begy) 333 : (w)->_begx - (w)->_parent->_begx) 338 #define getyx(w, y, x) (y = (w)->_cury, x = (w)->_curx) argument 339 #define getbegyx(w, y, x) (y = (w)->_begy, x = (w)->_begx) argument 340 #define getmaxyx(w, y, x) (y = (w)->_maxy, x = (w)->_maxx) argument 341 #define getparyx(w, y, x) (y = __m_getpary(w), x = __m_getparx(w)) argument 791 #define waddstr(w, wcs) waddnstr(w, wcs, -1) argument 868 #define wdeleteln(w) winsdelln(w, -1) argument 869 #define winsertln(w) winsdelln(w, 1) argument 907 #define wgetstr(w, s) wgetnstr(w, s, -1) argument [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | where.test | 28 set w $i 153 count {SELECT w FROM t1 WHERE w>97} 156 count {SELECT w FROM t1 WHERE w>=97} 159 count {SELECT w FROM t1 WHERE w==97} 162 count {SELECT w FROM t1 WHERE w+1==98} 165 count {SELECT w FROM t1 WHERE w<3} 168 count {SELECT w FROM t1 WHERE w<=3} 171 count {SELECT w FROM t1 WHERE w+1<=4 ORDER BY w} 175 count {SELECT (w) FROM t1 WHERE (w)>(97)} 178 count {SELECT (w) FROM t1 WHERE (w)>=(97)} [all …]
|