| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| div.c | 49 div(num, denom) 50 int num, denom; 54 r.quot = num / denom; 55 r.rem = num % denom; 65 * r.rem will have the same sign as denom and the opposite 71 * If both are num and denom are positive, r will always 77 * subtract denom from r.rem. 81 r.rem -= denom; 87 ldiv(num, denom) 88 long num, denom; [all...] |
| imaxdiv.c | 40 imaxdiv(intmax_t numer, intmax_t denom) 44 return (__imax_lldiv(numer, denom)); 58 _imaxdiv_c89(int32_t numer, int32_t denom) 60 return (div(numer, denom));
|
| lldiv.c | 40 lldiv(longlong_t numer, longlong_t denom) 44 sd.quot = numer / denom; 45 sd.rem = numer % denom;
|
| /onnv/onnv-gate/usr/src/cmd/stat/vmstat/ |
| vmstat.c | 49 #define denom(x) ((x) ? (x) : 1) macro 274 percent_factor = 100.0 / denom(etime); 279 updates = denom(DELTA(s_sys.ss_sysinfo.updates)); 484 nchtotal, nchhits / denom(nchtotal) * 100);
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/ |
| cmd_memerr_arch.c | 612 galois_div(int num, int denom) { 616 if (galois_mul[denom][i] == num)
|
| /onnv/onnv-gate/usr/src/cmd/sa/ |
| sar.c | 80 static float denom(float); 971 denom((float)xx->csi.ufsipage + 1191 denom(float x) function
|
| /onnv/onnv-gate/usr/src/lib/libsqlite/tool/ |
| spaceanal.tcl | 125 # Generate a formatted percentage value for $num/$denom 127 proc percent {num denom} { 128 if {$denom==0.0} {return ""} 129 set v [expr {$num*100.0/$denom}]
|
| /onnv/onnv-gate/usr/src/cmd/ntfsprogs/ |
| ntfsresize.c | 226 static s64 rounded_up_division(s64 numer, s64 denom) 228 return (numer + (denom - 1)) / denom; [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/zfs/ |
| zfs.c | [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/ |
| llib-lc | 358 div_t div(int numer, int denom); 359 ldiv_t ldiv(long int numer, long int denom); 589 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/iwk/ |
| iwk2.c | 301 static int iwk_division(int32_t num, int32_t denom, int32_t *res); [all...] |