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.cc327 uint8_t* p_seq_end; in sdpu_extract_uid_seq() local
375 p_seq_end = p + seq_len; in sdpu_extract_uid_seq()
378 for (; p < p_seq_end;) { in sdpu_extract_uid_seq()
396 if (p + sizeof(uint8_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
400 if (p + sizeof(uint16_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
404 if (p + sizeof(uint32_t) > p_seq_end) return NULL; in sdpu_extract_uid_seq()
413 (p + uuid_len <= p_seq_end)) { in sdpu_extract_uid_seq()
425 if (p != p_seq_end) return (NULL); in sdpu_extract_uid_seq()
Dsdp_discovery.cc755 uint8_t type, *p_seq_end; in save_attr_seq() local
777 p_seq_end = p + seq_len; in save_attr_seq()
779 while (p < p_seq_end) { in save_attr_seq()
783 if (p == NULL || (p + attr_len) > p_seq_end) { in save_attr_seq()
795 p = add_attr(p, p_seq_end, p_ccb->p_db, p_rec, attr_id, NULL, 0); in save_attr_seq()