| /onnv/onnv-gate/usr/src/cmd/filebench/common/ |
| fb_random.c | 38 * the random number after rounding it off by "round". 43 uint64_t round, avd_t avd) 47 /* check for round value too large */ 48 if (max <= round) { 52 if (max == round) 74 /* clip with max and optionally round */ 75 max -= round; 77 if (round) { 78 random = random / round; 79 random *= round; [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/vmalloc/ |
| vmmopen.c | 59 #define MM_START ROUND(sizeof(Mmvm_t),ALIGN) 73 size_t round; /* amount to round to */ member in struct:_mmvm_s 85 static int mmvminit(char* file, Void_t* addr, size_t round, Mmvm_t* mm) 87 static int mmvminit(file, addr, round, mm) 90 size_t round; /* amount to round requests */ 124 size = round; 141 hdr->round = round; [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/sparc/fp/ |
| __quad_mag.c | 49 unsigned int round, sticky, carry, rm; local 69 round = sticky = 0; 81 round = frac2 & 0x80000000; 87 round = frac3 & 0x80000000; 94 round = frac4 & 0x80000000; 102 sticky |= round | (frac4 & ((1 << (e - 1)) - 1)); 103 round = frac4 & (1 << (e - 1)); 133 sticky |= round; 134 round = frac4 & 1; 152 /* see if we need to round */ 209 unsigned int guard, round, sticky, borrow, rm; local [all...] |
| _Q_get_rp_rd.s | 35 srl %o0,30,%o0 ! return round control value
|
| _Q_qtoi.c | 42 int i, round; local 90 round = i & ((1 << (0x401d - (xm >> 16))) - 1); 94 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) {
|
| fpgetrnd.s | 40 srl %o0, 30, %o0 ! return round control value
|
| _Q_qtod.c | 42 unsigned int xm, round, sticky, fsr, rm; local 126 round = x->l.frac3 & 0x10000000; 130 sticky |= round | (u.l.lo & 0x7fffffff); 131 round = u.l.lo & 0x80000000; 137 sticky |= round | (u.l.lo & ((1 << (e - 1)) - 1)); 138 round = u.l.lo & (1 << (e - 1)); 146 round = x->l.frac3 & 0x8000000; 150 /* see if we need to round */ 152 if (round | sticky) { 157 /* round up if necessary * [all...] |
| fpsetrnd.s | 38 set 0xc0000000, %o4 ! mask of round control bits 47 srl %o0, 30, %o0 ! return old round control value
|
| _Q_qtos.c | 45 unsigned int xm, round, sticky, fsr, rm; local 122 round = u.l & (1 << e); 129 round = x->l.frac2 & 0x1000000; 133 /* see if we need to round */ 135 if (round | sticky) { 140 /* round up if necessary */ 141 if (rm == FSR_RP || (rm == FSR_RN && round && (sticky || 143 /* round up and check for overflow */
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
| mbimbf.t | 60 ok ($@ =~ /^Unknown round mode 'huhmbi' at/); 64 ok ($@ =~ /^Unknown round mode 'huhmbf' at/); 69 ok ($@ =~ /^Unknown round mode 'huhmbi' at/); 72 ok ($@ =~ /^Unknown round mode 'huhmbf' at/);
|
| /onnv/onnv-gate/usr/src/lib/libc/sparcv9/fp/ |
| _Q_get_rp_rd.s | 35 srl %o0,30,%o0 ! return round control value
|
| _Qp_qtox.c | 37 long i, round; local 89 round = i & ((1l << (0x403d - (xm >> 16))) - 1); 93 if (round | (x->l.frac3 & 0x3ffff) | x->l.frac4) {
|
| fpgetrnd.s | 40 srl %o0, 30, %o0 ! return round control value
|
| fpsetrnd.s | 38 set 0xc0000000, %o4 ! mask of round control bits 47 srl %o0, 30, %o0 ! return old round control value
|
| /onnv/onnv-gate/usr/src/cmd/dispadmin/ |
| subr.c | 93 * specified by round. 101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) 170 if (round == HRT_RND) { 190 } else if (round == HRT_RNDUP) { 201 } else { /* round == HRT_TRUNC */ 232 if (round == HRT_RND) { 235 } else if (round == HRT_RNDUP) {
|
| /onnv/onnv-gate/usr/src/cmd/sh/ |
| stak.c | 46 size = round(asize, BYTESPERWORD); 77 incr = (unsigned)round(newtop - brkend + 1, BYTESPERWORD); 100 stakbot = staktop = (unsigned char *)round(argp, BYTESPERWORD);
|
| /onnv/onnv-gate/usr/src/cmd/lvm/metassist/common/ |
| volume_string.h | 165 uint64_t bytes, char **str, units_t units[], boolean_t round);
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/ |
| assembler.t | 11 round trip. Also, error checking of Assembler.pm is tested by feeding 293 gen_type( \%goodlist, \@descr, 'round trip' ); 306 $descr[$lineno] = "round trip: $code2name[$opcode] $od"; 310 $descr[$lineno] = "round trip: $code2name[$opcode]";
|
| /onnv/onnv-gate/usr/src/lib/libc/i386/gen/ |
| alloca.s | 34 andl $0xfffffffc,%eax / round up to multiple of 4
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| double_decim.c | 37 * for inexact or overflow in *ps. round is the round digit and sticky is 0 43 char round, unsigned sticky) 47 if ((round == '0') && (sticky == 0)) { /* Exact. */ 54 if (round < '5') 56 if (round > '5') 60 /* Now in ambiguous case; round up if lsd is odd. */ 345 char round = '0'; local 449 round = is[ids++]; 451 round = '0' [all...] |
| _Qfpack.c | 60 round(pu) function 63 /* Round according to current rounding mode. */ 66 int increment; /* boolean to indicate round up */ 105 pu->significand[3] &= 0xfffffffe; /* force round to even */ 122 round(pu); 172 round(pu); 185 round(pu); 236 round(pu); 252 round(pu); 310 round(pu) [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| bigfloat.pl | 42 # fround(NSTR, SCALE) return NSTR round to SCALE digits 43 # ffround(NSTR, SCALE) return NSTR round at SCALEth place 145 &norm(&round(&'bdiv($xm.('0' x $scale),$ym),&'babs($ym)), 151 # round int $q based on fraction $r/$base using $rnd_mode 152 sub round { #(int_str, int_str, int_str) return int_str 167 $q; # round down 170 # round up 175 # round the mantissa of $x to $scale digits 185 &norm(&round(substr($xm,$[,$scale+1), 193 # round $x at the 10 to the $scale digit plac 149 sub round { #(int_str, int_str, int_str) return int_str subroutine [all...] |
| /onnv/onnv-gate/usr/src/lib/libshell/common/sh/ |
| streval.c | 57 #define round(x,size) (((x)+(size)-1)&~((size)-1)) macro 58 #define stakpush(v,val,type) ((((v)->offset=round(staktell(),pow2size(sizeof(type)))),\ 61 #define roundptr(ep,cp,type) (((unsigned char*)(ep))+round(cp-((unsigned char*)(ep)),pow2size(sizeof(type))))
|
| /onnv/onnv-gate/usr/src/uts/sparc/fpu/ |
| pack.c | 62 * Round according to current rounding mode. 65 round( function 69 int increment; /* boolean to indicate round up */ 109 pu->significand[3] &= 0xfffffffe; /* force round to even */ 127 round(pfpsd, pu); 168 round(pfpsd, pu); 224 round(pfpsd, pu); 246 round(pfpsd, pu); 302 round(pfpsd, pu); 327 round(pfpsd, pu) [all...] |
| /onnv/onnv-gate/usr/src/lib/crypt_modules/sunmd5/ |
| sunmd5.c | 249 int round; local 326 for (round = 0; round < maxrounds; round++) { 348 data.shift_a = md5bit(data.digest, round); 349 data.shift_b = md5bit(data.digest, round + 64); 426 (void) snprintf(data.roundascii, ROUND_BUFFER_LEN, "%d", round);
|