Home
last modified time | relevance | path

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

/system/bt/stack/avdt/
Davdt_msg.cc526 uint8_t elem_len; in avdt_msg_prs_cfg() local
551 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 …]
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1479 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);