/third_party/typescript/tests/baselines/reference/ |
H A D | jsFunctionWithPrototypeNoErrorTruncationNoCrash.js | 7 lighten: function (ratio) {return this;}, 8 darken: function (ratio) {return this;}, 9 saturate: function (ratio) {return this;}, 10 desaturate: function (ratio) {return this;}, 11 whiten: function (ratio) {return this;}, 12 blacken: function (ratio) {return this;}, 14 clearer: function (ratio) {return this;}, 25 lighten: function (ratio) { return this; },
26 darken: function (ratio) { return this; },
27 saturate: function (ratio) { retur [all...] |
/third_party/pulseaudio/src/pulsecore/resampler/ |
H A D | soxr.c | 68 double ratio; in resampler_soxr_reset() local 74 ratio = (double)r->i_ss.rate / (double)r->o_ss.rate; in resampler_soxr_reset() 75 soxr_set_io_ratio(r->impl.data, ratio, 0); in resampler_soxr_reset() 97 double ratio; in resampler_soxr_update_rates() local 101 ratio = (double)r->i_ss.rate / (double)r->o_ss.rate; in resampler_soxr_update_rates() 102 soxr_set_io_ratio(r->impl.data, ratio, 0); in resampler_soxr_update_rates() 113 double ratio; in pa_resampler_soxr_init() local 150 /* Maximum resample ratio is 100:1 */ in pa_resampler_soxr_init() 157 ratio = (double)r->i_ss.rate / (double)r->o_ss.rate; in pa_resampler_soxr_init() 158 soxr_set_io_ratio(state, ratio, in pa_resampler_soxr_init() [all...] |
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/ |
H A D | MultiChannelResampler.cpp | 36 // Reduce sample rates to the smallest ratio. in MultiChannelResampler() 38 IntegerRatio ratio(builder.getInputRate(), builder.getOutputRate()); in MultiChannelResampler() 39 ratio.reduce(); in MultiChannelResampler() 40 mNumerator = ratio.getNumerator(); in MultiChannelResampler() 41 mDenominator = ratio.getDenominator(); in MultiChannelResampler() 86 IntegerRatio ratio(getInputRate(), getOutputRate()); in build() 87 ratio.reduce(); in build() 88 bool usePolyphase = (getNumTaps() * ratio.getDenominator()) <= kMaxCoefficients; in build()
|
/third_party/lame/libmp3lame/ |
H A D | quantize.h | 26 const FLOAT ms_ratio[2], const III_psy_ratio ratio[2][2]); 29 const FLOAT ms_ratio[2], const III_psy_ratio ratio[2][2]); 32 const FLOAT ms_ratio[2], const III_psy_ratio ratio[2][2]); 35 const FLOAT ms_ratio[2], const III_psy_ratio ratio[2][2]);
|
H A D | psymodel.h | 28 III_psy_ratio ratio[2][2], 34 III_psy_ratio ratio[2][2],
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Chrono.h | 103 template <> struct unit<std::ratio<3600>> { static const char value[]; }; 104 template <> struct unit<std::ratio<60>> { static const char value[]; }; 105 template <> struct unit<std::ratio<1>> { static const char value[]; }; 134 return {getAs<std::ratio<1>>(D), "s"}; in consumeUnit() 136 return {getAs<std::ratio<60>>(D), "m"}; in consumeUnit() 138 return {getAs<std::ratio<3600>>(D), "h"}; in consumeUnit()
|
/third_party/icu/icu4j/perf-tests/perldriver/ |
H A D | Output.pm | 116 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n"; 117 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 129 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n"; 130 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 364 my $ratio = $baseLinePO->subtract($perOperation); 365 $ratio = $ratio->divide($perOperation); 366 outputDist($ratio, " [all...] |
/third_party/icu/icu4c/source/test/perf/perldriver/ |
H A D | Output.pm | 118 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_op_$i\">ratio $i<br>/op</a></th>\n"; 119 printLeg("<a name=\"mean_op_$i\">ratio $i /op</a> - ratio and error of per $operationIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 131 print HTML "<th class=\"source\" colspan=2><a href=\"#mean_ev_$i\">ratio $i<br>/ev</a></th>\n"; 132 printLeg("<a name=\"mean_ev_$i\">ratio $i /ev</a> - ratio and error of per $eventIs time, calculated as: (($headers[0] - $headers[$i])/$headers[$i])*100%, mean value"); 364 my $ratio = $baseLinePO->subtract($perOperation); 365 $ratio = $ratio->divide($perOperation); 366 outputDist($ratio, " [all...] |
/third_party/glfw/tests/ |
H A D | msaa.c | 181 float ratio; in main() local 187 ratio = width / (float) height; in main() 194 mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 0.f, 1.f); in main()
|
H A D | reopen.c | 200 float ratio; in main() local 205 ratio = width / (float) height; in main() 210 mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 0.f, 1.f); in main()
|
/third_party/glfw/examples/ |
H A D | offscreen.c | 80 float ratio; in main() local 137 ratio = width / (float) height; in main() 142 mat4x4_ortho(mvp, -ratio, ratio, -1.f, 1.f, 1.f, -1.f); in main()
|
H A D | triangle-opengl.c | 145 const float ratio = width / (float) height; in main() local 153 mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 1.f, -1.f); in main()
|
H A D | triangle-opengles.c | 146 const float ratio = width / (float) height; in main() local 154 mat4x4_ortho(p, -ratio, ratio, -1.f, 1.f, 1.f, -1.f); in main()
|
/third_party/backends/backend/escl/ |
H A D | escl_crop.c | 40 double ratio = 1.0; in escl_crop_surface() local 48 ratio = (double)w / (double)scanner->caps[scanner->source].width; in escl_crop_surface() 55 x_off = (int)((double)scanner->caps[scanner->source].pos_x * ratio); in escl_crop_surface() 62 y_off = (int)((double)scanner->caps[scanner->source].pos_y * ratio); in escl_crop_surface()
|
H A D | escl_jpeg.c | 195 double ratio = (double)cinfo.output_width / (double)scanner->caps[scanner->source].width; in get_JPEG_data() local 196 int rw = (int)((double)scanner->caps[scanner->source].width * ratio); in get_JPEG_data() 197 int rh = (int)((double)scanner->caps[scanner->source].height * ratio); in get_JPEG_data() 198 int rx = (int)((double)scanner->caps[scanner->source].pos_x * ratio); in get_JPEG_data() 199 int ry = (int)((double)scanner->caps[scanner->source].pos_y * ratio); in get_JPEG_data()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 2-2.c | 88 float ratio; in main() local 186 ratio = (float)count / (float)child_count; in main() 188 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { in main() 191 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) { in main()
|
H A D | 2-1.c | 88 float ratio; in main() local 183 ratio = (float)count / (float)child_count; in main() 185 if (child_count == 0 || ratio >= ACCEPTABLE_RATIO) { in main() 188 } else if (ratio <= (1 / ACCEPTABLE_RATIO)) { in main()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_sidechaincompress.c | 49 double ratio; member 82 { "ratio", "set ratio", OFFSET(ratio), AV_OPT_TYPE_DOUBLE, {.dbl=2}, 1, 20, A|F|R }, 108 static double output_gain(double lin_slope, double ratio, double thres, in output_gain() argument 121 if (IS_FAKE_INFINITY(ratio)) { in output_gain() 125 gain = (slope - thres) / ratio + thres; in output_gain() 126 delta = 1.0 / ratio; in output_gain() 156 s->compressed_knee_start = (s->knee_start - s->thres) / s->ratio + s->thres; in compressor_config_output() 157 s->compressed_knee_stop = (s->knee_stop - s->thres) / s->ratio in compressor_config_output() [all...] |
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
H A D | TorusLightingES1.cpp | 51 float ratio = static_cast<float>(getWindow()->getWidth()) / variable 54 glFrustumf(-ratio, ratio, -1, 1, 1.0f, 20.0f);
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | mongo_compare.c | 51 float n1, n2, ratio; in main() local 184 ratio = n1 / n2; in main() 186 name_str1, n1, n2, ratio); in main() 190 name_str1, n1, n2, ratio); in main()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | rescaler_utils.c | 62 const uint64_t ratio = num / den; in WebPRescalerInit() local 63 if (ratio != (uint32_t)ratio) { in WebPRescalerInit() 64 // When ratio == WEBP_RESCALER_ONE, we can't represent the ratio with the in WebPRescalerInit() 70 rescaler->fxy_scale = (uint32_t)ratio; in WebPRescalerInit() 95 // if width is unspecified, scale original proportionally to height ratio. in WebPRescalerGetScaledDimensions() 100 // if height is unspecified, scale original proportionally to width ratio. in WebPRescalerGetScaledDimensions()
|
/third_party/littlefs/scripts/ |
H A D | coverage.py | 222 ratio): 233 ' (%+.1f%%)' % (100*ratio) if ratio else '')) 251 diff_hits, diff_count, ratio) in sorted_diff_entries( 253 if ratio or args.get('all'): 258 ratio) 264 ratio = ((total_hits/total_count 272 ratio)
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Device.cpp | 980 float ratio = static_cast<float>(dstRect.width()) / srcRect.width(); in ClipSrcRect() local 981 float offsetf = roundf((static_cast<float>(clipRect.x0) - srcRect.x0) * ratio); in ClipSrcRect() 982 if (!FloatFitsInInt(offsetf) || !std::isfinite(ratio)) in ClipSrcRect() 995 srcRect.x0 += offsetf / ratio; in ClipSrcRect() 999 float ratio = static_cast<float>(dstRect.width()) / srcRect.width(); in ClipSrcRect() local 1000 float offsetf = roundf((srcRect.x1 - static_cast<float>(clipRect.x1)) * ratio); in ClipSrcRect() 1001 if (!FloatFitsInInt(offsetf) || !std::isfinite(ratio)) in ClipSrcRect() 1014 srcRect.x1 -= offsetf / ratio; in ClipSrcRect() 1018 float ratio = static_cast<float>(dstRect.height()) / srcRect.height(); in ClipSrcRect() local 1019 float offsetf = roundf((static_cast<float>(clipRect.y0) - srcRect.y0) * ratio); in ClipSrcRect() 1037 float ratio = static_cast<float>(dstRect.height()) / srcRect.height(); ClipSrcRect() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Chrono.cpp | 18 const char llvm::detail::unit<std::ratio<3600>>::value[] = "h"; 19 const char llvm::detail::unit<std::ratio<60>>::value[] = "m"; 20 const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
|
/third_party/skia/bin/ |
H A D | compare | 61 for ratio, p, key, am, bm, asem, bsem in ps: 63 str_ratio = ('%.2gx' if ratio < 1 else '%.3gx') % ratio
|