Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_discovery.cc345 uint32_t list_len; in sdp_copy_raw_data() local
352 list_len = p_ccb->list_len; in sdp_copy_raw_data()
354 p_end = &p_ccb->rsp_list[0] + list_len; in sdp_copy_raw_data()
360 p = sdpu_get_len_from_type(p, p_end, type, &list_len); in sdp_copy_raw_data()
361 if (p == NULL || (p + list_len) > p_end) { in sdp_copy_raw_data()
371 if (list_len < cpy_len) { in sdp_copy_raw_data()
372 cpy_len = list_len; in sdp_copy_raw_data()
417 if ((p_ccb->list_len + list_byte_count) > 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()
425 p_ccb->list_len += list_byte_count; in process_service_attr_rsp()
[all …]
Dsdp_server.cc468 p_ccb->list_len = sdpu_get_attrib_seq_len(p_rec, &attr_seq_sav) + 3; in process_service_attr_req()
470 if (p_ccb->list_len > 255) { 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()
480 p_ccb->rsp_list[2] = (uint8_t)(p_ccb->list_len - 3); in process_service_attr_req()
482 p_ccb->list_len--; in process_service_attr_req()
508 if (p_ccb->cont_offset < p_ccb->list_len) { in process_service_attr_req()
768 p_ccb->list_len = sdpu_get_list_len(&uid_seq, &attr_seq_sav) + 3; in process_service_search_attr_req()
770 if (p_ccb->list_len > 255) { in process_service_search_attr_req()
773 p_ccb->rsp_list[1] = (uint8_t)((p_ccb->list_len - 3) >> 8); in process_service_search_attr_req()
[all …]
Dsdp_utils.cc691 uint32_t list_len, attr_len; in sdpu_extract_attr_seq() local
709 BE_STREAM_TO_UINT8(list_len, p); in sdpu_extract_attr_seq()
715 BE_STREAM_TO_UINT16(list_len, p); in sdpu_extract_attr_seq()
721 BE_STREAM_TO_UINT32(list_len, p); in sdpu_extract_attr_seq()
728 if (list_len > param_len) return NULL; in sdpu_extract_attr_seq()
730 p_end_list = p + list_len; in sdpu_extract_attr_seq()
Dsdpint.h141 uint16_t list_len; /* length of the response in the GKI buffer */ member