Home
last modified time | relevance | path

Searched refs:p_seq_end (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_utils.cc759 uint8_t* p_seq_end; in sdpu_extract_uid_seq() local
807 p_seq_end = p + seq_len; in sdpu_extract_uid_seq()
810 for (; p < p_seq_end;) { in sdpu_extract_uid_seq()
828 if (p + sizeof(uint8_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
832 if (p + sizeof(uint16_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
836 if (p + sizeof(uint32_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
845 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq()
857 if (p != p_seq_end) return (NULL); in sdpu_extract_uid_seq()
Dsdp_discovery.cc518 uint8_t type, *p_seq_end; in save_attr_seq() local
540 p_seq_end = p + seq_len; in save_attr_seq()
542 while (p < p_seq_end) { in save_attr_seq()
546 if (p == NULL || (p + attr_len) > p_seq_end) { in save_attr_seq()
558 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()