Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_utils.cc570 uint8_t* p_seq_end; in sdpu_extract_uid_seq() local
618 p_seq_end = p + seq_len; in sdpu_extract_uid_seq()
621 for (; p < p_seq_end;) { in sdpu_extract_uid_seq()
639 if (p + sizeof(uint8_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
643 if (p + sizeof(uint16_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
647 if (p + sizeof(uint32_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
656 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq()
668 if (p != p_seq_end) return (NULL); in sdpu_extract_uid_seq()
Dsdp_discovery.cc689 uint8_t type, *p_seq_end; in save_attr_seq() local
711 p_seq_end = p + seq_len; in save_attr_seq()
713 while (p < p_seq_end) { in save_attr_seq()
717 if (p == NULL || (p + attr_len) > p_seq_end) { in save_attr_seq()
729 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()