Lines Matching refs:outer2
530 int outer2 SK_INIT_TO_AVOID_WARNING; in cubic_in_line()
537 outer2 = inner; in cubic_in_line()
543 SkASSERT(outer2 >= 1 && outer2 <= 3); in cubic_in_line()
544 SkASSERT(outer1 < outer2); in cubic_in_line()
545 int mid1 = (1 + (2 >> outer2)) >> outer1; in cubic_in_line()
547 SkASSERT(outer1 != mid1 && outer2 != mid1); in cubic_in_line()
548 int mid2 = outer1 ^ outer2 ^ mid1; in cubic_in_line()
550 SkASSERT(mid2 != outer1 && mid2 != outer2 && mid2 != mid1); in cubic_in_line()
551 SkASSERT(((1 << outer1) | (1 << outer2) | (1 << mid1) | (1 << mid2)) == 0x0f); in cubic_in_line()
553 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
554 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
567 int outer2 SK_INIT_TO_AVOID_WARNING; in quad_in_line()
574 outer2 = inner; in quad_in_line()
580 SkASSERT(outer2 >= 1 && outer2 <= 2); in quad_in_line()
581 SkASSERT(outer1 < outer2); in quad_in_line()
582 int mid = outer1 ^ outer2 ^ 3; in quad_in_line()
584 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()