/illumos-gate/usr/src/cmd/units/ |
H A D | units.c | 25 double factor; member 31 double factor; member 38 double factor; member 130 f = u1.factor/u2.factor; in main() 203 if(p->factor == 0.) in convr() 204 p->factor = 1.0; in convr() 258 p->factor /= q->factor*e; in lookup() 262 p->factor *= q->factor*e; in lookup() 324 lp->factor = 1.0; in init() 329 lp->factor = 1.0; in init() [all …]
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | commp_util.c | 192 uint_t factor = 0; in commp_time_to_secs() local 197 factor = COMMP_SECS_IN_DAY; in commp_time_to_secs() 200 factor = COMMP_SECS_IN_HOUR; in commp_time_to_secs() 203 factor = COMMP_SECS_IN_MIN; in commp_time_to_secs() 206 factor = 1; in commp_time_to_secs() 215 if (factor != 0) in commp_time_to_secs() 216 (*num) = (*num) * factor; in commp_time_to_secs()
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | math.shlib | 78 *PB|*pb|*P|*p) factor='1024^5' ;; 79 *TB|*tb|*T|*t) factor='1024^4' ;; 80 *GB|*gb|*G|*g) factor='1024^3' ;; 81 *MB|*mb|*M|*m) factor='1024^2' ;; 82 *KB|*kb|*K|*k) factor='1024^1' ;; 83 *B|*b) factor='1024^0' ;; 85 *) factor='1024^0' ;; 88 echo "$value * ($factor)" | bc
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LogLinearDistribution.java | 125 long low, high, nsteps, factor; in fillRangeCache() local 131 factor = unpack(constant, FACTOR_SHIFT); in fillRangeCache() 137 value *= factor; in fillRangeCache() 145 next = value * factor; in fillRangeCache() 156 next = value * factor; in fillRangeCache()
|
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 297 static int factor = -1; in ctok() local 299 if (factor == -1) in ctok() 300 factor = (int)(sysconf(_SC_PAGESIZE) >> 10); in ctok() 301 return ((size_t)(clicks * factor)); in ctok() 343 int factor = (int)(sysconf(_SC_PAGESIZE)); in doswap() local 345 nicenum_scale(allocated, factor, numbuf, sizeof (numbuf), 0); in doswap() 348 nicenum_scale(reserved, factor, numbuf, sizeof (numbuf), 0); in doswap() 351 nicenum_scale(allocated + reserved, factor, numbuf, in doswap() 355 nicenum_scale(available, factor, numbuf, sizeof (numbuf), 0); in doswap()
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 277 int ret, len, factor; in parse_time() local 328 factor = 1; /* seconds is default */ in parse_time() 330 factor = 24 * 60 * 60; in parse_time() 332 factor = 60 * 60; in parse_time() 334 factor = 60; in parse_time() 336 m_before = m_after + (lnum * factor); in parse_time()
|
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_rowcol_tbl.c | 860 rct_csintlv_bits(uint_t mcrev, int width, uint_t csmode, int factor, in rct_csintlv_bits() argument 872 if (factor == 8 && width == 128 && in rct_csintlv_bits() 888 switch (factor) { in rct_csintlv_bits() 915 csid->csi_factor = factor; in rct_csintlv_bits()
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/ |
H A D | Objective.java | 588 private double factor; field in LGroupData 593 factor = 2.0 / ((numcpuinlgroup * numcpuinlgroup) in LGroupData() 602 return factor; in getFactor() 730 private double calcQ(double factor, int intersection) in calcQ() argument 732 double q = factor * ((intersection * intersection) in calcQ() 795 double factor = 0; in calcResults() local 802 factor = cpulgp.getFactor(); in calcResults() 805 calcQ(factor, intersection), in calcResults() 806 calcQ(factor, intersection-1), in calcResults() 807 calcQ(factor, intersection+1)); in calcResults()
|
/illumos-gate/usr/src/common/ficl/test/ |
H A D | vocab.fr | 6 : DO-VOCABULARY ( -- ) \ Implementation factor 12 : DISCARD ( x1 .. xu u - ) \ Implementation factor
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_hba.c | 1473 uint32_t factor = 1; in emlxs_strtol() local 1495 factor *= base; in emlxs_strtol() 1502 factor *= base; in emlxs_strtol() 1507 factor *= base; in emlxs_strtol() 1509 } else if (factor > 1) { in emlxs_strtol() 1512 } else if (factor > 1) { in emlxs_strtol() 1527 uint32_t factor = 1; in emlxs_strtoll() local 1549 factor *= base; in emlxs_strtoll() 1556 factor *= base; in emlxs_strtoll() 1561 factor *= base; in emlxs_strtoll() [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/sleep/ |
H A D | sleep.awk | 18 if ($2 >= min && $2 <= min * factor) {
|
H A D | sleeptest.ksh | 65 factor=$sleep_factor
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestBean.java | 273 long factor = 2; in getLogLinearDistribution() local 282 value *= factor; in getLogLinearDistribution() 287 next = value * factor; in getLogLinearDistribution() 297 next = value * factor; in getLogLinearDistribution() 305 LogLinearDistribution d = new LogLinearDistribution(factor, low, high, in getLogLinearDistribution()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | vuid_queue.c | 156 vq_compress(Vuid_queue *vq, int factor) in vq_compress() argument 176 tv_threshold = tv_mult(tv_avg_diff, factor); in vq_compress() 204 if ((factor > 0) && in vq_compress()
|
/illumos-gate/usr/src/cmd/factor/ |
H A D | Makefile | 27 PROG= factor
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 680 longlong_t svalue = 0, factor = 1; in get_scaled_value() local 689 factor = 3600; in get_scaled_value() 691 factor = 60; in get_scaled_value() 698 svalue *= factor; in get_scaled_value()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_inode.c | 1054 long factor; in indirtrunc() local 1063 factor = 1; in indirtrunc() 1065 factor *= NINDIR(fs); in indirtrunc() 1068 last /= factor; in indirtrunc() 1139 last = lastbn % factor; in indirtrunc()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_aggregate.c | 223 uint16_t factor = DTRACE_LLQUANTIZE_FACTOR(arg); in dt_aggregate_llquantizedsum() local 231 assert(nsteps >= factor); in dt_aggregate_llquantizedsum() 232 assert(nsteps % factor == 0); in dt_aggregate_llquantizedsum() 235 value *= factor; in dt_aggregate_llquantizedsum() 239 next = value * factor; in dt_aggregate_llquantizedsum() 249 next = value * factor; in dt_aggregate_llquantizedsum()
|
H A D | dt_consume.c | 990 uint16_t factor, low, high, nsteps; in dt_print_llquantize() local 1004 factor = DTRACE_LLQUANTIZE_FACTOR(arg); in dt_print_llquantize() 1013 if (size > INT32_MAX || factor < 2 || low >= high || in dt_print_llquantize() 1014 nsteps == 0 || factor > nsteps) in dt_print_llquantize() 1050 value *= factor; in dt_print_llquantize() 1052 next = value * factor; in dt_print_llquantize() 1082 next = value * factor; in dt_print_llquantize()
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | ascii_strcasecmp.S | 216 sll %i3, 3, %l6 ! shift factor for left shifts 218 sub %g0, %l6, %l7 ! shift factor for right shifts
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | ascii_strcasecmp.S | 216 sll %i3, 3, %l6 ! shift factor for left shifts 218 sub %g0, %l6, %l7 ! shift factor for right shifts
|
/illumos-gate/usr/src/lib/libsff/common/ |
H A D | libsff.c | 619 sff_add_unit_string(uint64_t val, uint64_t factor, const char *unit, in sff_add_unit_string() argument 624 val *= factor; in sff_add_unit_string()
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 434 int factor = (mc->mc_props.mcp_accwidth == 128) ? 2 : 1; in mc_dimm_csadd() local 443 sz += mccs->mccs_props.csp_size / factor; in mc_dimm_csadd() 446 sz += mcd->mcd_cs[i]->mccs_props.csp_size / factor; in mc_dimm_csadd()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_hw.c | 766 u32 factor = (CHIP_REV_IS_EMUL(p_hwfn->p_dev) ? in ecore_dmae_operation_wait() local 771 wait_cnt_limit *= factor; in ecore_dmae_operation_wait()
|
/illumos-gate/usr/src/cmd/ |
H A D | Makefile | 161 factor \
|