• Home
  • Raw
  • Download

Lines Matching refs:F2P

80 static bool CompareNumbers(const char *&F1P, const char *&F2P,  in CompareNumbers()  argument
91 while (isspace(static_cast<unsigned char>(*F2P)) && F2P != F2End) in CompareNumbers()
92 ++F2P; in CompareNumbers()
95 if (!isNumberChar(*F1P) || !isNumberChar(*F2P)) { in CompareNumbers()
98 F2NumEnd = F2P; in CompareNumbers()
104 V2 = strtod(F2P, const_cast<char**>(&F2NumEnd)); in CompareNumbers()
118 SmallString<200> StrTmp(F2P, EndOfNumber(F2NumEnd)+1); in CompareNumbers()
120 StrTmp[static_cast<unsigned>(F2NumEnd-F2P)] = 'e'; in CompareNumbers()
123 F2NumEnd = F2P + (F2NumEnd-&StrTmp[0]); in CompareNumbers()
127 if (F1NumEnd == F1P || F2NumEnd == F2P) { in CompareNumbers()
132 *ErrorMsg += F2P[0]; in CompareNumbers()
161 F1P = F1NumEnd; F2P = F2NumEnd; in CompareNumbers()
201 const char *F2P = File2Start; 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()
229 F2P = BackupNumber(F2P, File2Start); in DiffFilesWithTolerance()
233 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance()
242 bool F2AtEnd = F2P >= File2End; in DiffFilesWithTolerance()
246 if (F2AtEnd && isNumberChar(F2P[-1])) --F2P; in DiffFilesWithTolerance()
248 F2P = BackupNumber(F2P, File2Start); in DiffFilesWithTolerance()
252 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
256 if (F1P < File1End || F2P < File2End) in DiffFilesWithTolerance()