Lines Matching refs:btrc_attrs
61 std::vector<btrc_player_setting_text_t> btrc_attrs(attrs.size()); in StringValueToPlayerSettingsText() local
63 btrc_attrs[i].id = attrs[i].id(); in StringValueToPlayerSettingsText()
65 size_t to_copy = std::min(sizeof(btrc_attrs[i].text) - 1, str.size()); in StringValueToPlayerSettingsText()
70 memcpy(btrc_attrs[i].text, str.data(), to_copy); in StringValueToPlayerSettingsText()
71 btrc_attrs[i].text[to_copy] = '\0'; in StringValueToPlayerSettingsText()
74 return btrc_attrs; in StringValueToPlayerSettingsText()
79 std::vector<btrc_element_attr_val_t> btrc_attrs(attrs.size()); in StringValueToElementAttrVal() local
81 btrc_attrs[i].attr_id = attrs[i].id(); in StringValueToElementAttrVal()
83 size_t to_copy = std::min(sizeof(btrc_attrs[i].text) - 1, str.size()); in StringValueToElementAttrVal()
88 memcpy(btrc_attrs[i].text, str.data(), to_copy); in StringValueToElementAttrVal()
89 btrc_attrs[i].text[to_copy] = '\0'; in StringValueToElementAttrVal()
92 return btrc_attrs; in StringValueToElementAttrVal()
143 std::vector<btrc_player_attr_t> btrc_attrs; in ListPlayerAppAttrResponse() local
144 btrc_attrs.reserve(attrs.size()); in ListPlayerAppAttrResponse()
146 btrc_attrs.push_back(static_cast<btrc_player_attr_t>(attr)); in ListPlayerAppAttrResponse()
152 ->list_player_app_attr_rsp(addr, btrc_attrs.size(), in ListPlayerAppAttrResponse()
153 btrc_attrs.data()) == in ListPlayerAppAttrResponse()
182 auto btrc_attrs = StringValueToPlayerSettingsText(attrs); in GetPlayerAppAttrTextResponse() local
186 ->get_player_app_attr_text_rsp(addr, btrc_attrs.size(), in GetPlayerAppAttrTextResponse()
187 btrc_attrs.data()) == in GetPlayerAppAttrTextResponse()
206 auto btrc_attrs = StringValueToElementAttrVal(attrs); in GetElementAttrResponse() local
211 ->get_element_attr_rsp(addr, btrc_attrs.size(), btrc_attrs.data()) == in GetElementAttrResponse()