Searched refs:extraBytesToRead (Results 1 – 1 of 1) sorted by relevance
242 int extraBytesToRead = UTF8SequenceLength(*source) - 1; in convertUTF8ToUTF16() local243 if (source + extraBytesToRead >= sourceEnd) { in convertUTF8ToUTF16()248 if (!isLegalUTF8(reinterpret_cast<const unsigned char*>(source), extraBytesToRead + 1)) { in convertUTF8ToUTF16()253 switch (extraBytesToRead) { in convertUTF8ToUTF16()261 ch -= offsetsFromUTF8[extraBytesToRead]; in convertUTF8ToUTF16()264 source -= (extraBytesToRead + 1); // Back up source pointer! in convertUTF8ToUTF16()271 source -= (extraBytesToRead + 1); // return to the illegal value itself in convertUTF8ToUTF16()281 source -= (extraBytesToRead + 1); // return to the start in convertUTF8ToUTF16()288 source -= (extraBytesToRead + 1); // Back up source pointer! in convertUTF8ToUTF16()