Searched defs:delta (Results 251 - 275 of 809) sorted by relevance

<<11121314151617181920>>

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
H A DRbnfDemo.java385 void roll(int delta) { argument
386 theNumber += delta;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DDecimalQuantity.java80 * this method with delta=-3 will change the value to "1.23456".
82 * @param delta The number of magnitudes of ten to change by.
84 public void adjustMagnitude(int delta); argument
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DAnyTransliterator.java111 int delta = pos.limit - limit;
112 allLimit += delta;
113 it.adjustLimit(delta);
395 * given delta. A positive delta means the limit has increased.
397 public void adjustLimit(int delta) { argument
398 limit += delta;
399 textLimit += delta;
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCounter.java180 public Counter<T> addAll(Collection<T> keys, int delta) { argument
182 add(key, delta);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DCompatibilityTest.java203 long delta = calMillis - millis;
210 " (" + ((float)delta/ONE_DAY) + " day delta) => " +
212 if (delta != 0 || year != year2 || month != month2 ||
224 delta = calMillis - millis;
231 " (" + ((float)delta/ONE_DAY) + " day delta) => " +
233 if (delta != 0 || year != year2 || month != month2 ||
1030 // Supply a delta which is not a multiple of 7.
1031 void marchByDelta(Calendar cal, int delta) { argument
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DPunycodeReference.java121 private static int adapt(int delta, int numpoints, boolean firsttime ){ argument
124 delta = (firsttime==true) ? delta / damp : delta >> 1;
125 /* delta >> 1 is a faster way of doing delta / 2 */
126 delta += delta / numpoints;
128 for (k = 0; delta > ((base - tmin) * tmax) / 2; k += base) {
129 delta /
[all...]
/external/junit/src/main/java/org/junit/
H A DAssert.java215 * Asserts that two doubles are <b>not</b> equal to within a positive delta.
217 * message. If the unexpected value is infinity then the delta value is
225 * @param delta the maximum delta between <code>unexpected</code> and
230 double actual, double delta) {
231 if (!doubleIsDifferent(unexpected, actual, delta)) {
237 * Asserts that two doubles are <b>not</b> equal to within a positive delta.
239 * value is infinity then the delta value is ignored.NaNs are considered
244 * @param delta the maximum delta betwee
229 assertNotEquals(String message, double unexpected, double actual, double delta) argument
248 assertNotEquals(double unexpected, double actual, double delta) argument
264 assertNotEquals(float unexpected, float actual, float delta) argument
467 assertArrayEquals(String message, double[] expecteds, double[] actuals, double delta) argument
482 assertArrayEquals(double[] expecteds, double[] actuals, double delta) argument
498 assertArrayEquals(String message, float[] expecteds, float[] actuals, float delta) argument
513 assertArrayEquals(float[] expecteds, float[] actuals, float delta) argument
550 assertEquals(String message, double expected, double actual, double delta) argument
572 assertEquals(String message, float expected, float actual, float delta) argument
594 assertNotEquals(String message, float unexpected, float actual, float delta) argument
601 doubleIsDifferent(double d1, double d2, double delta) argument
612 floatIsDifferent(float f1, float f2, float delta) argument
682 assertEquals(double expected, double actual, double delta) argument
699 assertEquals(float expected, float actual, float delta) argument
[all...]
/external/libchrome/base/test/
H A Dtest_mock_time_task_runner.cc159 void TestMockTimeTaskRunner::FastForwardBy(TimeDelta delta) { argument
161 DCHECK_GE(delta, TimeDelta());
164 ProcessAllTasksNoLaterThan(delta);
165 ForwardClocksUntilTickTime(original_now_ticks + delta);
/external/libchrome/base/time/
H A Dtime.cc99 int64_t SaturatedAdd(TimeDelta delta, int64_t value) { argument
100 CheckedNumeric<int64_t> rv(delta.delta_);
110 int64_t SaturatedSub(TimeDelta delta, int64_t value) { argument
111 CheckedNumeric<int64_t> rv(delta.delta_);
/external/libhevc/common/
H A Dihevc_deblk_edge_filter.c115 WORD32 delta, delta_p, delta_q; local
238 delta = (9 * (pu1_src[0] - pu1_src[-1]) -
240 if(ABS(delta) < 10 * tc)
242 delta = CLIP3(delta, -tc, tc);
244 tmp_p0 = CLIP_U8(pu1_src[-1] + delta);
245 tmp_q0 = CLIP_U8(pu1_src[0] - delta);
250 - pu1_src[-2] + delta) >> 1,
259 - pu1_src[1] - delta) >> 1,
352 WORD32 delta, delta_ local
729 WORD32 delta, tmp_p0, tmp_q0; local
[all...]
/external/libmicrohttpd/src/microhttpd/
H A Dtest_postprocessor.c129 int delta; local
144 delta = 1 + MHD_random_ () % (size - i);
145 MHD_post_process (pp, &URL_DATA[i], delta);
146 i += delta;
237 int delta; local
253 delta = 1 + MHD_random_ () % (size - i);
254 MHD_post_process (pp, &FORM_DATA[i], delta);
255 i += delta;
272 int delta; local
288 delta
307 int delta; local
[all...]
/external/libopus/src/
H A Dopus.c121 float delta; local
123 delta = offset / peak_pos;
126 offset -= delta;
/external/libpng/contrib/tools/
H A DmakesRGB.c214 png_byte delta = png_sRGB_delta[ibase >> 7], trydelta = delta, od=delta; local
255 else if (trydelta > delta)
257 delta = trydelta;
260 else if (trydelta < delta)
262 delta = trydelta;
282 else if (trydelta > delta)
283 trydelta = delta-1;
284 else if (trydelta < delta)
[all...]
/external/libunwind/tests/
H A DGperf-simple.c153 double stop, start, get_cold, get_warm, init_cold, init_warm, delta; local
182 delta = (stop - start) / N;
183 if (delta < get_cold)
184 get_cold = delta;
197 delta = (stop - start) / N;
198 if (delta < init_cold)
199 init_cold = delta;
209 delta = (stop - start) / N;
210 if (delta < get_warm)
211 get_warm = delta;
[all...]
H A DGperf-trace.c139 double stop, start, get_cold, get_warm, init_cold, init_warm, delta; local
168 delta = (stop - start) / N;
169 if (delta < get_cold)
170 get_cold = delta;
183 delta = (stop - start) / N;
184 if (delta < init_cold)
185 init_cold = delta;
195 delta = (stop - start) / N;
196 if (delta < get_warm)
197 get_warm = delta;
[all...]
/external/libvpx/libvpx/vp8/encoder/arm/neon/
H A Ddenoising_neon.c156 // closer to sig. The adjustment is capped by a maximum delta, and
160 // The delta is set by the excess of absolute pixel diff over the
162 int delta = ((sum_diff - sum_diff_thresh) >> 8) + 1; local
163 // Only apply the adjustment for max delta up to 3.
164 if (delta < 4) {
165 const uint8x16_t k_delta = vmovq_n_u8(delta);
180 // Clamp absolute difference to delta to get the adjustment.
372 // closer to sig. The adjustment is capped by a maximum delta, and
376 // The delta is set by the excess of absolute pixel diff over the
378 int delta local
[all...]
/external/libvpx/libvpx/vp8/encoder/x86/
H A Ddenoising_sse2.c125 // closer to sig. The adjustment is capped by a maximum delta, and
129 // The delta is set by the excess of absolute pixel diff over the
131 int delta = ((abs_sum_diff - sum_diff_thresh) >> 8) + 1; local
132 // Only apply the adjustment for max delta up to 3.
133 if (delta < 4) {
134 const __m128i k_delta = _mm_set1_epi8(delta);
149 // Clamp absolute difference to delta to get the adjustment.
303 // closer to sig. The adjustment is capped by a maximum delta, and
307 // The delta is set by the excess of absolute pixel diff over the
309 int delta local
[all...]
/external/libvpx/libvpx/vp9/encoder/arm/neon/
H A Dvp9_denoiser_neon.c107 // Clamp absolute difference to delta to get the adjustment.
190 // closer to sig. The adjustment is capped by a maximum delta, and
194 // The delta is set by the excess of absolute pixel diff over the
196 const int delta = local
198 // Only apply the adjustment for max delta up to 3.
199 if (delta < 4) {
200 const uint8x16_t k_delta = vmovq_n_u8(delta);
291 const int delta = local
293 // Only apply the adjustment for max delta up to 3.
294 if (delta <
[all...]
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_denoiser_sse2.c102 // Clamp absolute difference to delta to get the adjustment.
173 // closer to sig. The adjustment is capped by a maximum delta, and
177 // The delta is set by the excess of absolute pixel diff over the
179 const int delta = local
181 // Only apply the adjustment for max delta up to 3.
182 if (delta < 4) {
183 const __m128i k_delta = _mm_set1_epi8(delta);
267 const int delta = local
270 // Only apply the adjustment for max delta up to 3.
271 if (delta <
[all...]
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
H A Dtimestamping.c479 struct timeval delta; local
489 delta.tv_sec = delta_us / 1000000;
490 delta.tv_usec = delta_us % 1000000;
499 res = select(sock + 1, &readfs, 0, &errorfs, &delta);
/external/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp274 << " max delta=" << MaxOffs << " from " << getInstrOffset(MI)
423 int delta = TII->GetInstSizeInBytes(MBB->back()); local
424 BlockInfo[MBB->getNumber()].Size -= delta;
/external/ltp/testcases/realtime/func/async_handler/
H A Dasync_handler_tsc.c132 long delta, max, min; local
157 delta = (long)(tsc_period * (end - start) / 1000000);
158 if (delta > 30) {
160 } else if (delta > 25) {
162 } else if (delta > 20) {
166 rec.y = delta;
169 min = max = delta;
171 min = MIN(min, delta);
172 max = MAX(max, delta);
/external/ltp/testcases/realtime/func/sched_latency/
H A Dsched_latency.c123 nsec_t next = 0, now = 0, sched_delta = 0, delta = 0, prev = local
148 printf(" scheduled delta: %8llu us\n",
150 printf(" actual delta: %8llu us\n",
151 delta / 1000);
153 (delta - sched_delta) / 1000);
167 delta = 0;
173 delta += new_now - now; /* how long we did sleep */
/external/ltp/testcases/realtime/lib/
H A Dlibstats.c124 float sd, avg, sum, delta; local
140 delta = (data->records[i].y - avg);
141 sum += delta * delta;
/external/mesa3d/src/gallium/drivers/ilo/core/
H A Dilo_state_cc.c848 struct ilo_state_cc_delta *delta)
850 delta->dirty = ILO_STATE_CC_BLEND_STATE |
854 delta->dirty |= ILO_STATE_CC_3DSTATE_WM_DEPTH_STENCIL |
857 delta->dirty |= ILO_STATE_CC_DEPTH_STENCIL_STATE;
865 struct ilo_state_cc_delta *delta)
867 delta->dirty = 0;
871 delta->dirty |= ILO_STATE_CC_3DSTATE_WM_DEPTH_STENCIL;
873 delta->dirty |= ILO_STATE_CC_DEPTH_STENCIL_STATE;
878 delta->dirty |= ILO_STATE_CC_3DSTATE_PS_BLEND;
882 delta
846 ilo_state_cc_full_delta(const struct ilo_state_cc *cc, const struct ilo_dev *dev, struct ilo_state_cc_delta *delta) argument
862 ilo_state_cc_get_delta(const struct ilo_state_cc *cc, const struct ilo_dev *dev, const struct ilo_state_cc *old, struct ilo_state_cc_delta *delta) argument
[all...]

Completed in 806 milliseconds

<<11121314151617181920>>