Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dcio.h151 OPJ_SIZE_T m_bytes_in_buffer;
161 OPJ_SIZE_T m_buffer_size;
274 OPJ_SIZE_T opj_stream_read_data (opj_stream_private_t * p_stream,OPJ_BYTE * p_buffer, OPJ_SIZE_T p_…
284 OPJ_SIZE_T opj_stream_write_data (opj_stream_private_t * p_stream,const OPJ_BYTE * p_buffer, OPJ_SI…
375 OPJ_SIZE_T opj_stream_default_read (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data);
380 OPJ_SIZE_T opj_stream_default_write (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_data);
Dcio.c151 opj_stream_t* OPJ_CALLCONV opj_stream_create(OPJ_SIZE_T p_buffer_size,OPJ_BOOL l_is_input) in opj_stream_create()
280 OPJ_SIZE_T opj_stream_read_data (opj_stream_private_t * p_stream,OPJ_BYTE * p_buffer, OPJ_SIZE_T p_… in opj_stream_read_data()
282 OPJ_SIZE_T l_read_nb_bytes = 0; in opj_stream_read_data()
299 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; in opj_stream_read_data()
325 if (p_stream->m_bytes_in_buffer == (OPJ_SIZE_T)-1) { in opj_stream_read_data()
332 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; in opj_stream_read_data()
357 if (p_stream->m_bytes_in_buffer == (OPJ_SIZE_T)-1) { in opj_stream_read_data()
364 return l_read_nb_bytes ? l_read_nb_bytes : (OPJ_SIZE_T)-1; in opj_stream_read_data()
387 OPJ_SIZE_T opj_stream_write_data (opj_stream_private_t * p_stream, in opj_stream_write_data()
389 OPJ_SIZE_T p_size, in opj_stream_write_data()
[all …]
Dopenjpeg.h133 typedef size_t OPJ_SIZE_T; typedef
513 typedef OPJ_SIZE_T (* opj_stream_read_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_da…
518 typedef OPJ_SIZE_T (* opj_stream_write_fn) (void * p_buffer, OPJ_SIZE_T p_nb_bytes, void * p_user_d…
1036 OPJ_API opj_stream_t* OPJ_CALLCONV opj_stream_create(OPJ_SIZE_T p_buffer_size, OPJ_BOOL p_is_input);
1119 OPJ_SIZE_T p_buffer_size,
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()
93 OPJ_SIZE_T l_nb_read = fread(p_buffer,1,p_nb_bytes,p_file); in opj_read_from_file()
94 return l_nb_read ? l_nb_read : (OPJ_SIZE_T)-1; 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()
927 OPJ_SIZE_T p_size, in opj_stream_create_file_stream_v3()
Dj2k.c4292 OPJ_SIZE_T l_current_read_size;
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpx_opj.cpp28 static OPJ_SIZE_T opj_read_from_memory (void * p_buffer, OPJ_SIZE_T p_nb_bytes, decodeData* srcDat… in opj_read_from_memory()
33 OPJ_SIZE_T readlength = p_nb_bytes; in opj_read_from_memory()
34 OPJ_SIZE_T bufferLength = (OPJ_SIZE_T)(srcData->src_size - srcData->offset); in opj_read_from_memory()
45 static OPJ_SIZE_T opj_write_from_memory (void * p_buffer, OPJ_SIZE_T p_nb_bytes, decodeData* srcDat… in opj_write_from_memory()
50 OPJ_SIZE_T writeLength = p_nb_bytes; in opj_write_from_memory()
51 OPJ_SIZE_T bufferLength = (OPJ_SIZE_T)(srcData->src_size - srcData->offset); in opj_write_from_memory()
85 opj_stream_t* fx_opj_stream_create_memory_stream (decodeData* data, OPJ_SIZE_T p_size, OPJ_BOOL p_… in fx_opj_stream_create_memory_stream()