Lines Matching refs:fp

135         FILE* fp = fopen( pFilename, "r" );  in FileInputStream()  local
136 if( fp ) in FileInputStream()
139 m_nLen = (unsigned int)fread( m_pMemory, 1, aStat.st_size, fp ); in FileInputStream()
140 fclose( fp ); in FileInputStream()
366 static int parseGlobals( FileInputStream* fp, register GlobalFontInfo* gfi ) in parseGlobals() argument
376 keyword = token(fp, tokenlen); in parseGlobals()
406 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
410 keyword = linetoken(fp); in parseGlobals()
413 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
417 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
421 if ((keyword = linetoken(fp)) != NULL) in parseGlobals()
425 if ((keyword = linetoken(fp)) != NULL) in parseGlobals()
429 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
433 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
437 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
446 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
450 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
454 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
458 if ((keyword = linetoken(fp)) != NULL) in parseGlobals()
462 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
464 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
466 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
468 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
472 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
476 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
480 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
484 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
489 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
501 keyword = token(fp,tokenlen); in parseGlobals()
504 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
510 keyword = token(fp,tokenlen); in parseGlobals()
513 keyword = token(fp,tokenlen); in parseGlobals()
516 keyword = token(fp,tokenlen); in parseGlobals()
519 keyword=token(fp,tokenlen); //ignore in parseGlobals()
522 keyword=token(fp,tokenlen); //ignore in parseGlobals()
525 keyword=token(fp,tokenlen); //ignore in parseGlobals()
528 if ((keyword = token(fp,tokenlen)) != NULL) in parseGlobals()
533 keyword = token(fp,tokenlen); in parseGlobals()
537 keyword = token(fp,tokenlen); in parseGlobals()
570 static int initializeArray( FileInputStream* fp, register int* cwi)
573 unsigned int opos = fp->tell();
579 keyword = token(fp,tokenlen);
588 keyword = linetoken(fp);
591 if ((keyword = token(fp,tokenlen)) != NULL)
595 if ((keyword = token(fp,tokenlen)) != NULL)
599 if ((keyword = token(fp,tokenlen)) != NULL)
603 (void) token(fp,tokenlen);
606 if ((keyword = token(fp,tokenlen)) != NULL)
633 fp->seek(opos);
660 static int parseCharWidths( FileInputStream* fp, register int* cwi) in parseCharWidths() argument
668 keyword = token(fp,tokenlen); in parseCharWidths()
697 keyword = linetoken(fp); in parseCharWidths()
700 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharWidths()
705 keyword = token(fp,tokenlen); keyword = token(fp,tokenlen); /* eat values */ in parseCharWidths()
709 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharWidths()
713 (void) token(fp,tokenlen); in parseCharWidths()
716 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharWidths()
728 keyword = token(fp,tokenlen); in parseCharWidths()
731 keyword = token(fp,tokenlen); keyword = token(fp,tokenlen); in parseCharWidths()
732 keyword = token(fp,tokenlen); keyword = token(fp,tokenlen); in parseCharWidths()
735 keyword = token(fp,tokenlen); keyword = token(fp,tokenlen); in parseCharWidths()
738 keyword = token(fp,tokenlen); in parseCharWidths()
739 keyword = token(fp,tokenlen); in parseCharWidths()
813 static int parseCharMetrics( FileInputStream* fp, register FontInfo* fi) in parseCharMetrics() argument
822 keyword = token(fp,tokenlen); in parseCharMetrics()
831 keyword = linetoken(fp); in parseCharMetrics()
845 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
870 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
882 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
884 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
888 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
892 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
896 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
900 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
902 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
904 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
906 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
921 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
923 if ((keyword = token(fp,tokenlen)) != NULL) in parseCharMetrics()
934 keyword = token(fp,tokenlen); in parseCharMetrics()
935 keyword = token(fp,tokenlen); in parseCharMetrics()
972 static int parseTrackKernData( FileInputStream* fp, register FontInfo* fi) in parseTrackKernData() argument
980 keyword = token(fp,tokenlen); in parseTrackKernData()
1009 keyword = linetoken(fp); in parseTrackKernData()
1020 if ((keyword = token(fp,tokenlen)) != NULL) in parseTrackKernData()
1022 if ((keyword = token(fp,tokenlen)) != NULL) in parseTrackKernData()
1024 if ((keyword = token(fp,tokenlen)) != NULL) in parseTrackKernData()
1026 if ((keyword = token(fp,tokenlen)) != NULL) in parseTrackKernData()
1028 if ((keyword = token(fp,tokenlen)) != NULL) in parseTrackKernData()
1080 static int parsePairKernData( FileInputStream* fp, register FontInfo* fi) in parsePairKernData() argument
1088 keyword = token(fp,tokenlen); in parsePairKernData()
1117 keyword = linetoken(fp); in parsePairKernData()
1127 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1129 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1131 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1133 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1151 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1153 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1155 if ((keyword = token(fp,tokenlen)) != NULL) in parsePairKernData()
1210 static int parseCompCharData( FileInputStream* fp, register FontInfo* fi) in parseCompCharData() argument
1218 keyword = token(fp,tokenlen); in parseCompCharData()
1250 keyword = linetoken(fp); in parseCompCharData()
1261 keyword = linetoken(fp); in parseCompCharData()
1271 keyword = token(fp,tokenlen); in parseCompCharData()
1278 if ((keyword = token(fp,tokenlen)) != NULL) in parseCompCharData()
1294 if ((keyword = token(fp,tokenlen)) != NULL) in parseCompCharData()
1296 if ((keyword = token(fp,tokenlen)) != NULL) in parseCompCharData()
1298 if ((keyword = token(fp,tokenlen)) != NULL) in parseCompCharData()