Home
last modified time | relevance | path

Searched refs:allTrue (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp110 if ((tan == 0).allTrue()) { in lineTo()
148 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue() || // p0 ~= p1 in quadraticTo()
149 (tan1.abs() < SK_ScalarNearlyZero).allTrue()) { // p1 ~= p2 in quadraticTo()
264 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 in cubicTo()
267 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 ~= p2 in cubicTo()
272 if ((tan1.abs() < SK_ScalarNearlyZero).allTrue()) { // p2 ~= p3 in cubicTo()
275 if ((tan1.abs() < SK_ScalarNearlyZero).allTrue() || // p1 ~= p2 ~= p3 in cubicTo()
276 (p0 == p1).allTrue()) { // p0 ~= p1 AND p2 ~= p3 in cubicTo()
419 if ((base.abs() * fCurrStrokeRadius < kMaxErrorFromLinearization).allTrue()) { in recordLeftJoinIfNotEmpty()
DGrCCFillGeometry.cpp46 if ((p0 == p1).allTrue()) { in appendLine()
115 return (d.abs() <= lwidth * tolerance).allTrue(); in are_collinear()
231 return ((c1 - c2).abs() <= 1).allTrue(); in is_cubic_nearly_quadratic()
DGrCCPerFlushResources.cpp320 if (!(Sk4f(0) == topLeft*0).allTrue() || !(Sk4f(0) == bottomRight*0).allTrue()) { in transform_path_pts()
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp110 if ((tan == 0).allTrue()) { in lineTo()
148 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue() || // p0 ~= p1 in quadraticTo()
149 (tan1.abs() < SK_ScalarNearlyZero).allTrue()) { // p1 ~= p2 in quadraticTo()
264 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 in cubicTo()
267 if ((tan0.abs() < SK_ScalarNearlyZero).allTrue()) { // p0 ~= p1 ~= p2 in cubicTo()
272 if ((tan1.abs() < SK_ScalarNearlyZero).allTrue()) { // p2 ~= p3 in cubicTo()
275 if ((tan1.abs() < SK_ScalarNearlyZero).allTrue() || // p1 ~= p2 ~= p3 in cubicTo()
276 (p0 == p1).allTrue()) { // p0 ~= p1 AND p2 ~= p3 in cubicTo()
419 if ((base.abs() * fCurrStrokeRadius < kMaxErrorFromLinearization).allTrue()) { in recordLeftJoinIfNotEmpty()
DGrCCFillGeometry.cpp46 if ((p0 == p1).allTrue()) { in appendLine()
115 return (d.abs() <= lwidth * tolerance).allTrue(); in are_collinear()
231 return ((c1 - c2).abs() <= 1).allTrue(); in is_cubic_nearly_quadratic()
DGrCCPerFlushResources.cpp317 if (!(Sk4f(0) == topLeft*0).allTrue() || !(Sk4f(0) == bottomRight*0).allTrue()) { in transform_path_pts()
/external/skqp/tests/
DSkNxTest.cpp64 REPORTER_ASSERT(r, (a == b).allTrue()); in test_Nf()
66 REPORTER_ASSERT(r, !(a+b == a*b-b).allTrue()); in test_Nf()
71 REPORTER_ASSERT(r, !(a > fours).allTrue()); in test_Nf()
72 REPORTER_ASSERT(r, !(a >= fours).allTrue()); in test_Nf()
502 REPORTER_ASSERT(r, (Sk2f{1,2} < Sk2f{3,4}).allTrue()); in DEF_TEST()
504 REPORTER_ASSERT(r, !(Sk2f{3,2} < Sk2f{1,4}).allTrue()); in DEF_TEST()
508 REPORTER_ASSERT(r, (Sk4f{1,2,3,4} < Sk4f{3,4,5,6}).allTrue()); in DEF_TEST()
510 REPORTER_ASSERT(r, !(Sk4f{1,2,3,4} < Sk4f{1,4,1,1}).allTrue()); in DEF_TEST()
/external/skia/tests/
DSkNxTest.cpp64 REPORTER_ASSERT(r, (a == b).allTrue()); in test_Nf()
66 REPORTER_ASSERT(r, !(a+b == a*b-b).allTrue()); in test_Nf()
71 REPORTER_ASSERT(r, !(a > fours).allTrue()); in test_Nf()
72 REPORTER_ASSERT(r, !(a >= fours).allTrue()); in test_Nf()
502 REPORTER_ASSERT(r, (Sk2f{1,2} < Sk2f{3,4}).allTrue()); in DEF_TEST()
504 REPORTER_ASSERT(r, !(Sk2f{3,2} < Sk2f{1,4}).allTrue()); in DEF_TEST()
508 REPORTER_ASSERT(r, (Sk4f{1,2,3,4} < Sk4f{3,4,5,6}).allTrue()); in DEF_TEST()
510 REPORTER_ASSERT(r, !(Sk4f{1,2,3,4} < Sk4f{1,4,1,1}).allTrue()); in DEF_TEST()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp126 return (metadata.fInvLengths <= 1.f).allTrue(); in get_optimized_outset()
154 return (edgeAdjust > threshold).allTrue() && (edgeAdjust < -threshold).allTrue(); in get_optimized_outset()
295 bool topleftInside = ((edges.fA * left + edges.fB * top + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
296 bool botleftInside = ((edges.fA * left + edges.fB * bot + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
297 bool botrightInside = ((edges.fA * right + edges.fB * bot + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
298 bool toprightInside = ((edges.fA * right + edges.fB * top + edges.fC) >= 0.f).allTrue(); in get_exact_coverage()
/external/skia/src/shaders/gradients/
DSk4fGradientBase.cpp131 SkASSERT(SkScalarIsFinite(dt) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
132 SkASSERT(SkScalarIsFinite(t0) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
DSk4fLinearGradient.cpp325 fZeroRamp = fIsVertical || (dc == 0).allTrue(); in compute_interval_props()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.cpp131 SkASSERT(SkScalarIsFinite(dt) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
132 SkASSERT(SkScalarIsFinite(t0) || (c0 == c1).allTrue()); in Sk4fGradientInterval()
DSk4fLinearGradient.cpp325 fZeroRamp = fIsVertical || (dc == 0).allTrue(); in compute_interval_props()
/external/skqp/include/private/
DSkNx.h111 AI bool allTrue() const { return fLo.allTrue() && fHi.allTrue(); } in allTrue() function
221 AI bool allTrue() const { return fVal != 0; }
DSkNx_sse.h112 AI bool allTrue() const { return 0xff == (_mm_movemask_epi8(_mm_castps_si128(fVec)) & 0xff); } in allTrue() function
217 AI bool allTrue() const { return 0xffff == _mm_movemask_epi8(_mm_castps_si128(fVec)); } in allTrue() function
355 AI bool allTrue() const { return 0xff == (_mm_movemask_epi8(fVec) & 0xff); } in allTrue() function
DSkNx_neon.h140 AI bool allTrue() const { in allTrue() function
283 AI bool allTrue() const { in allTrue() function
/external/skia/include/private/
DSkNx.h111 AI bool allTrue() const { return fLo.allTrue() && fHi.allTrue(); } in allTrue() function
221 AI bool allTrue() const { return fVal != 0; }
DSkNx_sse.h112 AI bool allTrue() const { return 0xff == (_mm_movemask_epi8(_mm_castps_si128(fVec)) & 0xff); } in allTrue() function
217 AI bool allTrue() const { return 0xffff == _mm_movemask_epi8(_mm_castps_si128(fVec)); } in allTrue() function
355 AI bool allTrue() const { return 0xff == (_mm_movemask_epi8(fVec) & 0xff); } in allTrue() function
DSkNx_neon.h140 AI bool allTrue() const { in allTrue() function
283 AI bool allTrue() const { in allTrue() function
/external/skia/src/core/
DSkRect.cpp72 bool all_finite = (accum * 0 == 0).allTrue(); in setBoundsCheck()
DSkScan_Hairline.cpp389 if (is_finite.allTrue()) { in hair_cubic()
/external/skqp/src/core/
DSkRect.cpp72 bool all_finite = (accum * 0 == 0).allTrue(); in setBoundsCheck()
DSkScan_Hairline.cpp389 if (is_finite.allTrue()) { in hair_cubic()