Lines Matching refs:outer1
515 int outer1 SK_INIT_TO_AVOID_WARNING; in cubic_in_line()
522 outer1 = index; in cubic_in_line()
528 SkASSERT(outer1 >= 0 && outer1 <= 2); in cubic_in_line()
530 SkASSERT(outer1 < outer2); in cubic_in_line()
531 int mid1 = (1 + (2 >> outer2)) >> outer1; in cubic_in_line()
533 SkASSERT(outer1 != mid1 && outer2 != mid1); in cubic_in_line()
534 int mid2 = outer1 ^ outer2 ^ mid1; in cubic_in_line()
536 SkASSERT(mid2 != outer1 && mid2 != outer2 && mid2 != mid1); in cubic_in_line()
537 SkASSERT(((1 << outer1) | (1 << outer2) | (1 << mid1) | (1 << mid2)) == 0x0f); in cubic_in_line()
539 return pt_to_line(cubic[mid1], cubic[outer1], cubic[outer2]) <= lineSlop in cubic_in_line()
540 && pt_to_line(cubic[mid2], cubic[outer1], cubic[outer2]) <= lineSlop; in cubic_in_line()
552 int outer1 SK_INIT_TO_AVOID_WARNING; in quad_in_line()
559 outer1 = index; in quad_in_line()
565 SkASSERT(outer1 >= 0 && outer1 <= 1); in quad_in_line()
567 SkASSERT(outer1 < outer2); in quad_in_line()
568 int mid = outer1 ^ outer2 ^ 3; in quad_in_line()
570 return pt_to_line(quad[mid], quad[outer1], quad[outer2]) <= lineSlop; in quad_in_line()