HomeSort by relevance Sort by last modified time
    Searched defs:quotient (Results 1 - 16 of 16) sorted by null

  /frameworks/base/media/libstagefright/codecs/aacdec/
pv_div.h 62 Int32 quotient; member in struct:intg_div
65 typedef struct intg_div Quotient;
68 void pv_div(Int32 x, Int32 y, Quotient *quotient);
pv_div.cpp 34 Quotient *result structure that hold result and shift factor
40 Implement division of two Int32 numbers, provides back quotient and a
104 void pv_div(Int32 x, Int32 y, Quotient *result)
109 Int32 quotient; local
167 quotient = (0x40000000 / (y >> 15));
169 y_ov_y_hi = fxp_mul32_Q15(y, quotient); /* y*(1/y_hi) */
172 y_ov_y_hi = fxp_mul32_Q14(quotient, y_ov_y_hi);
175 result->quotient = flag ? -i : i;
179 result->quotient = 0;
sbr_aliasing_reduction.cpp 169 struct intg_div quotient; local
265 pv_div(ref_total_man, est_total, &quotient);
267 tmp_q2 += - tmp_q1 - quotient.shift_factor - 2;
292 tmp_q3 = fxp_mul32_Q30(alpha, quotient.quotient);
336 pv_div(ref_total_man, bst_man, &quotient);
337 bst_exp = ref_total_exp - bst_exp - quotient.shift_factor - 30;
338 bst_man = quotient.quotient; /* Q30 */
sbr_generate_high_freq.cpp 489 struct intg_div quotient; local
513 pv_div(ac.r01r, ac.r11r, &quotient);
515 fac = -(quotient.quotient >> 2); /* Q28 */
517 if (quotient.shift_factor > 0)
519 fac >>= quotient.shift_factor; /* Q28 */
521 else if (quotient.shift_factor < 0)
523 if (quotient.shift_factor > -4) /* |fac| < 8 */
525 fac <<= (-quotient.shift_factor); /* Q28 */
536 if (quotient.shift_factor > 0
810 struct intg_div quotient; local
    [all...]
calc_sbr_envelope.cpp 262 struct intg_div quotient; local
503 pv_div(nL_man[aux1], nL_man[aux1] + (0x3FFFFFFF >> tmp_q1), &quotient);
508 pv_div(tmp_q1, tmp_q1 + 0x3FFFFFFF, &quotient);
515 tmp_q1 = fxp_mul32_Q30(quotient.quotient >> quotient.shift_factor, nrg_ref_man[c]);
526 pv_div(tmp_q1, nrg_est_man[c] + 1, &quotient);
528 * nrg_est_man[c] is an integer number, while tmp_q1 and quotient.quotient
532 tmp_q2 = nrg_ref_exp[c] - nrg_est_exp[c] - quotient.shift_factor - 30
    [all...]
  /external/v8/test/mjsunit/
top-level-assignments.js 90 Calculator.prototype.quotient = function() { return this.x / this.y; };
96 assertEquals(2, calc.quotient());
  /external/icu4c/i18n/
gregoimp.cpp 34 double quotient; local
35 quotient = uprv_floor(numerator / denominator);
36 remainder = (int32_t) (numerator - (quotient * denominator));
37 return (int32_t) quotient;
44 double quotient = floorDivide(dividend, divisor); local
45 remainder = dividend - (quotient * divisor);
47 // is a bug such that the quotient is off by one. If you doubt
53 double q = quotient;
54 quotient += (remainder < 0) ? -1 : +1;
55 if (q == quotient) {
    [all...]
  /libcore/luni/src/main/java/java/util/
Grego.java 194 long quotient = ((numerator + 1) / denominator) - 1; local
195 remainder[0] = numerator - (quotient * denominator);
196 return quotient;
  /external/v8/src/
fixed-dtoa.cc 335 // The quotient delivers the first digits, and the remainder fits into a 64
342 uint32_t quotient; local
345 // Then need q (quotient) and r (remainder) as follows:
356 quotient = static_cast<uint32_t>(dividend / divisor);
360 quotient = static_cast<uint32_t>(dividend / divisor);
363 FillDigits32(quotient, buffer, length);
  /external/quake/quake/src/QW/client/
d_polyse.c 97 int quotient; member in struct:__anon10194
508 ubasestep = ptemp->quotient;
  /external/quake/quake/src/WinQuake/
d_polyse.cpp 97 int quotient; member in struct:__anon10477
508 ubasestep = ptemp->quotient;
  /external/webkit/Source/JavaScriptCore/wtf/
DateMath.cpp 380 int quotient = difference / 28; local
381 int product = (quotient) * 28;
    [all...]
  /libcore/luni/src/main/java/java/math/
BigInt.java 339 BigInt quotient, BigInt remainder) {
341 if (quotient != null) {
342 quotient.makeValid();
343 quot = quotient.bignum;
BigInteger.java 888 BigInt quotient = new BigInt(); local
890 BigInt.division(getBigInt(), divisorBigInt, quotient, remainder); local
891 return new BigInteger[] {new BigInteger(quotient), new BigInteger(remainder) };
903 BigInt quotient = new BigInt(); local
904 BigInt.division(getBigInt(), divisor.getBigInt(), quotient, null); local
905 return new BigInteger(quotient);
    [all...]
BigDecimal.java 1111 BigInteger quotient = quotAndRem[0]; local
1144 long quotient = scaledDividend \/ scaledDivisor; local
    [all...]
  /external/v8/src/arm/
lithium-codegen-arm.cc 867 DwVfpRegister quotient = double_scratch0(); local
872 ASSERT(!dividend.is(quotient));
873 ASSERT(!divisor.is(quotient));
940 // Compute the quotient and round it to a 32bit integer.
941 __ vdiv(quotient, dividend, divisor);
942 __ vcvt_s32_f64(quotient.low(), quotient);
943 __ vcvt_f64_s32(quotient, quotient.low());
947 __ vmul(double_scratch, divisor, quotient);
    [all...]

Completed in 1206 milliseconds