Lines Matching refs:extraBytesToRead
575 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
576 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
580 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
587 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
595 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
598 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
605 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
617 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
625 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
649 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
650 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
672 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
691 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
699 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32Impl()
708 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32Impl()