Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/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+4-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.h513 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…
/external/bluetooth/bluedroid/hci/include/
Duserial.h66 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len);
/external/bluetooth/bluedroid/hci/src/
Duserial_mct.c298 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len) in userial_read() argument
303 ret = read(userial_cb.fd[ch_idx], p_buffer, (size_t)len); in userial_read()
Duserial.c318 uint16_t userial_read(uint16_t msg_id, uint8_t *p_buffer, uint16_t len) in userial_read() argument
337 memcpy((p_buffer + total_len), p_data, copy_len); in userial_read()
/external/libnfc-nci/src/nfc/include/
Drw_api.h402 NFC_API extern tNFC_STATUS RW_T1tReadNDef (UINT8 *p_buffer, UINT16 buf_len);
547 NFC_API extern tNFC_STATUS RW_T2tReadNDef (UINT8 *p_buffer, UINT16 buf_len);
/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() argument
41 memcpy(p_buffer, &(srcData->src_data[srcData->offset]), readlength); 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() argument
55 memcpy((void*&)(srcData->src_data[srcData->offset]), p_buffer, writeLength); in opj_write_from_memory()
/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c2497 tNFC_STATUS RW_T1tReadNDef (UINT8 *p_buffer, UINT16 buf_len) in RW_T1tReadNDef() argument
2539 p_t1t->p_ndef_buffer = p_buffer; in RW_T1tReadNDef()
Drw_t2t_ndef.c2982 tNFC_STATUS RW_T2tReadNDef (UINT8 *p_buffer, UINT16 buf_len) in RW_T2tReadNDef() argument
3012 p_t2t->p_ndef_buffer = p_buffer; in RW_T2tReadNDef()