Searched refs:Codepoints (Results 1 – 1 of 1) sorted by relevance
694 std::vector<UTF32> Codepoints(S.size()); // 1 codepoint per byte suffices. in fixUTF8() local696 UTF32 *Out32 = Codepoints.data(); in fixUTF8()697 ConvertUTF8toUTF32(&In8, In8 + S.size(), &Out32, Out32 + Codepoints.size(), in fixUTF8()699 Codepoints.resize(Out32 - Codepoints.data()); in fixUTF8()700 std::string Res(4 * Codepoints.size(), 0); // 4 bytes per codepoint suffice in fixUTF8()701 const UTF32 *In32 = Codepoints.data(); in fixUTF8()703 ConvertUTF32toUTF8(&In32, In32 + Codepoints.size(), &Out8, Out8 + Res.size(), in fixUTF8()