Lines Matching refs:OPJ_OFF_T
274 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
283 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
295 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
327 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
335 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
358 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
364 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
395 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_write_data()
411 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
450 OPJ_OFF_T opj_stream_read_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t … in opj_stream_read_skip()
452 OPJ_OFF_T l_skip_nb_bytes = 0; in opj_stream_read_skip()
453 OPJ_OFF_T l_current_skip_nb_bytes = 0; in opj_stream_read_skip()
469 l_skip_nb_bytes += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
473 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) -1; in opj_stream_read_skip()
478 l_skip_nb_bytes += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
480 p_size -= (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
487 if (l_current_skip_nb_bytes == (OPJ_OFF_T) -1) { in opj_stream_read_skip()
493 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) -1; in opj_stream_read_skip()
504 OPJ_OFF_T opj_stream_write_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t… in opj_stream_write_skip()
507 OPJ_OFF_T l_current_skip_nb_bytes = 0; in opj_stream_write_skip()
508 OPJ_OFF_T l_skip_nb_bytes = 0; in opj_stream_write_skip()
511 return (OPJ_OFF_T) -1; in opj_stream_write_skip()
519 return (OPJ_OFF_T) -1; in opj_stream_write_skip()
527 if (l_current_skip_nb_bytes == (OPJ_OFF_T)-1) { in opj_stream_write_skip()
533 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T)-1; in opj_stream_write_skip()
544 OPJ_OFF_T opj_stream_tell (const opj_stream_private_t * p_stream) in opj_stream_tell()
549 OPJ_OFF_T opj_stream_get_number_byte_left (const opj_stream_private_t * p_stream) in opj_stream_get_number_byte_left()
554 (OPJ_OFF_T)(p_stream->m_user_data_length) - p_stream->m_byte_offset : in opj_stream_get_number_byte_left()
558 OPJ_OFF_T opj_stream_skip (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t * p_e… in opj_stream_skip()
564 OPJ_BOOL opj_stream_read_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t *… in opj_stream_read_seek()
584 OPJ_BOOL opj_stream_write_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, opj_event_mgr_t … in opj_stream_write_seek()
605 OPJ_BOOL opj_stream_seek (opj_stream_private_t * p_stream, OPJ_OFF_T p_size, struct opj_event_mgr *… in opj_stream_seek()
632 OPJ_OFF_T opj_stream_default_skip (OPJ_OFF_T p_nb_bytes, void * p_user_data) in opj_stream_default_skip()
636 return (OPJ_OFF_T) -1; in opj_stream_default_skip()
639 OPJ_BOOL opj_stream_default_seek (OPJ_OFF_T p_nb_bytes, void * p_user_data) in opj_stream_default_seek()