Searched refs:utf16_data (Results 1 – 1 of 1) sorted by relevance
325 static void ConvertUTF16BufferToUTF8String(const uint16_t* utf16_data, in ConvertUTF16BufferToUTF8String() argument332 size_t max_word_length = max_length_in_bytes / sizeof(utf16_data[0]); in ConvertUTF16BufferToUTF8String()333 size_t word_length = UTF16codeunits(utf16_data, max_word_length); in ConvertUTF16BufferToUTF8String()335 size_t byte_length = word_length * sizeof(utf16_data[0]); in ConvertUTF16BufferToUTF8String()337 memcpy(&utf16_vector[0], &utf16_data[0], byte_length); in ConvertUTF16BufferToUTF8String()