Searched refs:l_remaining_bytes (Results 1 – 2 of 2) sorted by relevance
390 OPJ_SIZE_T l_remaining_bytes = 0; in opj_stream_write_data() local398 l_remaining_bytes = p_stream->m_buffer_size - p_stream->m_bytes_in_buffer; in opj_stream_write_data()401 if (l_remaining_bytes >= p_size) { in opj_stream_write_data()413 if (l_remaining_bytes) { in opj_stream_write_data()414 l_write_nb_bytes += l_remaining_bytes; in opj_stream_write_data()416 memcpy(p_stream->m_current_data, p_buffer, l_remaining_bytes); in opj_stream_write_data()420 p_buffer += l_remaining_bytes; in opj_stream_write_data()421 p_size -= l_remaining_bytes; in opj_stream_write_data()422 p_stream->m_bytes_in_buffer += l_remaining_bytes; in opj_stream_write_data()423 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
2604 OPJ_UINT32 i, l_remaining_bytes; in opj_jp2_read_ftyp() local2629 l_remaining_bytes = p_header_size - 8; in opj_jp2_read_ftyp()2632 if ((l_remaining_bytes & 0x3) != 0) { in opj_jp2_read_ftyp()2638 jp2->numcl = l_remaining_bytes >> 2; in opj_jp2_read_ftyp()