Home
last modified time | relevance | path

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

/external/pdfium/third_party/libopenjpeg20/
Dcio.h176 void opj_write_bytes_BE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value,
186 void opj_read_bytes_BE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value,
196 void opj_write_bytes_LE(OPJ_BYTE * p_buffer, OPJ_UINT32 p_value,
206 void opj_read_bytes_LE(const OPJ_BYTE * p_buffer, OPJ_UINT32 * p_value,
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, 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()
[all …]
Dopenjpeg.c91 static OPJ_SIZE_T opj_read_from_file(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_read_from_file() argument
94 OPJ_SIZE_T l_nb_read = fread(p_buffer, 1, p_nb_bytes, p_file); in opj_read_from_file()
109 static OPJ_SIZE_T opj_write_from_file(void * p_buffer, OPJ_SIZE_T p_nb_bytes, in opj_write_from_file() argument
112 return fwrite(p_buffer, 1, p_nb_bytes, p_file); in opj_write_from_file()
Dopenjpeg.h597 typedef OPJ_SIZE_T(* opj_stream_read_fn)(void * p_buffer, OPJ_SIZE_T p_nb_bytes,
603 typedef OPJ_SIZE_T(* opj_stream_write_fn)(void * p_buffer,
/external/OpenCSD/decoder/source/mem_acc/
Dtrc_mem_acc_bufptr.cpp38 TrcMemAccBufPtr::TrcMemAccBufPtr(const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint3… in TrcMemAccBufPtr() argument
40 m_p_buffer(p_buffer) in TrcMemAccBufPtr()
Dtrc_mem_acc_mapper.cpp78 … uint8_t cs_trace_id, const ocsd_mem_space_acc_t mem_space, uint32_t *num_bytes, uint8_t *p_buffer) in ReadTargetMemory() argument
102 …rr = m_cache.readBytesFromCache(m_acc_curr, address, mem_space, cs_trace_id, &readBytes, p_buffer); in ReadTargetMemory()
108 … readBytes = m_acc_curr->readBytes(address, mem_space, cs_trace_id, *num_bytes, p_buffer); in ReadTargetMemory()
Dtrc_mem_acc_base.cpp45 …mAccessorBase **pAccessor, const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint32_t s… in CreateBufferAccessor() argument
49 pAcc = new (std::nothrow) TrcMemAccBufPtr(s_address,p_buffer,size); in CreateBufferAccessor()
/external/pdfium/core/fxcodec/jpx/
Djpx_decode_utils.cpp16 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, in opj_read_from_memory() argument
29 memcpy(p_buffer, &srcData->src_data[srcData->offset], readlength); in opj_read_from_memory()
Djpx_decode_utils.h30 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
/external/OpenCSD/decoder/include/opencsd/c_api/
Docsd_c_api_cust_impl.h101 uint8_t *p_buffer) in lib_cb_MemAccess() argument
104 …ks->fn_memory_access(callbacks->lib_context, address, cs_trace_id, mem_space, num_bytes, p_buffer); in lib_cb_MemAccess()
Docsd_c_api_custom.h145 uint8_t *p_buffer);
/external/OpenCSD/decoder/include/common/
Dtrc_pkt_decode_base.h98 …csd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, uint32_t *num_bytes, uint8_t *p_buffer);
176 …ocsd_vaddr_t address, const ocsd_mem_space_acc_t mem_space, uint32_t *num_bytes, uint8_t *p_buffer) in accessMemory() argument
179 …_mem_access.first()->ReadTargetMemory(address,getCoreSightTraceID(),mem_space, num_bytes,p_buffer); in accessMemory()
/external/OpenCSD/decoder/tests/source/
Dc_api_pkt_print_test.c461 static int print_data_array(const uint8_t *p_array, const int array_size, char *p_buffer, int buf_s… in print_data_array() argument
465 p_buffer[0] = 0; in print_data_array()
470 strcat(p_buffer,"[ "); in print_data_array()
475 sprintf(p_buffer+chars_printed,"0x%02X ", p_array[bytes_processed]); in print_data_array()
481 strcat(p_buffer,"];"); in print_data_array()
486 sprintf(p_buffer,"[];"); in print_data_array()
/external/OpenCSD/decoder/include/interfaces/
Dtrc_tgt_mem_access_i.h85 uint8_t *p_buffer) = 0;
/external/OpenCSD/decoder/include/mem_acc/
Dtrc_mem_acc_bufptr.h62 TrcMemAccBufPtr(const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint32_t size);
Dtrc_mem_acc_mapper.h62 uint8_t *p_buffer);
Dtrc_mem_acc_base.h232 …mAccessorBase **pAccessor, const ocsd_vaddr_t s_address, const uint8_t *p_buffer, const uint32_t s…
/external/OpenCSD/decoder/source/c_api/
Docsd_c_api_custom_obj.cpp335 uint8_t *p_buffer) in MemAccessCB() argument
338 …b_context)->m_pMemAccessor->ReadTargetMemory(address, cs_trace_id, mem_space, num_bytes, p_buffer); in MemAccessCB()
Docsd_c_api_custom_obj.h149 uint8_t *p_buffer);