Home
last modified time | relevance | path

Searched refs:delta2 (Results 1 – 20 of 20) sorted by relevance

/external/iputils/
Dclockdiff.c134 long delta1, delta2; in measure() local
272 delta2 = recvtime - histime; in measure()
273 if (delta2 < BIASN) in measure()
274 delta2 += MODULO; in measure()
275 else if (delta2 > BIASP) in measure()
276 delta2 -= MODULO; in measure()
280 if (delta2 < min2) in measure()
281 min2 = delta2; in measure()
282 if (delta1 + delta2 < min_rtt) { in measure()
283 min_rtt = delta1 + delta2; in measure()
[all …]
/external/xz-java/src/org/tukaani/xz/lz/
DHC4.java106 int delta2 = lzPos - hash.getHash2Pos(); in getMatches() local
119 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches()
122 matches.dist[0] = delta2 - 1; in getMatches()
130 if (delta2 != delta3 && delta3 < cyclicSize in getMatches()
134 delta2 = delta3; in getMatches()
139 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches()
DBT4.java90 int delta2 = lzPos - hash.getHash2Pos(); in getMatches() local
101 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches()
104 matches.dist[0] = delta2 - 1; in getMatches()
112 if (delta2 != delta3 && delta3 < cyclicSize in getMatches()
116 delta2 = delta3; in getMatches()
121 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches()
/external/webrtc/rtc_base/numerics/
Drunning_statistics.h57 const double delta2 = sample - mean_; in AddSample() local
58 cumul_ += delta * delta2; in AddSample()
75 const double delta2 = sample - mean_; in RemoveSample() local
76 cumul_ -= delta * delta2; in RemoveSample()
/external/flac/src/test_streams/
Dmain.c409 const double delta2 = 2.0 * M_PI / ( sample_rate / f2); in generate_sine8_1() local
417 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_1()
436 const double delta2 = 2.0 * M_PI / ( sample_rate / f2); in generate_sine8_2() local
444 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine8_2()
467 const double delta2 = 2.0 * M_PI / ( sample_rate / f2); in generate_sine16_1() local
475 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_1()
494 const double delta2 = 2.0 * M_PI / ( sample_rate / f2); in generate_sine16_2() local
502 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine16_2()
525 const double delta2 = 2.0 * M_PI / ( sample_rate / f2); in generate_sine24_1() local
533 for(i = 0, theta1 = theta2 = 0.0; i < samples; i++, theta1 += delta1, theta2 += delta2) { in generate_sine24_1()
[all …]
/external/freetype/src/autofit/
Daflatin.c1382 FT_Pos delta2; in af_latin_metrics_scale_dim() local
1391 delta2 = delta1; in af_latin_metrics_scale_dim()
1393 delta2 = -delta2; in af_latin_metrics_scale_dim()
1395 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
1397 if ( delta2 < 32 ) in af_latin_metrics_scale_dim()
1398 delta2 = 0; in af_latin_metrics_scale_dim()
1399 else if ( delta2 < 64 ) in af_latin_metrics_scale_dim()
1400 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin_metrics_scale_dim()
1402 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1405 delta2 = -delta2; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c717 FT_Pos delta1, delta2; in af_cjk_metrics_scale_dim() local
724 delta2 = delta1; in af_cjk_metrics_scale_dim()
726 delta2 = -delta2; in af_cjk_metrics_scale_dim()
728 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
731 if ( delta2 < 32 ) in af_cjk_metrics_scale_dim()
732 delta2 = 0; in af_cjk_metrics_scale_dim()
734 else if ( delta2 < 64 ) in af_cjk_metrics_scale_dim()
735 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_cjk_metrics_scale_dim()
738 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
739 FT_TRACE5(( "/%ld\n", delta2 )); in af_cjk_metrics_scale_dim()
[all …]
Daflatin2.c657 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local
660 delta2 = delta1; in af_latin2_metrics_scale_dim()
662 delta2 = -delta2; in af_latin2_metrics_scale_dim()
664 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
666 if ( delta2 < 32 ) in af_latin2_metrics_scale_dim()
667 delta2 = 0; in af_latin2_metrics_scale_dim()
668 else if ( delta2 < 64 ) in af_latin2_metrics_scale_dim()
669 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin2_metrics_scale_dim()
671 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
674 delta2 = -delta2; in af_latin2_metrics_scale_dim()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Draw_skew.c95 long long delta1, delta2, interval, eppm, ppm; in main() local
122 delta2 = diff_timespec(mon, raw); in main()
127 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
Dadjtick.c99 long long delta1, delta2, eppm; in get_ppm_drift() local
108 delta2 = diff_timespec(raw_start, raw_end); in get_ppm_drift()
110 eppm = (delta1*MILLION)/delta2 - MILLION; in get_ppm_drift()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c47 double delta1, delta2; in Intrpol2D() local
77 delta2 = t2 / A[1][1]; in Intrpol2D()
78 delta1 = 0.5 * (t1 - delta2 * A[0][1]) / A[0][0]; in Intrpol2D()
79 delta2 *= 0.5; in Intrpol2D()
82 t1 = delta1 * delta1 + delta2 * delta2; in Intrpol2D()
85 delta2 /= t1; in Intrpol2D()
88 *peak_val = 0.5 * (b[0] * delta1 + b[1] * delta2) + c; in Intrpol2D()
91 *y += delta2; in Intrpol2D()
/external/adhd/cras/src/tests/
Dtiming_unittest.cc626 struct timespec delta2; in TEST_F() local
627 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F()
628 EXPECT_LT(4900 * 1000, delta2.tv_nsec); in TEST_F()
629 EXPECT_GT(5100 * 1000, delta2.tv_nsec); in TEST_F()
660 struct timespec delta2; in TEST_F() local
661 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F()
662 EXPECT_LT(4900 * 1000, delta2.tv_nsec); in TEST_F()
663 EXPECT_GT(5100 * 1000, delta2.tv_nsec); in TEST_F()
697 struct timespec delta2; in TEST_F() local
698 subtract_timespecs(&dev_time, &start, &delta2); in TEST_F()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestMetazoneTransitions.java121 long delta2 = date - o.date; in compareTo() local
122 return delta2 == 0 ? 0 : delta2 < 0 ? -1 : 1; in compareTo()
/external/freetype/src/pshinter/
Dpshalgo.c425 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta() local
428 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta()
431 return delta2; in psh_hint_snap_stem_side_delta()
/external/pdfium/core/fpdfapi/render/
Dcpdf_rendershading.cpp610 int Interpolate(int p1, int p2, int delta1, int delta2, bool* overflow) { in Interpolate() argument
614 p /= delta2; in Interpolate()
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py348 delta2 = x509.DeltaCRLIndicator(1)
349 assert delta1 == delta2
353 delta2 = x509.DeltaCRLIndicator(2)
354 assert delta1 != delta2
365 delta2 = x509.DeltaCRLIndicator(1)
367 assert hash(delta1) == hash(delta2)
/external/freetype/src/truetype/
Dttinterp.c6887 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6920 delta2 = SUB_LONG( cur2, org2 ); in _iup_worker_interpolate()
6935 x = ADD_LONG( x, delta2 ); in _iup_worker_interpolate()
6959 x = ADD_LONG( x, delta2 ); in _iup_worker_interpolate()
/external/python/cpython3/Doc/library/
Ddatetime.rst393 >>> delta2 = timedelta(hours=25, seconds=2)
394 >>> delta2 != delta1
396 >>> delta2 == 5
403 >>> delta2 > delta1
405 >>> delta2 > 5
/external/webp/src/dsp/
Ddec_neon.c720 const int8x16_t delta2 = vqaddq_s8(delta0, kCst3); in ApplyFilter4_NEON() local
722 const int8x16_t a2 = vshrq_n_s8(delta2, 3); in ApplyFilter4_NEON()
/external/mesa3d/src/imgui/
Dimgui_widgets.cpp2162 …const ImVec2 delta2 = GetNavInputAmount2d(ImGuiNavDirSourceFlags_Keyboard | ImGuiNavDirSourceFlags… in SliderBehaviorT() local
2163 float delta = (axis == ImGuiAxis_X) ? delta2.x : -delta2.y; in SliderBehaviorT()