Lines Matching refs:extraBytesToRead
559 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
560 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
564 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
571 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
579 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
582 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
589 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
601 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
609 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
633 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
634 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
656 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
675 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
683 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32Impl()
692 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32Impl()