Searched refs:numAdds (Results 1 – 2 of 2) sorted by relevance
15 unsigned numAdds; in CheckUTF8() local24 for (numAdds = 1; numAdds < 5; numAdds++) in CheckUTF8()25 if (c < kUtf8Limits[numAdds]) in CheckUTF8()27 UInt32 value = (c - kUtf8Limits[numAdds - 1]); in CheckUTF8()37 while (--numAdds); in CheckUTF8()51 unsigned numAdds; in Utf8_To_Utf16() local68 for (numAdds = 1; numAdds < 5; numAdds++) in Utf8_To_Utf16()69 if (c < kUtf8Limits[numAdds]) in Utf8_To_Utf16()71 UInt32 value = (c - kUtf8Limits[numAdds - 1]); in Utf8_To_Utf16()84 while (--numAdds); in Utf8_To_Utf16()[all …]
45 unsigned numAdds; in Utf16_To_Utf8() local70 for (numAdds = 1; numAdds < 5; numAdds++) in Utf16_To_Utf8()71 if (value < (((UInt32)1) << (numAdds * 5 + 6))) in Utf16_To_Utf8()74 dest[destPos] = (char)(kUtf8Limits[numAdds - 1] + (value >> (6 * numAdds))); in Utf16_To_Utf8()78 numAdds--; in Utf16_To_Utf8()80 dest[destPos] = (char)(0x80 + ((value >> (6 * numAdds)) & 0x3F)); in Utf16_To_Utf8()83 while (numAdds != 0); in Utf16_To_Utf8()