Lines Matching refs:crosses
217 double crosses[3]; in lineOnOneSide() local
225 crosses[index - 1] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in lineOnOneSide()
227 if (crosses[0] * crosses[1] < 0) { in lineOnOneSide()
231 if (crosses[0] * crosses[2] < 0 || crosses[1] * crosses[2] < 0) { in lineOnOneSide()
235 if (crosses[0]) { in lineOnOneSide()
236 return crosses[0] < 0; in lineOnOneSide()
238 if (crosses[1]) { in lineOnOneSide()
239 return crosses[1] < 0; in lineOnOneSide()
241 if (SkPath::kCubic_Verb == testVerb && crosses[2]) { in lineOnOneSide()
242 return crosses[2] < 0; in lineOnOneSide()
269 double crosses[2]; in linesOnOriginalSide() local
276 crosses[index] = AlmostBequalUlps(xy1, xy2) ? 0 : xy1 - xy2; in linesOnOriginalSide()
278 if (crosses[0] * crosses[1] < 0) { in linesOnOriginalSide()
281 if (crosses[0]) { in linesOnOriginalSide()
282 return crosses[0] < 0; in linesOnOriginalSide()
284 if (crosses[1]) { in linesOnOriginalSide()
285 return crosses[1] < 0; in linesOnOriginalSide()