• Home
  • Raw
  • Download

Lines Matching refs:rhs

64 Region::Region(const Region& rhs)  in Region()  argument
65 : mStorage(rhs.mStorage) in Region()
68 validate(rhs, "rhs copy-ctor"); in Region()
72 Region::Region(const Rect& rhs) { in Region() argument
73 mStorage.add(rhs); in Region()
210 Region& Region::operator = (const Region& rhs) in operator =() argument
214 validate(rhs, "rhs.operator="); in operator =()
216 mStorage = rhs.mStorage; in operator =()
305 Region& Region::orSelf(const Region& rhs) { in orSelf() argument
306 return operationSelf(rhs, op_or); in orSelf()
308 Region& Region::xorSelf(const Region& rhs) { in xorSelf() argument
309 return operationSelf(rhs, op_xor); in xorSelf()
311 Region& Region::andSelf(const Region& rhs) { in andSelf() argument
312 return operationSelf(rhs, op_and); in andSelf()
314 Region& Region::subtractSelf(const Region& rhs) { in subtractSelf() argument
315 return operationSelf(rhs, op_nand); in subtractSelf()
317 Region& Region::operationSelf(const Region& rhs, int op) { in operationSelf() argument
319 boolean_operation(op, *this, lhs, rhs); in operationSelf()
330 const Region Region::merge(const Rect& rhs) const { in merge()
331 return operation(rhs, op_or); in merge()
333 const Region Region::mergeExclusive(const Rect& rhs) const { in mergeExclusive()
334 return operation(rhs, op_xor); in mergeExclusive()
336 const Region Region::intersect(const Rect& rhs) const { in intersect()
337 return operation(rhs, op_and); in intersect()
339 const Region Region::subtract(const Rect& rhs) const { in subtract()
340 return operation(rhs, op_nand); in subtract()
342 const Region Region::operation(const Rect& rhs, int op) const { in operation() argument
344 boolean_operation(op, result, *this, rhs); in operation()
350 const Region Region::merge(const Region& rhs) const { in merge()
351 return operation(rhs, op_or); in merge()
353 const Region Region::mergeExclusive(const Region& rhs) const { in mergeExclusive()
354 return operation(rhs, op_xor); in mergeExclusive()
356 const Region Region::intersect(const Region& rhs) const { in intersect()
357 return operation(rhs, op_and); in intersect()
359 const Region Region::subtract(const Region& rhs) const { in subtract()
360 return operation(rhs, op_nand); in subtract()
362 const Region Region::operation(const Region& rhs, int op) const { in operation() argument
364 boolean_operation(op, result, *this, rhs); in operation()
376 Region& Region::orSelf(const Region& rhs, int dx, int dy) { in orSelf() argument
377 return operationSelf(rhs, dx, dy, op_or); in orSelf()
379 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { in xorSelf() argument
380 return operationSelf(rhs, dx, dy, op_xor); in xorSelf()
382 Region& Region::andSelf(const Region& rhs, int dx, int dy) { in andSelf() argument
383 return operationSelf(rhs, dx, dy, op_and); in andSelf()
385 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { in subtractSelf() argument
386 return operationSelf(rhs, dx, dy, op_nand); in subtractSelf()
388 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { in operationSelf() argument
390 boolean_operation(op, *this, lhs, rhs, dx, dy); in operationSelf()
396 const Region Region::merge(const Region& rhs, int dx, int dy) const { in merge() argument
397 return operation(rhs, dx, dy, op_or); in merge()
399 const Region Region::mergeExclusive(const Region& rhs, int dx, int dy) const { in mergeExclusive() argument
400 return operation(rhs, dx, dy, op_xor); in mergeExclusive()
402 const Region Region::intersect(const Region& rhs, int dx, int dy) const { in intersect() argument
403 return operation(rhs, dx, dy, op_and); in intersect()
405 const Region Region::subtract(const Region& rhs, int dx, int dy) const { in subtract() argument
406 return operation(rhs, dx, dy, op_nand); in subtract()
408 const Region Region::operation(const Region& rhs, int dx, int dy, int op) const { in operation() argument
410 boolean_operation(op, result, *this, rhs, dx, dy); in operation()
438 static inline T min(T rhs, T lhs) { return rhs < lhs ? rhs : lhs; } in min() argument
440 static inline T max(T rhs, T lhs) { return rhs > lhs ? rhs : lhs; } in max() argument
587 const Region& rhs, int dx, int dy) in boolean_operation() argument
591 validate(rhs, "boolean_operation (before): rhs"); in boolean_operation()
599 Rect const * const rhs_rects = rhs.getArray(&rhs_count); in boolean_operation()
611 validate(rhs, "boolean_operation: rhs"); in boolean_operation()
679 rhs.dump("rhs"); in boolean_operation()
697 const Rect& rhs, int dx, int dy) in boolean_operation() argument
701 if (!rhs.isValid() && rhs != Rect::INVALID_RECT) { in boolean_operation()
703 op, rhs.left, rhs.top, rhs.right, rhs.bottom); in boolean_operation()
708 boolean_operation(op, dst, lhs, Region(rhs), dx, dy); in boolean_operation()
714 region_operator<Rect>::region rhs_region(&rhs, 1, dx, dy); in boolean_operation()
725 const Region& lhs, const Region& rhs) in boolean_operation() argument
727 boolean_operation(op, dst, lhs, rhs, 0, 0); in boolean_operation()
731 const Region& lhs, const Rect& rhs) in boolean_operation() argument
733 boolean_operation(op, dst, lhs, rhs, 0, 0); in boolean_operation()