/system/nfc/src/nfc/tags/ |
D | tags_int.cc | 108 const tT1T_CMD_RSP_INFO *p_ret = nullptr, *p; in t1t_cmd_to_rsp_info() local 114 p_ret = p; in t1t_cmd_to_rsp_info() 119 return p_ret; in t1t_cmd_to_rsp_info() 132 const tT1T_INIT_TAG *p_ret = nullptr, *p; in t1t_tag_init_data() local 137 p_ret = p; in t1t_tag_init_data() 142 return p_ret; in t1t_tag_init_data() 157 const tT2T_INIT_TAG *p_ret = nullptr, *p; in t2t_tag_init_data() local 164 p_ret = p; in t2t_tag_init_data() 170 return p_ret; in t2t_tag_init_data() 183 const tT2T_CMD_RSP_INFO *p_ret = nullptr, *p; in t2t_cmd_to_rsp_info() local [all …]
|
D | rw_t2t_ndef.cc | 858 const tT2T_INIT_TAG* p_ret; in rw_t2t_extract_default_locks_info() local 867 p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], false, 0); in rw_t2t_extract_default_locks_info() 868 if (p_ret != nullptr) bytes_locked_per_lock_bit = p_ret->default_lock_blpb; in rw_t2t_extract_default_locks_info() 1346 const tT2T_INIT_TAG* p_ret; in rw_t2t_get_ndef_flags() local 1357 if (((p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], false, 0)) != nullptr) && in rw_t2t_get_ndef_flags() 1358 (p_ret->b_otp)) { in rw_t2t_get_ndef_flags() 1849 const tT2T_INIT_TAG* p_ret; in rw_t2t_handle_format_tag_rsp() local 1869 p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], true, version_no); in rw_t2t_handle_format_tag_rsp() 1870 if (p_ret != nullptr) { in rw_t2t_handle_format_tag_rsp() 1872 if (p_ret->b_calc_cc) /* Calculate tag size from Version Information */ in rw_t2t_handle_format_tag_rsp() [all …]
|
D | rw_t1t_ndef.cc | 1631 const tT1T_INIT_TAG* p_ret; in rw_t1t_get_ndef_max_size() local 1644 ((p_ret = t1t_tag_init_data(p_t1t->hr[0])) != nullptr)) { in rw_t1t_get_ndef_max_size() 1645 p_t1t->max_ndef_msg_len = ((p_ret->tms + 1) * T1T_BLOCK_SIZE) - in rw_t1t_get_ndef_max_size() 1649 if (p_ret->b_dynamic) { in rw_t1t_get_ndef_max_size() 2145 const tT1T_INIT_TAG* p_ret; in RW_T1tFormatNDef() local 2163 p_ret = t1t_tag_init_data(p_t1t->hr[0]); in RW_T1tFormatNDef() 2164 if (p_ret == nullptr) { in RW_T1tFormatNDef() 2178 UINT8_TO_BE_STREAM(p, p_ret->tms); in RW_T1tFormatNDef() 2180 if (p_ret->b_dynamic) { in RW_T1tFormatNDef() 2184 UINT8_TO_BE_STREAM(p, p_ret->lock_tlv[0]); in RW_T1tFormatNDef() [all …]
|
/system/bt/stack/include/ |
D | a2dp_sbc_up_sample.h | 74 uint32_t dst_samples, uint32_t* p_ret); 96 uint32_t dst_samples, uint32_t* p_ret); 118 uint32_t dst_samples, uint32_t* p_ret); 140 uint32_t dst_samples, uint32_t* p_ret); 161 uint32_t dst_samples, uint32_t* p_ret);
|
/system/bt/stack/a2dp/ |
D | a2dp_sbc_up_sample.cc | 29 uint32_t dst_samples, uint32_t* p_ret); 115 uint32_t dst_samples, uint32_t* p_ret) { in a2dp_sbc_up_sample() argument 122 return (*a2dp_sbc_ups_cb.p_act)(p_src, p_dst, src, dst, p_ret); in a2dp_sbc_up_sample() 124 *p_ret = 0; in a2dp_sbc_up_sample() 149 uint32_t dst_samples, uint32_t* p_ret) { in a2dp_sbc_up_sample_16s() argument 184 *p_ret = ((char*)p_src_tmp - (char*)p_src); in a2dp_sbc_up_sample_16s() 208 uint32_t dst_samples, uint32_t* p_ret) { in a2dp_sbc_up_sample_16m() argument 244 *p_ret = ((char*)p_src_tmp - (char*)p_src); in a2dp_sbc_up_sample_16m() 268 uint32_t dst_samples, uint32_t* p_ret) { in a2dp_sbc_up_sample_8s() argument 309 *p_ret = ((char*)p_src_tmp - (char*)p_src); in a2dp_sbc_up_sample_8s() [all …]
|
/system/core/libcutils/ |
D | record_stream.cpp | 78 unsigned char * p_ret; in getEndOfRecord() local 87 p_ret = p_begin + HEADER_SIZE + len; in getEndOfRecord() 89 if (p_end < p_ret) { in getEndOfRecord() 93 return p_ret; in getEndOfRecord()
|
/system/bt/stack/avct/ |
D | avct_lcb_act.cc | 57 BT_HDR* p_ret; in avct_lcb_msg_asmbl() local 61 p_ret = NULL; in avct_lcb_msg_asmbl() 62 return p_ret; in avct_lcb_msg_asmbl() 73 p_ret = NULL; in avct_lcb_msg_asmbl() 83 p_ret = p_buf; in avct_lcb_msg_asmbl() 116 p_ret = NULL; in avct_lcb_msg_asmbl() 124 p_ret = NULL; in avct_lcb_msg_asmbl() 143 p_ret = NULL; in avct_lcb_msg_asmbl() 152 p_ret = p_lcb->p_rx_msg; in avct_lcb_msg_asmbl() 157 p_ret = NULL; in avct_lcb_msg_asmbl() [all …]
|
/system/logging/liblog/ |
D | logprint.cpp | 98 FilterInfo* p_ret; in filterinfo_new() local 100 p_ret = (FilterInfo*)calloc(1, sizeof(FilterInfo)); in filterinfo_new() 101 p_ret->mTag = strdup(tag); in filterinfo_new() 102 p_ret->mPri = pri; in filterinfo_new() 104 return p_ret; in filterinfo_new() 209 AndroidLogFormat* p_ret; in android_log_format_new() local 211 p_ret = static_cast<AndroidLogFormat*>(calloc(1, sizeof(AndroidLogFormat))); in android_log_format_new() 213 p_ret->global_pri = ANDROID_LOG_VERBOSE; in android_log_format_new() 214 p_ret->format = FORMAT_BRIEF; in android_log_format_new() 215 p_ret->colored_output = false; in android_log_format_new() [all …]
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_main.cc | 408 tNFA_EE_ECB *p_ret = nullptr, *p_cb; in nfa_ee_find_ecb() local 412 p_ret = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_find_ecb() 417 p_ret = p_cb; in nfa_ee_find_ecb() 423 return p_ret; in nfa_ee_find_ecb() 437 tNFA_EE_ECB *p_ret = nullptr, *p_cb; in nfa_ee_find_ecb_by_conn_id() local 443 p_ret = p_cb; in nfa_ee_find_ecb_by_conn_id() 448 return p_ret; in nfa_ee_find_ecb_by_conn_id()
|
D | nfa_ee_act.cc | 648 tNFA_EE_ECB *p_ret = nullptr, *p_ecb; in nfa_ee_find_aid_offset() local 659 p_ret = p_ecb; in nfa_ee_find_aid_offset() 667 if (p_ret) { in nfa_ee_find_aid_offset() 675 return p_ret; in nfa_ee_find_aid_offset() 691 tNFA_EE_ECB* p_ret = nullptr; in nfa_ee_find_sys_code_offset() local 704 p_ret = p_ecb; in nfa_ee_find_sys_code_offset() 712 if (p_ret) { in nfa_ee_find_sys_code_offset() 714 return p_ret; in nfa_ee_find_sys_code_offset() 718 return p_ret; in nfa_ee_find_sys_code_offset()
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 1210 BT_HDR* p_ret; in avdt_msg_asmbl() local 1219 p_ret = NULL; in avdt_msg_asmbl() 1220 return p_ret; in avdt_msg_asmbl() 1228 p_ret = NULL; in avdt_msg_asmbl() 1238 p_ret = p_buf; in avdt_msg_asmbl() 1271 p_ret = NULL; in avdt_msg_asmbl() 1279 p_ret = NULL; in avdt_msg_asmbl() 1298 p_ret = NULL; in avdt_msg_asmbl() 1307 p_ret = p_ccb->p_rx_msg; in avdt_msg_asmbl() 1312 p_ret = NULL; in avdt_msg_asmbl() [all …]
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 266 tBTA_AV_SCB* p_ret = (tBTA_AV_SCB*)osi_calloc(sizeof(tBTA_AV_SCB)); in bta_av_alloc_scb() local 267 p_ret->rc_handle = BTA_AV_RC_HANDLE_NONE; in bta_av_alloc_scb() 268 p_ret->chnl = chnl; in bta_av_alloc_scb() 269 p_ret->hndl = (tBTA_AV_HNDL)((xx + 1) | chnl); in bta_av_alloc_scb() 270 p_ret->hdi = xx; in bta_av_alloc_scb() 271 p_ret->a2dp_list = list_new(nullptr); in bta_av_alloc_scb() 272 p_ret->avrc_ct_timer = alarm_new("bta_av.avrc_ct_timer"); in bta_av_alloc_scb() 273 bta_av_cb.p_scb[xx] = p_ret; in bta_av_alloc_scb() 274 return p_ret; in bta_av_alloc_scb()
|