Lines Matching refs:if_then_else
50 *e1 = if_then_else(bad, -next_diag(*e1), *e1);
51 *e2 = if_then_else(bad, -next_diag(*e2), *e2);
53 *e3 = if_then_else(bad, -next_diag(*e3), *e3);
61 *c1 = if_then_else(bad, next_ccw(*c1), *c1);
62 *c2 = if_then_else(bad, next_ccw(*c2), *c2);
64 *c3 = if_then_else(bad, next_ccw(*c3), *c3);
328 min(if_then_else(clipW, V4f(SK_ScalarInfinity), x2d)),
329 min(if_then_else(clipW, V4f(SK_ScalarInfinity), y2d)),
330 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), x2d)),
331 max(if_then_else(clipW, V4f(SK_ScalarNegativeInfinity), y2d))
341 min(if_then_else(clipW, x2d, V4f(frontBounds.fLeft))),
342 min(if_then_else(clipW, y2d, V4f(frontBounds.fTop))),
343 max(if_then_else(clipW, x2d, V4f(frontBounds.fRight))),
344 max(if_then_else(clipW, y2d, V4f(frontBounds.fBottom)))
449 v.fX = if_then_else(validW, v.fX,
450 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fX),
451 if_then_else(ccwValid, clip.fX, /* cwValid */ next_cw(clip.fX))));
452 v.fY = if_then_else(validW, v.fY,
453 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fY),
454 if_then_else(ccwValid, clip.fY, /* cwValid */ next_cw(clip.fY))));
455 v.fW = if_then_else(validW, v.fW, clip.fW);
457 v.fU = if_then_else(validW, v.fU,
458 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fU),
459 if_then_else(ccwValid, clip.fU, /* cwValid */ next_cw(clip.fU))));
460 v.fV = if_then_else(validW, v.fV,
461 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fV),
462 if_then_else(ccwValid, clip.fV, /* cwValid */ next_cw(clip.fV))));
463 v.fR = if_then_else(validW, v.fR,
464 if_then_else((!ccwValid) & (!cwValid), next_ccw(clip.fR),
465 if_then_else(ccwValid, clip.fR, /* cwValid */ next_cw(clip.fR))));
488 v2.fX = if_then_else((!validW) | (!ccwValid), clip.fX,
489 if_then_else(cwValid, next_cw(mid.fX), v.fX));
490 v2.fY = if_then_else((!validW) | (!ccwValid), clip.fY,
491 if_then_else(cwValid, next_cw(mid.fY), v.fY));
492 v2.fW = if_then_else((!validW) | (!ccwValid), clip.fW,
493 if_then_else(cwValid, next_cw(mid.fW), v.fW));
495 v2.fU = if_then_else((!validW) | (!ccwValid), clip.fU,
496 if_then_else(cwValid, next_cw(mid.fU), v.fU));
497 v2.fV = if_then_else((!validW) | (!ccwValid), clip.fV,
498 if_then_else(cwValid, next_cw(mid.fV), v.fV));
499 v2.fR = if_then_else((!validW) | (!ccwValid), clip.fR,
500 if_then_else(cwValid, next_cw(mid.fR), v.fR));
510 v.fX = if_then_else(!validW, next_cw(clip.fX),
511 if_then_else(!cwValid, mid.fX, v.fX));
512 v.fY = if_then_else(!validW, next_cw(clip.fY),
513 if_then_else(!cwValid, mid.fY, v.fY));
514 v.fW = if_then_else(!validW, clip.fW,
515 if_then_else(!cwValid, mid.fW, v.fW));
517 v.fU = if_then_else(!validW, next_cw(clip.fU),
518 if_then_else(!cwValid, mid.fU, v.fU));
519 v.fV = if_then_else(!validW, next_cw(clip.fV),
520 if_then_else(!cwValid, mid.fV, v.fV));
521 v.fR = if_then_else(!validW, next_cw(clip.fR),
522 if_then_else(!cwValid, mid.fR, v.fR));
1050 denom = if_then_else(aMask,
1051 if_then_else(bMask,
1053 if_then_else(useC1x, c1x, c1y)), /* A & !B */
1054 if_then_else(bMask,
1055 if_then_else(useC2x, c2x, c2y), /* !A & B */
1058 a = if_then_else(aMask,
1059 if_then_else(bMask,
1061 if_then_else(useC1x, -c3x, -c3y)), /* A & !B */
1063 b = if_then_else(bMask,
1064 if_then_else(aMask,
1066 if_then_else(useC2x, -c3x, -c3y)), /* !A & B */
1080 V4f scale = if_then_else(fW < 0.f, V4f(-1.f), V4f(1.f));
1247 V4f safeInsets = if_then_else(crossedEdges, halfLengths, signedEdgeDistances);