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

/fuchsia/zircon/third_party/ulib/musl/src/math/
H A D__expo2f.c9 float scale; local
11 /* note that k is odd and scale*scale overflows */
12 SET_FLOAT_WORD(scale, (uint32_t)(0x7f + k / 2) << 23);
14 return expf(x - kln2) * scale * scale;
H A D__expo2.c9 double scale; local
11 /* note that k is odd and scale*scale overflows */
12 INSERT_WORDS(scale, (uint32_t)(0x3ff + k / 2) << 20, 0);
14 return exp(x - kln2) * scale * scale;
/fuchsia/zircon/third_party/ulib/musl/third_party/complex/
H A Dcsqrt.c46 int scale; local
81 scale = 1;
83 scale = 0;
96 if (scale)
/fuchsia/zircon/third_party/ulib/musl/src/time/
H A D__tz.c196 int scale = 2;
200 scale++;
204 idx = trans + (zi_read32(trans - 12) << scale);
270 int scale = 3 - (trans == zi + 44); local
274 size_t a = 0, n = (idx - trans) >> scale, m;
285 x = zi_read32(trans + (m << scale));
286 if (scale == 3)
287 x = x << 32 | zi_read32(trans + (m << scale) + 4);
302 n = (idx - trans) >> scale;
306 x = zi_read32(trans + (a << scale));
[all...]
/fuchsia/zircon/bootloader/src/
H A Dframebuffer.c212 size_t scale = 1; local
217 putchar(gop, font, c, x + offset, y, scale, scale, fg_color, &font_black);
218 offset += font->width * scale;
/fuchsia/zircon/third_party/ulib/jemalloc/test/include/test/
H A Dmath.h6 double pt_gamma(double p, double shape, double scale, double ln_gamma_shape);
301 * Given a value p in [0..1] and Gamma distribution shape and scale parameters,
306 pt_gamma(double p, double shape, double scale, double ln_gamma_shape) argument
308 return (pt_chi2(p, shape * 2.0, ln_gamma_shape) * 0.5 * scale);
/fuchsia/zircon/third_party/ulib/musl/third_party/math/
H A Dfmal.c93 * Compute ldexp(a+b, scale) with a single rounding error. It is assumed
97 static inline long double add_and_denormalize(long double a, long double b, int scale) { argument
116 bits_lost = -u.i.se - scale + 1;
120 return scalbnl(sum.hi, scale);
H A Dfma.c245 * Compute ldexp(a+b, scale) with a single rounding error. It is assumed
249 static inline double add_and_denormalize(double a, double b, int scale) { argument
271 bits_lost = -((int)(uhi.i >> 52) & 0x7ff) - scale + 1;
279 return scalbn(sum.hi, scale);
/fuchsia/zircon/system/ulib/test-utils/include/test-utils/
H A Dtest-utils.h197 int tu_set_timeout_scale(int scale);
/fuchsia/zircon/third_party/ulib/musl/src/internal/
H A Dfloatscan.c333 long double scale = 1; local
371 y += d * (scale /= 16);
373 y += 0.5 * scale;
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/perlasm/
H A Dx86_64-xlate.pl217 { package ea; # pick up effective addresses: expr(%reg,%reg,scale)
235 ($self->{base},$self->{index},$self->{scale})=split(/,/,$3);
236 $self->{scale} = 1 if (!defined($self->{scale}));
280 if (!$self->{label} && $self->{index} && $self->{scale}==1 &&
292 $self->{index},$self->{scale},
315 $self->{index},$self->{scale},
/fuchsia/zircon/system/utest/fbl/
H A Dintrusive_wavl_tree_tests.cpp193 // Start by computing log_2(N), then scale by either 2.0, or
198 double scale = op_counts_.erase_ops_ ? 2.0 : one_over_log2_phi; local
200 max_depth = static_cast<uint64_t>(log2N * scale) + 1;
/fuchsia/zircon/system/uapp/gfxlatency/
H A Dmain.cpp128 static double scale(double z, uint32_t screen_dim, uint32_t rpt_dim) { function
315 (float)scale(report->fingers[c].x, width, PARADISE_X_MAX);
317 (float)scale(report->fingers[c].y, height, PARADISE_Y_MAX);
332 (float)scale(report->fingers[c].x, width, PARADISE_X_MAX);
334 (float)scale(report->fingers[c].y, height, PARADISE_Y_MAX);
345 pen->x = (float)scale(report->x, width, PARADISE_STYLUS_X_MAX);
346 pen->y = (float)scale(report->y, height, PARADISE_STYLUS_Y_MAX);
702 " --slow-down-scale-factor=NUM\tUpdate each line multiple times "
749 } else if (strstr(arg, "--slow-down-scale-factor") == arg) {
/fuchsia/zircon/third_party/ulib/jemalloc/bin/
H A Djeprof.in229 --scale=<n> Set GV scaling [default=0]
415 "scale=i" => \$main::opt_scale,
756 system(ShellEscape(@GV, "--scale=$main::opt_scale", "--noantialias", $fname)
760 print STDERR ShellEscape(@GV, "-scale", $main::opt_scale) . "\n";
761 system(ShellEscape(@GV, "-scale", "$main::opt_scale", $fname) . $bg);
2457 // Compute new scale matrix in current mouse position
2458 var k = root.createSVGMatrix().translate(p.x, p.y).scale(z).translate(-p.x, -p.y);

Completed in 131 milliseconds