Lines Matching refs:F1P
85 static bool CompareNumbers(const char *&F1P, const char *&F2P, in CompareNumbers() argument
94 while (isSpace(static_cast<unsigned char>(*F1P)) && F1P != F1End) in CompareNumbers()
95 ++F1P; in CompareNumbers()
100 if (!isNumberChar(*F1P) || !isNumberChar(*F2P)) { in CompareNumbers()
102 F1NumEnd = F1P; in CompareNumbers()
108 V1 = strtod(F1P, const_cast<char**>(&F1NumEnd)); in CompareNumbers()
113 SmallString<200> StrTmp(F1P, EndOfNumber(F1NumEnd)+1); in CompareNumbers()
115 StrTmp[static_cast<unsigned>(F1NumEnd-F1P)] = 'e'; in CompareNumbers()
118 F1NumEnd = F1P + (F1NumEnd-&StrTmp[0]); in CompareNumbers()
132 if (F1NumEnd == F1P || F2NumEnd == F2P) { in CompareNumbers()
135 *ErrorMsg += F1P[0]; in CompareNumbers()
166 F1P = F1NumEnd; F2P = F2NumEnd; in CompareNumbers()
205 const char *F1P = File1Start; in DiffFilesWithTolerance() local
225 while (F1P < File1End && F2P < File2End && *F1P == *F2P) { in DiffFilesWithTolerance()
226 ++F1P; in DiffFilesWithTolerance()
230 if (F1P >= File1End || F2P >= File2End) break; in DiffFilesWithTolerance()
235 F1P = BackupNumber(F1P, File1Start); in DiffFilesWithTolerance()
240 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance()
248 bool F1AtEnd = F1P >= File1End; in DiffFilesWithTolerance()
252 if (F1AtEnd && isNumberChar(F1P[-1])) --F1P; in DiffFilesWithTolerance()
254 F1P = BackupNumber(F1P, File1Start); in DiffFilesWithTolerance()
259 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
263 if (F1P < File1End || F2P < File2End) in DiffFilesWithTolerance()