Lines Matching refs:extraBytesToRead
550 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
551 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
555 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
562 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
570 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
573 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
580 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
592 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
600 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
624 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
625 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
647 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
666 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
674 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32Impl()
683 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32Impl()