Home
last modified time | relevance | path

Searched refs:delta2 (Results 1 – 16 of 16) 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/lzma/Java/Tukaani/src/org/tukaani/xz/lz/
DHC4.java96 int delta2 = lzPos - hash.getHash2Pos(); in getMatches() local
109 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches()
112 matches.dist[0] = delta2 - 1; in getMatches()
120 if (delta2 != delta3 && delta3 < cyclicSize in getMatches()
124 delta2 = delta3; in getMatches()
129 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches()
DBT4.java80 int delta2 = lzPos - hash.getHash2Pos(); in getMatches() local
91 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches()
94 matches.dist[0] = delta2 - 1; in getMatches()
102 if (delta2 != delta3 && delta3 < cyclicSize in getMatches()
106 delta2 = delta3; in getMatches()
111 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches()
/external/freetype/src/autofit/
Daflatin.c1323 FT_Pos delta2; in af_latin_metrics_scale_dim() local
1332 delta2 = delta1; in af_latin_metrics_scale_dim()
1334 delta2 = -delta2; in af_latin_metrics_scale_dim()
1336 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
1338 if ( delta2 < 32 ) in af_latin_metrics_scale_dim()
1339 delta2 = 0; in af_latin_metrics_scale_dim()
1340 else if ( delta2 < 64 ) in af_latin_metrics_scale_dim()
1341 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin_metrics_scale_dim()
1343 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1346 delta2 = -delta2; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c694 FT_Pos delta1, delta2; in af_cjk_metrics_scale_dim() local
701 delta2 = delta1; in af_cjk_metrics_scale_dim()
703 delta2 = -delta2; in af_cjk_metrics_scale_dim()
705 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
708 if ( delta2 < 32 ) in af_cjk_metrics_scale_dim()
709 delta2 = 0; in af_cjk_metrics_scale_dim()
711 else if ( delta2 < 64 ) in af_cjk_metrics_scale_dim()
712 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_cjk_metrics_scale_dim()
715 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
716 FT_TRACE5(( "/%d\n", delta2 )); in af_cjk_metrics_scale_dim()
[all …]
Daflatin2.c653 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local
656 delta2 = delta1; in af_latin2_metrics_scale_dim()
658 delta2 = -delta2; in af_latin2_metrics_scale_dim()
660 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
662 if ( delta2 < 32 ) in af_latin2_metrics_scale_dim()
663 delta2 = 0; in af_latin2_metrics_scale_dim()
664 else if ( delta2 < 64 ) in af_latin2_metrics_scale_dim()
665 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin2_metrics_scale_dim()
667 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
670 delta2 = -delta2; in af_latin2_metrics_scale_dim()
[all …]
/external/linux-kselftest/tools/testing/selftests/timers/
Draw_skew.c107 long long delta1, delta2, interval, eppm, ppm; in main() local
133 delta2 = diff_timespec(mon, raw); in main()
138 eppm = ((delta2-delta1)*NSEC_PER_SEC)/interval; in main()
Dadjtick.c110 long long delta1, delta2, eppm; in get_ppm_drift() local
119 delta2 = diff_timespec(raw_start, raw_end); in get_ppm_drift()
121 eppm = (delta1*MILLION)/delta2 - MILLION; in get_ppm_drift()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c43 double delta1, delta2; in Intrpol2D() local
73 delta2 = t2 / A[1][1]; in Intrpol2D()
74 delta1 = 0.5 * (t1 - delta2 * A[0][1]) / A[0][0]; in Intrpol2D()
75 delta2 *= 0.5; in Intrpol2D()
78 t1 = delta1 * delta1 + delta2 * delta2; in Intrpol2D()
81 delta2 /= t1; in Intrpol2D()
84 *peak_val = 0.5 * (b[0] * delta1 + b[1] * delta2) + c; in Intrpol2D()
87 *y += delta2; in Intrpol2D()
/external/freetype/src/base/
Dftstroke.c938 FT_Vector delta, delta2; in ft_stroker_cap() local
944 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
947 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
948 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
954 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap()
957 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
958 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
/external/pdfium/third_party/freetype/src/base/
Dftstroke.c937 FT_Vector delta, delta2; in ft_stroker_cap() local
943 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
946 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
947 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
953 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap()
956 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
957 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta() local
429 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta()
432 return delta2; in psh_hint_snap_stem_side_delta()
/external/freetype/src/pshinter/
Dpshalgo.c426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta() local
429 if ( FT_ABS( delta1 ) <= FT_ABS( delta2 ) ) in psh_hint_snap_stem_side_delta()
432 return delta2; in psh_hint_snap_stem_side_delta()
/external/pdfium/third_party/freetype/src/truetype/
Dttinterp.c6801 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6834 delta2 = cur2 - org2; in _iup_worker_interpolate()
6849 x += delta2; in _iup_worker_interpolate()
6873 x += delta2; in _iup_worker_interpolate()
/external/freetype/src/truetype/
Dttinterp.c6742 FT_F26Dot6 orus1, orus2, org1, org2, cur1, cur2, delta1, delta2; in _iup_worker_interpolate() local
6775 delta2 = cur2 - org2; in _iup_worker_interpolate()
6790 x += delta2; in _iup_worker_interpolate()
6814 x += delta2; in _iup_worker_interpolate()
/external/webp/src/dsp/
Ddec_neon.c708 const int8x16_t delta2 = vqaddq_s8(delta0, kCst3); in ApplyFilter4() local
710 const int8x16_t a2 = vshrq_n_s8(delta2, 3); in ApplyFilter4()