Lines Matching refs:extraBytesToRead
523 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
524 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
528 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
535 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
543 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
546 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
553 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
565 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
573 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
597 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
598 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
620 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
639 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
647 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32Impl()
656 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32Impl()