Searched refs:p_elem (Results 1 – 7 of 7) sorted by relevance
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_api.c | 693 tSDP_PROTOCOL_ELEM *p_elem) in sdp_fill_proto_elem() argument 713 p_elem->protocol_uuid = layer_uuid; in sdp_fill_proto_elem() 714 p_elem->num_params = 0; in sdp_fill_proto_elem() 723 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem() 725 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem() 728 if (p_elem->num_params >= SDP_MAX_PROTOCOL_PARAMS) { in sdp_fill_proto_elem() 752 …SDP_FindProtocolListElemInRec (tSDP_DISC_REC *p_rec, UINT16 layer_uuid, tSDP_PROTOCOL_ELEM *p_elem) in SDP_FindProtocolListElemInRec() argument 762 return sdp_fill_proto_elem(p_attr, layer_uuid, p_elem); in SDP_FindProtocolListElemInRec() 783 …DP_FindAddProtoListsElemInRec (tSDP_DISC_REC *p_rec, UINT16 layer_uuid, tSDP_PROTOCOL_ELEM *p_elem) in SDP_FindAddProtoListsElemInRec() argument 797 if ( (ret = sdp_fill_proto_elem(p_sattr, layer_uuid, p_elem)) == 1) { in SDP_FindAddProtoListsElemInRec()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_utils.c | 335 tGATT_HDL_LIST_ELEM *p_elem = &p_cb->hdl_list[0]; in gatt_alloc_hdl_buffer() local 337 for (i = 0; i < GATT_MAX_SR_PROFILES; i++, p_elem ++) { in gatt_alloc_hdl_buffer() 339 memset(p_elem, 0, sizeof(tGATT_HDL_LIST_ELEM)); in gatt_alloc_hdl_buffer() 340 p_elem->in_use = 1; in gatt_alloc_hdl_buffer() 341 p_elem->svc_db.svc_buffer = fixed_queue_new(QUEUE_SIZE_MAX); in gatt_alloc_hdl_buffer() 342 return p_elem; in gatt_alloc_hdl_buffer() 492 tGATT_HDL_LIST_ELEM *p_elem = &gatt_cb.hdl_list[0]; in gatt_free_srvc_db_buffer_app_id() local 495 for (i = 0; i < GATT_MAX_SR_PROFILES; i ++, p_elem ++) { in gatt_free_srvc_db_buffer_app_id() 496 if (memcmp(p_app_id, &p_elem->asgn_range.app_uuid128, sizeof(tBT_UUID)) == 0) { in gatt_free_srvc_db_buffer_app_id() 497 gatt_free_attr_value_buffer(p_elem); in gatt_free_srvc_db_buffer_app_id() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/ |
D | sdp_api.h | 366 tSDP_PROTOCOL_ELEM *p_elem); 382 tSDP_PROTOCOL_ELEM *p_elem);
|
D | btm_ble_api.h | 454 tBTM_BLE_PROP_ELEM *p_elem; member
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_ble.c | 92 tBTA_BLE_PROP_ELEM *p_elem = bta_adv_data->p_proprietary->p_elem; in btc_cleanup_adv_data() local 94 && p_elem) { in btc_cleanup_adv_data() 95 btc_gap_adv_point_cleanup((void **) &p_elem->p_val); in btc_cleanup_adv_data() 96 ++p_elem; in btc_cleanup_adv_data() 99 btc_gap_adv_point_cleanup((void **) &bta_adv_data->p_proprietary->p_elem); in btc_cleanup_adv_data() 206 tBTA_BLE_PROP_ELEM *p_elem = NULL; in btc_to_bta_adv_data() local 211 p_prop->p_elem = osi_malloc(sizeof(tBTA_BLE_PROP_ELEM) * p_prop->num_elem); in btc_to_bta_adv_data() 212 p_elem = p_prop->p_elem; in btc_to_bta_adv_data() 213 if (NULL != p_elem) { in btc_to_bta_adv_data() 214 memcpy(p_elem++, p_elem_service_data, sizeof(tBTA_BLE_PROP_ELEM)); in btc_to_bta_adv_data()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_gap.c | 2176 tBTM_BLE_PROP_ELEM *p_elem; in btm_ble_build_adv_data() local 2384 p_elem = p_data->p_proprietary->p_elem + i; in btm_ble_build_adv_data() 2386 … if (len >= (MIN_ADV_LENGTH + p_elem->len))/* len byte(1) + ATTR type(1) + Uuid len(2) in btm_ble_build_adv_data() 2389 *p ++ = p_elem->len + 1; /* Uuid len + value length */ in btm_ble_build_adv_data() 2390 *p ++ = p_elem->adv_type; in btm_ble_build_adv_data() 2391 ARRAY_TO_STREAM(p, p_elem->p_val, p_elem->len); in btm_ble_build_adv_data() 2393 len -= (MIN_ADV_LENGTH + p_elem->len); in btm_ble_build_adv_data()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_api.h | 385 tBTA_BLE_PROP_ELEM *p_elem; member
|