Searched refs:elem_len (Results 1 – 2 of 2) sorted by relevance
526 uint8_t elem_len; in avdt_msg_prs_cfg() local551 elem_len = *p++; in avdt_msg_prs_cfg()568 p += elem_len; in avdt_msg_prs_cfg()570 elem_len); in avdt_msg_prs_cfg()575 if ((elem_len > avdt_msg_ie_len_max[elem]) || in avdt_msg_prs_cfg()576 (elem_len < avdt_msg_ie_len_min[elem])) { in avdt_msg_prs_cfg()583 AVDT_TRACE_DEBUG("elem=%d elem_len: %d psc_mask=0x%x", elem, elem_len, in avdt_msg_prs_cfg()608 if (p + elem_len > p_end) { in avdt_msg_prs_cfg()613 if ((elem_len + protect_offset) < AVDT_PROTECT_SIZE) { in avdt_msg_prs_cfg()615 p_cfg->protect_info[protect_offset] = elem_len; in avdt_msg_prs_cfg()[all …]
1479 bool Verify(const void *elem, size_t elem_len) const {1481 auto upper_bound = reinterpret_cast<const uint8_t *>(elem) + elem_len;1485 return Check(elem_len <= (size_t) (end_ - buf_) &&1487 elem <= end_ - elem_len);