reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
547 while (source < sourceEnd) { 549 unsigned short extraBytesToRead = trailingBytesForUTF8[*source]; 550 if (extraBytesToRead >= sourceEnd - source) { 554 if (!isLegalUTF8(source, extraBytesToRead+1)) { 562 case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */ 563 case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */ 564 case 3: ch += *source++; ch <<= 6; 565 case 2: ch += *source++; ch <<= 6; 566 case 1: ch += *source++; ch <<= 6; 567 case 0: ch += *source++; 572 source -= (extraBytesToRead+1); /* Back up source pointer! */ 579 source -= (extraBytesToRead+1); /* return to the illegal value itself */ 591 source -= (extraBytesToRead+1); /* return to the start */ 599 source -= (extraBytesToRead+1); /* Back up source pointer! */ 607 *sourceStart = source;