Lines Matching refs:num_attr
158 BE_STREAM_TO_UINT8(p_result->get_cur_app_val.num_attr, p); in avrc_pars_vendor_cmd()
159 if (len != (p_result->get_cur_app_val.num_attr + 1)) { in avrc_pars_vendor_cmd()
164 if (p_result->get_cur_app_val.num_attr > AVRC_MAX_APP_ATTR_SIZE) { in avrc_pars_vendor_cmd()
166 p_result->get_cur_app_val.num_attr = AVRC_MAX_APP_ATTR_SIZE; in avrc_pars_vendor_cmd()
170 for (xx = 0, yy = 0; xx < p_result->get_cur_app_val.num_attr; xx++) { in avrc_pars_vendor_cmd()
175 p_result->get_cur_app_val.num_attr = yy; in avrc_pars_vendor_cmd()
280 BE_STREAM_TO_UINT8(p_result->get_elem_attrs.num_attr, p); in avrc_pars_vendor_cmd()
282 (p_result->get_elem_attrs.num_attr * 4)) in avrc_pars_vendor_cmd()
286 if (p_result->get_elem_attrs.num_attr > AVRC_MAX_ELEM_ATTR_SIZE) in avrc_pars_vendor_cmd()
287 p_result->get_elem_attrs.num_attr = AVRC_MAX_ELEM_ATTR_SIZE; in avrc_pars_vendor_cmd()
288 for (xx = 0; xx < p_result->get_elem_attrs.num_attr; xx++) { in avrc_pars_vendor_cmd()