Lines Matching refs:outer2
541 int outer2 SK_INIT_TO_AVOID_WARNING; in cubic_in_line()
548 outer2 = inner; in cubic_in_line()
554 SkASSERT(outer2 >= 1 && outer2 <= 3); in cubic_in_line()
555 SkASSERT(outer1 < outer2); in cubic_in_line()
556 int mid1 = (1 + (2 >> outer2)) >> outer1; in cubic_in_line()
558 SkASSERT(outer1 != mid1 && outer2 != mid1); in cubic_in_line()
559 int mid2 = outer1 ^ outer2 ^ mid1; in cubic_in_line()
561 SkASSERT(mid2 != outer1 && mid2 != outer2 && mid2 != mid1); in cubic_in_line()
562 SkASSERT(((1 << outer1) | (1 << outer2) | (1 << mid1) | (1 << mid2)) == 0x0f); in cubic_in_line()
564 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
565 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
578 int outer2 SK_INIT_TO_AVOID_WARNING; in quad_in_line()
585 outer2 = inner; in quad_in_line()
591 SkASSERT(outer2 >= 1 && outer2 <= 2); in quad_in_line()
592 SkASSERT(outer1 < outer2); in quad_in_line()
593 int mid = outer1 ^ outer2 ^ 3; in quad_in_line()
596 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()