Lines Matching refs:cH
544 int cL, cH;
546 cH = fgetc(fFile);
547 c = cL | (cH << 8);
548 if (cH == EOF) {
556 int cL, cH;
557 cH = fgetc(fFile);
559 c = cL | (cH << 8);
574 int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type.
575 if (ch == EOF) {
581 if (ch <= 0x7f) {
583 c = ch;
590 if (ch >= 0xF0) {nBytes=4;}
591 else if (ch >= 0xE0) {nBytes=3;}
592 else if (ch >= 0xC0) {nBytes=2;}
600 bytes[0] = (unsigned char)ch;
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);