Lines Matching refs:outer1
529 int outer1 SK_INIT_TO_AVOID_WARNING; in cubic_in_line()
536 outer1 = index; in cubic_in_line()
542 SkASSERT(outer1 >= 0 && outer1 <= 2); 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()
566 int outer1 SK_INIT_TO_AVOID_WARNING; in quad_in_line()
573 outer1 = index; in quad_in_line()
579 SkASSERT(outer1 >= 0 && outer1 <= 1); 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()