Searched refs:l_remaining_bytes (Results 1 – 2 of 2) sorted by relevance
378 OPJ_SIZE_T l_remaining_bytes = 0; in opj_stream_write_data() local386 l_remaining_bytes = p_stream->m_buffer_size - p_stream->m_bytes_in_buffer; in opj_stream_write_data()389 if (l_remaining_bytes >= p_size) { in opj_stream_write_data()401 if (l_remaining_bytes) { in opj_stream_write_data()402 l_write_nb_bytes += l_remaining_bytes; in opj_stream_write_data()404 memcpy(p_stream->m_current_data,p_buffer,l_remaining_bytes); in opj_stream_write_data()408 p_buffer += l_remaining_bytes; in opj_stream_write_data()409 p_size -= l_remaining_bytes; in opj_stream_write_data()410 p_stream->m_bytes_in_buffer += l_remaining_bytes; in opj_stream_write_data()411 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
2258 OPJ_UINT32 i, l_remaining_bytes; in opj_jp2_read_ftyp() local2282 l_remaining_bytes = p_header_size - 8; in opj_jp2_read_ftyp()2285 if ((l_remaining_bytes & 0x3) != 0) { in opj_jp2_read_ftyp()2291 jp2->numcl = l_remaining_bytes >> 2; in opj_jp2_read_ftyp()