Home
last modified time | relevance | path

Searched refs:p_buffer (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
Dcio.h180 void opj_write_bytes_BE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes);
189 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes);
198 void opj_write_bytes_LE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes);
207 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes);
215 void opj_write_double_LE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
222 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value);
229 void opj_read_double_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
236 void opj_read_double_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT64 * p_value);
243 void opj_read_float_LE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
250 void opj_read_float_BE(const OPJ_BYTE * p_buffer, OPJ_FLOAT32 * p_value);
[all …]
Dcio.c47 void opj_write_bytes_BE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes) in opj_write_bytes_BE() argument
53 memcpy(p_buffer,l_data_ptr,p_nb_bytes); in opj_write_bytes_BE()
56 void opj_write_bytes_LE (OPJ_BYTE * p_buffer, OPJ_UINT32 p_value, OPJ_UINT32 p_nb_bytes) in opj_write_bytes_LE() argument
64 *(p_buffer++) = *(l_data_ptr--); in opj_write_bytes_LE()
68 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes) in opj_read_bytes_BE() argument
75 memcpy(l_data_ptr+sizeof(OPJ_UINT32)-p_nb_bytes,p_buffer,p_nb_bytes); in opj_read_bytes_BE()
78 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value, OPJ_UINT32 p_nb_bytes) in opj_read_bytes_LE() argument
87 *(l_data_ptr--) = *(p_buffer++); in opj_read_bytes_LE()
91 void opj_write_double_BE(OPJ_BYTE * p_buffer, OPJ_FLOAT64 p_value) in opj_write_double_BE() argument
94 memcpy(p_buffer,l_data_ptr,sizeof(OPJ_FLOAT64)); in opj_write_double_BE()
[all …]
Dopenjpeg.c91 static OPJ_SIZE_T opj_read_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) in opj_read_from_file() argument
93 OPJ_SIZE_T l_nb_read = fread(p_buffer,1,p_nb_bytes,p_file); in opj_read_from_file()
108 static OPJ_SIZE_T opj_write_from_file (void * p_buffer, OPJ_SIZE_T p_nb_bytes, FILE * p_file) in opj_write_from_file() argument
110 return fwrite(p_buffer,1,p_nb_bytes,p_file); in opj_write_from_file()
Dopenjpeg.h593 typedef OPJ_SIZE_T (* opj_stream_read_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_da…
598 typedef OPJ_SIZE_T (* opj_stream_write_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_d…
/external/pdfium/core/fxcodec/codec/
Dcodec_int.h35 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
38 OPJ_SIZE_T opj_write_from_memory(void* p_buffer,
Dfx_codec_jpx_opj.cpp29 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, in opj_read_from_memory() argument
42 memcpy(p_buffer, &srcData->src_data[srcData->offset], readlength); in opj_read_from_memory()
47 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, in opj_write_from_memory() argument
60 memcpy(&srcData->src_data[srcData->offset], p_buffer, writeLength); in opj_write_from_memory()