• Home
  • Raw
  • Download

Lines Matching refs:p_buffer

47 void opj_write_bytes_BE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value,  in opj_write_bytes_BE()  argument
55 memcpy(p_buffer, l_data_ptr, p_nb_bytes); in opj_write_bytes_BE()
58 void opj_write_bytes_LE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, in opj_write_bytes_LE() argument
67 *(p_buffer++) = *(l_data_ptr--); in opj_write_bytes_LE()
71 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, in opj_read_bytes_BE() argument
79 memcpy(l_data_ptr + sizeof(OPJ_UINT32) - p_nb_bytes, p_buffer, p_nb_bytes); in opj_read_bytes_BE()
82 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, in opj_read_bytes_LE() argument
92 *(l_data_ptr--) = *(p_buffer++); in opj_read_bytes_LE()
96 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_BE() argument
99 memcpy(p_buffer, l_data_ptr, sizeof(OPJ_FLOAT64)); in opj_write_double_BE()
102 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_LE() argument
108 *(p_buffer++) = *(l_data_ptr--); in opj_write_double_LE()
112 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_BE() argument
115 memcpy(l_data_ptr, p_buffer, sizeof(OPJ_FLOAT64)); in opj_read_double_BE()
118 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value) in opj_read_double_LE() argument
123 *(l_data_ptr--) = *(p_buffer++); in opj_read_double_LE()
127 void opj_write_float_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_BE() argument
130 memcpy(p_buffer, l_data_ptr, sizeof(OPJ_FLOAT32)); in opj_write_float_BE()
133 void opj_write_float_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT32 p_value) in opj_write_float_LE() argument
139 *(p_buffer++) = *(l_data_ptr--); in opj_write_float_LE()
143 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_BE() argument
146 memcpy(l_data_ptr, p_buffer, sizeof(OPJ_FLOAT32)); in opj_read_float_BE()
149 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value) in opj_read_float_LE() argument
154 *(l_data_ptr--) = *(p_buffer++); in opj_read_float_LE()
282 … OPJ_BYTE * p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t * p_event_mgr) in opj_stream_read_data() argument
286 memcpy(p_buffer, p_stream->m_current_data, p_size); in opj_stream_read_data()
297 memcpy(p_buffer, p_stream->m_current_data, p_stream->m_bytes_in_buffer); in opj_stream_read_data()
307 memcpy(p_buffer, p_stream->m_current_data, p_stream->m_bytes_in_buffer); in opj_stream_read_data()
309 p_buffer += p_stream->m_bytes_in_buffer; in opj_stream_read_data()
338 memcpy(p_buffer, p_stream->m_current_data, p_stream->m_bytes_in_buffer); in opj_stream_read_data()
340 p_buffer += p_stream->m_bytes_in_buffer; in opj_stream_read_data()
346 memcpy(p_buffer, p_stream->m_current_data, p_size); in opj_stream_read_data()
354 p_stream->m_bytes_in_buffer = p_stream->m_read_fn(p_buffer, p_size, in opj_stream_read_data()
369 p_buffer += p_stream->m_bytes_in_buffer; in opj_stream_read_data()
386 const OPJ_BYTE * p_buffer, in opj_stream_write_data() argument
402 memcpy(p_stream->m_current_data, p_buffer, p_size); 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()
653 OPJ_SIZE_T opj_stream_default_read(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_stream_default_read() argument
656 OPJ_ARG_NOT_USED(p_buffer); in opj_stream_default_read()
662 OPJ_SIZE_T opj_stream_default_write(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_stream_default_write() argument
665 OPJ_ARG_NOT_USED(p_buffer); in opj_stream_default_write()