Searched refs:Codepoints (Results 1 – 1 of 1) sorted by relevance
711 std::vector<UTF32> Codepoints(S.size()); // 1 codepoint per byte suffices. in fixUTF8() local713 UTF32 *Out32 = Codepoints.data(); in fixUTF8()714 ConvertUTF8toUTF32(&In8, In8 + S.size(), &Out32, Out32 + Codepoints.size(), in fixUTF8()716 Codepoints.resize(Out32 - Codepoints.data()); in fixUTF8()717 std::string Res(4 * Codepoints.size(), 0); // 4 bytes per codepoint suffice in fixUTF8()718 const UTF32 *In32 = Codepoints.data(); in fixUTF8()720 ConvertUTF32toUTF8(&In32, In32 + Codepoints.size(), &Out8, Out8 + Res.size(), in fixUTF8()