• Home
  • Raw
  • Download

Lines Matching refs:xx

45     UINT8   xx;  in avrc_bld_get_capability_rsp()  local
81 for (xx=0; xx< p_rsp->count; xx++) in avrc_bld_get_capability_rsp()
83 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp()
91 for (xx=0; xx< p_rsp->count; xx++) in avrc_bld_get_capability_rsp()
93 if (AVRC_IS_VALID_EVENT_ID(p_event_id[xx])) in avrc_bld_get_capability_rsp()
96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp()
123 UINT8 xx; in avrc_bld_list_app_settings_attr_rsp() local
143 for (xx=0; xx<p_rsp->num_attr; xx++) in avrc_bld_list_app_settings_attr_rsp()
145 if(AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) in avrc_bld_list_app_settings_attr_rsp()
148 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp()
174 UINT8 xx; in avrc_bld_list_app_settings_values_rsp() local
198 for (xx=0; xx<p_rsp->num_val; xx++) in avrc_bld_list_app_settings_values_rsp()
200 UINT8_TO_BE_STREAM(p_data, p_rsp->vals[xx]); in avrc_bld_list_app_settings_values_rsp()
225 UINT8 xx; in avrc_bld_get_cur_app_setting_value_rsp() local
251 for (xx=0; xx<p_rsp->num_val; xx++) in avrc_bld_get_cur_app_setting_value_rsp()
253 … if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, p_rsp->p_vals[xx].attr_val)) in avrc_bld_get_cur_app_setting_value_rsp()
256 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp()
257 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_val); in avrc_bld_get_cur_app_setting_value_rsp()
303 UINT8 xx; in avrc_bld_app_setting_text_rsp() local
335 for (xx=0; xx<p_rsp->num_attr; xx++) in avrc_bld_app_setting_text_rsp()
337 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) in avrc_bld_app_setting_text_rsp()
340 __func__, xx, p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
345 if ( !p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str ) in avrc_bld_app_setting_text_rsp()
347 AVRC_TRACE_ERROR("%s NULL attr text[%d]", __func__, xx); in avrc_bld_app_setting_text_rsp()
350 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
351 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].charset_id); in avrc_bld_app_setting_text_rsp()
352 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
353 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
457 UINT8 xx; in avrc_bld_get_elem_attrs_rsp() local
483 for (xx=0; xx<p_rsp->num_attr; xx++) in avrc_bld_get_elem_attrs_rsp()
485 if (!AVRC_IS_VALID_MEDIA_ATTRIBUTE(p_rsp->p_attrs[xx].attr_id)) in avrc_bld_get_elem_attrs_rsp()
488 __func__, xx, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
491 if ( !p_rsp->p_attrs[xx].name.p_str ) in avrc_bld_get_elem_attrs_rsp()
493 p_rsp->p_attrs[xx].name.str_len = 0; in avrc_bld_get_elem_attrs_rsp()
495 UINT32_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_get_elem_attrs_rsp()
496 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.charset_id); in avrc_bld_get_elem_attrs_rsp()
497 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
498 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].name.p_str, p_rsp->p_attrs[xx].name.str_len); in avrc_bld_get_elem_attrs_rsp()
551 UINT8 xx; in avrc_bld_notify_rsp() local
627 for (xx=0; xx<p_rsp->param.player_setting.num_attr; xx++) in avrc_bld_notify_rsp()
629 if (avrc_is_valid_player_attrib_value(p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp()
630 p_rsp->param.player_setting.attr_value[xx])) in avrc_bld_notify_rsp()
632 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp()
633 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_value[xx]); in avrc_bld_notify_rsp()