Home
last modified time | relevance | path

Searched refs:p_src (Results 1 – 25 of 41) sorted by relevance

12

/external/bluetooth/bluedroid/btif/src/
Dbtif_gatt_util.c81 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src) in btif_to_bta_uuid() argument
83 char *p_byte = (char*)p_src; in btif_to_bta_uuid()
86 p_dest->len = uuidType(p_src->uu); in btif_to_bta_uuid()
91 p_dest->uu.uuid16 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid()
95 p_dest->uu.uuid32 = (p_src->uu[13] << 8) + p_src->uu[12]; in btif_to_bta_uuid()
96 p_dest->uu.uuid32 += (p_src->uu[15] << 24) + (p_src->uu[14] << 16); in btif_to_bta_uuid()
110 void btif_to_bta_gatt_id(tBTA_GATT_ID *p_dest, btgatt_gatt_id_t *p_src) in btif_to_bta_gatt_id() argument
112 p_dest->inst_id = p_src->inst_id; in btif_to_bta_gatt_id()
113 btif_to_bta_uuid(&p_dest->uuid, &p_src->uuid); in btif_to_bta_gatt_id()
116 void btif_to_bta_srvc_id(tBTA_GATT_SRVC_ID *p_dest, btgatt_srvc_id_t *p_src) in btif_to_bta_srvc_id() argument
[all …]
Dbtif_mce.c73 static void mas_discovery_comp_copy_cb(UINT16 event, char *p_dest, char *p_src) in mas_discovery_comp_copy_cb() argument
76 tBTA_MCE_MAS_DISCOVERY_COMP *p_src_data = (tBTA_MCE_MAS_DISCOVERY_COMP *) p_src; in mas_discovery_comp_copy_cb()
80 if (!p_src) in mas_discovery_comp_copy_cb()
/external/bluetooth/bluedroid/btif/include/
Dbtif_gatt_util.h25 void btif_to_bta_uuid(tBT_UUID *p_dest, bt_uuid_t *p_src);
26 void btif_to_bta_gatt_id(tBTA_GATT_ID *p_dest, btgatt_gatt_id_t *p_src);
27 void btif_to_bta_srvc_id(tBTA_GATT_SRVC_ID *p_dest, btgatt_srvc_id_t *p_src);
28 void btif_to_bta_response(tBTA_GATTS_RSP *p_dest, btgatt_response_t* p_src);
29 void btif_to_bta_uuid_mask(tBTA_DM_BLE_PF_COND_MASK *p_mask, bt_uuid_t *p_src);
31 void bta_to_btif_uuid(bt_uuid_t *p_dest, tBT_UUID *p_src);
32 void bta_to_btif_srvc_id(btgatt_srvc_id_t *p_dest, tBTA_GATT_SRVC_ID *p_src);
33 void bta_to_btif_gatt_id(btgatt_gatt_id_t *p_dest, tBTA_GATT_ID *p_src);
35 uint16_t set_read_value(btgatt_read_params_t *p_dest, tBTA_GATTC_READ *p_src);
Dbtif_common.h153 typedef void (tBTIF_COPY_CBACK) (UINT16 event, char *p_dest, char *p_src);
/external/chromium_org/third_party/openmax_dl/dl/sp/src/mips/
Dmips_FFTFwd_RToCCS_F32_complex.c52 const OMX_FC32* p_src = (const OMX_FC32*)pSrc; in mips_FFTFwd_RToCCS_F32_complex() local
54 tmp1 = p_src[p_bitrev[0]].Re + p_src[p_bitrev[1]].Re; in mips_FFTFwd_RToCCS_F32_complex()
55 tmp2 = p_src[p_bitrev[2]].Re + p_src[p_bitrev[3]].Re; in mips_FFTFwd_RToCCS_F32_complex()
56 tmp3 = p_src[p_bitrev[0]].Im + p_src[p_bitrev[1]].Im; in mips_FFTFwd_RToCCS_F32_complex()
57 tmp4 = p_src[p_bitrev[2]].Im + p_src[p_bitrev[3]].Im; in mips_FFTFwd_RToCCS_F32_complex()
64 tmp1 = p_src[p_bitrev[0]].Re - p_src[p_bitrev[1]].Re; in mips_FFTFwd_RToCCS_F32_complex()
65 tmp2 = p_src[p_bitrev[2]].Re - p_src[p_bitrev[3]].Re; in mips_FFTFwd_RToCCS_F32_complex()
66 tmp3 = p_src[p_bitrev[0]].Im - p_src[p_bitrev[1]].Im; in mips_FFTFwd_RToCCS_F32_complex()
67 tmp4 = p_src[p_bitrev[2]].Im - p_src[p_bitrev[3]].Im; in mips_FFTFwd_RToCCS_F32_complex()
84 const OMX_FC32* p_src = (const OMX_FC32*)pSrc; in mips_FFTFwd_RToCCS_F32_complex() local
[all …]
Dmips_FFTInv_CCSToR_F32_complex.c27 const OMX_FC32* p_src = (const OMX_FC32*)pSrc; in mips_FFTInv_CCSToR_F32_complex() local
41 tmp1 = p_src[n].Re; in mips_FFTInv_CCSToR_F32_complex()
42 tmp2 = p_src[n].Im; in mips_FFTInv_CCSToR_F32_complex()
43 tmp3 = p_src[fft_size / 2 - n].Re; in mips_FFTInv_CCSToR_F32_complex()
44 tmp4 = p_src[fft_size / 2 - n].Im; in mips_FFTInv_CCSToR_F32_complex()
61 tmp1 = p_src[n + fft_size / 4].Re; in mips_FFTInv_CCSToR_F32_complex()
62 tmp2 = p_src[n + fft_size / 4].Im; in mips_FFTInv_CCSToR_F32_complex()
63 tmp3 = p_src[fft_size / 4 - n].Re; in mips_FFTInv_CCSToR_F32_complex()
64 tmp4 = p_src[fft_size / 4 - n].Im; in mips_FFTInv_CCSToR_F32_complex()
83 tmp1 = p_src[fft_size / 8].Re; in mips_FFTInv_CCSToR_F32_complex()
[all …]
Dmips_FFTInv_CCSToR_F32_real.c22 const OMX_FC32* p_src = (const OMX_FC32*)pSrc; in mips_FFTInv_CCSToR_F32_real() local
30 p_buf[pFFTSpec->pBitRevInv[n]] = p_src[n]; in mips_FFTInv_CCSToR_F32_real()
31 p_buf[pFFTSpec->pBitRevInv[fft_size - n]].Re = p_src[n].Re; in mips_FFTInv_CCSToR_F32_real()
32 p_buf[pFFTSpec->pBitRevInv[fft_size - n]].Im = -p_src[n].Im; in mips_FFTInv_CCSToR_F32_real()
34 p_buf[0] = p_src[0]; in mips_FFTInv_CCSToR_F32_real()
35 p_buf[pFFTSpec->pBitRevInv[fft_size / 2]] = p_src[fft_size / 2]; in mips_FFTInv_CCSToR_F32_real()
/external/bluetooth/bluedroid/bta/include/
Dbta_av_sbc.h77 extern int bta_av_sbc_up_sample (void *p_src, void *p_dst,
98 extern int bta_av_sbc_up_sample_16s (void *p_src, void *p_dst,
119 extern int bta_av_sbc_up_sample_16m (void *p_src, void *p_dst,
140 extern int bta_av_sbc_up_sample_8s (void *p_src, void *p_dst,
161 extern int bta_av_sbc_up_sample_8m (void *p_src, void *p_dst,
/external/bluetooth/bluedroid/bta/av/
Dbta_av_sbc.c31 typedef int (tBTA_AV_SBC_ACT)(void *p_src, void *p_dst,
127 int bta_av_sbc_up_sample (void *p_src, void *p_dst, in bta_av_sbc_up_sample() argument
138 return (*bta_av_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); in bta_av_sbc_up_sample()
164 int bta_av_sbc_up_sample_16s (void *p_src, void *p_dst, in bta_av_sbc_up_sample_16s() argument
168 INT16 *p_src_tmp = (INT16 *)p_src; in bta_av_sbc_up_sample_16s()
206 *p_ret = ((char *)p_src_tmp - (char *)p_src); in bta_av_sbc_up_sample_16s()
227 int bta_av_sbc_up_sample_16m (void *p_src, void *p_dst, in bta_av_sbc_up_sample_16m() argument
231 INT16 *p_src_tmp = (INT16 *)p_src; in bta_av_sbc_up_sample_16m()
271 *p_ret = ((char *)p_src_tmp - (char *)p_src); in bta_av_sbc_up_sample_16m()
292 int bta_av_sbc_up_sample_8s (void *p_src, void *p_dst, in bta_av_sbc_up_sample_8s() argument
[all …]
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_utils.c73 BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise) in bta_gattc_uuid_compare() argument
79 if (p_src == 0 || p_tar == 0) in bta_gattc_uuid_compare()
88 if (p_src->len == 2 && p_tar->len == 2) in bta_gattc_uuid_compare()
90 return p_src->uu.uuid16 == p_tar->uu.uuid16; in bta_gattc_uuid_compare()
94 if (p_src->len == LEN_UUID_16) in bta_gattc_uuid_compare()
97 bta_gatt_convert_uuid16_to_uuid128(su, p_src->uu.uuid16); in bta_gattc_uuid_compare()
101 ps = p_src->uu.uuid128; in bta_gattc_uuid_compare()
486 void bta_gattc_cpygattid(tBTA_GATT_ID *p_des, tBTA_GATT_ID *p_src) in bta_gattc_cpygattid() argument
490 p_des->inst_id = p_src->inst_id; in bta_gattc_cpygattid()
492 p_des->uuid.len = p_src->uuid.len; in bta_gattc_cpygattid()
[all …]
Dbta_gattc_int.h522 extern BOOLEAN bta_gattc_uuid_compare (tBT_UUID *p_src, tBT_UUID *p_tar, BOOLEAN is_precise);
531 extern BOOLEAN bta_gattc_charid_compare(tBTA_GATTC_CHAR_ID *p_src, tBTA_GATTC_CHAR_ID *p_tar);
532 extern BOOLEAN bta_gattc_srvcid_compare(tBTA_GATT_SRVC_ID *p_src, tBTA_GATT_SRVC_ID *p_tar);
533 extern void bta_gattc_cpygattid(tBTA_GATT_ID *p_des, tBTA_GATT_ID *p_src);
/external/ipsec-tools/src/libipsec/
Dpolicy_parse.y106 static struct sockaddr *p_src = NULL; variable
279 if (set_x_request(p_src, p_dst) < 0)
324 p_src = parse_sockaddr(&$1, NULL);
325 if (p_src == NULL)
335 p_src = parse_sockaddr(&$1, &$2);
336 if (p_src == NULL)
455 if (p_src == NULL && p_dst == NULL) { in rule_check()
461 else if (p_src->sa_family != p_dst->sa_family) { in rule_check()
573 if (p_src != NULL) { in policy_parse_request_init()
574 free(p_src); in policy_parse_request_init()
[all …]
/external/bluetooth/bluedroid/stack/a2dp/
Da2d_sbc.c391 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument
393 if(p_src && p_frag && p_start && p_last && p_num) in A2D_ParsSbcMplHdr()
395 *p_frag = (*p_src & A2D_SBC_HDR_F_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
396 *p_start= (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
397 *p_last = (*p_src & A2D_SBC_HDR_L_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
398 *p_num = (*p_src & A2D_SBC_HDR_NUM_MSK); in A2D_ParsSbcMplHdr()
443 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, in A2D_ParsSbcMplHdr() argument
447 UNUSED(p_src); in A2D_ParsSbcMplHdr()
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_postproc.c86 uint8_t const *p_src; in vp9_post_proc_down_and_across_c() local
98 p_src = src_ptr; in vp9_post_proc_down_and_across_c()
103 int v = p_src[col]; in vp9_post_proc_down_and_across_c()
106 if (abs(v - p_src[col + i * pitch]) > flimit) in vp9_post_proc_down_and_across_c()
109 kernel += kernel5[2 + i] * p_src[col + i * pitch]; in vp9_post_proc_down_and_across_c()
118 p_src = dst_ptr; in vp9_post_proc_down_and_across_c()
122 d[i] = p_src[i]; in vp9_post_proc_down_and_across_c()
126 v = p_src[col]; in vp9_post_proc_down_and_across_c()
131 if (abs(v - p_src[col + i]) > flimit) in vp9_post_proc_down_and_across_c()
134 kernel += kernel5[2 + i] * p_src[col + i]; in vp9_post_proc_down_and_across_c()
/external/libvpx/libvpx/vp8/common/
Dpostproc.c137 unsigned char *p_src, *p_dst; in vp8_post_proc_down_and_across_mb_row_c() local
146 p_src = src_ptr; in vp8_post_proc_down_and_across_mb_row_c()
151 unsigned char p_above2 = p_src[col - 2 * src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
152 unsigned char p_above1 = p_src[col - src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
153 unsigned char p_below1 = p_src[col + src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
154 unsigned char p_below2 = p_src[col + 2 * src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
156 v = p_src[col]; in vp8_post_proc_down_and_across_mb_row_c()
172 p_src = dst_ptr; in vp8_post_proc_down_and_across_mb_row_c()
175 p_src[-2] = p_src[-1] = p_src[0]; in vp8_post_proc_down_and_across_mb_row_c()
176 p_src[cols] = p_src[cols + 1] = p_src[cols - 1]; in vp8_post_proc_down_and_across_mb_row_c()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Dpostproc.c137 unsigned char *p_src, *p_dst; in vp8_post_proc_down_and_across_mb_row_c() local
146 p_src = src_ptr; in vp8_post_proc_down_and_across_mb_row_c()
151 unsigned char p_above2 = p_src[col - 2 * src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
152 unsigned char p_above1 = p_src[col - src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
153 unsigned char p_below1 = p_src[col + src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
154 unsigned char p_below2 = p_src[col + 2 * src_pixels_per_line]; in vp8_post_proc_down_and_across_mb_row_c()
156 v = p_src[col]; in vp8_post_proc_down_and_across_mb_row_c()
172 p_src = dst_ptr; in vp8_post_proc_down_and_across_mb_row_c()
175 p_src[-2] = p_src[-1] = p_src[0]; in vp8_post_proc_down_and_across_mb_row_c()
176 p_src[cols] = p_src[cols + 1] = p_src[cols - 1]; in vp8_post_proc_down_and_across_mb_row_c()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_prm.c105 UINT8 *p_src; in nfc_hal_prm_spd_send_next_segment() local
121 p_src = (UINT8*) (nfc_hal_cb.prm.p_cur_patch_data + offset); in nfc_hal_prm_spd_send_next_segment()
122 STREAM_TO_UINT8 (hcit, p_src); in nfc_hal_prm_spd_send_next_segment()
123 STREAM_TO_UINT8 (hdr0, p_src); in nfc_hal_prm_spd_send_next_segment()
124 STREAM_TO_UINT8 (oid, p_src); in nfc_hal_prm_spd_send_next_segment()
125 STREAM_TO_UINT8 (len, p_src); in nfc_hal_prm_spd_send_next_segment()
126 STREAM_TO_UINT8 (type, p_src); in nfc_hal_prm_spd_send_next_segment()
144 p_src += NCI_SPD_HEADER_OFFSET_CHIPVERLEN; in nfc_hal_prm_spd_send_next_segment()
145 STREAM_TO_UINT8 (chipverlen, p_src); in nfc_hal_prm_spd_send_next_segment()
146 if (memcmp (nfc_hal_cb.nvm_cb.chip_ver, p_src, chipverlen) != 0) in nfc_hal_prm_spd_send_next_segment()
[all …]
/external/bluetooth/bluedroid/btif/co/
Dbta_av_co.c137 tBTA_AV_CO_SINK *p_src; /* currently selected src */ member
465 tBTA_AV_CO_SINK *p_src; in bta_av_audio_sink_getconfig() local
507 p_src = &p_peer->srcs[p_peer->num_sup_srcs++]; in bta_av_audio_sink_getconfig()
513 memcpy(p_src->codec_caps, p_codec_info, AVDT_CODEC_SIZE); in bta_av_audio_sink_getconfig()
514 p_src->codec_type = codec_type; in bta_av_audio_sink_getconfig()
515 p_src->sep_info_idx = *p_sep_info_idx; in bta_av_audio_sink_getconfig()
516 p_src->seid = seid; in bta_av_audio_sink_getconfig()
517 p_src->num_protect = *p_num_protect; in bta_av_audio_sink_getconfig()
518 memcpy(p_src->protect_info, p_protect_info, BTA_AV_CP_INFO_LEN); in bta_av_audio_sink_getconfig()
539 p_src = &p_peer->srcs[index]; in bta_av_audio_sink_getconfig()
[all …]
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dt2.c106 OPJ_BYTE *p_src,
336 OPJ_BYTE *p_src, in opj_t2_decode_packets() argument
341 OPJ_BYTE *l_current_data = p_src; in opj_t2_decode_packets()
464 *p_data_read = (OPJ_UINT32)(l_current_data - p_src); in opj_t2_decode_packets()
502 OPJ_BYTE *p_src, in opj_t2_decode_packet() argument
513 …if (! opj_t2_read_packet_header(p_t2,p_tile,p_tcp,p_pi,&l_read_data,p_src,&l_nb_bytes_read,p_max_l… in opj_t2_decode_packet()
517 p_src += l_nb_bytes_read; in opj_t2_decode_packet()
525 … if (! opj_t2_read_packet_data(p_t2,p_tile,p_pi,p_src,&l_nb_bytes_read,p_max_length,p_pack_info)) { in opj_t2_decode_packet()
773 OPJ_BYTE *p_src, in opj_t2_skip_packet() argument
784 …if (! opj_t2_read_packet_header(p_t2,p_tile,p_tcp,p_pi,&l_read_data,p_src,&l_nb_bytes_read,p_max_l… in opj_t2_skip_packet()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c140 uint8_t const *p_src; in vp9_post_proc_down_and_across_c() local
152 p_src = src_ptr; in vp9_post_proc_down_and_across_c()
157 int v = p_src[col]; in vp9_post_proc_down_and_across_c()
160 if (abs(v - p_src[col + i * pitch]) > flimit) in vp9_post_proc_down_and_across_c()
163 kernel += kernel5[2 + i] * p_src[col + i * pitch]; in vp9_post_proc_down_and_across_c()
172 p_src = dst_ptr; in vp9_post_proc_down_and_across_c()
176 d[i] = p_src[i]; in vp9_post_proc_down_and_across_c()
180 v = p_src[col]; in vp9_post_proc_down_and_across_c()
185 if (abs(v - p_src[col + i]) > flimit) in vp9_post_proc_down_and_across_c()
188 kernel += kernel5[2 + i] * p_src[col + i]; in vp9_post_proc_down_and_across_c()
/external/libnfc-nci/src/nfc/tags/
Dce_t4t.c165 UINT8 *p_src = NULL, *p_dst; in ce_t4t_read_binary() local
173 p_src = p_t4t->cc_file; in ce_t4t_read_binary()
178 p_src = p_t4t->p_scratch_buf; in ce_t4t_read_binary()
180 p_src = p_t4t->p_ndef_msg; in ce_t4t_read_binary()
183 if (p_src) in ce_t4t_read_binary()
229 memcpy (p_dst, p_src + offset, length); in ce_t4t_read_binary()
Dce_t3t.c403 UINT8 *p_src = p_cb->cur_cmd.p_block_list_start; in ce_t3t_handle_check_cmd() local
430 STREAM_TO_UINT8 (bl0, p_src); in ce_t3t_handle_check_cmd()
434 STREAM_TO_UINT8 (block_number, p_src); in ce_t3t_handle_check_cmd()
438 STREAM_TO_UINT16 (block_number, p_src); in ce_t3t_handle_check_cmd()
/external/chromium_org/third_party/libvpx/source/libvpx/
Dvpxdec.c558 uint16_t *p_src = (uint16_t *)(src->planes[plane] + in high_img_upshift() local
563 *p_dst++ = (*p_src++ << input_shift) + offset; in high_img_upshift()
597 uint8_t *p_src = src->planes[plane] + y * src->stride[plane]; in low_img_upshift() local
601 *p_dst++ = (*p_src++ << input_shift) + offset; in low_img_upshift()
643 uint16_t *p_src = (uint16_t *)(src->planes[plane] + in high_img_downshift() local
648 *p_dst++ = *p_src++ >> down_shift; in high_img_downshift()
681 uint16_t *p_src = (uint16_t *)(src->planes[plane] + in low_img_downshift() local
685 *p_dst++ = *p_src++ >> down_shift; in low_img_downshift()
/external/bluetooth/bluedroid/stack/include/
Da2d_sbc.h205 A2D_API extern void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag,
/external/libnfc-nci/src/nfc/ndef/
Dndef_utils.c60 static void shiftup (UINT8 *p_dest, UINT8 *p_src, UINT32 len) in shiftup() argument
62 register UINT8 *ps = p_src; in shiftup()
1518 tNDEF_STATUS NDEF_MsgCopyAndDechunk (UINT8 *p_src, UINT32 src_len, UINT8 *p_dest, UINT32 *p_out_len) in NDEF_MsgCopyAndDechunk() argument
1529 if ((status = NDEF_MsgValidate(p_src, src_len, TRUE)) != NDEF_OK) in NDEF_MsgCopyAndDechunk()
1538 p_rec = p_src; in NDEF_MsgCopyAndDechunk()

12