/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | rndintl.c | 48 long double t, w; in aintl() local 52 w = fabsl(x); in aintl() 53 t = rintl(w); in aintl() 54 if (t <= w) in aintl() 62 long double t, w, z; in anintl() local 66 w = fabsl(x); in anintl() 67 t = rintl(w); in anintl() 68 if (t == w) in anintl() 70 z = t - w; in anintl()
|
H A D | __tanl.c | 114 long double a, t, z, w = 0, s, c; in __k_tanl() local 125 w = x; /* generate underflow if subnormal */ in __k_tanl() 136 w = x + t; in __k_tanl() 138 return (k == 0 ? w : -one / w); in __k_tanl() 154 w = a * s; in __k_tanl() 155 t = _TBL_tanl_lo[i] + (s + a * w) / (one - (w - t)); in __k_tanl() 158 w = s + a * t; in __k_tanl() 159 c = w + _TBL_tanl_lo[i]; in __k_tanl()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | __tan.c | 124 double a, t, z, w = 0.0L, s, c, r, rh, xh, xl; in __k_tan() local 133 w = x; in __k_tan() 139 w = x + t; in __k_tan() 142 return (w); in __k_tan() 150 rh = r = -one / w; in __k_tan() 152 xh = w; in __k_tan() 169 w = a * s; in __k_tan() 170 t = _TBL_tan_lo[i] + (s + a * w) / (one - (w - t)); in __k_tan() 173 w = s + a * t; in __k_tan() 174 c = w + _TBL_tan_lo[i]; in __k_tan()
|
H A D | cbrt.c | 227 double t, u, w; in __cbrt() local 263 w = u * u * u; in __cbrt() 264 t = (xx.d - w) / w; in __cbrt() 269 w = t * t; in __cbrt() 270 return yy.d * (u + u * (t * (p1 + t * p2 + w * p3) + in __cbrt() 271 (w * w) * (p4 + t * p5 + w * p6))); in __cbrt()
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf_impl.h | 296 #define STMF_ENQUEUE_ITASK(w, i) \ argument 301 if (w->worker_task_tail) { \ 304 w->worker_task_head = i; \ 306 w->worker_task_tail = i; \ 307 if (++(w->worker_queue_depth) > w->worker_max_qdepth_pu) { \ 308 w->worker_max_qdepth_pu = w->worker_queue_depth; \ 314 cv_signal(&w->worker_cv); 316 #define STMF_DEQUEUE_ITASK(w, itask) \ argument 320 if (w->worker_task_head == NULL) { \ 321 w->worker_task_tail = NULL; \ [all …]
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | goback.c | 40 int i, w; local 94 for (w = i; line[w] != ' '; w++) { 95 wuser[w-i] = line[w]; 97 wuser[w-i] = '\0'; 104 for (w = i; line[w] != ' '; w++) { 105 wuser[w-i] = line[w]; 107 wuser[w-i] = '\0';
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | scr_dump.c | 70 scr_replace(WINDOW *w, const char *f) in scr_replace() argument 85 if (new->_maxy != w->_maxy || new->_maxx != w->_maxx) { in scr_replace() 91 free(w->_base); in scr_replace() 92 free(w->_line); in scr_replace() 93 free(w->_first); in scr_replace() 95 *w = *new; in scr_replace() 98 if (w == curscr) in scr_replace() 99 for (i = 0; i < w->_maxy; ++i) in scr_replace() 100 __m_cc_hash(w, __m_screen->_hash, i); in scr_replace()
|
H A D | waddnstr.c | 51 waddnstr(WINDOW *w, const char *str, int n) in waddnstr() argument 64 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in waddnstr() 65 w->_flags &= ~(W_FLUSH | W_SYNC_UP); in waddnstr() 69 __m_wadd_wch(w, &cc) == ERR) in waddnstr() 73 w->_flags |= oflags; in waddnstr() 75 WSYNC(w); in waddnstr() 77 return (WFLUSH(w)); in waddnstr()
|
H A D | wget_wch.c | 76 wget_wch(WINDOW *w, wint_t *wcp) in wget_wch() argument 100 wio->object = w; in wget_wch() 103 if ((ch = wgetch(w)) == ERR) { in wget_wch() 147 if (w->_curx <= 0) { in wget_wch() 151 w->_curx--; in wget_wch() 152 (void) wdelch(w); in wget_wch() 155 (void) wadd_wch(w, &cc); in wget_wch() 157 (void) wrefresh(w); in wget_wch()
|
H A D | winnwstr.c | 50 winnwstr(WINDOW *w, wchar_t *wcs, int n) in winnwstr() argument 57 n = w->_maxx; in winnwstr() 59 for (x = w->_curx; x < w->_maxx && 0 < n; n -= i) { in winnwstr() 60 cp = &w->_line[y = w->_cury][x]; in winnwstr() 72 x = __m_cc_next(w, y, x); in winnwstr()
|
H A D | addnstr.c | 75 mvwaddnstr(WINDOW *w, int y, int x, const char *str, int n) in mvwaddnstr() argument 79 if ((code = wmove(w, y, x)) == OK) in mvwaddnstr() 80 code = waddnstr(w, str, n); in mvwaddnstr() 113 mvwaddstr(WINDOW *w, int y, int x, const char *str) in mvwaddstr() argument 117 if ((code = wmove(w, y, x)) == OK) in mvwaddstr() 118 code = waddnstr(w, str, -1); in mvwaddstr() 126 waddstr(WINDOW *w, const char *str) in waddstr() argument 130 code = waddnstr(w, str, -1); in waddstr()
|
H A D | getnstr.c | 75 mvwgetnstr(WINDOW *w, int y, int x, char *str, int n) in mvwgetnstr() argument 79 if ((code = wmove(w, y, x)) == OK) in mvwgetnstr() 80 code = wgetnstr(w, str, n); in mvwgetnstr() 113 mvwgetstr(WINDOW *w, int y, int x, char *str) in mvwgetstr() argument 117 if ((code = wmove(w, y, x)) == OK) in mvwgetstr() 118 code = wgetnstr(w, str, -1); in mvwgetstr() 126 wgetstr(WINDOW *w, char *str) in wgetstr() argument 130 code = wgetnstr(w, str, -1); in wgetstr()
|
H A D | insnstr.c | 75 mvwinsnstr(WINDOW *w, int y, int x, const char *mbs, int n) in mvwinsnstr() argument 79 if ((code = wmove(w, y, x)) == OK) in mvwinsnstr() 80 code = winsnstr(w, mbs, n); in mvwinsnstr() 113 mvwinsstr(WINDOW *w, int y, int x, const char *mbs) in mvwinsstr() argument 117 if ((code = wmove(w, y, x)) == OK) in mvwinsstr() 118 code = winsnstr(w, mbs, -1); in mvwinsstr() 126 winsstr(WINDOW *w, const char *mbs) in winsstr() argument 130 code = winsnstr(w, mbs, -1); in winsstr()
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wmove.c | 45 wmove(w, y, x) in wmove() argument 46 WINDOW *w; in wmove() 50 __m_trace("wmove(%p, %d, %d)", w, y, x); 52 if (y < 0 || w->_maxy <= y || x < 0 || w->_maxx <= x) 55 w->_cury = y; 56 w->_curx = x;
|
H A D | winch.c | 45 winch(w) in winch() argument 46 WINDOW *w; in winch() 51 __m_trace("winch(%p)", w); 54 ch = __m_cc_chtype(&w->_line[w->_cury][w->_curx]);
|
H A D | win_wch.c | 45 win_wch(w, cc) in win_wch() argument 46 WINDOW *w; in win_wch() 50 __m_trace("win_wch(%p, %p)", w, cc); 53 *cc = w->_line[w->_cury][w->_curx];
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | setlocale.c | 324 return w; in debug_mbtowc() 330 int w; in debug_wctomb() local 334 w = 0; in debug_wctomb() 337 w++; in debug_wctomb() 345 w++; in debug_wctomb() 349 w++; in debug_wctomb() 354 w++; in debug_wctomb() 359 w++; in debug_wctomb() 502 return w >= 0 && w <= 255 && !iscntrl(w) ? 1 : -1; in default_wcwidth() 631 w = (w<<6) | (c&0x3f); in utf8_mbtowc() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | optget.c | 1478 , t - w - 1, w + 1 in label() 1492 , t - w + 1, w in label() 1914 if (w[1] == '@' && w[2] == '(' && w[3] == '#' && w[4] == ')') in textout() 1916 else if (w[1] == '$' && w[2] == 'I' && w[3] == 'd' && w[4] == ':' && w[5] == ' ') in textout() 2174 , t - w - 1, w + 1 in textout() 2188 , t - w + 1, w in textout() 4841 else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) in optget() 4846 for (s = q; w > y && *w != *(s + 1); w--); in optget() 4898 else if (w == y || SEP(*(w - 1)) || isupper(*(w - 1)) && islower(*w)) in optget() 4903 for (s = q; w > y && *w != *(s + 1); w--); in optget() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | speedtest.tcl | 75 set fd [open clear.sql w] 83 set fd [open 2kinit.sql w] 128 set fd [open test$cnt.sql w] 139 set fd [open test$cnt.sql w] 152 set fd [open test$cnt.sql w] 163 set fd [open test$cnt.sql w] 172 set fd [open test$cnt.sql w] 180 set fd [open test$cnt.sql w] 191 set fd [open test$cnt.sql w] 204 set fd [open test$cnt.sql w] [all …]
|
H A D | speedtest2.tcl | 67 set fd [open clear.sql w] 75 set fd [open 2kinit.sql w] 118 set fd [open test$cnt.sql w] 130 set fd [open test$cnt.sql w] 136 set fd [open test$cnt.sql w] 147 set fd [open test$cnt.sql w] 153 set fd [open test$cnt.sql w] 164 set fd [open test$cnt.sql w] 170 set fd [open test$cnt.sql w] 181 set fd [open test$cnt.sql w] [all …]
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | corenote.c | 713 Word w; in dump_sigaction() local 739 Word w; in dump_siginfo() local 823 Word w; in dump_stack() local 898 Word w; in dump_secflags() local 959 Word w; in dump_prgregset() local 964 for (w = 0; w < fdesc1.slf_nelts; ) { in dump_prgregset() 975 w++; in dump_prgregset() 995 w += 2; in dump_prgregset() 1785 for (w = 0; w < nelts; ) { in dump_asrset() 1795 w++; in dump_asrset() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_rcm.c | 256 size_t w; in scsi_rcm_info_table() local 282 w_rsrc = w; in scsi_rcm_info_table() 284 w_info = w; in scsi_rcm_info_table() 293 if ((w = strlen(rsrc)) > w_rsrc) in scsi_rcm_info_table() 294 w_rsrc = w; in scsi_rcm_info_table() 295 else if ((w_rsrc - w) % 2) in scsi_rcm_info_table() 297 if ((w = strlen(info)) > w_info) in scsi_rcm_info_table() 298 w_info = w; in scsi_rcm_info_table() 299 else if ((w_info - w) % 2) in scsi_rcm_info_table() 327 w = strlen(rsrc); in scsi_rcm_info_table() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | __tanl.c | 114 long double a, t, z, w = 0.0, s, c; in __k_tanl() local 128 w = x; in __k_tanl() 139 w = x + t; in __k_tanl() 141 return (k == 0 ? w : -one / w); in __k_tanl() 162 w = a * s; in __k_tanl() 163 t = _TBL_tanl_lo[i] + (s + a * w) / (one - (w - t)); in __k_tanl() 166 w = s + a * t; in __k_tanl() 167 c = w + _TBL_tanl_lo[i]; in __k_tanl()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | gunzip.c | 647 while (k > w + l) in huft_build() 704 f = 1 << (k - w); in huft_build() 717 w -= l; in huft_build() 778 if (w == WSIZE) in inflate_codes_in_window() 825 n -= (e = (e = WSIZE - ((d &= WSIZE - 1) > w ? d : w)) > n ? n in inflate_codes_in_window() 827 if (w - d >= e) in inflate_codes_in_window() 830 w += e; in inflate_codes_in_window() 839 if (w == WSIZE) in inflate_codes_in_window() 848 if (w == WSIZE) in inflate_codes_in_window() 1150 int w = wp; in inflate_window() local [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfputr.c | 37 ssize_t p, n, w, sn; local 50 for(w = 0; (*s || rc >= 0); ) 72 w += n; 76 w += 1; 96 w += n; 104 w += 1; 118 w += ps - f->next; 128 { if(n > w) 129 n = w; 135 SFMTXRETURN(f, w);
|