Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_server.cc363 osi_free(p_ccb->rsp_list); in process_service_attr_req()
364 p_ccb->rsp_list = (uint8_t*)osi_malloc(max_list_len); in process_service_attr_req()
384 p_rsp = &p_ccb->rsp_list[0]; in process_service_attr_req()
389 p_rsp = &p_ccb->rsp_list[3]; /* Leave space for data elem descr */ in process_service_attr_req()
404 rem_len = max_list_len - (int16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
464 len_to_send = (uint16_t)(p_rsp - &p_ccb->rsp_list[0]); in process_service_attr_req()
471 p_ccb->rsp_list[0] = in process_service_attr_req()
473 p_ccb->rsp_list[1] = (uint8_t)((p_ccb->list_len - 3) >> 8); in process_service_attr_req()
474 p_ccb->rsp_list[2] = (uint8_t)(p_ccb->list_len - 3); in process_service_attr_req()
478 p_ccb->rsp_list[1] = in process_service_attr_req()
[all …]
Dsdp_discovery.cc353 p = &p_ccb->rsp_list[0]; in sdp_copy_raw_data()
354 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data()
374 rem_len = SDP_MAX_LIST_BYTE_COUNT - (unsigned int)(p - &p_ccb->rsp_list[0]); in sdp_copy_raw_data()
422 if (p_ccb->rsp_list == NULL) in process_service_attr_rsp()
423 p_ccb->rsp_list = (uint8_t*)osi_malloc(SDP_MAX_LIST_BYTE_COUNT); in process_service_attr_rsp()
424 memcpy(&p_ccb->rsp_list[p_ccb->list_len], p_reply, list_byte_count); in process_service_attr_rsp()
445 if (!save_attr_seq(p_ccb, &p_ccb->rsp_list[0], in process_service_attr_rsp()
446 &p_ccb->rsp_list[p_ccb->list_len])) { in process_service_attr_rsp()
559 if (p_ccb->rsp_list == NULL) in process_service_search_attr_rsp()
560 p_ccb->rsp_list = (uint8_t*)osi_malloc(SDP_MAX_LIST_BYTE_COUNT); in process_service_search_attr_rsp()
[all …]
Dsdpint.h142 uint8_t* rsp_list; /* pointer to GKI buffer holding response */ member
Dsdp_utils.cc387 if (p_ccb->rsp_list) SDP_TRACE_DEBUG("releasing SDP rsp_list"); in sdpu_release_ccb()
388 osi_free_and_reset((void**)&p_ccb->rsp_list); in sdpu_release_ccb()