Lines Matching refs:error
369 int error = ok; in parseGlobals() local
382 error = earlyEOF; in parseGlobals()
395 error = normalEOF; in parseGlobals()
497 error = normalEOF; in parseGlobals()
541 error = parseError; in parseGlobals()
546 return(error); in parseGlobals()
574 int code = 0, width = 0, i = 0, error = 0, tokenlen;
582 error = earlyEOF;
618 error = normalEOF;
622 error = parseError;
635 return(error);
663 int pos = 0, error = ok, tokenlen; in parseCharWidths() local
673 error = earlyEOF; in parseCharWidths()
686 error = normalEOF; in parseCharWidths()
706 error = parseError; in parseCharWidths()
725 error = normalEOF; in parseCharWidths()
743 error = parseError; in parseCharWidths()
748 return(error); in parseCharWidths()
816 int error = ok, count = 0, tokenlen; in parseCharMetrics() local
825 error = earlyEOF; in parseCharMetrics()
853 error = parseError; in parseCharMetrics()
877 error = parseError; in parseCharMetrics()
931 error = normalEOF; in parseCharMetrics()
939 error = parseError; in parseCharMetrics()
944 if ((error == ok) && (count != fi->numOfChars)) in parseCharMetrics()
945 error = reallocFontMetrics( (void**)&(fi->cmi), &(fi->numOfChars), in parseCharMetrics()
948 if ((error == ok) && (count != fi->numOfChars)) in parseCharMetrics()
949 error = parseError; in parseCharMetrics()
951 return(error); in parseCharMetrics()
975 int pos = 0, error = ok, tcount = 0, tokenlen; in parseTrackKernData() local
984 error = earlyEOF; in parseTrackKernData()
998 error = normalEOF; in parseTrackKernData()
1034 error = parseError; in parseTrackKernData()
1044 error = normalEOF; in parseTrackKernData()
1048 error = parseError; in parseTrackKernData()
1053 if (error == ok && tcount != fi->numOfTracks) in parseTrackKernData()
1054 error = reallocFontMetrics( (void**)&(fi->tkd), &(fi->numOfTracks), in parseTrackKernData()
1057 if (error == ok && tcount != fi->numOfTracks) in parseTrackKernData()
1058 error = parseError; in parseTrackKernData()
1060 return(error); in parseTrackKernData()
1083 int pos = 0, error = ok, pcount = 0, tokenlen; in parsePairKernData() local
1092 error = earlyEOF; in parsePairKernData()
1106 error = normalEOF; in parsePairKernData()
1139 error = parseError; in parsePairKernData()
1161 error = parseError; in parsePairKernData()
1171 error = normalEOF; in parsePairKernData()
1175 error = parseError; in parsePairKernData()
1180 if ((error == ok) && (pcount != fi->numOfPairs)) in parsePairKernData()
1181 error = reallocFontMetrics( (void**)&(fi->pkd), &(fi->numOfPairs), in parsePairKernData()
1184 if (error == ok && pcount != fi->numOfPairs) in parsePairKernData()
1185 error = parseError; in parsePairKernData()
1187 return(error); in parsePairKernData()
1213 int pos = 0, j = 0, error = ok, ccount = 0, pcount = 0, tokenlen; in parseCompCharData() local
1223 error = earlyEOF; in parseCompCharData()
1233 error = parseError; in parseCompCharData()
1246 error = normalEOF; in parseCompCharData()
1273 error = parseError; in parseCompCharData()
1287 error = parseError; in parseCompCharData()
1303 error = parseError; in parseCompCharData()
1310 error = normalEOF; in parseCompCharData()
1314 error = parseError; in parseCompCharData()
1319 if (error == ok && ccount != fi->numOfComps) in parseCompCharData()
1323 if (error == ok && ccount != fi->numOfComps) in parseCompCharData()
1324 error = parseError; in parseCompCharData()
1326 return(error); in parseCompCharData()
1362 int error = ok; /* used as the return code from this function */ in parseFile() local
1369 if ((*fi) == NULL) {error = storageProblem; return(error);} in parseFile()
1374 if ((*fi)->gfi == NULL) {error = storageProblem; return(error);} in parseFile()
1381 if (code < 0) error = code; in parseFile()
1399 if ((*fi)->cmi == NULL) {error = storageProblem; return(error);} in parseFile()
1409 error = storageProblem; in parseFile()
1410 return(error); in parseFile()
1418 if ((error != earlyEOF) && (code < 0)) error = code; in parseFile()
1451 error = storageProblem; in parseFile()
1452 return(error); in parseFile()
1466 error = storageProblem; in parseFile()
1467 return(error); in parseFile()
1481 error = storageProblem; in parseFile()
1482 return(error); in parseFile()
1499 if ((error != earlyEOF) && (code < 0)) error = code; in parseFile()
1503 if ((error != earlyEOF) && (code < 0)) error = code; in parseFile()
1505 return(error); in parseFile()