Home | History | Annotate | Download | only in ubrkperf

Lines Matching refs:fFile

481     FILE         *fFile;
503 fFile = fopen(fName, "rb");
505 if (fFile == NULL) {
514 BOMC1 = fgetc(fFile);
515 BOMC2 = fgetc(fFile);
521 else if (BOMC1 == 0xEF && BOMC2 == 0xBB && (BOMC3 = fgetc(fFile)) == 0xBF ) {
534 fclose(fFile);
545 cL = fgetc(fFile);
546 cH = fgetc(fFile);
557 cH = fgetc(fFile);
558 cL = fgetc(fFile);
574 int ch = fgetc(fFile); // Note: c and ch are separate cause eof test doesn't work on UChar type.
594 fprintf(stderr, "not likely utf-8 encoded file %s contains corrupt data at offset %d.\n", fName, ftell(fFile));
603 bytes[i] = fgetc(fFile);
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);