Lines Matching defs:bytes
587 // Figure out the lenght of the char and read the rest of the bytes
599 unsigned char bytes[10];
600 bytes[0] = (unsigned char)ch;
603 bytes[i] = fgetc(fFile);
604 if (bytes[i] < 0x80 || bytes[i] >= 0xc0) {
605 fprintf(stderr, "utf-8 encoded file %s contains corrupt data at offset %d. Expected %d bytes, byte %d is invalid. First byte is %02X\n", fName, ftell(fFile), nBytes, i, ch);
611 // Convert the bytes from the temp array to a Unicode char.
614 U8_NEXT_UNSAFE(bytes, i, cp);
705 // (The number of bytes read from file per loop iteration depends on external encoding.)