Lines Matching refs:if_then_else
50 *e1 = if_then_else(bad, -next_diag(*e1), *e1); in correct_bad_edges()
51 *e2 = if_then_else(bad, -next_diag(*e2), *e2); in correct_bad_edges()
53 *e3 = if_then_else(bad, -next_diag(*e3), *e3); in correct_bad_edges()
61 *c1 = if_then_else(bad, next_ccw(*c1), *c1); in correct_bad_coords()
62 *c2 = if_then_else(bad, next_ccw(*c2), *c2); in correct_bad_coords()
64 *c3 = if_then_else(bad, next_ccw(*c3), *c3); in correct_bad_coords()
328 min(if_then_else(clipW, V4f(SK_ScalarInfinity), x2d)), in projectedBounds()
329 min(if_then_else(clipW, V4f(SK_ScalarInfinity), y2d)), in projectedBounds()
330 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), x2d)), in projectedBounds()
331 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), y2d)) in projectedBounds()
341 min(if_then_else(clipW, x2d, V4f(frontBounds.fLeft))), in projectedBounds()
342 min(if_then_else(clipW, y2d, V4f(frontBounds.fTop))), in projectedBounds()
343 max(if_then_else(clipW, x2d, V4f(frontBounds.fRight))), in projectedBounds()
344 max(if_then_else(clipW, y2d, V4f(frontBounds.fBottom))) in projectedBounds()
449 v.fX = if_then_else(validW, v.fX, in ClipToW0()
450 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fX), in ClipToW0()
451 if_then_else(ccwValid, clip.fX, /* cwValid */ next_cw(clip.fX)))); in ClipToW0()
452 v.fY = if_then_else(validW, v.fY, in ClipToW0()
453 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fY), in ClipToW0()
454 if_then_else(ccwValid, clip.fY, /* cwValid */ next_cw(clip.fY)))); in ClipToW0()
455 v.fW = if_then_else(validW, v.fW, clip.fW); in ClipToW0()
457 v.fU = if_then_else(validW, v.fU, in ClipToW0()
458 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fU), in ClipToW0()
459 if_then_else(ccwValid, clip.fU, /* cwValid */ next_cw(clip.fU)))); in ClipToW0()
460 v.fV = if_then_else(validW, v.fV, in ClipToW0()
461 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fV), in ClipToW0()
462 if_then_else(ccwValid, clip.fV, /* cwValid */ next_cw(clip.fV)))); in ClipToW0()
463 v.fR = if_then_else(validW, v.fR, in ClipToW0()
464 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fR), in ClipToW0()
465 if_then_else(ccwValid, clip.fR, /* cwValid */ next_cw(clip.fR)))); in ClipToW0()
488 v2.fX = if_then_else((!validW) | (!ccwValid), clip.fX, in ClipToW0()
489 if_then_else(cwValid, next_cw(mid.fX), v.fX)); in ClipToW0()
490 v2.fY = if_then_else((!validW) | (!ccwValid), clip.fY, in ClipToW0()
491 if_then_else(cwValid, next_cw(mid.fY), v.fY)); in ClipToW0()
492 v2.fW = if_then_else((!validW) | (!ccwValid), clip.fW, in ClipToW0()
493 if_then_else(cwValid, next_cw(mid.fW), v.fW)); in ClipToW0()
495 v2.fU = if_then_else((!validW) | (!ccwValid), clip.fU, in ClipToW0()
496 if_then_else(cwValid, next_cw(mid.fU), v.fU)); in ClipToW0()
497 v2.fV = if_then_else((!validW) | (!ccwValid), clip.fV, in ClipToW0()
498 if_then_else(cwValid, next_cw(mid.fV), v.fV)); in ClipToW0()
499 v2.fR = if_then_else((!validW) | (!ccwValid), clip.fR, in ClipToW0()
500 if_then_else(cwValid, next_cw(mid.fR), v.fR)); in ClipToW0()
510 v.fX = if_then_else(!validW, next_cw(clip.fX), in ClipToW0()
511 if_then_else(!cwValid, mid.fX, v.fX)); in ClipToW0()
512 v.fY = if_then_else(!validW, next_cw(clip.fY), in ClipToW0()
513 if_then_else(!cwValid, mid.fY, v.fY)); in ClipToW0()
514 v.fW = if_then_else(!validW, clip.fW, in ClipToW0()
515 if_then_else(!cwValid, mid.fW, v.fW)); in ClipToW0()
517 v.fU = if_then_else(!validW, next_cw(clip.fU), in ClipToW0()
518 if_then_else(!cwValid, mid.fU, v.fU)); in ClipToW0()
519 v.fV = if_then_else(!validW, next_cw(clip.fV), in ClipToW0()
520 if_then_else(!cwValid, mid.fV, v.fV)); in ClipToW0()
521 v.fR = if_then_else(!validW, next_cw(clip.fR), in ClipToW0()
522 if_then_else(!cwValid, mid.fR, v.fR)); in ClipToW0()
1026 denom = if_then_else(aMask, in moveTo()
1027 if_then_else(bMask, in moveTo()
1029 if_then_else(useC1x, c1x, c1y)), /* A & !B */ in moveTo()
1030 if_then_else(bMask, in moveTo()
1031 if_then_else(useC2x, c2x, c2y), /* !A & B */ in moveTo()
1034 a = if_then_else(aMask, in moveTo()
1035 if_then_else(bMask, in moveTo()
1037 if_then_else(useC1x, -c3x, -c3y)), /* A & !B */ in moveTo()
1039 b = if_then_else(bMask, in moveTo()
1040 if_then_else(aMask, in moveTo()
1042 if_then_else(useC2x, -c3x, -c3y)), /* !A & B */ in moveTo()
1056 V4f scale = if_then_else(fW < 0.f, V4f(-1.f), V4f(1.f)); in moveTo()
1211 V4f safeInsets = if_then_else(crossedEdges, halfLengths, signedEdgeDistances); in adjustDegenerateVertices()