Lines Matching refs:elem_len
526 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()
617 memcpy(&p_cfg->protect_info[protect_offset], p, elem_len); in avdt_msg_prs_cfg()
618 protect_offset += elem_len; in avdt_msg_prs_cfg()
620 p += elem_len; in avdt_msg_prs_cfg()
633 tmp = elem_len; in avdt_msg_prs_cfg()
634 if (elem_len >= AVDT_CODEC_SIZE) { in avdt_msg_prs_cfg()
643 p_cfg->codec_info[0] = elem_len; in avdt_msg_prs_cfg()
645 p += elem_len; in avdt_msg_prs_cfg()
654 p += elem_len; in avdt_msg_prs_cfg()