Lines Matching defs:one
239 bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result
246 SkPathOpsDebug::DumpOp(one, two, op, testName);
249 op = gOpInverse[op][one.isInverseFillType()][two.isInverseFillType()];
250 bool inverseFill = gOutInverse[op][one.isInverseFillType()][two.isInverseFillType()];
254 if (kIntersect_SkPathOp == op && one.isRect(&rect1) && two.isRect(&rect2)) {
262 if (one.isEmpty() || two.isEmpty()) {
269 work = one.isEmpty() ? two : one;
272 if (!one.isEmpty()) {
273 work = one;
295 const SkPath* minuend = &one;
370 bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) {
373 if (!OpDebug(one, two, op, result SkDEBUGPARAMS(false) SkDEBUGPARAMS(nullptr))) {
374 SkPathOpsDebug::ReportOpFail(one, two, op);
377 SkPathOpsDebug::VerifyOp(one, two, op, *result);
381 return OpDebug(one, two, op, result SkDEBUGPARAMS(true) SkDEBUGPARAMS(nullptr));