/titanic_44/usr/src/cmd/bc/ |
H A D | lib.b.data | 32 scale = 20 38 t = scale 39 scale = t + .434*x + 1 67 scale = t 84 z = 1-10^scale 88 t = scale 91 scale = scale + scale(x) - length(x) + 1 92 s=scale 94 s = s + (length(x)-scale(x))/2 + 1 95 if(s>0) scale = s [all …]
|
/titanic_44/usr/src/cmd/prctl/ |
H A D | utils.c | 107 scale_t *scale, char *unit, int flags) { in scaledtouint64() argument 117 char **modifiers = scale->modifers; in scaledtouint64() 118 uint64_t *scales = scale->scales; in scaledtouint64() 261 scale_t *scale, char *unit, int flags) { in uint64toscaled() argument 269 char **modifiers = scale->modifers; in uint64toscaled() 270 uint64_t *scales = scale->scales; in uint64toscaled() 348 scale_t *scale, char *unit, int flags) { in scaledtoscaled() argument 354 scale, unit, flags); in scaledtoscaled() 360 scale, unit, flags); in scaledtoscaled() 367 scale_t *scale, char *unit, int flags) { in scaledeqscaled() argument [all …]
|
H A D | utils.h | 118 scale_t *scale, char *unit, int flags); 152 scale_t *scale, char *unit, int flags); 201 scale_t *scale, char *unit, int flags); 210 scale_t *scale, char *unit, int flags); 224 scale_t *scale, char *unit, int flags);
|
/titanic_44/usr/src/lib/libshell/common/scripts/ |
H A D | termclock.sh | 139 draw_hand $(( 360.*(hand.val/hand.scale)-90. )) "${hand.ch}" ${hand.length} 146 draw_hand $(( 360.*(hand.val/hand.scale)-90. )) " " ${hand.length} 250 float scale 255 float scale 260 float scale 263 seconds.length=90 seconds.scale=60 seconds.ch=$"s" 264 minutes.length=75 minutes.scale=60 minutes.ch=$"m" 265 hours.length=50 hours.scale=12 hours.ch=$"h"
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | term_ascii.c | 228 r = 4 * su->scale; in ascii_hspan() 231 r = 10 * su->scale; in ascii_hspan() 234 r = (10 * su->scale) / 6; in ascii_hspan() 237 r = (10 * su->scale) / 72; in ascii_hspan() 240 r = su->scale / 1000; in ascii_hspan() 243 r = su->scale * 2 - 1; in ascii_hspan() 246 r = su->scale; in ascii_hspan()
|
H A D | term_ps.c | 42 (size_t)((double)(x) * (1000.0 / (double)(p)->ps->scale)) 46 ((double)(x) / (1000.0 / (double)(p)->ps->scale)) 70 size_t scale; /* font scaling factor */ member 498 p->ps->scale = 11; in pspdf_alloc() 514 lineheight = PNT2AFM(p, ((double)p->ps->scale * 1.4)); in pspdf_alloc() 858 p->ps->scale); in ps_pletter() 881 p->ps->scale); in ps_pletter() 1105 p->ps->scale); in ps_setfont() 1109 p->ps->scale); in ps_setfont() 1138 r = PNT2AFM(p, su->scale * 28.34); in ps_hspan() [all …]
|
H A D | out.h | 41 double scale; member 58 (p)->scale = (v); } \ 63 (p)->scale = (v); } \
|
H A D | term.c | 753 r = su->scale * 2; in term_vspan() 756 r = su->scale * 6; in term_vspan() 759 r = su->scale; in term_vspan() 762 r = su->scale / 8; in term_vspan() 765 r = su->scale / 1000; in term_vspan() 768 r = su->scale; in term_vspan() 771 r = su->scale - 1; in term_vspan()
|
/titanic_44/usr/src/lib/libast/common/string/ |
H A D | fmtscale.c | 46 static const char scale[] = "bkMGTPE"; in fmtscale() local 48 u = scale; in fmtscale() 74 if (u > scale) in fmtscale()
|
/titanic_44/usr/src/lib/libpkg/common/ |
H A D | pkgstr.c | 860 pkgstrScaleNumericString(char *a_buf, unsigned long long scale) in pkgstrScaleNumericString() argument 871 assert(scale > (unsigned long long)0); in pkgstrScaleNumericString() 872 assert(scale <= (unsigned long long)1048576); in pkgstrScaleNumericString() 904 while ((number >= scale) && (*uom != 'E')) { in pkgstrScaleNumericString() 907 number = (number + (scale / 2)) / scale; in pkgstrScaleNumericString() 912 if (save && ((save / scale) < 10)) { in pkgstrScaleNumericString() 914 float fnum = (float)save / scale; in pkgstrScaleNumericString()
|
/titanic_44/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 54 int scale; member 118 long_print(Sum_t* p, Sfio_t* sp, register int flags, size_t scale) in long_print() argument 130 if ((flags & SUM_SCALE) && ((n = scale) || (n = x->method->scale))) in long_print() 331 sumprint(Sum_t* p, Sfio_t* sp, int flags, size_t scale) in sumprint() argument 333 return (*p->method->print)(p, sp, flags, scale); in sumprint()
|
/titanic_44/usr/src/cmd/stat/arcstat/ |
H A D | arcstat.pl | 232 my $scale = $_[1]; 237 if ($scale == -1) { #special case for date field 243 while ($num > $scale and $index < 5) { 245 $num = $num/$scale; 250 if (($save / $scale) < 10) {
|
/titanic_44/usr/src/lib/libast/common/sfio/ |
H A D | sfhdr.h | 1068 #define SFDIGIT(v,scale,digit) \ argument 1069 { if(v < 5*scale) \ 1070 if(v < 2*scale) \ 1071 if(v < 1*scale) \ 1073 else { digit = '1'; v -= 1*scale; } \ 1074 else if(v < 3*scale) \ 1075 { digit = '2'; v -= 2*scale; } \ 1076 else if(v < 4*scale) \ 1077 { digit = '3'; v -= 3*scale; } \ 1078 else { digit = '4'; v -= 4*scale; } \ [all …]
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | timestamp.c | 128 #define TSC_CONVERT_AND_ADD(tsc, hrt, scale) { \ argument 130 (hrt) += mul32(_l[1], scale) << NSEC_SHIFT; \ 131 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \ 134 #define TSC_CONVERT(tsc, hrt, scale) { \ argument 136 (hrt) = mul32(_l[1], scale) << NSEC_SHIFT; \ 137 (hrt) += mul32(_l[0], scale) >> (32 - NSEC_SHIFT); \
|
/titanic_44/usr/src/cmd/lgrpinfo/ |
H A D | lgrpinfo.pl | 674 my $scale = KB; 684 while (($number >= $scale) && $uom ne 'E') { 687 $number /= $scale; 691 if ($save && (($save / $scale) < 10)) { 692 $result = sprintf("%2.1f", $save / $scale); 750 my $scale = $lgrp_kstats->{$i}->{"lgrp$i"}->{"loadscale"} || 752 $load->{$i} = sprintf (gettext("Load: %4.3g"), $lav / $scale);
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | mon.c | 196 uint_t scale; in monitor() local 339 scale = (uint_t)((temp * (long)0200000L) / text); in monitor() 342 scale = 0xffff; in monitor() 345 profil(buffer, bufsize, (ulong_t)lowpc, scale); in monitor()
|
/titanic_44/usr/src/cmd/sa/ |
H A D | sadp.c | 911 long scale; local 931 scale = 1; 933 scale = at / (max2 * 2); 934 if (scale > 48) 935 scale = 48; 940 graph[ii] = (scale * 100 * dp->hdata[ii]) / at; 945 prthist(graph, maxrow, scale, (long) (max*100*scale/at)); 951 prthist(array, mrow, scale, gmax) in prthist() argument 952 long array[], scale, gmax; in prthist() 961 printf("\n%2ld%% -|", gmax/scale); [all …]
|
/titanic_44/usr/src/uts/sun4u/sys/ |
H A D | machclock.h | 140 #define GET_HRTIME(base, now, nslt, scale, scr, hrlock, gnt1, gnt2) \ argument 143 lduw [scr + %lo(nsec_scale)], scale; /* tick-to-ns factor */ \ 152 NATIVE_TIME_TO_NSEC_SCALE(nslt, scale, gnt1, NSEC_SHIFT); \
|
/titanic_44/usr/src/uts/sun4u/lw8/sys/ |
H A D | sgenv_impl.h | 99 #define TYPE_VALUE(value_macro, scale) { \ argument 103 scale \ 122 uint32_t scale; member
|
/titanic_44/usr/src/cmd/pgstat/ |
H A D | pgstat.pl | 988 my $scale = 1000; 990 return sprintf("%4d", $number) if $number < $scale; 999 $number /= $scale; 1001 while (($number >= $scale) && $uom ne 'B') { 1004 $number /= $scale; 1008 if ($save && (($save / $scale) < 10)) { 1009 $result = sprintf("%3.1f$uom", $save / $scale);
|
/titanic_44/usr/src/lib/commpage/common/ |
H A D | cp_main.c | 60 #define TSC_CONVERT_AND_ADD(tsc, hrt, scale) do { \ argument 62 uint64_t sc = (uint32_t)(scale); \
|
/titanic_44/usr/src/lib/libsqlite/src/ |
H A D | util.c | 585 LONGDOUBLE_TYPE scale = 1.0; in sqliteAtoF() local 597 while( eval>=64 ){ scale *= 1.0e+64; eval -= 64; } in sqliteAtoF() 598 while( eval>=16 ){ scale *= 1.0e+16; eval -= 16; } in sqliteAtoF() 599 while( eval>=4 ){ scale *= 1.0e+4; eval -= 4; } in sqliteAtoF() 600 while( eval>=1 ){ scale *= 1.0e+1; eval -= 1; } in sqliteAtoF() 602 v1 /= scale; in sqliteAtoF() 604 v1 *= scale; in sqliteAtoF()
|
/titanic_44/usr/src/test/zfs-tests/include/ |
H A D | math.shlib | 38 typeset p=$($ECHO "scale=2; $b * 100 / $a" | $BC) 40 [[ '1' = $($ECHO "scale=2; if ($p >= $percent) 1" | $BC) ]] && return 0
|
/titanic_44/usr/src/lib/libcmd/common/ |
H A D | cksum.c | 131 size_t scale; /* scale override */ member 233 sumprint(state->sum, op, state->flags|SUM_SCALE, state->scale); in pr() 473 state.scale = opt_info.num; in b_cksum() 490 state.scale = 512; in b_cksum() 627 sumprint(state.sum, sfstdout, state.flags|SUM_TOTAL|SUM_SCALE, state.scale); in b_cksum()
|
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Project/ |
H A D | Project.pm | 701 my $scale; 745 $scale = 'bytes'; 748 projent_val2num($ref->[0], $scale); 1577 my $scale; 1601 $scale = \%scaleB; 1604 $scale = \%scaleM; 1606 $scale = \%scaleM; 1624 $mul = $scale->{$modifier};
|