Searched refs:btrc_attrs (Results 1 – 1 of 1) sorted by relevance
61 std::vector<btrc_player_setting_text_t> btrc_attrs(attrs.size()); in StringValueToPlayerSettingsText() local63 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() local81 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()[all …]