Lines Matching defs:ncvAssertReturn
275 #define ncvAssertReturn(pred, err) \
590 ncvAssertReturn(dst._length == this->_length, NCV_MEM_COPY_ERROR);
595 ncvAssertReturn(dst._length * sizeof(T) >= howMuch &&
599 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) &&
770 ncvAssertReturn(dst._pitch == this->_pitch &&
776 ncvAssertReturn(dst._pitch * dst._height >= howMuch &&
780 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) &&
796 ncvAssertReturn(this->width() >= roi.width && this->height() >= roi.height &&
798 ncvAssertReturn((this->_ptr != NULL || this->_memtype == NCVMemoryTypeNone) &&
1028 ncvAssertReturn(name.isMemAllocated(), err);