Lines Matching refs:num_attrs
645 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
652 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
653 if (num_attrs > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
654 num_attrs = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
658 p_result->get_app_attr_txt.num_attr = num_attrs; in avrc_ctrl_pars_vendor_rsp()
661 num_attrs * sizeof(tAVRC_APP_SETTING_TEXT)); in avrc_ctrl_pars_vendor_rsp()
662 for (int xx = 0; xx < num_attrs; xx++) { in avrc_ctrl_pars_vendor_rsp()
754 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
757 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
761 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
762 p_result->get_attrs.num_attrs = num_attrs; in avrc_ctrl_pars_vendor_rsp()
763 if (num_attrs) { in avrc_ctrl_pars_vendor_rsp()
765 (tAVRC_ATTR_ENTRY*)osi_calloc(num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_ctrl_pars_vendor_rsp()
766 for (int i = 0; i < num_attrs; i++) { in avrc_ctrl_pars_vendor_rsp()
773 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
785 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()