Searched refs:tolerance (Results 1 – 4 of 4) sorted by relevance
28 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument29 ASSERT_LE(val1 - tolerance, val2); \30 ASSERT_GE(val1 + tolerance, val2); \
35 #define ASSERT_EQ_WITH_TOLERANCE(val1, val2, tolerance) \ argument36 ASSERT_LE((val1) - (tolerance), (val2)); \37 ASSERT_GE((val1) + (tolerance), (val2));
564 int tolerance = 0; in st_validator_testAntenna_Txldo() local588 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMax * in st_validator_testAntenna_Txldo()591 if ((measured_val <= phAntenna_resp.wTxdoMeasuredRangeMax + tolerance)) { in st_validator_testAntenna_Txldo()592 tolerance = (phAntenna_resp.wTxdoMeasuredRangeMin * in st_validator_testAntenna_Txldo()596 phAntenna_resp.wTxdoMeasuredRangeMin - tolerance)) { in st_validator_testAntenna_Txldo()
1961 double tolerance = 0.00001; in getPreviewSizeFromVideoSizes() local1979 if (fabs(videoRatio - previewRatio) < tolerance) { in getPreviewSizeFromVideoSizes()