Home
last modified time | relevance | path

Searched refs:rsp_list (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/sdp/
Dsdp_server.cc367 osi_free(p_ccb->rsp_list); in process_service_attr_req()
368 p_ccb->rsp_list = (uint8_t*)osi_malloc(max_list_len); in process_service_attr_req()
388 p_rsp = &p_ccb->rsp_list[0]; in process_service_attr_req()
393 p_rsp = &p_ccb->rsp_list[3]; /* Leave space for data elem descr */ in process_service_attr_req()
408 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
468 len_to_send = (uint16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
475 p_ccb->rsp_list[0] = in process_service_attr_req()
477 p_ccb->rsp_list[1] = (uint8_t)((p_ccb->list_len - 3) >> 8); in process_service_attr_req()
478 p_ccb->rsp_list[2] = (uint8_t)(p_ccb->list_len - 3); in process_service_attr_req()
482 p_ccb->rsp_list[1] = in process_service_attr_req()
[all …]
Dsdp_discovery.cc350 p = &p_ccb->rsp_list[0]; in sdp_copy_raw_data()
351 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data()
371 rem_len = SDP_MAX_LIST_BYTE_COUNT - (unsigned int)(p - &p_ccb->rsp_list[0]); in sdp_copy_raw_data()
419 if (p_ccb->rsp_list == NULL) in process_service_attr_rsp()
420 p_ccb->rsp_list = (uint8_t*)osi_malloc(SDP_MAX_LIST_BYTE_COUNT); in process_service_attr_rsp()
421 memcpy(&p_ccb->rsp_list[p_ccb->list_len], p_reply, list_byte_count); in process_service_attr_rsp()
442 if (!save_attr_seq(p_ccb, &p_ccb->rsp_list[0], in process_service_attr_rsp()
443 &p_ccb->rsp_list[p_ccb->list_len])) { in process_service_attr_rsp()
556 if (p_ccb->rsp_list == NULL) in process_service_search_attr_rsp()
557 p_ccb->rsp_list = (uint8_t*)osi_malloc(SDP_MAX_LIST_BYTE_COUNT); in process_service_search_attr_rsp()
[all …]
Dsdpint.h140 uint8_t* rsp_list; /* pointer to GKI buffer holding response */ member
Dsdp_utils.cc383 if (p_ccb->rsp_list) SDP_TRACE_DEBUG("releasing SDP rsp_list"); in sdpu_release_ccb()
384 osi_free_and_reset((void**)&p_ccb->rsp_list); in sdpu_release_ccb()