Searched refs:length_to_copy (Results 1 – 2 of 2) sorted by relevance
54 int length_to_copy = server_name.length(); in ServerNameToSyncAPIName() local57 --length_to_copy; in ServerNameToSyncAPIName()59 *out = std::string(server_name.c_str(), length_to_copy); in ServerNameToSyncAPIName()
166 int length_to_copy = server_name.length(); in ServerNameToSyncAPIName() local169 --length_to_copy; in ServerNameToSyncAPIName()170 if (!UTF8ToWide(server_name.c_str(), length_to_copy, out)) { in ServerNameToSyncAPIName()