Home
last modified time | relevance | path

Searched refs:minValue (Results 1 – 25 of 96) sorted by relevance

1234

/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp66 int32_t minValue=0; in firstAfter() local
69 if(value<gapStarts[i] && (minIndex<0 || gapStarts[i]<minValue)) { in firstAfter()
70 minValue=gapStarts[i]; in firstAfter()
107 int32_t minValue=values[0]; in uprv_makeDenseRanges() local
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
114 ranges[0][0]=minValue; in uprv_makeDenseRanges()
125 int32_t expectedValue=minValue; in uprv_makeDenseRanges()
151 ranges[0][0]=minValue; in uprv_makeDenseRanges()
153 int32_t gapIndex=gaps.firstAfter(minValue); in uprv_makeDenseRanges()
156 ranges[i+1][0]=minValue=(int32_t)(gapStart+gaps.gapLength(gapIndex)); in uprv_makeDenseRanges()
/external/lzma/CPP/Windows/Control/
DProgressBar.h21 …LRESULT SetRange(unsigned short minValue, unsigned short maxValue) { return SendMsg(PBM_SETRANGE, … in SetRange() argument
22 …DWORD SetRange32(int minValue, int maxValue) { return (DWORD)SendMsg(PBM_SETRANGE32, minValue, max… in SetRange32() argument
25 …INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMsg(PBM_GETRANGE, BoolToBOOL(minValu… in GetRange() argument
/external/icu/icu4c/source/common/unicode/
Denumset.h33 template<typename T, uint32_t minValue, uint32_t limitValue>
37 inline EnumSet(const EnumSet<T,minValue,limitValue>& other) : fBools(other.fBools) {} in EnumSet() argument
46 inline UBool isValidEnum(T toCheck) const { return (toCheck>=minValue&&toCheck<limitValue); } in isValidEnum()
48 …inline const EnumSet<T,minValue,limitValue>& operator=(const EnumSet<T,minValue,limitValue>& other…
59 inline uint32_t flag(T toCheck) const { return (1<<(toCheck-minValue)); } in flag()
/external/icu/libicu/cts_headers/unicode/
Denumset.h33 template<typename T, uint32_t minValue, uint32_t limitValue>
37 inline EnumSet(const EnumSet<T,minValue,limitValue>& other) : fBools(other.fBools) {} in EnumSet() argument
46 inline UBool isValidEnum(T toCheck) const { return (toCheck>=minValue&&toCheck<limitValue); } in isValidEnum()
48 …inline const EnumSet<T,minValue,limitValue>& operator=(const EnumSet<T,minValue,limitValue>& other…
59 inline uint32_t flag(T toCheck) const { return (1<<(toCheck-minValue)); } in flag()
/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()
29 template <typename T, T minValue, T maxValue>
32 const T modulus = maxValue - minValue + 1; in euclidian_subtraction()
34 if (ret < minValue) in euclidian_subtraction()
/external/llvm-project/libcxx/test/std/utilities/time/time.cal/
Deuclidian.h14 template <typename T, T minValue, T maxValue>
17 const T modulus = maxValue - minValue + 1; in euclidian_addition()
28 template <typename T, T minValue, T maxValue>
31 const T modulus = maxValue - minValue + 1; in euclidian_subtraction()
33 if (ret < minValue) in euclidian_subtraction()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DSystemProps.common.kt33 minValue: Int = 1, in systemProp()
35 ): Int = systemProp(propertyName, defaultValue.toLong(), minValue.toLong(), maxValue.toLong()).toIn… in systemProp()
47 minValue: Long = 1, in systemProp()
53 if (parsed !in minValue..maxValue) { in systemProp()
54 … error("System property '$propertyName' should be in range $minValue..$maxValue, but is '$parsed'") in systemProp()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNumberPicker.java14 private int minValue; field in ShadowNumberPicker
41 protected void setMinValue(int minValue) { in setMinValue() argument
42 this.minValue = minValue; in setMinValue()
52 return this.minValue; in getMinValue()
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp181 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
182 …ne float randomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(m… in randomScalar() argument
183 …deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(mi… in randomScalar() argument
184 …calar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { return minValue + rnd.getUint32() … in randomScalar() argument
/external/angle/util/
Drandom_utils.h73 inline Vector4 RandomVec4(int seed, float minValue, float maxValue) in RandomVec4() argument
78 rng.randomFloatBetween(minValue, maxValue), rng.randomFloatBetween(minValue, maxValue), in RandomVec4()
79 rng.randomFloatBetween(minValue, maxValue), rng.randomFloatBetween(minValue, maxValue)); in RandomVec4()
/external/desugar/java/com/google/devtools/common/options/
DConverters.java377 final int minValue; field in Converters.RangeConverter
380 public RangeConverter(int minValue, int maxValue) { in RangeConverter() argument
381 this.minValue = minValue; in RangeConverter()
389 if (value < minValue) { in convert()
390 throw new OptionsParsingException("'" + input + "' should be >= " + minValue); in convert()
391 } else if (value < minValue || value > maxValue) { in convert()
402 if (minValue == Integer.MIN_VALUE) { in getTypeDescription()
409 return "an integer, >= " + minValue; in getTypeDescription()
412 + (minValue < 0 ? "(" + minValue + ")" : minValue) in getTypeDescription()
/external/OpenCL-CTS/test_conformance/spir/
Ddatagen.h222 KernelArgGeneratorNI( bool isBuffer, size_t vectorSize, int minValue, int maxValue )
243 KernelArgGeneratorImage(bool isBuffer, size_t vectorSize, char minValue, char maxValue) :
246 m_minValue(minValue),
376 … KernelArgGeneratorImage1dArray( bool isBuffer, size_t vectorSize, char minValue, char maxValue ):
377 KernelArgGeneratorImage(isBuffer, vectorSize, minValue, maxValue)
394 …KernelArgGeneratorImage1dBuffer( bool isBuffer, size_t vectorSize, char minValue, char maxValue ) :
395 KernelArgGeneratorImage(isBuffer, vectorSize, minValue, maxValue)
413 KernelArgGeneratorImage1d( bool isBuffer, size_t vectorSize, char minValue, char maxValue ) :
414 KernelArgGeneratorImage(isBuffer, vectorSize, minValue, maxValue)
433 … KernelArgGeneratorImage2dArray( bool isBuffer, size_t vectorSize, char minValue, char maxValue ) :
[all …]
/external/deqp/modules/glshared/
DglsLongStressCase.hpp66 Value minValue; member
78 minValue.f[0] = minValue_; in set()
86 vecToArr(minValue_, minValue.f); in set()
94 matToArr(minValue_, minValue.f); in set()
101 minValue.i[0] = minValue_; in set()
109 vecToArr(minValue_, minValue.i); in set()
146 tcu::Vec4 minValue; member
175 , minValue (minValue_) in TextureSpec()
DglsStateQueryUtil.cpp1120 void verifyIntegerMin (tcu::ResultCollector& result, QueriedState& state, int minValue) in verifyIntegerMin() argument
1126 if (minValue > 0 && state.getBoolAccess() != true) in verifyIntegerMin()
1137 if (state.getIntAccess() < minValue) in verifyIntegerMin()
1140 buf << "Expected greater or equal to " << minValue << ", got " << state.getIntAccess(); in verifyIntegerMin()
1148 if (state.getInt64Access() < minValue) in verifyIntegerMin()
1151 buf << "Expected greater or equal to " << minValue << ", got " << state.getInt64Access(); in verifyIntegerMin()
1159 …if (state.getFloatAccess() < deInt32ToFloatRoundToNegInf(minValue) || deIsNaN(state.getFloatAccess… in verifyIntegerMin()
1162 buf << "Expected greater or equal to " << minValue << ", got " << state.getFloatAccess(); in verifyIntegerMin()
1322 void verifyFloatMin (tcu::ResultCollector& result, QueriedState& state, float minValue) in verifyFloatMin() argument
1328 if (minValue > 0.0f && state.getBoolAccess() != true) in verifyFloatMin()
[all …]
/external/angle/src/tests/gl_tests/
DBlendMinMaxTest.cpp47 int minValue = 0; in runTest() local
51 minValue = -1024; in runTest()
62 static_cast<float>(minValue + (rand() % (maxValue - minValue))); in runTest()
/external/fonttools/Tests/ttLib/tables/
D_f_v_a_r_test.py52 for tag, name, minValue, defaultValue, maxValue in axes:
56 axis.minValue, axis.maxValue = minValue, maxValue
113 axis.minValue, axis.defaultValue, axis.maxValue = (-0.5, 1.3, 1.5)
121 self.assertEqual(-0.5, axis.minValue)
161 self.assertEqual(100, axis.minValue)
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp673 deUint32 minValue = (deUint32)-1; in checkUniquenessAndLinearity() local
682 minValue = std::min(minValue, values[valueNdx]); in checkUniquenessAndLinearity()
687 counts.resize(maxValue - minValue + 1, 0); in checkUniquenessAndLinearity()
692 counts[values[valueNdx] - minValue]++; in checkUniquenessAndLinearity()
700 …log << TestLog::Message << "Value " << (minValue + countNdx) << " is not unique. Returned " << cou… in checkUniquenessAndLinearity()
720 deUint32 minValue = 0xFFFFFFFFu; in checkPath() local
727 minValue = std::min(minValue, increments[valueNdx]); in checkPath()
736 minValue = std::min(minValue, decrements[valueNdx]); in checkPath()
741 minValue = std::min(minValue, (deUint32)initialValue); in checkPath()
744 incrementCounts.resize(maxValue - minValue + 1, 0); in checkPath()
[all …]
Des31fIntegerStateQueryTests.cpp70 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
79 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi… in MaxSamplesCase() argument
82 , m_minValue (minValue) in MaxSamplesCase()
178 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
179 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
189 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi… in MinimumValueCase() argument
192 , m_minValue (minValue) in MinimumValueCase()
198 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi… in MinimumValueCase() argument
201 , m_minValue (minValue) in MinimumValueCase()
233 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
[all …]
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt92 minLabelView.text = floatFormat.format(param.minValue) in <lambda>()
95 … ((param.defaultValue - param.minValue) * 100 / (param.maxValue - param.minValue)).toInt() in <lambda>()
110 … ((seekBar!!.progress / 100f) * (param.maxValue - param.minValue) + param.minValue) in <lambda>()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java33 private int minValue; field in NumberPickerPreference
49 minValue = a.getInt(R.styleable.NumberPickerPreference_minValue, DEFAULT_minValue); in NumberPickerPreference()
126 picker.setMinValue(getNumberPickerPreference().minValue); in onBindDialogView()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/linear/
DSimplexSolver.java62 double minValue = 0; in getPivotColumn() local
65 if (MathUtils.compareTo(tableau.getEntry(0, i), minValue, epsilon) < 0) { in getPivotColumn()
66 minValue = tableau.getEntry(0, i); in getPivotColumn()
/external/flatbuffers/swift/Sources/FlatBuffers/
DTable.swift117 let minValue = min(len1, len2) in compare() variable
118 for i in 0...minValue { in compare()
134 let minValue = min(len1, len2) in compare() variable
135 for i in 0..<minValue { in compare()
/external/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java88 public Integer minValue() { in minValue() method in DiscreteDomain.IntegerDomain
160 public Long minValue() {
303 public C minValue() {
/external/guava/android/guava/src/com/google/common/collect/
DDiscreteDomain.java88 public Integer minValue() { in minValue() method in DiscreteDomain.IntegerDomain
160 public Long minValue() {
303 public C minValue() {
/external/deqp/modules/gles3/functional/
Des3fInteger64StateQueryTests.cpp199 …erifier* verifier, const char* name, const char* description, GLenum targetName, GLuint64 minValue) in ConstantMinimumValue64TestCase() argument
202 , m_minValue (minValue) in ConstantMinimumValue64TestCase()
294 GLuint64 minValue; in init() member
306 …].description, implementationLimits[testNdx].targetName, implementationLimits[testNdx].minValue))); in init()

1234