Searched refs:to_copy (Results 1 – 2 of 2) sorted by relevance
112 size_t to_copy = output->end() - output_pos; in DEFINE_OPENSSL_OBJECT_POINTER() local113 memcpy(output_pos, cmac, to_copy); in DEFINE_OPENSSL_OBJECT_POINTER()114 output_pos += to_copy; in DEFINE_OPENSSL_OBJECT_POINTER()
65 size_t to_copy = std::min(sizeof(btrc_attrs[i].text) - 1, str.size()); in StringValueToPlayerSettingsText() local66 if (to_copy < 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()83 size_t to_copy = std::min(sizeof(btrc_attrs[i].text) - 1, str.size()); in StringValueToElementAttrVal() local84 if (to_copy < 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()