Home
last modified time | relevance | path

Searched refs:maxVal (Results 1 – 25 of 89) sorted by relevance

1234

/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
DLineRegion.java25 private Number maxVal; field in LineRegion
42 return maxVal.doubleValue() - minVal.doubleValue(); in length()
51 … return value.doubleValue() >= minVal.doubleValue() && value.doubleValue() <= maxVal.doubleValue(); in contains()
74 …oubleValue() <= this.minVal.doubleValue() && line2Max.doubleValue() >= this.maxVal.doubleValue()) { in intersects()
92 return maxVal; in getMaxVal()
95 public void setMaxVal(Number maxVal) { in setMaxVal() argument
96 if(maxVal == null) { in setMaxVal()
99 this.maxVal = maxVal; in setMaxVal()
/external/deqp/framework/randomshaders/
DrsgUtils.cpp68 float maxVal = valueRange.component(ndx).getMax().asFloat(); in computeRandomValue() local
69 dst.component(ndx).asFloat() = getQuantizedFloat(rnd, minVal, maxVal, quantizeStep); in computeRandomValue()
77 int maxVal = valueRange.component(ndx).getMin().asBool() ? 1 : 0; in computeRandomValue() local
78 dst.component(ndx).asBool() = rnd.getInt(minVal, maxVal) == 1; in computeRandomValue()
88 int maxVal = valueRange.component(ndx).getMax().asInt(); in computeRandomValue() local
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal); in computeRandomValue()
196 bool maxVal = minVal ? true : rnd.getBool(); in computeRandomValueRange() local
198 valueRange.getMax().component(ndx).asBool() = maxVal; in computeRandomValueRange()
211 int maxVal = minVal + rangeLen; in computeRandomValueRange() local
214 valueRange.getMax().component(ndx).asInt() = maxVal; in computeRandomValueRange()
[all …]
DrsgExpression.cpp188 int maxVal = minVal + rangeLen; in computeRandomValueRangeForInfElements() local
191 valueRange.getMax().component(ndx).asInt() = maxVal; in computeRandomValueRangeForInfElements()
210 float maxVal = minVal + step*(float)rangeLen; in computeRandomValueRangeForInfElements() local
213 valueRange.getMax().component(ndx).asFloat() = maxVal; in computeRandomValueRangeForInfElements()
363 float maxVal = +10.0f; in FloatLiteral() local
369 maxVal = valueRange.getMax().component(0).asFloat(); in FloatLiteral()
374 if (Scalar::max<float>() == maxVal) in FloatLiteral()
375 maxVal = +10.0f; in FloatLiteral()
378 int numSteps = (int)((maxVal-minVal)/step) + 1; in FloatLiteral()
380 … value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minVal, maxVal); in FloatLiteral()
[all …]
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
DXYStepCalculator.java38 …static XYStep getStep(XYPlot plot, XYAxisType axisType, RectF rect, Number minVal, Number maxVal) { in getStep() argument
42 … step = getStep(plot.getDomainStepMode(), rect.width(), plot.getDomainStepValue(), minVal, maxVal); in getStep()
45 … step = getStep(plot.getRangeStepMode(), rect.height(), plot.getRangeStepValue(), minVal, maxVal); in getStep()
51 …p getStep(XYStepMode typeXY, float plotPixelSize, double stepValue, Number minVal, Number maxVal) { in getStep() argument
59 …stepPix = (float)(stepValue/ ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(),… in getStep()
65 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
70 …stepVal = ValPixConverter.valPerPix(minVal.doubleValue(), maxVal.doubleValue(), plotPixelSize)*ste… in getStep()
/external/aac/libSACenc/src/
Dsacenc_vectorfunctions.cpp129 FIXP_DBL maxVal = FL2FXCONST_DBL(0.0f); in sumUpCplxPow2() local
131 maxVal |= fAbs(x[i].v.re); in sumUpCplxPow2()
132 maxVal |= fAbs(x[i].v.im); in sumUpCplxPow2()
134 cs = inScaleFactor - fixMax(0, CntLeadingZeros(maxVal) - 1); in sumUpCplxPow2()
177 FIXP_DBL maxVal = FL2FXCONST_DBL(0.0f); in sumUpCplxPow2Dim2() local
180 maxVal |= fAbs(x[i][j].v.re); in sumUpCplxPow2Dim2()
181 maxVal |= fAbs(x[i][j].v.im); in sumUpCplxPow2Dim2()
184 cs = inScaleFactor - fixMax(0, CntLeadingZeros(maxVal) - 1); in sumUpCplxPow2Dim2()
402 FIXP_DBL maxVal = FL2FXCONST_DBL(0.0f); in FDKcalcPbScaleFactor() local
405 maxVal |= fAbs(x[i][j].v.re); in FDKcalcPbScaleFactor()
[all …]
/external/aac/libAACenc/src/
Dnoisedet.cpp175 FIXP_DBL fhelp1, fhelp2, fhelp3, fhelp4, maxVal, minVal; in FDKaacEnc_noiseDetect() local
192 maxVal = fixMax(fhelp1, fhelp2); in FDKaacEnc_noiseDetect()
193 maxVal = fixMax(maxVal, fhelp3); in FDKaacEnc_noiseDetect()
194 maxVal = fixMax(maxVal, fhelp4); in FDKaacEnc_noiseDetect()
202 leadingBits = CountLeadingBits(maxVal); in FDKaacEnc_noiseDetect()
203 testVal = maxVal << leadingBits; in FDKaacEnc_noiseDetect()
/external/deqp/modules/gles2/functional/
Des2fShaderAlgorithmTests.cpp240 float maxVal = max(max(r, g), b); in init()
241 float L = (minVal + maxVal) * 0.5f; in init()
244 if (minVal == maxVal) in init()
251 S = (maxVal - minVal) / (maxVal + minVal); in init()
253 S = (maxVal - minVal) / (2.0f - maxVal - minVal); in init()
255 float ooDiff = 1.0f / (maxVal - minVal); in init()
256 if (r == maxVal) H = (g - b) * ooDiff; in init()
257 else if (g == maxVal) H = 2.0f + (b - r) * ooDiff; in init()
/external/aac/libFDK/src/
Dscale.cpp607 SHORT temp, maxVal = 0; in getScalefactorShort() local
611 maxVal |= (temp ^ (temp >> (SHORT_BITS - 1))); in getScalefactorShort()
614 return fixmax_I((INT)0, (INT)(fixnormz_D((INT)maxVal) - (INT)1 - in getScalefactorShort()
633 INT_PCM temp, maxVal = 0; in getScalefactorPCM() local
638 maxVal |= (temp ^ (temp >> ((sizeof(INT_PCM) * 8) - 1))); in getScalefactorPCM()
640 return fixmax_I((INT)0, (INT)(fixnormz_D((INT)maxVal) - (INT)1 - in getScalefactorPCM()
659 SHORT temp, maxVal = 0; in getScalefactorShort() local
664 maxVal |= (temp ^ (temp >> (SHORT_BITS - 1))); in getScalefactorShort()
667 return fixmax_I((INT)0, (INT)(fixnormz_D((INT)maxVal) - (INT)1 - in getScalefactorShort()
693 FIXP_DBL temp, maxVal = (FIXP_DBL)0; in getScalefactor() local
[all …]
DFDK_lpc.cpp360 FIXP_DBL maxVal = (FIXP_DBL)0; in CLpc_ParcorToLpc() local
381 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
384 shiftval = fMin(fNorm(maxVal), par2LpcShiftVal); in CLpc_ParcorToLpc()
398 FIXP_DBL maxVal = (FIXP_DBL)0; in CLpc_ParcorToLpc() local
419 maxVal = fMax(maxVal, fAbs(workBuffer[i])); in CLpc_ParcorToLpc()
422 shiftval = fMin(fNorm(maxVal), par2LpcShiftVal); in CLpc_ParcorToLpc()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp38 APSInt maxVal; member
41 : mulop(m), variable(v), maxVal(std::move(val)) {} in MallocOverflowCheck()
77 APSInt maxVal; in CheckMallocArgument() local
80 maxVal = 0; in CheckMallocArgument()
94 maxVal = rhs->EvaluateKnownConstInt(Context); in CheckMallocArgument()
95 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument()
99 maxVal = lhs->EvaluateKnownConstInt(Context); in CheckMallocArgument()
100 if (EvaluatesToZero(maxVal, opc)) in CheckMallocArgument()
121 PossibleMallocOverflows.push_back(MallocOverflowCheck(mulop, e, maxVal)); in CheckMallocArgument()
215 (numeratorKnown && (denomExtVal >= Check.maxVal.getExtValue())); in CheckAssignmentExpr()
/external/deqp/framework/common/
DtcuTextureUtil.cpp667 static inline float linearInterpolate (float t, float minVal, float maxVal) in linearInterpolate() argument
669 return minVal + (maxVal - minVal) * t; in linearInterpolate()
795 …lWithComponentGradients1D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal) in fillWithComponentGradients1D() argument
802 float r = linearInterpolate(s, minVal.x(), maxVal.x()); in fillWithComponentGradients1D()
803 float g = linearInterpolate(s, minVal.y(), maxVal.y()); in fillWithComponentGradients1D()
804 float b = linearInterpolate(s, minVal.z(), maxVal.z()); in fillWithComponentGradients1D()
805 float a = linearInterpolate(s, minVal.w(), maxVal.w()); in fillWithComponentGradients1D()
811 …lWithComponentGradients2D (const PixelBufferAccess& access, const Vec4& minVal, const Vec4& maxVal) in fillWithComponentGradients2D() argument
820 float r = linearInterpolate(( s + t) *0.5f, minVal.x(), maxVal.x()); in fillWithComponentGradients2D()
821 float g = linearInterpolate(( s + (1.0f-t))*0.5f, minVal.y(), maxVal.y()); in fillWithComponentGradients2D()
[all …]
DtcuImageCompare.cpp47 Vec4 maxVal; in computeScaleAndBias() local
56 maxVal = refMax; in computeScaleAndBias()
70 maxVal[0] = de::max(maxVal[0], resMax[0]); in computeScaleAndBias()
71 maxVal[1] = de::max(maxVal[1], resMax[1]); in computeScaleAndBias()
72 maxVal[2] = de::max(maxVal[2], resMax[2]); in computeScaleAndBias()
73 maxVal[3] = de::max(maxVal[3], resMax[3]); in computeScaleAndBias()
78 if (maxVal[c] - minVal[c] < eps) in computeScaleAndBias()
80 scale[c] = (maxVal[c] < eps) ? 1.0f : (1.0f / maxVal[c]); in computeScaleAndBias()
81 bias[c] = (c == 3) ? (1.0f - maxVal[c]*scale[c]) : (0.0f - minVal[c]*scale[c]); in computeScaleAndBias()
85 scale[c] = 1.0f / (maxVal[c] - minVal[c]); in computeScaleAndBias()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dstate_construct.c35 int16_t maxVal; in WebRtcIlbcfix_StateConstruct() local
53 maxVal = WebRtcIlbcfix_kFrgQuantMod[idxForMax]; in WebRtcIlbcfix_StateConstruct()
63 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 2097152) >> in WebRtcIlbcfix_StateConstruct()
72 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 262144) >> in WebRtcIlbcfix_StateConstruct()
81 *tmp1 = (int16_t)((maxVal * WebRtcIlbcfix_kStateSq3[*tmp2] + 65536) >> in WebRtcIlbcfix_StateConstruct()
Dstate_search.c37 int16_t maxVal; in WebRtcIlbcfix_StateSearch() local
81 maxVal=WebRtcSpl_MaxAbsValueW16(sampleAr, iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch()
85 if ((((int32_t)maxVal)<<scaleRes)<23170) { in WebRtcIlbcfix_StateSearch()
86 maxValsq=((int32_t)maxVal*maxVal)<<(2+2*scaleRes); in WebRtcIlbcfix_StateSearch()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/xy/
DXYStepCalculatorTest.java46 double maxVal = 100; in testSubdivide() local
47 …YStep step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
54 maxVal = 2000000000; in testSubdivide()
55 … step = XYStepCalculator.getStep(XYStepMode.SUBDIVIDE, plotSize, numSegments, minVal, maxVal); in testSubdivide()
/external/skqp/src/pathops/
DSkPathOpsCurve.cpp103 double maxVal = 0; in setCurveHullSweep() local
105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), in setCurveHullSweep()
110 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) in setCurveHullSweep()
111 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) { in setCurveHullSweep()
120 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) in setCurveHullSweep()
121 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) { in setCurveHullSweep()
/external/skia/src/pathops/
DSkPathOpsCurve.cpp103 double maxVal = 0; in setCurveHullSweep() local
105 maxVal = SkTMax(maxVal, SkTMax(SkTAbs(fCurve[index].fX), in setCurveHullSweep()
110 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) in setCurveHullSweep()
111 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) { in setCurveHullSweep()
120 if (roughly_zero_when_compared_to(fSweep[0].fX, maxVal) in setCurveHullSweep()
121 && roughly_zero_when_compared_to(fSweep[0].fY, maxVal)) { in setCurveHullSweep()
/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp246 FIXP_DBL maxVal = FL2FXCONST_DBL(0.0f); in getMaxValDmx() local
249 maxVal |= fAbs(pReal[qs]); in getMaxValDmx()
250 maxVal |= fAbs(pImag[qs]); in getMaxValDmx()
253 maxVal |= fAbs(pReal[qs]); in getMaxValDmx()
256 clz = fixMax(0, CntLeadingZeros(maxVal) - 1); in getMaxValDmx()
269 FIXP_DBL maxVal = FL2FXCONST_DBL(0.0f); in getMaxValDryWet() local
273 maxVal |= fAbs(pReal[qs]); in getMaxValDryWet()
275 maxVal |= fAbs(pImag[qs]); in getMaxValDryWet()
279 maxVal |= fAbs(pReal[qs]); in getMaxValDryWet()
282 clz = fixMax(0, CntLeadingZeros(maxVal) - 1); in getMaxValDryWet()
[all …]
/external/aac/libFDK/src/mips/
Dscale_mips.cpp123 FIXP_DBL maxVal = FL2FX_DBL(0.0f); in getScalefactor() local
126 maxVal |= __builtin_mips_absq_s_w(*vector++); in getScalefactor()
129 return fixMax((INT)0, (CntLeadingZeros(maxVal) - 1)); in getScalefactor()
/external/aac/libSBRenc/src/
Dps_main.cpp556 FIXP_DBL maxVal[2][PS_MAX_BANDS]; in psFindBestScaling() local
559 FDKmemclear(maxVal, sizeof(maxVal)); in psFindBestScaling()
574 FIXP_DBL tmp = maxVal[section][bin]; in psFindBestScaling()
582 maxVal[section][bin] = tmp; in psFindBestScaling()
590 CountLeadingBits(fixMax(maxVal[0][band], maxBandValue[band])); in psFindBestScaling()
593 0, CountLeadingBits(fixMax(maxVal[0][band], maxBandValue[band])) - in psFindBestScaling()
596 maxValue = fixMax(maxValue, fixMax(maxVal[0][band], maxVal[1][band])); in psFindBestScaling()
597 maxBandValue[band] = fixMax(maxVal[0][band], maxVal[1][band]); in psFindBestScaling()
Dps_bitenc.cpp266 const INT maxVal, INT *error) { in encodeDeltaFreq() argument
274 if ((delta > maxVal) || (delta < 0)) { in encodeDeltaFreq()
276 delta = delta > 0 ? maxVal : 0; in encodeDeltaFreq()
288 const INT tableOffset, const INT maxVal, in encodeDeltaTime() argument
295 if ((delta > maxVal) || (delta < 0)) { in encodeDeltaTime()
297 delta = delta > 0 ? maxVal : 0; in encodeDeltaTime()
/external/aac/libSBRdec/src/
Denv_calc.cpp542 FIXP_DBL maxVal = (FIXP_DBL)0; in apply_inter_tes() local
552 maxVal |= (FIXP_DBL)((LONG)(bufferImag[j]) ^ in apply_inter_tes()
555 maxVal |= (FIXP_DBL)((LONG)(bufferReal[j]) ^ in apply_inter_tes()
562 if (maxVal != FL2FXCONST_DBL(0.f)) { in apply_inter_tes()
564 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
585 maxVal = (FIXP_DBL)0; in apply_inter_tes()
591 maxVal |= (FIXP_DBL)((LONG)(bufferImag[j]) ^ in apply_inter_tes()
594 maxVal |= (FIXP_DBL)((LONG)(bufferReal[j]) ^ in apply_inter_tes()
601 if (maxVal != FL2FXCONST_DBL(0.f)) { in apply_inter_tes()
602 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes()
[all …]
/external/syzkaller/vendor/golang.org/x/net/http2/
Dgotrack.go79 var cutoff, maxVal uint64
117 maxVal = 1<<uint(bitSize) - 1
149 if n1 < n || n1 > maxVal {
/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp103 …desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
115 … desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) in InterpolationCase() argument
119 , m_max (maxVal) in InterpolationCase()
307 Vec3 maxVal; in init() member
329 …"", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false)); in init()
330 … "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true)); in init()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp101 …desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
113 … desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) in InterpolationCase() argument
117 , m_max (maxVal) in InterpolationCase()
301 Vec3 maxVal; in init() member
323 …"", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false)); in init()
324 … "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true)); in init()

1234