Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 25 of 113) sorted by relevance

12345

/external/libcxx/test/std/utilities/time/time.cal/
Deuclidian.h15 template <typename T, T minValue, T maxValue>
18 const T modulus = maxValue - minValue + 1; in euclidian_addition()
20 if (ret > maxValue) in euclidian_addition()
29 template <typename T, T minValue, T maxValue>
32 const T modulus = maxValue - minValue + 1; in euclidian_subtraction()
36 if (ret > maxValue) // this can happen if T is unsigned in euclidian_subtraction()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNumberPicker.java15 private int maxValue; field in ShadowNumberPicker
46 protected void setMaxValue(int maxValue) { in setMaxValue() argument
47 this.maxValue = maxValue; in setMaxValue()
57 return this.maxValue; in getMaxValue()
/external/lzma/CPP/Windows/Control/
DProgressBar.h21 …unsigned short minValue, unsigned short maxValue) { return SendMsg(PBM_SETRANGE, 0, MAKELPARAM(min… in SetRange() argument
22 …DWORD SetRange32(int minValue, int maxValue) { return (DWORD)SendMsg(PBM_SETRANGE32, minValue, max… in SetRange32() argument
/external/desugar/java/com/google/devtools/common/options/
DConverters.java378 final int maxValue; field in Converters.RangeConverter
380 public RangeConverter(int minValue, int maxValue) { in RangeConverter() argument
382 this.maxValue = maxValue; in RangeConverter()
391 } else if (value < minValue || value > maxValue) { in convert()
392 throw new OptionsParsingException("'" + input + "' should be <= " + maxValue); in convert()
403 if (maxValue == Integer.MAX_VALUE) { in getTypeDescription()
406 return "an integer, <= " + maxValue; in getTypeDescription()
408 } else if (maxValue == Integer.MAX_VALUE) { in getTypeDescription()
414 + maxValue in getTypeDescription()
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java75 byte maxValue = (byte)(Byte.MAX_VALUE / (radix / 2)); in parseByte()
83 if (result > maxValue) { in parseByte()
145 short maxValue = (short)(Short.MAX_VALUE / (radix / 2)); in parseShort() local
153 if (result > maxValue) { in parseShort()
209 int maxValue = Integer.MAX_VALUE / (radix / 2); in parseInt() local
217 if (result > maxValue) { in parseInt()
279 long maxValue = Long.MAX_VALUE / (radix / 2); in parseLong() local
287 if (result > maxValue) { in parseLong()
/external/deqp/modules/glshared/
DglsLongStressCase.hpp67 Value maxValue; member
79 maxValue.f[0] = maxValue_; in set()
87 vecToArr(maxValue_, maxValue.f); in set()
95 matToArr(maxValue_, maxValue.f); in set()
102 maxValue.i[0] = maxValue_; in set()
110 vecToArr(maxValue_, maxValue.i); in set()
147 tcu::Vec4 maxValue; member
176 , maxValue (maxValue_) in TextureSpec()
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DUtil.py99 maxValue = max([v for _,v in items])
102 power = int(math.ceil(math.log(maxValue, 10)))
105 N = int(math.ceil(maxValue / barH))
113 bin = min(int(N * v/maxValue), N-1)
124 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStream.java603 final long maxValue) { in addPaxHeaderForBigNumber() argument
604 if (value < 0 || value > maxValue) { in addPaxHeaderForBigNumber()
623 private void failForBigNumber(final String field, final long value, final long maxValue) { in failForBigNumber() argument
624 failForBigNumber(field, value, maxValue, ""); in failForBigNumber()
628 final long maxValue) { in failForBigNumberWithPosixMessage() argument
629 failForBigNumber(field, value, maxValue, in failForBigNumberWithPosixMessage()
633 private void failForBigNumber(final String field, final long value, final long maxValue, in failForBigNumber() argument
635 if (value < 0 || value > maxValue) { in failForBigNumber()
638 + maxValue + " )." + additionalMsg); in failForBigNumber()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges() local
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
115 ranges[0][1]=maxValue; in uprv_makeDenseRanges()
158 ranges[num-1][1]=maxValue; in uprv_makeDenseRanges()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java144 public static void checkValueArg(int valueArg, int maxValue) { in checkValueArg() argument
145 if (valueArg > maxValue) { in checkValueArg()
146 if (maxValue == 0) { in checkValueArg()
153 valueArg, maxValue)); in checkValueArg()
/external/fonttools/Tests/ttLib/tables/
D_f_v_a_r_test.py53 for tag, name, minValue, defaultValue, maxValue in axes:
57 axis.minValue, axis.maxValue = minValue, maxValue
114 axis.minValue, axis.defaultValue, axis.maxValue = (-0.5, 1.3, 1.5)
124 self.assertEqual(1.5, axis.maxValue)
164 self.assertEqual(900, axis.maxValue)
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp596 int64_t maxValue; in fixupNeedsRelaxationAdvanced() local
600 maxValue = 1 << 8; in fixupNeedsRelaxationAdvanced()
603 maxValue = 1 << 10; in fixupNeedsRelaxationAdvanced()
606 maxValue = 1 << 16; in fixupNeedsRelaxationAdvanced()
609 maxValue = 1 << 23; in fixupNeedsRelaxationAdvanced()
612 maxValue = INT64_MAX; in fixupNeedsRelaxationAdvanced()
616 bool isFarAway = -maxValue > sValue || sValue > maxValue - 1; in fixupNeedsRelaxationAdvanced()
/external/python/pyasn1/pyasn1/compat/
Dinteger.py42 maxValue = 1 << bits
43 valueToEncode = (value + maxValue) % maxValue
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp614 int64_t maxValue; in fixupNeedsRelaxationAdvanced() local
618 maxValue = 1 << 8; in fixupNeedsRelaxationAdvanced()
621 maxValue = 1 << 10; in fixupNeedsRelaxationAdvanced()
624 maxValue = 1 << 16; in fixupNeedsRelaxationAdvanced()
627 maxValue = 1 << 23; in fixupNeedsRelaxationAdvanced()
630 maxValue = INT64_MAX; in fixupNeedsRelaxationAdvanced()
634 bool isFarAway = -maxValue > sValue || sValue > maxValue - 1; in fixupNeedsRelaxationAdvanced()
/external/llvm/utils/lit/lit/
Dutil.py120 maxValue = max([v for _,v in items])
123 power = int(math.ceil(math.log(maxValue, 10)))
126 N = int(math.ceil(maxValue / barH))
134 bin = min(int(N * v/maxValue), N-1)
145 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DCorrelation.java71 double maxValue = 0; in computeCorrelation() local
84 if (mDataAutocorrelated[i] > maxValue) { in computeCorrelation()
85 maxValue = mDataAutocorrelated[i]; in computeCorrelation()
92 log(String.format(" Maxvalue %f, max Index : %d/%d (%d) minIndex = %d", maxValue, maxIndex, in computeCorrelation()
DGlitchAndCallbackHeatMapView.java278 private static void drawHeatMap(Canvas canvas, int[] bucketedValues, int maxValue,
293 float logMax = (float) Math.log(maxValue + 1);
308 private static void drawColorLegend(Canvas canvas, int maxValue, ColorInterpolator colorInter,
323 int tickSpacing = (maxValue + NUM_LEGEND_LABELS - 1) / NUM_LEGEND_LABELS;
324 for (int i = 0; i < maxValue; i += tickSpacing) {
325 float yPos = legendArea.bottom - (((float) i / maxValue) * legendArea.height());
331 canvas.drawText(Integer.toString(maxValue), legendArea.right + INNER_MARGIN,
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py68 minValue, value, maxValue = (float(v) for v in value)
71 if minValue == defaultMinValue and maxValue == defaultMaxValue:
78 ("max", maxValue),
110 maxValue = float(attrs.get("max", defaultMaxValue))
111 self.axes[axis] = (minValue, value, maxValue)
167 minValue, value, maxValue = self.axes.get(axis, (0.0, 0.0, 0.0))
170 if (minValue != defaultMinValue) or (maxValue != defaultMaxValue):
178 minValue, value, maxValue = self.axes.get(axis, (0.0, 0.0, 0.0))
180 maxCoords.append(struct.pack(">h", floatToFixed(maxValue, 14)))
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java30 private int maxValue; field in NumberPickerPreference
46 maxValue = a.getInt(R.styleable.NumberPickerPreference_maxValue, DEFAULT_maxValue); in NumberPickerPreference()
119 picker.setMaxValue(getNumberPickerPreference().maxValue); in onBindDialogView()
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java79 @Override public Integer maxValue() { in maxValue() method in DiscreteDomain.IntegerDomain
133 @Override public Long maxValue() { in maxValue() method in DiscreteDomain.LongDomain
259 public C maxValue() { in maxValue() method in DiscreteDomain
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
Dutil.py238 maxValue = max([v for _, v in items])
241 power = int(math.ceil(math.log(maxValue, 10)))
244 N = int(math.ceil(maxValue / barH))
252 bin = min(int(N * v / maxValue), N - 1)
263 pDigits = int(math.ceil(math.log(maxValue, 10)))
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp674 deUint32 maxValue = 0; in checkUniquenessAndLinearity() local
683 maxValue = std::max(maxValue, values[valueNdx]); in checkUniquenessAndLinearity()
687 counts.resize(maxValue - minValue + 1, 0); in checkUniquenessAndLinearity()
721 deUint32 maxValue = 0; in checkPath() local
728 maxValue = std::max(maxValue, increments[valueNdx]); in checkPath()
737 maxValue = std::max(maxValue, decrements[valueNdx]); in checkPath()
742 maxValue = std::max(maxValue, (deUint32)initialValue); in checkPath()
744 incrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
745 decrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
/external/mesa3d/src/mesa/main/
Dimage.c807 GLint maxValue) in clip_right_or_top() argument
811 if (*dstX1 > maxValue) { in clip_right_or_top()
813 assert(*dstX0 < maxValue); /* X0 should be inside right edge */ in clip_right_or_top()
814 t = (GLfloat) (maxValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_right_or_top()
817 *dstX1 = maxValue; in clip_right_or_top()
821 else if (*dstX0 > maxValue) { in clip_right_or_top()
823 assert(*dstX1 < maxValue); /* X1 should be inside right edge */ in clip_right_or_top()
824 t = (GLfloat) (maxValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_right_or_top()
827 *dstX0 = maxValue; in clip_right_or_top()
/external/clang/test/CodeGenObjC/
Dprotocols.m6 +(int) maxValue; class
56 return [P1Object maxValue];
/external/skqp/src/effects/
DSkColorMatrix.cpp20 SkScalar maxValue = row[4] / 255; in component_needs_clamping() local
24 maxValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()

12345