Searched refs:scaled (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c487 float scaled; local
526 scaled = bn2mb(secsize);
528 if (scaled >= (float)1024.0 * 1024) {
529 fmt_print("%8.2fTB", scaled/((float)1024.0 * 1024));
530 } else if (scaled >= (float)1024.0) {
531 fmt_print("%8.2fGB", scaled/(float)1024.0);
533 fmt_print("%8.2fMB", scaled);
558 float scaled; local
634 scaled = bn2mb(nblks);
635 if (scaled > (floa
[all...]
H A Dmenu_command.c421 float scaled; local
439 scaled = bn2mb(nblks);
440 if (scaled > 1024.0) {
441 fmt_print("%1.2fGB\n", scaled/1024.0);
443 fmt_print("%1.2fMB\n", scaled);
458 scaled = bn2mb(efi_info.capacity);
459 if (scaled > 1024.0) {
460 fmt_print("%1.2fGB\n", scaled/1024.0);
462 fmt_print("%1.2fMB\n", scaled);
H A Dio.c2522 float scaled; local
2565 scaled = bn2mb(capacity);
2566 if (scaled >= (float)1024.0 * 1024) {
2568 "%.2fTB", scaled/((float)1024.0 * 1024));
2569 } else if (scaled >= (float)1024.0) {
2571 "%.2fGB", scaled/(float)1024.0);
2574 "%.2fMB", scaled);
H A Dstartup.c1453 float scaled; local
1470 scaled = bn2mb(nblks);
1472 scaled = bn2mb(type->capacity);
1474 if (scaled > 1024.0) {
1475 fmt_print("%1.2fGB\n", scaled/1024.0);
1477 fmt_print("%1.2fMB\n", scaled);
H A Dauto_sense.c1640 float scaled; local
1656 scaled = bn2mb(label->dkl_map[i].dkl_nblk);
1660 scaled = bn2mb(label->dkl_vtoc.v_part[i].p_size);
1665 if (scaled > 1024.0) {
1666 err_print("%6.2fGB ", scaled/1024.0);
1668 err_print("%6.2fMB ", scaled);
/illumos-gate/usr/src/cmd/prctl/
H A Dutils.h130 * uint64in: input number to convert to scaled string
140 * If the length of the scaled string is less than
145 * scaledout: Pointer to a string buffer to fill with the scaled string.
148 * modifierout: pointer to modifier used in scaled string.
177 * If the length of the scaled string is less than
192 * scaledout: Pointer to a string buffer to fill with the scaled string.
206 * Determine if two scaled strings are equivalent. Flags are same as
215 * Determine if a scaled number is equal to an uint64. The uint64 is scaled
216 * to the same scale and width as the scaled string
[all...]
H A Dutils.c126 * first check for hex value, which cannot be scaled, as
455 scaledequint64(char *scaled, uint64_t uint64, int minwidth, argument
467 ret = scaledtouint64(scaled, &tmpuint64, &width, &modifier, NULL,
486 ret = scaledtoscaled(scaled, width, modifier,
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_input.c64 int32_t scaled = sample SHIFT; \
66 scaled *= vol; \
67 scaled /= AUDIO_VOL_SCALE; \
69 *op = scaled; \
H A Daudio_client.c667 uint32_t scaled; local
680 * calculate the scaled values. Done now to avoid calculations
683 scaled = (gain * sp->s_gain_pct * AUDIO_DB_SIZE) / (100 * 100);
686 sp->s_gain_scaled = auimpl_db_table[scaled];
729 uint32_t scaled; local
744 * calculate the scaled values. Done now to avoid calculations
747 scaled = (gain * sp->s_gain_master * AUDIO_DB_SIZE) / (100 * 100);
750 sp->s_gain_scaled = auimpl_db_table[scaled];
/illumos-gate/usr/src/cmd/lgrpinfo/
H A Dlgrpinfo.pl666 # The number is scaled down until it is small enough to be in a good
710 # Return memory size scaled to human-readable form unless -u is
715 my $scaled = $number / $units;
718 if ($scaled < 0.1) {
719 $result = sprintf("%2.1g", $scaled);
720 } elsif ($scaled < 10) {
721 $result = sprintf("%2.1f", $scaled);
723 $result = int($scaled + 0.5);
/illumos-gate/usr/src/cmd/mandoc/
H A Droff.c1997 int myres, scaled, n, p; local
2023 scaled = *res * 65536;
2026 scaled = *res * 240;
2029 scaled = *res * 240 / 2.54;
2033 scaled = *res * 40;
2037 scaled = *res * 24;
2040 scaled = *res * 10 / 3;
2043 scaled = *res;
2046 scaled = *res * 6 / 25;
2049 scaled
[all...]
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vlog.S105 .word 0x3ea62e42,0xfee00000 ! scaled by 2**-20
106 .word 0x3caa39ef,0x35793c76 ! scaled by 2**-20
H A D__vlog_ultra3.S2101 .word 0x3ea62e42,0xfee00000 ! scaled by 2**-20
2102 .word 0x3caa39ef,0x35793c76 ! scaled by 2**-20
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dtexinfo.tex1446 \def\setfont#1#2#3#4{\font#1=\fontprefix#2#3 scaled #4}
1482 \font\texti=cmmi10 scaled \mainmagstep
1483 \font\textsy=cmsy10 scaled \mainmagstep
1527 \font\titlei=cmmi12 scaled \magstep3
1528 \font\titlesy=cmsy10 scaled \magstep4
1542 \font\chapi=cmmi12 scaled \magstep2
1543 \font\chapsy=cmsy10 scaled \magstep3
1555 \font\seci=cmmi12 scaled \magstep1
1556 \font\secsy=cmsy10 scaled \magstep2
1568 \font\sseci=cmmi12 scaled \magstephal
[all...]
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c5463 float scaled = (float)cap / 100; local
5466 scaled);

Completed in 255 milliseconds