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

/opensolaris-onvv-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.c415 float scaled; local
433 scaled = bn2mb(nblks);
434 if (scaled > 1024.0) {
435 fmt_print("%1.2fGB\n", scaled/1024.0);
437 fmt_print("%1.2fMB\n", scaled);
452 scaled = bn2mb(efi_info.capacity);
453 if (scaled > 1024.0) {
454 fmt_print("%1.2fGB\n", scaled/1024.0);
456 fmt_print("%1.2fMB\n", scaled);
H A Dio.c2521 float scaled; local
2550 scaled = bn2mb(capacity);
2551 if (scaled >= (float)1024.0 * 1024) {
2553 "%.2fTB", scaled/((float)1024.0 * 1024));
2554 } else if (scaled >= (float)1024.0) {
2556 "%.2fGB", scaled/(float)1024.0);
2559 "%.2fMB", scaled);
H A Dauto_sense.c1689 float scaled; local
1705 scaled = bn2mb(label->dkl_map[i].dkl_nblk);
1709 scaled = bn2mb(label->dkl_vtoc.v_part[i].p_size);
1714 if (scaled > 1024.0) {
1715 err_print("%6.2fGB ", scaled/1024.0);
1717 err_print("%6.2fMB ", scaled);
H A Dstartup.c1449 float scaled; local
1466 scaled = bn2mb(nblks);
1468 scaled = bn2mb(type->capacity);
1470 if (scaled > 1024.0) {
1471 fmt_print("%1.2fGB\n", scaled/1024.0);
1473 fmt_print("%1.2fMB\n", scaled);
/opensolaris-onvv-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,
/opensolaris-onvv-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];
/opensolaris-onvv-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);
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c5192 float scaled = (float)cap / 100; local
5195 scaled);

Completed in 211 milliseconds