Lines Matching refs:num_attrs
437 BE_STREAM_TO_UINT8(get_attr_rsp->num_attrs, p); in avrc_pars_browse_rsp()
439 get_attr_rsp->num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_pars_browse_rsp()
440 for (int i = 0; i < get_attr_rsp->num_attrs; i++) { in avrc_pars_browse_rsp()
676 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
683 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
684 if (num_attrs > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
685 num_attrs = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
689 p_result->get_app_attr_txt.num_attr = num_attrs; in avrc_ctrl_pars_vendor_rsp()
692 num_attrs * sizeof(tAVRC_APP_SETTING_TEXT)); in avrc_ctrl_pars_vendor_rsp()
693 for (int xx = 0; xx < num_attrs; xx++) { in avrc_ctrl_pars_vendor_rsp()
785 uint8_t num_attrs; in avrc_ctrl_pars_vendor_rsp() local
788 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
792 BE_STREAM_TO_UINT8(num_attrs, p); in avrc_ctrl_pars_vendor_rsp()
793 p_result->get_attrs.num_attrs = num_attrs; in avrc_ctrl_pars_vendor_rsp()
794 if (num_attrs) { in avrc_ctrl_pars_vendor_rsp()
796 (tAVRC_ATTR_ENTRY*)osi_calloc(num_attrs * sizeof(tAVRC_ATTR_ENTRY)); in avrc_ctrl_pars_vendor_rsp()
797 for (int i = 0; i < num_attrs; i++) { in avrc_ctrl_pars_vendor_rsp()
804 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()
816 p_result->get_attrs.num_attrs = 0; in avrc_ctrl_pars_vendor_rsp()