Home
last modified time | relevance | path

Searched refs:minValue (Results 1 – 25 of 87) 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/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/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/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/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 …]
DglsStateQueryUtil.hpp402 void verifyIntegerMin (tcu::ResultCollector& result, QueriedState& state, int minValue);
406 void verifyFloatMin (tcu::ResultCollector& result, QueriedState& state, float minValue);
420 …ultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int minValue, QueryType type…
424 …tCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, float minValue, QueryType type…
430 …result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int minValue, QueryType typ…
433 …, glu::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, int minValue, QueryType typ…
/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()
176 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
177 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
187 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi… in MinimumValueCase() argument
190 , m_minValue (minValue) in MinimumValueCase()
196 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi… in MinimumValueCase() argument
199 , m_minValue (minValue) in MinimumValueCase()
230 …t& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifi…
[all …]
/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)
122 self.assertEqual(-0.5, axis.minValue)
162 self.assertEqual(100, axis.minValue)
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py68 minValue, value, maxValue = (float(v) for v in value)
71 if minValue == defaultMinValue and maxValue == defaultMaxValue:
76 ("min", minValue),
109 minValue = float(attrs.get("min", defaultMinValue))
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))
179 minCoords.append(struct.pack(">h", floatToFixed(minValue, 14)))
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java31 private int minValue; field in NumberPickerPreference
47 minValue = a.getInt(R.styleable.NumberPickerPreference_minValue, DEFAULT_minValue); in NumberPickerPreference()
120 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/guava/guava/src/com/google/common/collect/
DDiscreteDomain.java75 @Override public Integer minValue() { in minValue() method in DiscreteDomain.IntegerDomain
129 @Override public Long minValue() { in minValue() method in DiscreteDomain.LongDomain
244 public C minValue() { in minValue() method in DiscreteDomain
/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()
/external/mesa3d/src/mesa/main/
Dimage.c840 GLint minValue) in clip_left_or_bottom() argument
844 if (*dstX0 < minValue) { in clip_left_or_bottom()
846 assert(*dstX1 > minValue); /* X1 should be inside left edge */ in clip_left_or_bottom()
847 t = (GLfloat) (minValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_left_or_bottom()
850 *dstX0 = minValue; in clip_left_or_bottom()
854 else if (*dstX1 < minValue) { in clip_left_or_bottom()
856 assert(*dstX0 > minValue); /* X0 should be inside left edge */ in clip_left_or_bottom()
857 t = (GLfloat) (minValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_left_or_bottom()
860 *dstX1 = minValue; in clip_left_or_bottom()
/external/skqp/src/effects/
DSkColorMatrix.cpp21 SkScalar minValue = row[4] / 255; in component_needs_clamping() local
26 minValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()
/external/skia/src/effects/
DSkColorMatrix.cpp21 SkScalar minValue = row[4] / 255; in component_needs_clamping() local
26 minValue += row[i]; in component_needs_clamping()
28 return (maxValue > 1) || (minValue < 0); in component_needs_clamping()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1443 const UVec4 minValue (0); in iterateInternal() local
1453 UVec4 color (minValue); in iterateInternal()
1488 const IVec4 minValue (0); in iterateInternal() local
1498 IVec4 color (minValue); in iterateInternal()
1538 const Vec4 minValue (tcu::max(info.valueMin, minLimit)); in iterateInternal() local
1539 const Vec4 range (tcu::min(info.valueMax, maxLimit) - minValue); in iterateInternal()
1548 Vec4 color (minValue); in iterateInternal()
1627 const Vec4 minValue (0.0f); in init() local
1644 fragmentShader << "\tdepth = " << minValue[0] << ";\n"; in init()
1686 const UVec4 minValue (0); in init() local
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-var-fvar-table.hh86 Fixed minValue; /* The minimum coordinate value for the axis. */ member
125 info->min_value = MIN<float> (info->default_value, axis.minValue / 65536.); in get_axis_deprecated()
139 info->min_value = MIN<float> (info->default_value, axis.minValue / 65536.); in get_axis_info()
/external/deqp/modules/gles3/performance/
Des3pShaderControlStatementTests.cpp328 float minValue = 0.0f; in init() local
330 m_attributes.push_back(AttribSpec("a_compareValue", Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
332 Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
608 float minValue = 0.0f; in init() local
610 m_attributes.push_back(AttribSpec("a_bound", Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
612 Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
/external/deqp/modules/gles2/performance/
Des2pShaderControlStatementTests.cpp324 float minValue = 0.0f; in init() local
326 m_attributes.push_back(AttribSpec("a_compareValue", Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
328 Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
600 float minValue = 0.0f; in init() local
602 m_attributes.push_back(AttribSpec("a_bound", Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
604 Vec4(minValue, 0.0f, 0.0f, 0.0f), in init()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp328 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
329 …ne float randomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(m… in randomScalar() argument
330 …deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(mi… in randomScalar() argument

1234