Home
last modified time | relevance | path

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

12

/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/chromium_org/third_party/lzma_sdk/
DLzFind.c508 UInt32 hash2Value, delta2, maxLen, offset; in Bt3_MatchFinder_GetMatches() local
513 delta2 = p->pos - p->hash[hash2Value]; in Bt3_MatchFinder_GetMatches()
522 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt3_MatchFinder_GetMatches()
525 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Bt3_MatchFinder_GetMatches()
528 distances[1] = delta2 - 1; in Bt3_MatchFinder_GetMatches()
541 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; in Bt4_MatchFinder_GetMatches() local
546 delta2 = p->pos - p->hash[ hash2Value]; in Bt4_MatchFinder_GetMatches()
556 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt4_MatchFinder_GetMatches()
559 distances[1] = delta2 - 1; in Bt4_MatchFinder_GetMatches()
562 if (delta2 != delta3 && delta3 < p->cyclicBufferSize && *(cur - delta3) == *cur) in Bt4_MatchFinder_GetMatches()
[all …]
/external/lzma/C/
DLzFind.c508 UInt32 hash2Value, delta2, maxLen, offset; in Bt3_MatchFinder_GetMatches() local
513 delta2 = p->pos - p->hash[hash2Value]; in Bt3_MatchFinder_GetMatches()
522 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt3_MatchFinder_GetMatches()
525 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Bt3_MatchFinder_GetMatches()
528 distances[1] = delta2 - 1; in Bt3_MatchFinder_GetMatches()
541 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; in Bt4_MatchFinder_GetMatches() local
546 delta2 = p->pos - p->hash[ hash2Value]; in Bt4_MatchFinder_GetMatches()
556 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt4_MatchFinder_GetMatches()
559 distances[1] = delta2 - 1; in Bt4_MatchFinder_GetMatches()
562 if (delta2 != delta3 && delta3 < p->cyclicBufferSize && *(cur - delta3) == *cur) in Bt4_MatchFinder_GetMatches()
[all …]
/external/chromium_org/third_party/ots/third_party/lzma_sdk/
DLzFind.c509 UInt32 hash2Value, delta2, maxLen, offset; in Bt3_MatchFinder_GetMatches() local
514 delta2 = p->pos - p->hash[hash2Value]; in Bt3_MatchFinder_GetMatches()
523 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt3_MatchFinder_GetMatches()
526 if (cur[(ptrdiff_t)maxLen - delta2] != cur[maxLen]) in Bt3_MatchFinder_GetMatches()
529 distances[1] = delta2 - 1; in Bt3_MatchFinder_GetMatches()
542 UInt32 hash2Value, hash3Value, delta2, delta3, maxLen, offset; in Bt4_MatchFinder_GetMatches() local
547 delta2 = p->pos - p->hash[ hash2Value]; in Bt4_MatchFinder_GetMatches()
557 if (delta2 < p->cyclicBufferSize && *(cur - delta2) == *cur) in Bt4_MatchFinder_GetMatches()
560 distances[1] = delta2 - 1; in Bt4_MatchFinder_GetMatches()
563 if (delta2 != delta3 && delta3 < p->cyclicBufferSize && *(cur - delta3) == *cur) in Bt4_MatchFinder_GetMatches()
[all …]
/external/chromium_org/third_party/freetype/src/autofit/
Daflatin.c709 FT_Pos delta2; in af_latin_metrics_scale_dim() local
718 delta2 = delta1; in af_latin_metrics_scale_dim()
720 delta2 = -delta2; in af_latin_metrics_scale_dim()
722 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
724 if ( delta2 < 32 ) in af_latin_metrics_scale_dim()
725 delta2 = 0; in af_latin_metrics_scale_dim()
726 else if ( delta2 < 64 ) in af_latin_metrics_scale_dim()
727 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin_metrics_scale_dim()
729 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
732 delta2 = -delta2; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c624 FT_Pos delta1, delta2; in af_cjk_metrics_scale_dim() local
631 delta2 = delta1; in af_cjk_metrics_scale_dim()
633 delta2 = -delta2; in af_cjk_metrics_scale_dim()
635 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
638 if ( delta2 < 32 ) in af_cjk_metrics_scale_dim()
639 delta2 = 0; in af_cjk_metrics_scale_dim()
641 else if ( delta2 < 64 ) in af_cjk_metrics_scale_dim()
642 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_cjk_metrics_scale_dim()
645 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
646 FT_TRACE5(( "/%d\n", delta2 )); in af_cjk_metrics_scale_dim()
[all …]
Daflatin2.c647 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local
650 delta2 = delta1; in af_latin2_metrics_scale_dim()
652 delta2 = -delta2; in af_latin2_metrics_scale_dim()
654 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
656 if ( delta2 < 32 ) in af_latin2_metrics_scale_dim()
657 delta2 = 0; in af_latin2_metrics_scale_dim()
658 else if ( delta2 < 64 ) in af_latin2_metrics_scale_dim()
659 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin2_metrics_scale_dim()
661 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
664 delta2 = -delta2; in af_latin2_metrics_scale_dim()
[all …]
/external/freetype/src/autofit/
Daflatin.c1057 FT_Pos delta2; in af_latin_metrics_scale_dim() local
1066 delta2 = delta1; in af_latin_metrics_scale_dim()
1068 delta2 = -delta2; in af_latin_metrics_scale_dim()
1070 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
1072 if ( delta2 < 32 ) in af_latin_metrics_scale_dim()
1073 delta2 = 0; in af_latin_metrics_scale_dim()
1074 else if ( delta2 < 64 ) in af_latin_metrics_scale_dim()
1075 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin_metrics_scale_dim()
1077 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1080 delta2 = -delta2; in af_latin_metrics_scale_dim()
[all …]
Dafcjk.c633 FT_Pos delta1, delta2; in af_cjk_metrics_scale_dim() local
640 delta2 = delta1; in af_cjk_metrics_scale_dim()
642 delta2 = -delta2; in af_cjk_metrics_scale_dim()
644 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
647 if ( delta2 < 32 ) in af_cjk_metrics_scale_dim()
648 delta2 = 0; in af_cjk_metrics_scale_dim()
650 else if ( delta2 < 64 ) in af_cjk_metrics_scale_dim()
651 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_cjk_metrics_scale_dim()
654 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
655 FT_TRACE5(( "/%d\n", delta2 )); in af_cjk_metrics_scale_dim()
[all …]
Daflatin2.c648 FT_Pos delta1, delta2; in af_latin2_metrics_scale_dim() local
651 delta2 = delta1; in af_latin2_metrics_scale_dim()
653 delta2 = -delta2; in af_latin2_metrics_scale_dim()
655 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
657 if ( delta2 < 32 ) in af_latin2_metrics_scale_dim()
658 delta2 = 0; in af_latin2_metrics_scale_dim()
659 else if ( delta2 < 64 ) in af_latin2_metrics_scale_dim()
660 delta2 = 32 + ( ( ( delta2 - 32 ) + 16 ) & ~31 ); in af_latin2_metrics_scale_dim()
662 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
665 delta2 = -delta2; in af_latin2_metrics_scale_dim()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPaintAggregatorTest.cpp141 IntPoint delta2(1, 0); in TEST() local
143 greg.scrollRect(delta2.x(), delta2.y(), rect); in TEST()
154 IntPoint expectedDelta(delta1.x() + delta2.x(), in TEST()
155 delta1.y() + delta2.y()); in TEST()
173 IntPoint delta2(-1, 0); in TEST() local
175 greg.scrollRect(delta2.x(), delta2.y(), rect); in TEST()
/external/chromium_org/third_party/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/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c42 double delta1, delta2; in Intrpol2D() local
72 delta2 = t2 / A[1][1]; in Intrpol2D()
73 delta1 = 0.5 * (t1 - delta2 * A[0][1]) / A[0][0]; in Intrpol2D()
74 delta2 *= 0.5; in Intrpol2D()
77 t1 = delta1 * delta1 + delta2 * delta2; in Intrpol2D()
80 delta2 /= t1; in Intrpol2D()
83 *peak_val = 0.5 * (b[0] * delta1 + b[1] * delta2) + c; in Intrpol2D()
86 *y += delta2; in Intrpol2D()
/external/chromium_org/net/quic/
Dquic_time.cc75 QuicTime::Delta delta2) { in Max() argument
76 return delta1 < delta2 ? delta2 : delta1; in Max()
Dquic_time.h65 static Delta Max(Delta delta1, Delta delta2);
/external/chromium_org/ppapi/tests/
Dtest_paint_aggregator.cc104 pp::Point delta2(1, 0); in TestDoubleOverlappingScroll() local
106 greg.ScrollRect(rect, delta2); in TestDoubleOverlappingScroll()
114 pp::Point expected_delta(delta1.x() + delta2.x(), in TestDoubleOverlappingScroll()
115 delta1.y() + delta2.y()); in TestDoubleOverlappingScroll()
133 pp::Point delta2(-1, 0); in TestNegatingScroll() local
135 greg.ScrollRect(rect, delta2); in TestNegatingScroll()
/external/chromium_org/v8/src/base/platform/
Dtime-unittest.cc49 TimeDelta delta2 = TimeDelta::FromDays(42); in TEST() local
50 EXPECT_EQ(delta2, TimeDelta::FromMachTimespec(delta2.ToMachTimespec())); in TEST()
/external/opencv/cv/src/
Dcvmotempl.cpp161 double delta1, double delta2, in cvCalcMotionGradient() argument
191 if( delta1 <= 0 || delta2 <= 0 ) in cvCalcMotionGradient()
204 if( delta1 > delta2 ) in cvCalcMotionGradient()
207 CV_SWAP( delta1, delta2, t ); in cvCalcMotionGradient()
212 max_delta = (float)delta2; in cvCalcMotionGradient()
/external/chromium_org/net/cert/
Dcrl_set_unittest.cc269 base::StringPiece delta2(reinterpret_cast<const char*>(kRemoveCRLDelta), in TEST()
272 net::CRLSetStorage::ApplyDelta(delta_set.get(), delta2, &delta2_set)); in TEST()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button_cell_unittest.mm84 CGFloat delta2 = one_space_width - zero_space_width;
85 EXPECT_GT(delta2, delta1);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftstroke.c921 FT_Vector delta, delta2; in ft_stroker_cap() local
927 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
930 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
931 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
937 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap()
940 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
941 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
/external/freetype/src/base/
Dftstroke.c921 FT_Vector delta, delta2; in ft_stroker_cap() local
927 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
930 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
931 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
937 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap()
940 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
941 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
/external/chromium_org/third_party/freetype/src/base/
Dftstroke.c921 FT_Vector delta, delta2; in ft_stroker_cap() local
927 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
930 delta.x += stroker->center.x + delta2.x; in ft_stroker_cap()
931 delta.y += stroker->center.y + delta2.y; in ft_stroker_cap()
937 FT_Vector_From_Polar( &delta2, radius, angle - rotate ); in ft_stroker_cap()
940 delta.x += delta2.x + stroker->center.x; in ft_stroker_cap()
941 delta.y += delta2.y + stroker->center.y; in ft_stroker_cap()
/external/skia/experimental/Intersection/
DCubicIntersection_Test.cpp539 double delta2 = fabs(c.t2 - i2.fT[1][0]); local
543 double factor2 = calc2 / delta2;
546 calc1, delta1, factor1, calc2, delta2, factor2);
/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicIntersection_Test.cpp539 double delta2 = fabs(c.t2 - i2.fT[1][0]); local
543 double factor2 = calc2 / delta2;
546 calc1, delta1, factor1, calc2, delta2, factor2);

12