Lines Matching refs:parent
362 inline explicit constexpr _C2LinearCapacityAspect(const _C2LinearCapacityAspect *parent) in _C2LinearCapacityAspect() argument
363 : mCapacity(parent == nullptr ? 0 : parent->capacity()) { } in _C2LinearCapacityAspect()
404 inline constexpr explicit _C2LinearRangeAspect(const _C2LinearCapacityAspect *parent) in _C2LinearRangeAspect() argument
405 : _C2LinearCapacityAspect(parent), in _C2LinearRangeAspect()
411 …inline constexpr _C2LinearRangeAspect(const _C2LinearCapacityAspect *parent, size_t offset, size_t… in _C2LinearRangeAspect() argument
412 : _C2LinearCapacityAspect(parent), in _C2LinearRangeAspect()
418 …inline constexpr _C2LinearRangeAspect(const _C2LinearRangeAspect *parent, size_t offset, size_t si… in _C2LinearRangeAspect() argument
419 : _C2LinearCapacityAspect(parent), in _C2LinearRangeAspect()
420 mOffset(c2_min(c2_max(offset, parent == nullptr ? 0 : parent->offset()), capacity())), in _C2LinearRangeAspect()
421 … mSize(std::min(c2_min(size, parent == nullptr ? 0 : parent->size()), capacity() - mOffset)) { in _C2LinearRangeAspect()
444 … inline constexpr C2LinearRange(const _C2LinearCapacityAspect &parent, size_t offset, size_t size) in C2LinearRange() argument
445 : _C2LinearRangeAspect(&parent, offset, size) { } in C2LinearRange()
447 inline constexpr C2LinearRange(const _C2LinearRangeAspect &parent, size_t offset, size_t size) in C2LinearRange() argument
448 : _C2LinearRangeAspect(&parent, offset, size) { } in C2LinearRange()
1460 inline explicit constexpr _C2PlanarCapacityAspect(const _C2PlanarCapacityAspect *parent) in _C2PlanarCapacityAspect() argument
1461 : _mWidth(parent == nullptr ? 0 : parent->width()), in _C2PlanarCapacityAspect()
1462 _mHeight(parent == nullptr ? 0 : parent->height()) { } in _C2PlanarCapacityAspect()
1620 inline constexpr _C2PlanarSectionAspect(const _C2PlanarCapacityAspect *parent) in _C2PlanarSectionAspect() argument
1621 : _C2PlanarCapacityAspect(parent), mCrop(width(), height()) {} in _C2PlanarSectionAspect()
1623 … inline constexpr _C2PlanarSectionAspect(const _C2PlanarCapacityAspect *parent, const C2Rect &crop) in _C2PlanarSectionAspect() argument
1624 : _C2PlanarCapacityAspect(parent), in _C2PlanarSectionAspect()
1625 mCrop(parent == nullptr ? C2Rect() : ((C2Rect)*parent).intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1627 … inline constexpr _C2PlanarSectionAspect(const _C2PlanarSectionAspect *parent, const C2Rect &crop) in _C2PlanarSectionAspect() argument
1628 : _C2PlanarCapacityAspect(parent), in _C2PlanarSectionAspect()
1629 mCrop(parent == nullptr ? C2Rect() : parent->crop().intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1684 inline constexpr C2PlanarSection(const _C2PlanarCapacityAspect &parent, const C2Rect &crop) in C2PlanarSection() argument
1685 : _C2PlanarSectionAspect(&parent, crop) { } in C2PlanarSection()
1687 inline constexpr C2PlanarSection(const _C2PlanarSectionAspect &parent, const C2Rect &crop) in C2PlanarSection() argument
1688 : _C2PlanarSectionAspect(&parent, crop) { } in C2PlanarSection()