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.cc569 uint8_t* p_seq_end; in sdpu_extract_uid_seq() local
617 p_seq_end = p + seq_len; in sdpu_extract_uid_seq()
620 for (; p < p_seq_end;) { in sdpu_extract_uid_seq()
638 if (p + sizeof(uint8_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
642 if (p + sizeof(uint16_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
646 if (p + sizeof(uint32_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
655 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq()
667 if (p != p_seq_end) return (NULL); in sdpu_extract_uid_seq()
Dsdp_discovery.cc698 uint8_t type, *p_seq_end; in save_attr_seq() local
720 p_seq_end = p + seq_len; in save_attr_seq()
722 while (p < p_seq_end) { in save_attr_seq()
726 if (p == NULL || (p + attr_len) > p_seq_end) { in save_attr_seq()
738 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()