/illumos-gate/usr/src/boot/sys/sys/ |
H A D | param.h | 291 #define howmany(x, y) (((x)+((y)-1))/(y)) argument 294 #define rounddown(x, y) (((x)/(y))*(y)) argument 295 #define rounddown2(x, y) ((x)&(~((y)-1))) /* if y is power of two */ argument 296 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ argument 297 #define roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ argument
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | Makefile | 40 CLEANFILES += $(OBJS) y.tab.c y.tab.h 57 $(OBJS): y.tab.h 59 y.tab.c y.tab.h: ndr_parse.y 60 $(YACC.y) -d ndr_parse.y 62 ndr_parse.o : y.tab.c 63 $(COMPILE.c) -o $@ y.tab.c
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | cdefs.h | 49 # define __CONCAT(x,y) x ## y argument 53 # define __CONCAT(x,y) x/**/y argument 133 # define PRINTFLIKE(x,y) __attribute__ ((__format__ (__printf__, x, y))) argument 135 # define PRINTFLIKE(x,y) argument 141 # define SCANFLIKE(x,y) __attribute__ ((__format__ (__scanf__, x, y))) argument 143 # define SCANFLIKE(x,y) argument
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_fb.c | 155 fb_info.cursor.origin.y = xbi_fb->cursor.origin.y; in xbi_fb_init() 157 fb_info.cursor.pos.y = xbi_fb->cursor.pos.y; in xbi_fb_init() 428 window.y = (fb_info.screen.y - in boot_fb_init() 431 fb_info.terminal_origin.y = window.y; in boot_fb_init() 442 fb_info.cursor.origin.y = window.y + in boot_fb_init() 450 fb_info.cursor.origin.y = window.y; in boot_fb_init() 458 fb_info.cursor.pos.y > fb_info.terminal.y || in boot_fb_init() 460 fb_info.cursor.origin.y > fb_info.screen.y) { in boot_fb_init() 463 fb_info.cursor.origin.y = window.y; in boot_fb_init() 478 for (y = 0; y < fb_info.screen.y; y++) { in boot_fb_init() [all …]
|
H A D | boot_vga.c | 98 fb_info.terminal.y = VGA_TEXT_ROWS; in boot_vga_init() 191 buf = VGA_SCREEN + x + y * VGA_TEXT_COLS; in vga_eraseline_impl() 200 int x, y; in vga_eraseline() local 203 y = fb_info.cursor.pos.y; in vga_eraseline() 204 vga_eraseline_impl(x, y, cons_color); in vga_eraseline() 211 int x, y, len; in vga_shiftline() local 214 y = fb_info.cursor.pos.y; in vga_shiftline() 252 if (row < fb_info.terminal.y - 1) in vga_drawc() 293 if (row >= fb_info.terminal.y) in vga_setpos() 294 row = fb_info.terminal.y - 1; in vga_setpos() [all …]
|
/illumos-gate/usr/src/cmd/spell/ |
H A D | hashlook.c | 71 long y; in hashlook() local 79 y = 0; in hashlook() 81 y = wp[0] << (B - bp); in hashlook() 83 y |= (wp[1] >> bp); in hashlook() 84 y = (y >> 1) & MASK; in hashlook() 85 if (y < cs) { in hashlook() 86 t = y >> (long) (L+1-w); in hashlook() 89 for (bp -= w, v = v0; y >= qcs; in hashlook() 90 y = (y << 1) & MASK, v += n) in hashlook() 92 t = v + (y>> (long)(L-w)); in hashlook()
|
/illumos-gate/usr/src/ucblib/libcurses/ |
H A D | clrtoeol.c | 33 int y, x; in wclrtoeol() local 37 y = win->_cury; in wclrtoeol() 39 end = &win->_y[y][win->_maxx]; in wclrtoeol() 41 maxx = &win->_y[y][x]; in wclrtoeol() 46 minx = sp - win->_y[y]; in wclrtoeol() 52 (void) touchline(win, y, win->_curx, win->_maxx - 1); in wclrtoeol() 56 " lastch = %d\n", minx, maxx - win->_y[y], win->_firstch[y], in wclrtoeol() 57 win->_lastch[y]); in wclrtoeol()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mbaddch.c | 41 _mbclrch(WINDOW *win, int y, int x) in _mbclrch() argument 47 wcp = win->_y[y]; in _mbclrch() 67 win->_firstch[y] = (short)x; in _mbclrch() 71 win->_lastch[y] = (short)x; in _mbclrch() 202 y = win->_cury; in _mbaddch() 204 wcp = win->_y[y] + x; in _mbaddch() 234 win->_y[y][x] &= ~CBIT; in _mbaddch() 237 if (x < win->_firstch[y]) in _mbaddch() 242 if (x > win->_lastch[y]) in _mbaddch() 244 win->_lastch[y] = (short)x; in _mbaddch() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | nextafter.c | 36 nextafter(double x, double y) { in nextafter() argument 44 hy = ((int *)&y)[HIWORD]; in nextafter() 47 if (x == y) in nextafter() 48 return (y); /* C99 requirement */ in nextafter() 49 if (x != x || y != y) in nextafter() 50 return (x * y); in nextafter() 56 if (x > y) { in nextafter() 66 if (x < y) { in nextafter() 79 return (_SVID_libm_err(x, y, 46)); in nextafter()
|
H A D | exp.c | 287 double y, z, t; in exp() local 307 y = x + (t * (half + x * t2) + in exp() 309 return (one + y); in exp() 320 y = z + (t * (half + z * t2) + in exp() 322 return (TBL2[j+1] + TBL2[j+1] * y); in exp() 349 y = z + (t * (half + z * t2) + (t * t) * (t3 + z * t4 + t * t5)); in exp() 350 y = TBL[j] + (TBL[j+1] + TBL[j] * y); in exp() 352 ((int *)&y)[HIWORD] += (m + 54) << 20; in exp() 353 return (twom54 * y); in exp() 355 ((int *)&y)[HIWORD] += m << 20; in exp() [all …]
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | svr4.make.rules.file | 155 .y.c: 157 mv y.tab.c $@ 158 .y.o: 161 -rm y.tab.c 162 mv y.tab.o $@ 163 .y~.c: 167 -rm -f $*.y 168 .y~.o: 172 -rm -f y.tab.c $*.y 174 .y~.y : [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6753538_subshell_leaks_umask.sh | 87 y=$(${SHELL} -c 'umask 22; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed." 88 [[ "$x" == "$y" ]] || err_exit "$x != $y" 91 y=$(${SHELL} -c 'umask 20; (ulimit -c 0 ; umask 0); umask') || err_exit "shell failed." 92 [[ "$x" == "$y" ]] || err_exit "$x != $y" 95 y=$(${SHELL} -c 'umask 0; (ulimit -c 0 ; umask 20); umask') || err_exit "shell failed." 96 [[ "$x" == "$y" ]] || err_exit "$x != $y"
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | Makefile.com | 34 OBJS = itmcomp.o assemble.o disassemble.o itm_util.o y.tab.o lex.yy.o 35 MSGFILES = itmcomp.i assemble.i disassemble.i itm_util.i y.tab.i lex.yy.i geniconvtbl.i 47 CLEANFILES = $(OBJS) y.tab.c y.tab.h lex.yy.c \ 82 y.tab.c + y.tab.h: $(SRCDIR)/itm_comp.y 83 $(YACC) $(YFLAGS) $(SRCDIR)/itm_comp.y 84 @ $(MV) y.tab.c y.tab.c~ 85 @ $(SED) -f $(SRCDIR)/yacc.sed y.tab.c~ > y.tab.c 86 @ $(RM) y.tab.c~ 88 lex.yy.c: $(SRCDIR)/itm_comp.l y.tab.h
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | div.c | 36 unsigned r[4], *y, q, c; local 76 y = py->significand; 78 if (fpu_cmpli(r, y, 4) >= 0) 86 if (fpu_cmpli(r, y, 4) >= 0) { 89 c = fpu_sub3wc(&r[3], r[3], y[3], c); 90 c = fpu_sub3wc(&r[2], r[2], y[2], c); 91 c = fpu_sub3wc(&r[1], r[1], y[1], c); 92 c = fpu_sub3wc(&r[0], r[0], y[0], c); 104 if (fpu_cmpli(r, y, 4) >= 0) { 122 if (fpu_cmpli(r, y, 4) >= 0) { [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | arrays.sh | 82 unset y[4] 142 y=* z=[ 143 s[$y]=1 155 (( s[$y] = s[$y] + ${s[$z]} )) 163 typeset -i y 164 z=${y[@]} 166 typeset -i y 176 unset x y 373 foo[x]=y 501 unset y [all …]
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | g721.c | 169 int y, in _g721_update() argument 207 state_ptr->yu = y + ((_witab[i] - y) >> 5); in _g721_update() 399 dln = dl - (y >> 2); in _g721_quantize() 597 short y, dif; /* MIX */ in g721_encode() local 669 y = state_ptr->yu; in g721_encode() 671 y = state_ptr->yl >> 6; in g721_encode() 672 dif = state_ptr->yu - y; in g721_encode() 680 i = _g721_quantize(d, y); in g721_encode() 734 short y, dif; /* MIX */ in g721_decode() local 767 y = state_ptr->yu; in g721_decode() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fmaxf.c | 76 __fmaxf(float x, float y) { in __fmaxf() argument 121 if (y != y) in __fmaxf() 122 y = x; in __fmaxf() 126 x = y; in __fmaxf() 129 if (!isnan(x) && !isgreaterequal(x, y)) in __fmaxf() 130 x = y; in __fmaxf() 136 yy.f = y; in __fmaxf()
|
H A D | fminf.c | 35 __fminf(float x, float y) { in __fminf() argument 80 if (y != y) in __fminf() 81 y = x; in __fminf() 85 x = y; in __fminf() 88 if (!isnan(x) && !islessequal(x, y)) in __fminf() 89 x = y; in __fminf() 95 yy.f = y; in __fminf()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_mt.h | 60 #define POLLFD_SET(x, y) { \ argument 61 (y)[(x)].fd = (x); \ 62 (y)[(x)].events = MASKVAL; \ 64 #define POLLFD_CLR(x, y) { \ argument 65 (y)[(x)].fd = -1; \ 66 (y)[(x)].events = 0; \ 67 (y)[(x)].revents = 0; \ 69 #define POLLFD_ISSET(x, y) ((y)[(x)].fd >= 0) argument
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_div.c | 119 if (QUAD_ISNAN(*y)) { in _Qp_div() 125 Z = *y; in _Qp_div() 145 Z = *y; in _Qp_div() 275 wy[0] = y->l.frac2; in _Qp_div() 276 wy[1] = y->l.frac3; in _Qp_div() 277 wy[2] = y->l.frac4; in _Qp_div() 284 } else if (y->l.frac2 | (y->l.frac3 & 0xfffe0000)) { in _Qp_div() 285 ly = y->l.frac2; in _Qp_div() 290 } else if (y->l.frac3 | (y->l.frac4 & 0xfffe0000)) { in _Qp_div() 291 ly = y->l.frac3; in _Qp_div() [all …]
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | run.c | 173 CELL *x, *y; in array() local 179 return (y); in array() 191 CELL *y; in arrayel() local 204 return (y); in arrayel() 230 CELL *x, *y; in boolop() local 270 CELL *x, *y; in relop() local 291 tempfree(y); in relop() 364 CELL *x, *y; in substr() local 578 NODE *y; in a_sprintf() local 1030 CELL *y; in jump() local [all …]
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cexpl.c | 45 long double x, y, t, c, s; in cexpl() local 49 y = LD_IM(z); in cexpl() 51 hy = HI_XWORD(y); in cexpl() 54 if (iszerol(y)) { /* y = 0 */ in cexpl() 56 LD_IM(ans) = y; in cexpl() 63 sincosl(y, &s, &c); in cexpl() 70 LD_IM(ans) = y - y; in cexpl() 72 (void) sincosl(y, &s, &c); in cexpl() 78 (void) sincosl(y, &s, &c); in cexpl()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz_math_impl.h | 70 a = gf_exp2(x + 255 - y); in raidz_rec_pq_coeff() 829 for (; y < yend; y += SYN_STRIDE) { in raidz_syn_pq_abd() 857 LOAD(y, REC_PQ_Y); in raidz_rec_pq_abd() 873 STORE(y, REC_PQ_X); in raidz_rec_pq_abd() 987 for (; y < yend; y += SYN_STRIDE) { in raidz_syn_pr_abd() 1015 LOAD(y, REC_PR_Y); in raidz_rec_pr_abd() 1030 STORE(y, REC_PR_X); in raidz_rec_pr_abd() 1175 LOAD(y, REC_QR_Y); in raidz_rec_qr_abd() 1193 STORE(y, REC_QR_T); in raidz_rec_qr_abd() 1312 for (; y < yend; y += SYN_STRIDE, z += SYN_STRIDE) { in raidz_syn_pqr_abd() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan2.c | 79 hy = HI(y); in __vatan2() 93 x0 = fabs(*y); in __vatan2() 110 y0 = fabs(*y); in __vatan2() 131 y += stridey; in __vatan2() 144 y += stridey; in __vatan2() 162 y += stridey; in __vatan2() 187 y += stridey; in __vatan2() 194 hy = HI(y); in __vatan2() 302 y += stridey; in __vatan2() 309 hy = HI(y); in __vatan2() [all …]
|
/illumos-gate/usr/src/lib/libm1/common/ |
H A D | libmv1.c | 138 __atan2(double y, double x) { in __atan2() argument 162 __copysign(double x, double y) { in __copysign() argument 216 __fmod(double x, double y) { in __fmod() argument 234 __hypot(double x, double y) { in __hypot() argument 264 __jn(int n, double y) { in __jn() argument 306 __nextafter(double x, double y) { in __nextafter() argument 312 __pow(double x, double y) { in __pow() argument 330 __scalb(double x, double y) { in __scalb() argument 420 __atan2f(float y, float x) { in __atan2f() argument 462 __fmodf(float x, float y) { in __fmodf() argument [all …]
|