Searched refs:p_ret (Results 1 – 7 of 7) sorted by relevance
/system/nfc/src/nfc/tags/ |
D | tags_int.cc | 107 const tT1T_CMD_RSP_INFO *p_ret = nullptr, *p; in t1t_cmd_to_rsp_info() local 113 p_ret = p; in t1t_cmd_to_rsp_info() 118 return p_ret; in t1t_cmd_to_rsp_info() 131 const tT1T_INIT_TAG *p_ret = nullptr, *p; in t1t_tag_init_data() local 136 p_ret = p; in t1t_tag_init_data() 141 return p_ret; in t1t_tag_init_data() 156 const tT2T_INIT_TAG *p_ret = nullptr, *p; in t2t_tag_init_data() local 163 p_ret = p; in t2t_tag_init_data() 169 return p_ret; in t2t_tag_init_data() 182 const tT2T_CMD_RSP_INFO *p_ret = nullptr, *p; in t2t_cmd_to_rsp_info() local [all …]
|
D | rw_t2t_ndef.cc | 857 const tT2T_INIT_TAG* p_ret; in rw_t2t_extract_default_locks_info() local 866 p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], false, 0); in rw_t2t_extract_default_locks_info() 867 if (p_ret != nullptr) bytes_locked_per_lock_bit = p_ret->default_lock_blpb; in rw_t2t_extract_default_locks_info() 1344 const tT2T_INIT_TAG* p_ret; in rw_t2t_get_ndef_flags() local 1355 if (((p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], false, 0)) != nullptr) && in rw_t2t_get_ndef_flags() 1356 (p_ret->b_otp)) { in rw_t2t_get_ndef_flags() 1844 const tT2T_INIT_TAG* p_ret; in rw_t2t_handle_format_tag_rsp() local 1864 p_ret = t2t_tag_init_data(p_t2t->tag_hdr[0], true, version_no); in rw_t2t_handle_format_tag_rsp() 1865 if (p_ret != nullptr) { in rw_t2t_handle_format_tag_rsp() 1867 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 | 1632 const tT1T_INIT_TAG* p_ret; in rw_t1t_get_ndef_max_size() local 1645 ((p_ret = t1t_tag_init_data(p_t1t->hr[0])) != nullptr)) { in rw_t1t_get_ndef_max_size() 1646 p_t1t->max_ndef_msg_len = ((p_ret->tms + 1) * T1T_BLOCK_SIZE) - in rw_t1t_get_ndef_max_size() 1650 if (p_ret->b_dynamic) { in rw_t1t_get_ndef_max_size() 2146 const tT1T_INIT_TAG* p_ret; in RW_T1tFormatNDef() local 2164 p_ret = t1t_tag_init_data(p_t1t->hr[0]); in RW_T1tFormatNDef() 2165 if (p_ret == nullptr) { in RW_T1tFormatNDef() 2179 UINT8_TO_BE_STREAM(p, p_ret->tms); in RW_T1tFormatNDef() 2181 if (p_ret->b_dynamic) { in RW_T1tFormatNDef() 2185 UINT8_TO_BE_STREAM(p, p_ret->lock_tlv[0]); in RW_T1tFormatNDef() [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/logging/liblog/ |
D | logprint.cpp | 91 FilterInfo* p_ret; in filterinfo_new() local 93 p_ret = (FilterInfo*)calloc(1, sizeof(FilterInfo)); in filterinfo_new() 94 p_ret->mTag = strdup(tag); in filterinfo_new() 95 p_ret->mPri = pri; in filterinfo_new() 97 return p_ret; in filterinfo_new() 202 AndroidLogFormat* p_ret; in android_log_format_new() local 204 p_ret = static_cast<AndroidLogFormat*>(calloc(1, sizeof(AndroidLogFormat))); in android_log_format_new() 206 p_ret->global_pri = ANDROID_LOG_VERBOSE; in android_log_format_new() 207 p_ret->format = FORMAT_BRIEF; in android_log_format_new() 208 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 | 685 tNFA_EE_ECB *p_ret = nullptr, *p_ecb; in nfa_ee_find_aid_offset() local 696 p_ret = p_ecb; in nfa_ee_find_aid_offset() 704 if (p_ret) { in nfa_ee_find_aid_offset() 712 return p_ret; in nfa_ee_find_aid_offset() 728 tNFA_EE_ECB* p_ret = nullptr; in nfa_ee_find_sys_code_offset() local 741 p_ret = p_ecb; in nfa_ee_find_sys_code_offset() 749 if (p_ret) { in nfa_ee_find_sys_code_offset() 751 return p_ret; in nfa_ee_find_sys_code_offset() 755 return p_ret; in nfa_ee_find_sys_code_offset()
|