Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 1453) sorted by relevance

12345678910>>...59

/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewwin.c72 WINDOW *w; in __m_newwin() local
127 w = (WINDOW *) calloc(1, sizeof (*w)); in __m_newwin()
128 if (w == NULL) in __m_newwin()
131 w->_first = (short *) calloc((size_t) (nlines + nlines), in __m_newwin()
132 sizeof (*w->_first)); in __m_newwin()
133 if (w->_first == NULL) in __m_newwin()
136 w->_last = &w->_first[nlines]; in __m_newwin()
138 w in __m_newwin()
244 delwin(WINDOW * w) delwin() argument
269 WINDOW *w; derwin() local
286 WINDOW *w; newwin() local
296 WINDOW *w; subwin() local
[all...]
H A Dwscrl.c57 wscrl(WINDOW *w, int n) in wscrl() argument
61 if (!(w->_flags & W_CAN_SCROLL)) in wscrl()
67 if (w->_parent) { in wscrl()
74 for (row = w->_top; row < w->_bottom; row++) { in wscrl()
75 if (row < w->_bottom - n) { in wscrl()
76 if (!w->_line[row+n][0]._f) { in wscrl()
81 (void) __m_cc_erase(w, row + n, in wscrl()
88 first = __m_cc_first(w, row + n, in wscrl()
89 w in wscrl()
[all...]
H A Dwinsdel.c62 winsdelln(WINDOW *w, int n) in winsdelln() argument
67 if (w->_maxy < w->_cury + abs(n)) in winsdelln()
68 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1); in winsdelln()
73 (void) __m_ptr_move((void **) w->_line, w->_maxy, in winsdelln()
74 w->_cury, w->_cury - (n + 1), w in winsdelln()
[all...]
H A Dgetwin.c54 get_cc(WINDOW *w, char *mbs, FILE *fp) in get_cc() argument
66 if (wattr_set(w, at, co, (void *) 0) == ERR) in get_cc()
69 if (mvwaddstr(w, y, x, mbs) == ERR) in get_cc()
72 (void) wstandend(w); in get_cc()
81 WINDOW *w; in getwin() local
92 if ((w = newwin(my, mx, by, bx)) == NULL) in getwin()
98 &w->_top, &w->_bottom, &w->_vmin, &w in getwin()
130 put_cc(WINDOW * w,int y,int x,char * mbs,int len,FILE * fp) put_cc() argument
163 putwin(WINDOW * w,FILE * fp) putwin() argument
[all...]
H A Dwbrdr_st.c56 wborder_set(WINDOW *w, const cchar_t *ls, const cchar_t *rs, in wborder_set() argument
64 x = w->_curx; in wborder_set()
65 y = w->_cury; in wborder_set()
67 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in wborder_set()
68 w->_flags &= ~(W_FLUSH | W_SYNC_UP); in wborder_set()
71 (void) wmove(w, 0, 0); in wborder_set()
72 (void) wvline_set(w, ls, w->_maxy); in wborder_set()
73 (void) wmove(w, 0, w in wborder_set()
[all...]
H A Dwrefresh.c58 wrefresh(WINDOW *w) in wrefresh() argument
62 if (w == curscr) in wrefresh()
65 value = wnoutrefresh(w); in wrefresh()
80 wnoutrefresh(WINDOW *w) in wnoutrefresh() argument
86 if (w == stdscr) in wnoutrefresh()
89 value = (w->_flags & W_IS_PAD) ? ERR : OK; in wnoutrefresh()
97 for (wy = 0, ny = w->_begy; wy < w->_maxy; ++wy, ++ny) { in wnoutrefresh()
99 if (w->_last[wy] <= w in wnoutrefresh()
[all...]
H A Dwins_wch.c58 __m_cc_ins(WINDOW *w, int y, int x, const cchar_t *cc) in __m_cc_ins() argument
63 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width) in __m_cc_ins()
66 x = __m_cc_first(w, y, x); in __m_cc_ins()
72 (void) __m_cc_erase(w, y, w->_maxx - width, y, w->_maxx - 1); in __m_cc_ins()
75 (void) memmove(&w->_line[y][x + width], &w->_line[y][x], in __m_cc_ins()
76 (w->_maxx - x - width) * sizeof (**w in __m_cc_ins()
104 __m_wins_wch(WINDOW * w,int y,int x,const cchar_t * cc,int * yp,int * xp) __m_wins_wch() argument
176 wins_wch(WINDOW * w,const cchar_t * cc) wins_wch() argument
[all...]
H A Dwsyncup.c50 syncok(WINDOW *w, bool bf) in syncok() argument
52 w->_flags &= ~W_SYNC_UP; in syncok()
54 w->_flags |= W_SYNC_UP; in syncok()
60 wsyncup(WINDOW *w) in wsyncup() argument
65 for (p = w->_parent; p != NULL; w = p, p = w->_parent) { in wsyncup()
67 for (py = w->_begy - p->_begy, y = 0; y < w->_maxy; ++y, ++py) { in wsyncup()
68 if (0 <= w in wsyncup()
77 wcursyncup(WINDOW * w) wcursyncup() argument
[all...]
H A Dm_cc.c144 __m_touch_locs(WINDOW *w, int row, int firstCol, int lastCol) in __m_touch_locs() argument
146 if (w) { in __m_touch_locs()
147 if (firstCol < w->_first[row]) in __m_touch_locs()
148 w->_first[row] = (short)firstCol; in __m_touch_locs()
149 if (lastCol > w->_last[row]) in __m_touch_locs()
150 w->_last[row] = (short)lastCol; in __m_touch_locs()
464 __m_cc_first(WINDOW *w, int y, int x) in __m_cc_first() argument
468 for (lp = w->_line[y]; 0 < x; --x) { in __m_cc_first()
480 __m_cc_next(WINDOW *w, int y, int x) in __m_cc_next() argument
484 for (lp = w in __m_cc_next()
496 __m_cc_islast(WINDOW * w,int y,int x) __m_cc_islast() argument
517 __m_cc_replace(WINDOW * w,int y,int x,const cchar_t * cc,int as_is) __m_cc_replace() argument
583 __m_do_scroll(WINDOW * w,int y,int x,int * yp,int * xp) __m_do_scroll() argument
632 __m_cc_add(WINDOW * w,int y,int x,const cchar_t * cc,int as_is,int * yp,int * xp) __m_cc_add() argument
704 __m_cc_add_k(WINDOW * w,int y,int x,const cchar_t * cc,int as_is,int * yp,int * xp) __m_cc_add_k() argument
735 __m_cc_modify(WINDOW * w,int y,int x,const cchar_t * cc) __m_cc_modify() argument
769 __m_cc_erase_in_line(WINDOW * w,int y,int x,int lx,int bgWidth) __m_cc_erase_in_line() argument
792 __m_cc_erase_in_line_sub(WINDOW * w,int y,int x,int lx,int bgWidth,int parentBGWidth) __m_cc_erase_in_line_sub() argument
861 __m_cc_erase(WINDOW * w,int y,int x,int ly,int lx) __m_cc_erase() argument
922 __m_cc_expand(WINDOW * w,int y,int x,int side) __m_cc_expand() argument
[all...]
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewwin.c66 WINDOW *w; local
118 w = (WINDOW *) calloc(1, sizeof *w);
119 if (w == (WINDOW *) 0)
122 w->_first = (short *) calloc(
123 (size_t) (nlines + nlines), sizeof *w->_first
125 if (w->_first == (short *) 0)
128 w->_last = &w->_first[nlines];
130 w
223 delwin(w) delwin() argument
257 WINDOW *w; global() local
282 WINDOW *w; global() local
298 WINDOW *w; global() local
[all...]
H A Dwinsdel.c57 winsdelln(w, n) in winsdelln() argument
58 WINDOW *w; in winsdelln()
64 __m_trace("winsdelln(%p, %d)", w, n);
68 if (w->_maxy < w->_cury + abs(n))
69 n = (w->_maxy - w->_cury + 1) * (n < 0 ? -1 : 1);
75 (void **) w->_line, w->_maxy,
76 w
[all...]
H A Dgetwin.c48 get_cc(w, mbs, fp) in get_cc() argument
49 WINDOW *w; in get_cc()
63 if (wattr_set(w, at, co, (void *) 0) == ERR)
66 if (mvwaddstr(w, y, x, mbs) == ERR)
69 (void) wstandend(w);
79 WINDOW *w; local
94 if ((w = newwin(my, mx, by, bx)) == (WINDOW *) 0)
100 &w->_top, &w->_bottom, &w
133 put_cc(w,y,x,mbs,len,fp) put_cc() argument
170 putwin(w,fp) putwin() argument
[all...]
H A Dwbrdr_st.c53 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br) in wborder_set() argument
54 WINDOW *w; in wborder_set()
63 w, ls, rs, ts, bs, tl, tr, bl, br
68 x = w->_curx;
69 y = w->_cury;
71 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
72 w->_flags &= ~(W_FLUSH | W_SYNC_UP);
75 (void) wmove(w, 0, 0);
76 (void) wvline_set(w, ls, w
[all...]
H A Dwrefresh.c53 wrefresh(w) in wrefresh() argument
54 WINDOW *w; in wrefresh()
59 __m_trace("wrefresh(%p)", w);
61 if (w == curscr)
64 value = wnoutrefresh(w);
79 wnoutrefresh(w) in wnoutrefresh() argument
80 WINDOW *w; in wnoutrefresh()
86 __m_trace("wnoutrefresh(%p)", w);
89 value = (w->_flags & W_IS_PAD) ? ERR : OK;
96 for (wy = 0, ny = w
[all...]
H A Dwins_wch.c52 __m_cc_ins(w, y, x, cc) in __m_cc_ins() argument
53 WINDOW *w; in __m_cc_ins()
61 if ((width = __m_cc_width(cc)) <= 0 || w->_maxx < x + width)
64 x = __m_cc_first(w, y, x);
68 &w->_line[y][x + width], &w->_line[y][x],
69 (w->_maxx - x - width) * sizeof **w->_line
73 if (__m_cc_replace(w, y, x, cc, 0) != width)
77 if (x < w
97 __m_wins_wch(w,y,x,cc,yp,xp) __m_wins_wch() argument
176 wins_wch(w,cc) wins_wch() argument
[all...]
H A Dwsyncup.c47 syncok(WINDOW *w, bool bf) in syncok() argument
50 __m_trace("syncok(%p, %d)", w, bf); in syncok()
53 w->_flags &= ~W_SYNC_UP; in syncok()
55 w->_flags |= W_SYNC_UP; in syncok()
61 wsyncup(WINDOW *w) in wsyncup() argument
67 __m_trace("wsyncup(%p)", w); in wsyncup()
70 for (p = w->_parent; p != (WINDOW *) 0; w = p, p = w->_parent) { in wsyncup()
72 for (py = w in wsyncup()
84 wcursyncup(WINDOW * w) wcursyncup() argument
[all...]
H A Dwscrl.c52 wscrl(w, n) in wscrl() argument
53 WINDOW *w; in wscrl()
59 __m_trace("wscrl(%p, %d)", w, n);
70 start = w->_top;
71 finish = w->_top + n - 1;
72 to = w->_bottom;
74 start = w->_bottom + n;
75 finish = w->_bottom - 1;
76 to = w->_top;
80 if (__m_cc_erase(w, star
[all...]
H A Dwdelch.c53 wdelch(w) in wdelch() argument
54 WINDOW *w; in wdelch()
60 __m_trace("wdelch(%p) at (%d,%d)", w, w->_cury, w->_curx);
63 y = w->_cury;
64 x = w->_curx;
66 next = __m_cc_next(w, y, x);
67 x = __m_cc_first(w, y, x);
70 width = __m_cc_width(&w
[all...]
H A Dwhln_st.c47 whline_set(w, h, n) in whline_set() argument
48 WINDOW *w; in whline_set()
55 __m_trace("whline_set(%p, %p, %d)", w, h, n);
61 n += w->_curx;
62 if (w->_maxx < n)
63 n = w->_maxx;
65 for (x = w->_curx; x < n; x += width)
66 if ((width = __m_cc_replace(w, w->_cury, x, h, 0)) == -1)
69 WSYNC(w);
75 wvline_set(w,v,n) wvline_set() argument
[all...]
/titanic_51/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c66 register int w, s; variable
95 w = (*fp->f_write)(fp, p, SM_MIN(len, SM_IO_BUFSIZ));
96 if (w <= 0)
98 if (w == 0 && errno == 0)
100 if (IS_IO_ERROR(fd, w, timeout))
105 w = 0;
109 p += w;
110 len -= w;
112 } while ((uio->uio_resid -= w) != 0);
158 w
[all...]
/titanic_51/usr/src/common/mpi/
H A Dmp_gf2m-priv.h63 #define gf2m_SQR1(w) \ argument
64 mp_gf2m_sqr_tb[(w) >> 28 & 0xF] << 24 | mp_gf2m_sqr_tb[(w) >> 24 & 0xF] << 16 | \
65 mp_gf2m_sqr_tb[(w) >> 20 & 0xF] << 8 | mp_gf2m_sqr_tb[(w) >> 16 & 0xF]
66 #define gf2m_SQR0(w) \ argument
67 mp_gf2m_sqr_tb[(w) >> 12 & 0xF] << 24 | mp_gf2m_sqr_tb[(w) >> 8 & 0xF] << 16 | \
68 mp_gf2m_sqr_tb[(w) >> 4 & 0xF] << 8 | mp_gf2m_sqr_tb[(w)
70 gf2m_SQR1(w) global() argument
75 gf2m_SQR0(w) global() argument
[all...]
/titanic_51/usr/src/cmd/mdb/common/mdb/
H A Dmdb_whatis.c42 /* for bsearch; r is an array of {base, size}, e points into w->w_addrs */
73 mdb_whatis_search(mdb_whatis_t *w, uintptr_t base, size_t size) in mdb_whatis_search() argument
80 return (bsearch(range, w->w_addrs, w->w_naddrs, sizeof (*w->w_addrs), in mdb_whatis_search()
89 mdb_whatis_overlaps(mdb_whatis_t *w, uintptr_t base, size_t size) in mdb_whatis_overlaps() argument
94 if (whatis_debug && w->w_magic != WHATIS_MAGIC) { in mdb_whatis_overlaps()
100 if (w->w_done || size == 0) in mdb_whatis_overlaps()
109 f = mdb_whatis_search(w, base, size); in mdb_whatis_overlaps()
113 cur = offset = f - w in mdb_whatis_overlaps()
149 mdb_whatis_match(mdb_whatis_t * w,uintptr_t base,size_t size,uintptr_t * out) mdb_whatis_match() argument
235 mdb_whatis_report_object(mdb_whatis_t * w,uintptr_t addr,uintptr_t base,const char * format,...) mdb_whatis_report_object() argument
271 mdb_whatis_report_address(mdb_whatis_t * w,uintptr_t addr,const char * format,...) mdb_whatis_report_address() argument
296 mdb_whatis_flags(mdb_whatis_t * w) mdb_whatis_flags() argument
303 mdb_whatis_done(mdb_whatis_t * w) mdb_whatis_done() argument
491 mdb_whatis_t w; cmd_whatis() local
[all...]
/titanic_51/usr/src/cmd/troff/
H A Dn8.c184 tchar *w; in exword() local
193 w = wdstart; in exword()
194 while (*e && w <= hyend && (*e & 0177) == maplow(cbits(*w))) { in exword()
196 w++; in exword()
199 if (w-1 == hyend || (w == wdend && maplow(cbits(*w)) == 's')) { in exword()
200 w = wdstart; in exword()
203 *hyp++ = w; in exword()
225 tchar *w; suffix() local
303 chkvow(w) chkvow() argument
316 tchar *w; digram() local
[all...]
/titanic_51/usr/src/lib/libm/common/C/
H A Dcosh.c67 double t, w; in cosh() local
69 w = fabs(x); in cosh()
70 if (!finite(w)) in cosh()
71 return (w * w); in cosh()
72 if (w < 0.3465) { in cosh()
73 t = expm1(w); in cosh()
74 w = 1.0 + t; in cosh()
75 if (w != 1.0) in cosh()
76 w in cosh()
[all...]
/titanic_51/usr/src/lib/libm/common/Q/
H A Dcoshl.c88 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 in coshl()
[all...]

12345678910>>...59