Home
last modified time | relevance | path

Searched refs:to_copy (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/km_openssl/
Dckdf.cpp112 size_t to_copy = output->end() - output_pos; in DEFINE_OPENSSL_OBJECT_POINTER() local
113 memcpy(output_pos, cmac, to_copy); in DEFINE_OPENSSL_OBJECT_POINTER()
114 output_pos += to_copy; in DEFINE_OPENSSL_OBJECT_POINTER()
/system/bt/service/
Davrcp_target.cc65 size_t to_copy = std::min(sizeof(btrc_attrs[i].text) - 1, str.size()); in StringValueToPlayerSettingsText() local
66 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() local
84 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()