Lines Matching refs:F1P
80 static bool CompareNumbers(const char *&F1P, const char *&F2P, in CompareNumbers() argument
89 while (isspace(static_cast<unsigned char>(*F1P)) && F1P != F1End) in CompareNumbers()
90 ++F1P; in CompareNumbers()
95 if (!isNumberChar(*F1P) || !isNumberChar(*F2P)) { in CompareNumbers()
97 F1NumEnd = F1P; in CompareNumbers()
103 V1 = strtod(F1P, const_cast<char**>(&F1NumEnd)); in CompareNumbers()
108 SmallString<200> StrTmp(F1P, EndOfNumber(F1NumEnd)+1); in CompareNumbers()
110 StrTmp[static_cast<unsigned>(F1NumEnd-F1P)] = 'e'; in CompareNumbers()
113 F1NumEnd = F1P + (F1NumEnd-&StrTmp[0]); in CompareNumbers()
127 if (F1NumEnd == F1P || F2NumEnd == F2P) { in CompareNumbers()
130 *ErrorMsg += F1P[0]; in CompareNumbers()
161 F1P = F1NumEnd; F2P = F2NumEnd; in CompareNumbers()
200 const char *F1P = File1Start; in DiffFilesWithTolerance() local
220 while (F1P < File1End && F2P < File2End && *F1P == *F2P) in DiffFilesWithTolerance()
221 ++F1P, ++F2P; in DiffFilesWithTolerance()
223 if (F1P >= File1End || F2P >= File2End) break; in DiffFilesWithTolerance()
228 F1P = BackupNumber(F1P, File1Start); in DiffFilesWithTolerance()
233 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance()
241 bool F1AtEnd = F1P >= File1End; in DiffFilesWithTolerance()
245 if (F1AtEnd && isNumberChar(F1P[-1])) --F1P; in DiffFilesWithTolerance()
247 F1P = BackupNumber(F1P, File1Start); in DiffFilesWithTolerance()
252 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
256 if (F1P < File1End || F2P < File2End) in DiffFilesWithTolerance()