Lines Matching refs:extraBytesToRead
354 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
355 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF16()
359 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
366 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
374 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
377 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
384 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
396 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
404 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
480 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32() local
481 if (source + extraBytesToRead >= sourceEnd) { in ConvertUTF8toUTF32()
485 if (! isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32()
492 switch (extraBytesToRead) { in ConvertUTF8toUTF32()
500 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32()
503 source -= (extraBytesToRead+1); /* Back up the source pointer! */ in ConvertUTF8toUTF32()
513 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32()