Searched refs:scale (Results 1 - 25 of 158) sorted by relevance

1234567

/freebsd-11-stable/contrib/groff/font/devlj4/generate/
H A Dspecial.awk6 function scale(num) function
16 ascent["integralcrvmid"] = scale(0.84358)
17 descent["integralcrvmid"] = scale(0.25006)
18 ascent["integralbt"] = scale(0.84358)
19 descent["integralbt"] = scale(0.15164)
20 ascent["lt"] = scale(0.84358)
21 descent["lt"] = scale(0.15164)
22 ascent["parenlefttp"] = scale(0.84358)
23 descent["parenlefttp"] = scale(0.15164)
24 ascent["bracelefttp"] = scale(0.8435
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A Davx512pfintrin.h20 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) \
22 (void const *)(addr), (int)(scale), \
25 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) \
27 (void const *)(addr), (int)(scale), \
30 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) \
33 (int)(scale), (int)(hint))
35 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) \
38 (int)(scale), (int)(hint))
40 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) \
42 (void const *)(addr), (int)(scale), \
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Difcmds.c50 int scale; local
52 if (prefix(cmd, "scale")) {
53 if ((scale = get_scale(args)) != -1)
54 curscale = scale;
58 addstr("what scale? ");
H A Dconvtbl.c54 uintmax_t scale; member in struct:convtbl
60 /* mul, scale, str, name */
78 get_tbl_ptr(const uintmax_t size, const int scale) argument
84 idx = scale < SC_AUTO ? scale : SC_AUTO;
101 convert(const uintmax_t size, const int scale) argument
105 tp = get_tbl_ptr(size, scale);
106 return ((double)size * tp->mul / tp->scale);
111 get_string(const uintmax_t size, const int scale) argument
115 tp = get_tbl_ptr(size, scale);
[all...]
H A Dconvtbl.h42 enum scale { enum
/freebsd-11-stable/usr.bin/dc/
H A Dbcode.c45 u_int scale; member in struct:bmachine
258 return bmachine.scale;
311 fprintf(stderr, " %s (%u)\n" , p, n->scale);
387 if (n->scale == 0 && f != NULL)
389 else if (n->scale < sizeof(factors)/sizeof(factors[0])) {
390 rem = BN_div_word(i, factors[n->scale]);
405 bn_check(BN_set_word(p, n->scale));
418 scale_number(n->number, s - n->scale);
419 n->scale = s;
587 bn_check(BN_set_word(n->number, bmachine.scale));
595 u_long scale; local
684 u_int scale = 0; local
1025 bmul_number(struct number *r, struct number *a, struct number *b, u_int scale) argument
1071 u_int scale; local
1107 u_int scale; local
1143 u_int scale; local
1305 u_int onecount, scale; local
1481 u_int scale; local
[all...]
H A Dmem.c36 n->scale = 0;
57 n->scale = a->scale;
H A Dbcode.h25 u_int scale; member in struct:number
97 struct number *, u_int scale);
H A Dinout.c216 n->scale++;
222 scale_number(n->number, n->scale);
223 for (i = 0; i < n->scale; i++)
303 fract_part->scale = b->scale;
330 if (b->scale > 0) {
341 scale_number(&stop, b->scale);
356 int_part->scale = 0;
357 normalize(int_part, fract_part->scale);
/freebsd-11-stable/contrib/libxo/libxo/
H A Dxo_humanize.h64 const char *suffix, int scale, int flags)
81 assert(scale >= 0);
102 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
105 if (scale >= maxscale &&
106 (scale & (HN_AUTOSCALE | HN_GETSCALE)) == 0)
135 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) {
143 if (scale & HN_GETSCALE)
146 for (i = 0; i < scale && i < maxscale; i++)
63 xo_humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix, int scale, int flags) argument
/freebsd-11-stable/lib/libutil/
H A Dhumanize_number.c50 const char *suffix, int scale, int flags)
65 if (scale < 0)
67 else if (scale > maxscale &&
68 ((scale & ~(HN_AUTOSCALE|HN_GETSCALE)) != 0))
112 #define SCALE2PREFIX(scale) (&prefixes[(scale) * 3])
134 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) {
152 if (scale & HN_GETSCALE)
155 for (i = 0; i < scale && i < maxscale; i++) {
49 humanize_number(char *buf, size_t len, int64_t quotient, const char *suffix, int scale, int flags) argument
/freebsd-11-stable/contrib/mdocml/
H A Dout.h42 double scale; member in struct:roffsu
59 (p)->scale = (v); } \
64 (p)->scale = (v); } \
H A Dtbl_html.c52 if (su->scale < 0.0)
57 return su->scale * 65536.0 / 24.0;
59 return su->scale * 10.0;
61 return su->scale * 10.0 / 2.54;
64 return su->scale * 10.0 / 6.0;
67 return su->scale;
69 return su->scale * 10.0 / 6.0 / 12.0;
71 return su->scale / 24.0;
73 return su->scale / 100.0;
H A Droff_html.c90 su.scale = 1.0;
91 else if (su.scale < 0.0)
92 su.scale = 0.0;
H A Dterm_ascii.c241 r = su->scale;
244 r = su->scale * 240.0 / 2.54;
247 r = su->scale * 65536.0;
250 r = su->scale * 240.0;
253 r = su->scale * 0.24;
257 r = su->scale * 40.0;
260 r = su->scale * 10.0 / 3.0;
264 r = su->scale * 24.0;
/freebsd-11-stable/lib/msun/src/
H A Ds_csqrt.c54 int scale; local
89 scale = 1;
91 scale = 0;
104 if (scale)
H A Ds_csqrtl.c62 int scale; local
97 scale = 1;
99 scale = 0;
112 if (scale)
H A Dk_exp.c53 * minimize |exp(kln2) - 2**k|. We also scale the exponent of
77 double exp_x, scale; local
82 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0);
83 return (exp_x * scale);
H A Dk_expf.c60 float exp_x, scale; local
65 SET_FLOAT_WORD(scale, (0x7f + expt) << 23);
66 return (exp_x * scale);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DBranchProbability.cpp68 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) { function
106 uint64_t BranchProbability::scale(uint64_t Num) const {
107 return ::scale<D>(Num, N, D);
111 return ::scale<0>(Num, D, N);
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Dhvunits.h31 friend inline vunits scale(vunits n, units x, units y); // scale n by x/y
32 friend inline vunits scale(vunits n, vunits x, vunits y);
60 friend inline hunits scale(hunits n, units x, units y); // scale n by x/y
61 friend inline hunits scale(hunits n, double x);
303 inline hunits scale(hunits n, units x, units y) function
306 r.n = scale(n.n, x, y);
310 inline vunits scale(vunits n, units x, units y) function
313 r.n = scale(
317 inline vunits scale(vunits n, vunits x, vunits y) function
324 inline hunits scale(hunits n, double x) function
331 inline units scale(units n, double x) function
[all...]
/freebsd-11-stable/libexec/rpc.rquotad/
H A Drquotad.c176 int scale; local
193 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32);
195 DEV_BSIZE * scale;
197 dqblk.dqb_bhardlimit / scale;
199 dqblk.dqb_bsoftlimit / scale;
201 dqblk.dqb_curblocks / scale;
228 int scale; local
245 scale = 1 << flsll(dqblk.dqb_bhardlimit >> 32);
247 DEV_BSIZE * scale;
249 dqblk.dqb_bhardlimit / scale;
[all...]
/freebsd-11-stable/usr.bin/procstat/
H A Dprocstat_rlimit.c78 int scale; local
83 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit,
88 if (scale == 0)
/freebsd-11-stable/contrib/groff/src/preproc/pic/
H A Dtex.cpp54 double scale; member in class:tex_output
75 return position((pos.x - upper_left.x)/scale,
76 (upper_left.y - pos.y)/scale);
110 scale = compute_scale(sc, ll, ur);
111 height = (ur.y - ll.y)/scale;
112 width = (ur.x - ll.x)/scale;
195 printf("dt %.3f", lt.dash_width/scale);
198 printf("da %.3f", lt.dash_width/scale);
229 printf(" %.3f", -lt.dash_width/scale);
232 printf(" %.3f", lt.dash_width/scale);
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Ddivsf3.c29 int scale = 0; local
71 // normal number. Renormalize one or both of a and b, and set scale to
74 scale += normalize(&aSignificand);
76 scale -= normalize(&bSignificand);
84 int quotientExponent = aExponent - bExponent + scale;

Completed in 155 milliseconds

1234567