Lines Matching refs:OPJ_OFF_T
290 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
299 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
311 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
342 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
349 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_read_data()
371 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
376 p_stream->m_byte_offset += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_data()
407 p_stream->m_byte_offset += (OPJ_OFF_T)p_size; in opj_stream_write_data()
423 p_stream->m_byte_offset += (OPJ_OFF_T)l_remaining_bytes; in opj_stream_write_data()
463 OPJ_OFF_T opj_stream_read_skip(opj_stream_private_t * p_stream, in opj_stream_read_skip()
464 OPJ_OFF_T p_size, opj_event_mgr_t * p_event_mgr) in opj_stream_read_skip()
466 OPJ_OFF_T l_skip_nb_bytes = 0; in opj_stream_read_skip()
467 OPJ_OFF_T l_current_skip_nb_bytes = 0; in opj_stream_read_skip()
483 l_skip_nb_bytes += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
487 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) - 1; in opj_stream_read_skip()
492 l_skip_nb_bytes += (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
494 p_size -= (OPJ_OFF_T)p_stream->m_bytes_in_buffer; in opj_stream_read_skip()
508 l_skip_nb_bytes = (OPJ_OFF_T)(p_stream->m_user_data_length - in opj_stream_read_skip()
511 opj_stream_read_seek(p_stream, (OPJ_OFF_T)p_stream->m_user_data_length, in opj_stream_read_skip()
516 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) - 1; in opj_stream_read_skip()
521 if (l_current_skip_nb_bytes == (OPJ_OFF_T) - 1) { in opj_stream_read_skip()
527 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) - 1; in opj_stream_read_skip()
538 OPJ_OFF_T opj_stream_write_skip(opj_stream_private_t * p_stream, in opj_stream_write_skip()
539 OPJ_OFF_T p_size, opj_event_mgr_t * p_event_mgr) in opj_stream_write_skip()
542 OPJ_OFF_T l_current_skip_nb_bytes = 0; in opj_stream_write_skip()
543 OPJ_OFF_T l_skip_nb_bytes = 0; in opj_stream_write_skip()
546 return (OPJ_OFF_T) - 1; in opj_stream_write_skip()
554 return (OPJ_OFF_T) - 1; in opj_stream_write_skip()
562 if (l_current_skip_nb_bytes == (OPJ_OFF_T) - 1) { in opj_stream_write_skip()
568 return l_skip_nb_bytes ? l_skip_nb_bytes : (OPJ_OFF_T) - 1; in opj_stream_write_skip()
579 OPJ_OFF_T opj_stream_tell(const opj_stream_private_t * p_stream) in opj_stream_tell()
584 OPJ_OFF_T opj_stream_get_number_byte_left(const opj_stream_private_t * p_stream) in opj_stream_get_number_byte_left()
589 (OPJ_OFF_T)(p_stream->m_user_data_length) - p_stream->m_byte_offset : in opj_stream_get_number_byte_left()
593 OPJ_OFF_T opj_stream_skip(opj_stream_private_t * p_stream, OPJ_OFF_T p_size, in opj_stream_skip()
600 OPJ_BOOL opj_stream_read_seek(opj_stream_private_t * p_stream, OPJ_OFF_T p_size, in opj_stream_read_seek()
621 OPJ_OFF_T p_size, opj_event_mgr_t * p_event_mgr) in opj_stream_write_seek()
641 OPJ_BOOL opj_stream_seek(opj_stream_private_t * p_stream, OPJ_OFF_T p_size, in opj_stream_seek()
671 OPJ_OFF_T opj_stream_default_skip(OPJ_OFF_T p_nb_bytes, void * p_user_data) in opj_stream_default_skip()
675 return (OPJ_OFF_T) - 1; in opj_stream_default_skip()
678 OPJ_BOOL opj_stream_default_seek(OPJ_OFF_T p_nb_bytes, void * p_user_data) in opj_stream_default_seek()