Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_discovery.cc342 uint32_t list_len; in sdp_copy_raw_data() local
349 list_len = p_ccb->list_len; in sdp_copy_raw_data()
351 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data()
357 p = sdpu_get_len_from_type(p, p_end, type, &list_len); in sdp_copy_raw_data()
358 if (p == NULL || (p + list_len) > p_end) { in sdp_copy_raw_data()
368 if (list_len < cpy_len) { in sdp_copy_raw_data()
369 cpy_len = list_len; in sdp_copy_raw_data()
414 if ((p_ccb->list_len + list_byte_count) > 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()
422 p_ccb->list_len += list_byte_count; in process_service_attr_rsp()
[all …]
Dsdp_server.cc472 p_ccb->list_len = sdpu_get_attrib_seq_len(p_rec, &attr_seq_sav) + 3; in process_service_attr_req()
474 if (p_ccb->list_len > 255) { 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()
484 p_ccb->rsp_list[2] = (uint8_t)(p_ccb->list_len - 3); in process_service_attr_req()
486 p_ccb->list_len--; in process_service_attr_req()
512 if (p_ccb->cont_offset < p_ccb->list_len) { in process_service_attr_req()
786 p_ccb->list_len = sdpu_get_list_len(&uid_seq, &attr_seq_sav) + 3; in process_service_search_attr_req()
788 if (p_ccb->list_len > 255) { in process_service_search_attr_req()
791 p_ccb->rsp_list[1] = (uint8_t)((p_ccb->list_len - 3) >> 8); in process_service_search_attr_req()
[all …]
Dsdp_utils.cc687 uint32_t list_len, attr_len; in sdpu_extract_attr_seq() local
705 BE_STREAM_TO_UINT8(list_len, p); in sdpu_extract_attr_seq()
711 BE_STREAM_TO_UINT16(list_len, p); in sdpu_extract_attr_seq()
717 BE_STREAM_TO_UINT32(list_len, p); in sdpu_extract_attr_seq()
724 if (list_len > param_len) return NULL; in sdpu_extract_attr_seq()
726 p_end_list = p + list_len; in sdpu_extract_attr_seq()
Dsdpint.h139 uint16_t list_len; /* length of the response in the GKI buffer */ member