Home | History | Annotate | Download | only in codec

Lines Matching refs:OPJ_SIZE_T

27 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
28 OPJ_SIZE_T nb_bytes,
38 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset;
39 OPJ_SIZE_T readlength = nb_bytes < bufferLength ? nb_bytes : bufferLength;
44 OPJ_SIZE_T opj_write_from_memory(void* p_buffer,
45 OPJ_SIZE_T nb_bytes,
55 OPJ_SIZE_T bufferLength = srcData->src_size - srcData->offset;
56 OPJ_SIZE_T writeLength = nb_bytes < bufferLength ? nb_bytes : bufferLength;
78 std::numeric_limits<OPJ_SIZE_T>::max() - srcData->offset) {
81 OPJ_SIZE_T checkedNbBytes = static_cast<OPJ_SIZE_T>(unsignedNbBytes);
106 if (unsignedNbBytes > std::numeric_limits<OPJ_SIZE_T>::max()) {
109 OPJ_SIZE_T checkedNbBytes = static_cast<OPJ_SIZE_T>(nb_bytes);
117 OPJ_SIZE_T p_size,