Lines Matching refs:xx

55   uint8_t xx;  in avrc_bld_get_capability_rsp()  local
86 for (xx = 0; xx < p_rsp->count; xx++) { in avrc_bld_get_capability_rsp()
87 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp()
93 for (xx = 0; xx < p_rsp->count; xx++) { in avrc_bld_get_capability_rsp()
94 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_t xx; in avrc_bld_list_app_settings_attr_rsp() local
140 for (xx = 0; xx < p_rsp->num_attr; xx++) { in avrc_bld_list_app_settings_attr_rsp()
141 if (AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) { in avrc_bld_list_app_settings_attr_rsp()
143 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp()
168 uint8_t xx; in avrc_bld_list_app_settings_values_rsp() local
188 for (xx = 0; xx < p_rsp->num_val; xx++) { in avrc_bld_list_app_settings_values_rsp()
189 UINT8_TO_BE_STREAM(p_data, p_rsp->vals[xx]); in avrc_bld_list_app_settings_values_rsp()
213 uint8_t xx; in avrc_bld_get_cur_app_setting_value_rsp() local
235 for (xx = 0; xx < p_rsp->num_val; xx++) { in avrc_bld_get_cur_app_setting_value_rsp()
236 if (avrc_is_valid_player_attrib_value(p_rsp->p_vals[xx].attr_id, in avrc_bld_get_cur_app_setting_value_rsp()
237 p_rsp->p_vals[xx].attr_val)) { in avrc_bld_get_cur_app_setting_value_rsp()
239 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_id); in avrc_bld_get_cur_app_setting_value_rsp()
240 UINT8_TO_BE_STREAM(p_data, p_rsp->p_vals[xx].attr_val); in avrc_bld_get_cur_app_setting_value_rsp()
283 uint8_t xx; in avrc_bld_app_setting_text_rsp() local
311 for (xx = 0; xx < p_rsp->num_attr; xx++) { in avrc_bld_app_setting_text_rsp()
312 if (len_left < (p_rsp->p_attrs[xx].str_len + 4)) { in avrc_bld_app_setting_text_rsp()
313 AVRC_TRACE_ERROR("%s out of room (str_len:%d, left:%d)", __func__, xx, in avrc_bld_app_setting_text_rsp()
314 p_rsp->p_attrs[xx].str_len, len_left); in avrc_bld_app_setting_text_rsp()
319 if (!p_rsp->p_attrs[xx].str_len || !p_rsp->p_attrs[xx].p_str) { in avrc_bld_app_setting_text_rsp()
320 AVRC_TRACE_ERROR("%s NULL attr text[%d]", __func__, xx); in avrc_bld_app_setting_text_rsp()
323 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].attr_id); in avrc_bld_app_setting_text_rsp()
324 UINT16_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].charset_id); in avrc_bld_app_setting_text_rsp()
325 UINT8_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
326 ARRAY_TO_BE_STREAM(p_data, p_rsp->p_attrs[xx].p_str, in avrc_bld_app_setting_text_rsp()
327 p_rsp->p_attrs[xx].str_len); in avrc_bld_app_setting_text_rsp()
558 uint8_t xx; in avrc_bld_notify_rsp() local
625 for (xx = 0; xx < p_rsp->param.player_setting.num_attr; xx++) { in avrc_bld_notify_rsp()
627 p_rsp->param.player_setting.attr_id[xx], in avrc_bld_notify_rsp()
628 p_rsp->param.player_setting.attr_value[xx])) { in avrc_bld_notify_rsp()
629 UINT8_TO_BE_STREAM(p_data, p_rsp->param.player_setting.attr_id[xx]); in avrc_bld_notify_rsp()
631 p_rsp->param.player_setting.attr_value[xx]); in avrc_bld_notify_rsp()
874 for (uint8_t xx = 0; in avrc_bld_set_browsed_player_rsp() local
875 (xx < p_rsp->folder_depth) && (len_left > (p_folders[xx].str_len + 2)); in avrc_bld_set_browsed_player_rsp()
876 xx++) { in avrc_bld_set_browsed_player_rsp()
878 UINT16_TO_BE_STREAM(p_data, p_folders[xx].str_len); in avrc_bld_set_browsed_player_rsp()
879 ARRAY_TO_BE_STREAM(p_data, p_folders[xx].p_str, p_folders[xx].str_len); in avrc_bld_set_browsed_player_rsp()
880 len += (p_folders[xx].str_len + 2); in avrc_bld_set_browsed_player_rsp()
907 uint8_t *p_len, xx; in avrc_bld_get_folder_items_rsp() local
955 for (xx = 0; in avrc_bld_get_folder_items_rsp()
956 xx < p_rsp->item_count && len_left > AVRC_MIN_LEN_GET_FOLDER_ITEMS_RSP && in avrc_bld_get_folder_items_rsp()
958 xx++) { in avrc_bld_get_folder_items_rsp()
960 UINT8_TO_BE_STREAM(p_data, p_item_list[xx].item_type); in avrc_bld_get_folder_items_rsp()
966 switch (p_item_list[xx].item_type) { in avrc_bld_get_folder_items_rsp()
969 p_player = &p_item_list[xx].u.player; in avrc_bld_get_folder_items_rsp()
990 p_folder = &p_item_list[xx].u.folder; in avrc_bld_get_folder_items_rsp()
1009 p_media = &p_item_list[xx].u.media; in avrc_bld_get_folder_items_rsp()