Lines Matching refs:outer1
541 int outer1 SK_INIT_TO_AVOID_WARNING; in cubic_in_line()
548 outer1 = index; in cubic_in_line()
554 SkASSERT(outer1 >= 0 && outer1 <= 2); in cubic_in_line()
556 SkASSERT(outer1 < outer2); in cubic_in_line()
557 int mid1 = (1 + (2 >> outer2)) >> outer1; in cubic_in_line()
559 SkASSERT(outer1 != mid1 && outer2 != mid1); in cubic_in_line()
560 int mid2 = outer1 ^ outer2 ^ mid1; in cubic_in_line()
562 SkASSERT(mid2 != outer1 && mid2 != outer2 && mid2 != mid1); in cubic_in_line()
563 SkASSERT(((1 << outer1) | (1 << outer2) | (1 << mid1) | (1 << mid2)) == 0x0f); in cubic_in_line()
565 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
566 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
578 int outer1 SK_INIT_TO_AVOID_WARNING; in quad_in_line()
585 outer1 = index; in quad_in_line()
591 SkASSERT(outer1 >= 0 && outer1 <= 1); in quad_in_line()
593 SkASSERT(outer1 < outer2); in quad_in_line()
594 int mid = outer1 ^ outer2 ^ 3; in quad_in_line()
597 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()