Searched refs:p_seq_end (Results 1 – 2 of 2) sorted by relevance
327 uint8_t* p_seq_end; in sdpu_extract_uid_seq() local375 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()
755 uint8_t type, *p_seq_end; in save_attr_seq() local777 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()