Home
last modified time | relevance | path

Searched refs:p_buff (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_db.cc533 uint8_t* p_buff = (uint8_t*)osi_malloc(sizeof(uint8_t) * SDP_MAX_ATTR_LEN * 2); in SDP_AddSequence() local
535 p = p_buff; in SDP_AddSequence()
564 if (p - p_buff > SDP_MAX_ATTR_LEN) { in SDP_AddSequence()
567 if (p_head == p_buff) { in SDP_AddSequence()
570 osi_free(p_buff); in SDP_AddSequence()
579 SDP_AddAttribute(handle, attr_id, DATA_ELE_SEQ_DESC_TYPE, (uint32_t)(p - p_buff), p_buff); in SDP_AddSequence()
580 osi_free(p_buff); in SDP_AddSequence()
601 uint8_t* p_buff = (uint8_t*)osi_malloc(sizeof(uint8_t) * SDP_MAX_ATTR_LEN * 2); in SDP_AddUuidSequence() local
603 p = p_buff; in SDP_AddUuidSequence()
610 if ((p - p_buff) > max_len) { in SDP_AddUuidSequence()
[all …]
/packages/modules/Nfc/libnfc-nci/src/nfa/hci/
Dnfa_hci_utils.cc1322 char* p_buff, const uint8_t max_buff_size) { in nfa_hciu_get_type_inst_names() argument
1325 xx = snprintf(p_buff, max_buff_size, "Type=%s [0x%02x] ", in nfa_hciu_get_type_inst_names()
1330 snprintf(&p_buff[xx], max_buff_size - xx, "Inst=%s [0x%02x] ", in nfa_hciu_get_type_inst_names()
1335 snprintf(&p_buff[xx], max_buff_size - xx, "Evt=%s [0x%02x] ", in nfa_hciu_get_type_inst_names()
1340 snprintf(&p_buff[xx], max_buff_size - xx, "Resp=%s [0x%02x] ", in nfa_hciu_get_type_inst_names()
1345 snprintf(&p_buff[xx], max_buff_size - xx, "Inst=%u ", inst); in nfa_hciu_get_type_inst_names()
1348 return p_buff; in nfa_hciu_get_type_inst_names()
/packages/modules/Nfc/libnfc-nci/src/nfa/ee/
Dnfa_ee_act.cc98 static void add_route_sys_code_tlv(uint8_t** p_buff, uint8_t* p_sys_code_cfg, in add_route_sys_code_tlv() argument
103 *(*p_buff)++ = NFC_ROUTE_TAG_SYSCODE | nfa_ee_cb.route_block_control; in add_route_sys_code_tlv()
104 *(*p_buff)++ = NFA_EE_SYSTEM_CODE_LEN + 2; in add_route_sys_code_tlv()
105 *(*p_buff)++ = sys_code_rt_loc; in add_route_sys_code_tlv()
106 *(*p_buff)++ = sys_code_pwr_cfg; in add_route_sys_code_tlv()
108 memcpy(*p_buff, p_sys_code_cfg, NFA_EE_SYSTEM_CODE_LEN); in add_route_sys_code_tlv()
109 *p_buff += NFA_EE_SYSTEM_CODE_LEN; in add_route_sys_code_tlv()
527 uint8_t* p, uint8_t* p_buff, in nfa_ee_add_sys_code_route_to_ecb() argument
530 uint8_t num_tlv = *p_buff; in nfa_ee_add_sys_code_route_to_ecb()
581 nfa_ee_check_set_routing(new_size, p_max_len, p_buff, p_cur_offset); in nfa_ee_add_sys_code_route_to_ecb()
[all …]
/packages/modules/Bluetooth/system/stack/btm/internal/
Dbtm_api.h461 [[nodiscard]] tBTM_STATUS BTM_WriteEIR(BT_HDR* p_buff);
/packages/modules/Bluetooth/system/stack/include/
Dbtm_client_interface.h134 [[nodiscard]] tBTM_STATUS (*BTM_WriteEIR)(BT_HDR* p_buff);
/packages/modules/Nfc/libnfc-nci/src/nfc/tags/
Drw_i93.cc488 NFC_HDR* p_buff; in rw_i93_send_to_upper() local
556 p_buff = (NFC_HDR*)GKI_getbuf((uint16_t)(length + NFC_HDR_SIZE)); in rw_i93_send_to_upper()
558 if (p_buff) { in rw_i93_send_to_upper()
559 p_buff->offset = 0; in rw_i93_send_to_upper()
560 p_buff->len = length; in rw_i93_send_to_upper()
562 memcpy((p_buff + 1), p, length); in rw_i93_send_to_upper()
566 rw_data.i93_data.p_data = p_buff; in rw_i93_send_to_upper()
/packages/modules/Nfc/libnfc-nci/src/nfa/include/
Dnfa_hci_int.h529 uint8_t inst, char* p_buff,
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_inq.cc1739 tBTM_STATUS BTM_WriteEIR(BT_HDR* p_buff) { in BTM_WriteEIR() argument
1742 btsnd_hcic_write_ext_inquiry_response(p_buff, TRUE); in BTM_WriteEIR()
1745 osi_free(p_buff); in BTM_WriteEIR()