• Home
  • Raw
  • Download

Lines Matching refs:tolerance

76                           double tolerance,  in IsEqualWithTolerance()  argument
85 if (difference > ((tolerance / 100.0) * std::fabs(expected))) { in IsEqualWithTolerance()
88 } else if (difference > tolerance) { in IsEqualWithTolerance()
99 const auto& tolerance = command->GetTolerances(); in CheckActualValue() local
135 command->HasTolerances() ? tolerance[0].value : kEpsilon, in CheckActualValue()
136 command->HasTolerances() ? tolerance[0].is_percent : true)) { in CheckActualValue()
174 double* tolerance, in SetupToleranceForTexels() argument
179 tolerance[0] = tol[0].value; in SetupToleranceForTexels()
180 tolerance[1] = tol[1].value; in SetupToleranceForTexels()
181 tolerance[2] = tol[2].value; in SetupToleranceForTexels()
182 tolerance[3] = tol[3].value; in SetupToleranceForTexels()
188 tolerance[0] = tol[0].value; in SetupToleranceForTexels()
189 tolerance[1] = tol[0].value; in SetupToleranceForTexels()
190 tolerance[2] = tol[0].value; in SetupToleranceForTexels()
191 tolerance[3] = tol[0].value; in SetupToleranceForTexels()
198 tolerance[0] = kDefaultTexelTolerance; in SetupToleranceForTexels()
199 tolerance[1] = kDefaultTexelTolerance; in SetupToleranceForTexels()
200 tolerance[2] = kDefaultTexelTolerance; in SetupToleranceForTexels()
201 tolerance[3] = kDefaultTexelTolerance; in SetupToleranceForTexels()
317 const double* tolerance, in IsTexelEqualToExpected() argument
334 current_tolerance = tolerance[3]; in IsTexelEqualToExpected()
339 current_tolerance = tolerance[0]; in IsTexelEqualToExpected()
344 current_tolerance = tolerance[1]; in IsTexelEqualToExpected()
349 current_tolerance = tolerance[2]; in IsTexelEqualToExpected()
455 double tolerance[4] = {0, 0, 0, 0}; in Probe() local
457 SetupToleranceForTexels(command, tolerance, is_tolerance_percent); in Probe()
470 if (!IsTexelEqualToExpected(actual_texel_values, fmt, command, tolerance, in Probe()