Lines Matching refs:extraBytesToRead
549 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF16() local
550 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF16()
554 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF16()
561 switch (extraBytesToRead) { in ConvertUTF8toUTF16()
569 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF16()
572 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
579 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF16()
591 source -= (extraBytesToRead+1); /* return to the start */ in ConvertUTF8toUTF16()
599 source -= (extraBytesToRead+1); /* Back up source pointer! */ in ConvertUTF8toUTF16()
623 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; in ConvertUTF8toUTF32Impl() local
624 if (extraBytesToRead >= sourceEnd - source) { in ConvertUTF8toUTF32Impl()
646 if (!isLegalUTF8(source, extraBytesToRead+1)) { in ConvertUTF8toUTF32Impl()
665 switch (extraBytesToRead) { in ConvertUTF8toUTF32Impl()
673 ch -= offsetsFromUTF8[extraBytesToRead]; in ConvertUTF8toUTF32Impl()
682 source -= (extraBytesToRead+1); /* return to the illegal value itself */ in ConvertUTF8toUTF32Impl()