/aosp_15_r20/external/openscreen/util/ |
H A D | integer_division_unittest.cc | 20 void TestRangeAboutZero(int denom, in TestRangeAboutZero() 42 for (int denom : kDenominators) { in TEST() local 49 for (int denom : kDenominators) { in TEST() local 57 for (int denom = 1; denom <= 6; ++denom) { in TEST() local 66 for (int denom : kDenominators) { in TEST() local 74 for (int denom : kDenominators) { in TEST() local 83 for (int denom = 1; denom <= 6; ++denom) { in TEST() local
|
H A D | integer_division.h | 18 constexpr auto DivideRoundingUp(Integer num, Integer denom) { in DivideRoundingUp() 33 constexpr Integer DividePositivesRoundingUp(Integer num, Integer denom) { in DividePositivesRoundingUp() 45 constexpr auto DivideRoundingNearest(Integer num, Integer denom) { in DivideRoundingNearest() 60 constexpr Integer DividePositivesRoundingNearest(Integer num, Integer denom) { in DividePositivesRoundingNearest()
|
/aosp_15_r20/external/libyuv/unit_test/ |
H A D | scale_uv_test.cc | 94 #define DX(x, nom, denom) static_cast<int>((Abs(x) / nom) * nom) argument 95 #define SX(x, nom, denom) static_cast<int>((x / nom) * denom) argument 97 #define TEST_FACTOR1(name, filter, nom, denom) \ argument 109 #define TEST_FACTOR(name, nom, denom) \ argument 116 #define TEST_FACTOR(name, nom, denom) TEST_FACTOR1(name, Bilinear, nom, denom) argument
|
H A D | scale_rgb_test.cc | 121 #define DX(x, nom, denom) static_cast<int>((Abs(x) / nom) * nom) argument 122 #define SX(x, nom, denom) static_cast<int>((x / nom) * denom) argument 124 #define TEST_FACTOR1(name, filter, nom, denom, max_diff) \ argument 137 #define TEST_FACTOR(name, nom, denom) \ argument 144 #define TEST_FACTOR(name, nom, denom) \ argument
|
H A D | scale_argb_test.cc | 238 #define DX(x, nom, denom) static_cast<int>((Abs(x) / nom) * nom) argument 239 #define SX(x, nom, denom) static_cast<int>((x / nom) * denom) argument 241 #define TEST_FACTOR1(DISABLED_, name, filter, nom, denom, max_diff) \ argument 261 #define TEST_FACTOR(name, nom, denom) \ argument 268 #define TEST_FACTOR(name, nom, denom) \ argument 274 #define TEST_FACTOR(name, nom, denom) \ argument
|
H A D | scale_plane_test.cc | 237 #define DX(x, nom, denom) static_cast<int>(((Abs(x) / nom + 1) / 2) * nom * 2) argument 238 #define SX(x, nom, denom) static_cast<int>(((x / nom + 1) / 2) * denom * 2) argument 240 #define TEST_FACTOR1(name, filter, nom, denom, max_diff) \ argument 252 #define TEST_FACTOR(name, nom, denom, boxdiff) \ argument
|
H A D | scale_test.cc | 849 #define DX(x, nom, denom) static_cast<int>(((Abs(x) / nom + 1) / 2) * nom * 2) argument 850 #define SX(x, nom, denom) static_cast<int>(((x / nom + 1) / 2) * denom * 2) argument 852 #define TEST_FACTOR1(DISABLED_, name, filter, nom, denom, max_diff) \ argument 897 #define TEST_FACTOR(name, nom, denom, boxdiff) \ argument 904 #define TEST_FACTOR(name, nom, denom, boxdiff) \ argument 910 #define TEST_FACTOR(name, nom, denom, boxdiff) \ argument
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_idiv.c | 32 emit_udiv(nir_builder *bld, nir_def *numer, nir_def *denom, bool modulo) in emit_udiv() 69 emit_idiv(nir_builder *bld, nir_def *numer, nir_def *denom, nir_op op) in emit_idiv() 98 nir_def *numer, nir_def *denom, in convert_instr_small() 143 nir_def *denom = nir_ssa_for_alu_src(b, alu, 1); in lower_idiv() local
|
/aosp_15_r20/external/skia/src/core/ |
H A D | SkYUVMath.cpp | 550 const float denom = static_cast<float>((1 << c.bits) - 1); in make_rgb_to_yuv_matrix_ycbcr() local 576 const float denom = static_cast<float>((1 << bits) - 1); in make_rgb_to_yuv_matrix_ydzdx() local 603 const float denom = static_cast<float>((1 << bits) - 1); in make_rgb_to_yuv_matrix_gbr() local 628 const float denom = static_cast<float>((1 << bits) - 1); in make_rgb_to_yuv_matrix_ycgco() local
|
H A D | SkMatrix.cpp | 1350 float denom = sk_ieee_float_divide(x1 * y2, x2) - y1; in Poly4Proc() local 1356 float denom = x1 - sk_ieee_float_divide(y1 * x2, y2); in Poly4Proc() local 1365 float denom = y2 - sk_ieee_float_divide(x2 * y1, x1); in Poly4Proc() local 1371 float denom = sk_ieee_float_divide(y2 * x1, y1) - x2; in Poly4Proc() local 1827 double denom = 1.0 / xyw.fZ; // 1/w in DifferentialAreaScale() local 1865 double denom = 1.0 / xyw[0].fZ; // 1/w in NearlyAffine() local
|
/aosp_15_r20/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
H A D | PinnedStackTests.java | 607 private void testEnterPipAspectRatio(int num, int denom) { in testEnterPipAspectRatio() 633 private void testResizePipAspectRatio(int num, int denom) { in testResizePipAspectRatio() 660 private void testEnterPipExtremeAspectRatio(int num, int denom) { in testEnterPipExtremeAspectRatio() 684 private void testSetPipExtremeAspectRatio(int num, int denom) { in testSetPipExtremeAspectRatio() 2032 private void assertValidAspectRatio(int num, int denom) { in assertValidAspectRatio() 2139 private void waitForValidAspectRatio(int num, int denom) { in waitForValidAspectRatio()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/ |
H A D | Distributions.h | 314 accscalar_t denom = alpha; in standard_gamma_grad_one() local 340 const auto denom = 1244160 * (alpha * alpha) * (alpha * alpha); in standard_gamma_grad_one() local 343 const auto denom = compat_sqrt(8 * alpha); in standard_gamma_grad_one() local 387 const scalar_t denom = alpha + casted_i; in _beta_grad_alpha_small() local
|
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/linalg/ |
H A D | tridiagonal_solve_op.cc | 240 Scalar denom = diag(0); in SolveWithGaussianEliminationWithPivotingAndPerturbSingular() local 315 Scalar denom = u(n - 1, 0); in SolveWithGaussianEliminationWithPivotingAndPerturbSingular() local 418 auto denom = diag(i) - subdiag(i) * u(i - 1); in SolveWithThomasAlgorithm() local
|
/aosp_15_r20/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | cpuMath.c | 59 uint64_t cpuMathRecipAssistedUdiv64by64(uint64_t num, uint64_t denom, uint64_t denomRecip) in cpuMathRecipAssistedUdiv64by64() 64 uint64_t cpuMathRecipAssistedUdiv64by32(uint64_t num, uint32_t denom, uint64_t denomRecip) in cpuMathRecipAssistedUdiv64by32()
|
/aosp_15_r20/external/webrtc/modules/video_coding/utility/ |
H A D | frame_dropper.cc | 186 float denom = 1.0f - drop_ratio_.filtered(); in DropFrame() local 216 float denom = drop_ratio_.filtered(); in DropFrame() local
|
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/functional/ |
H A D | normalization.h | 21 auto denom = input.norm(p, dim, true).clamp_min(eps).expand_as(input); in normalize() local 24 auto denom = input.norm(p, dim, true).clamp_min(eps).expand_as(input); in normalize() local
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/transformers/cuda/mem_eff_attention/epilogue/ |
H A D | epilogue_rescale_output.h | 149 ElementCompute denom = s_prime_[row] == 0 ? 1 : s_prime_[row]; in operator() local 182 ElementCompute denom = s_prime_[row] == 0 ? 1 : s_prime_[row]; in operator() local
|
/aosp_15_r20/external/webrtc/modules/audio_processing/ns/ |
H A D | noise_estimator.cc | 87 float denom = sum_log_i_square * (kFftSizeBy2Plus1 - kStartBand) - in PreUpdate() local 132 float denom = PowApproximation(use_band, parametric_exp); in PreUpdate() local
|
/aosp_15_r20/external/executorch/kernels/portable/cpu/ |
H A D | op_var.cpp | 89 const size_t denom = unbiased ? num - 1 : num; in var_out() local 136 const double denom = num - correction_val; in var_correction_out() local
|
/aosp_15_r20/external/aac/libFDK/src/ |
H A D | fixpoint_math.cpp | 481 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom) { in fDivNorm() 502 FIXP_DBL fDivNormSigned(FIXP_DBL num, FIXP_DBL denom) { in fDivNormSigned() 566 FIXP_DBL fDivNormHighPrec(FIXP_DBL num, FIXP_DBL denom, INT *result_e) { in fDivNormHighPrec()
|
/aosp_15_r20/external/skia/src/pathops/ |
H A D | SkPathOpsLine.cpp | 43 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay in nearPoint() local 73 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay in nearRay() local
|
H A D | SkDLineIntersection.cpp | 56 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX; in intersectRay() local 125 double denom = axByLen - ayBxLen; in intersect() local
|
/aosp_15_r20/external/skia/src/codec/ |
H A D | SkJpegCodec.cpp | 221 void calc_output_dimensions(jpeg_decompress_struct* dinfo, unsigned int num, unsigned int denom) { in calc_output_dimensions() 235 unsigned int denom = 8; in onGetScaledDimensions() local 377 const unsigned int denom = 8; in onDimensionsSupported() local
|
/aosp_15_r20/external/skia/tests/ |
H A D | MathTest.cpp | 568 SkFixed denom = rand.nextS(); in DEF_TEST() local 638 T denom; in test_divmod() member 652 const T denom = kEdgeCases[i].denom; in test_divmod() local 662 T denom = 0; in test_divmod() local
|
/aosp_15_r20/external/skia/include/private/base/ |
H A D | SkFloatingPoint.h | 161 static constexpr float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() 166 static constexpr double sk_ieee_double_divide(double numer, double denom) { in sk_ieee_double_divide()
|