Searched refs:correction (Results 1 - 25 of 42) sorted by relevance

12

/external/compiler-rt/lib/builtins/
H A Ddivsf3.c93 uint32_t correction; local
94 correction = -((uint64_t)reciprocal * q31b >> 32);
95 reciprocal = (uint64_t)reciprocal * correction >> 31;
96 correction = -((uint64_t)reciprocal * q31b >> 32);
97 reciprocal = (uint64_t)reciprocal * correction >> 31;
98 correction = -((uint64_t)reciprocal * q31b >> 32);
99 reciprocal = (uint64_t)reciprocal * correction >> 31;
H A Ddivdf3.c110 uint64_t correction, reciprocal; local
111 correction = -((uint64_t)recip32*q31b + ((uint64_t)recip32*q63blo >> 32));
112 uint32_t cHi = correction >> 32;
113 uint32_t cLo = correction;
H A Ddivtf3.c112 rep_t correction, reciprocal; local
120 correction = -(r64q63 + (r64q127 >> 64));
122 uint64_t cHi = correction >> 64;
123 uint64_t cLo = correction;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DMean.java162 // Compute correction factor in second pass
163 double correction = 0;
165 correction += values[i] - xbar;
167 return xbar + (correction/sampleSize);
181 * estimate and the correction factor.</p>
210 // Compute correction factor in second pass
211 double correction = 0;
213 correction += weights[i] * (values[i] - xbarw);
215 return xbarw + (correction/sumw);
227 * estimate and the correction facto
[all...]
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
H A DUsageTypeTest.java64 int correction = 0;
68 refIndexes.put(refId, m.start() - correction);
69 correction += m.end() - m.start();
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
H A DRiddersSolver.java203 final double correction = (MathUtils.sign(y2) * MathUtils.sign(y3)) *
205 final double x = x3 - correction; // correction != 0
221 if (correction > 0.0) { // x1 < x < x3
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DGrego.java142 int correction = 0;
145 correction = isLeap ? 1 : 2;
147 int month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp122 int32_t correction = 0; local
125 correction = isLeap ? 1 : 2;
127 month = (12 * (doy + correction) + 6) / 367; // zero-based month
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DGrego.java140 int correction = 0;
143 correction = isLeap ? 1 : 2;
145 int month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
/external/lz4/lib/
H A Dlz4hc.c386 int correction; local
390 correction = new_ml - (int)(start2 - ip);
391 if (correction > 0) {
392 start2 += correction;
393 ref2 += correction;
394 ml2 -= correction;
416 int correction = (int)(ip+ml - start2); local
417 start2 += correction;
418 ref2 += correction;
419 ml2 -= correction;
450 int correction; local
[all...]
/external/webp/src/dsp/
H A Dlossless_enc_mips32.c29 uint32_t log_cnt, y, correction; local
50 // The correction factor: log(1 + d) ~ d; for very small d values, so
55 correction = (23 * (v & (y - 1))) >> 4;
56 return v_f * (kLog2Table[temp] + log_cnt) + correction;
83 // Since the division is still expensive, add this correction factor only
86 const uint32_t correction = (23 * (v & (y - 1))) >> 4; local
87 log_2 += (double)correction / v;
H A Dlossless_enc.c333 int correction = 0; local
344 // The correction factor: log(1 + d) ~ d; for very small d values, so
347 correction = (23 * (orig_v & (y - 1))) >> 4;
348 return v_f * (kLog2Table[v] + log_cnt) + correction;
368 // Since the division is still expensive, add this correction factor only
370 const int correction = (23 * (orig_v & (y - 1))) >> 4; local
371 log_2 += (double)correction / orig_v;
/external/libopus/celt/
H A Dentcode.c70 static const unsigned correction[8] = local
81 b += r>correction[b];
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_lighttmp.h114 GLfloat correction; local
169 correction = -1;
180 correction = 1;
206 n_dot_h = correction * DOT3(normal, h);
293 GLfloat correction; local
348 correction = -1;
359 correction = 1;
386 n_dot_h = correction * DOT3(normal, h);
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H A DChangeTimeScaleTrack.java171 long correction = syncSampleTimes[ssIndex] - (summedDurations + x);
172 LOG.finest(String.format("Sample %d %d / %d - correct by %d", i, summedDurations, syncSampleTimes[ssIndex], correction));
173 x += correction;
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Ddelay_manager.cc174 // longer sum up to 1 (in Q30) after the update. To correct this, a correction
206 int correction = flip_sign * std::min(abs(vector_sum), (*it) >> 4);
207 *it += correction;
208 vector_sum += correction;
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DGregorianCalendar.java760 int correction = 0;
763 correction = isLeap ? 1 : 2;
765 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DGregorianCalendar.java785 int correction = 0;
788 correction = isLeap ? 1 : 2;
790 month = (12 * (dayOfYear + correction) + 6) / 367; // zero-based month
/external/skia/src/gpu/ops/
H A DGrAtlasTextOp.cpp255 float correction = 0; local
258 correction = fDistanceAdjustTable->getAdjustment(lum >> kDistanceAdjustLumShift,
262 correction, flags, this->usesLocalCoords());
/external/harfbuzz_ng/src/
H A Dhb-ot-shape-fallback.cc291 unsigned int correction = -pos.y_offset / 2; local
292 base_extents.y_bearing += correction;
293 base_extents.height -= correction;
294 pos.y_offset += correction;
/external/webp/src/utils/
H A Dquant_levels_dec_utils.c136 const int16_t* const correction = p->correction_; local
145 const int c = (v << DFIX) + correction[average[x] - (v << LFIX)];
157 // Initialize correction table
160 // The correction curve is:
250 // correction table
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
H A DLevenbergMarquardtEstimator.java619 // compute the Newton correction
637 double correction = fp / (delta * sum2);
647 lmPar = FastMath.max(parl, lmPar + correction);
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DLevenbergMarquardtOptimizer.java620 // compute the Newton correction
638 double correction = fp / (delta * sum2);
648 lmPar = FastMath.max(parl, lmPar + correction);
/external/pdfium/third_party/libopenjpeg20/
H A Dmqc.c474 OPJ_UINT32 correction = 1; local
486 return correction;
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DElemNumber.java1651 int lookupIndex = 1; // start off with anything other than zero to make correction work
1669 // J, lookupIndex is zero. We now compute a correction number of 9 (radix-1).
1670 // In the following line, we'll compute (val+correction) % radix, which is,
1674 // it can represent either 10 or zero). In summary, the correction value of
1677 long correction = 0;
1683 // most of the correction calculation is explained above, the reason for the
1686 correction =
1687 ((lookupIndex == 0) || (correction != 0 && lookupIndex == radix - 1))
1691 lookupIndex = (int)(val + correction) % radix;
1733 int lookupIndex = 1; // start off with anything other than zero to make correction wor
[all...]

Completed in 1365 milliseconds

12