Home
last modified time | relevance | path

Searched refs:minValue (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeRandom.hpp182 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
183 template<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return rnd.getFloat(minValue, maxValue); } in randomScalar() argument
184 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { return rnd.getInt(minValue, maxValue); } in randomScalar() argument
185 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { if (minValue == 0 && maxValue == 0xffffffff) return rnd.getUint32(); in randomScalar() argument
186 return minValue + rnd.getUint32() % (maxValue - minValue + 1); } in randomScalar()
187 template<> inline deInt16 randomScalar (de::Random& rnd, deInt16 minValue, deInt1 in randomScalar() argument
188 randomScalar(de::Random& rnd, deUint16 minValue, deUint16 maxValue) randomScalar() argument
189 randomScalar(de::Random& rnd, deInt8 minValue, deInt8 maxValue) randomScalar() argument
190 randomScalar(de::Random& rnd, deUint8 minValue, deUint8 maxValue) randomScalar() argument
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A 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
108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges()
110 // signed-int32_t overflow of maxValue-minValue. in uprv_makeDenseRanges()
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
114 ranges[0][0]=minValue; in uprv_makeDenseRanges()
121 // See if we can split [minValue, maxValue] into 2..capacity ranges, in uprv_makeDenseRanges()
125 int32_t expectedValue=minValue; in uprv_makeDenseRanges()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A 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
108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges()
110 // signed-int32_t overflow of maxValue-minValue. in uprv_makeDenseRanges()
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
114 ranges[0][0]=minValue; in uprv_makeDenseRanges()
121 // See if we can split [minValue, maxValue] into 2..capacity ranges, in uprv_makeDenseRanges()
125 int32_t expectedValue=minValue; in uprv_makeDenseRanges()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A 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
108 int32_t maxValue=values[length-1]; // Assume minValue<=maxValue. in uprv_makeDenseRanges()
110 // signed-int32_t overflow of maxValue-minValue. in uprv_makeDenseRanges()
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; in uprv_makeDenseRanges()
114 ranges[0][0]=minValue; in uprv_makeDenseRanges()
121 // See if we can split [minValue, maxValue] into 2..capacity ranges, in uprv_makeDenseRanges()
125 int32_t expectedValue=minValue; in uprv_makeDenseRanges()
[all...]
/third_party/icu/icu4c/source/common/unicode/
H A 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()
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) { in operator =()
59 inline uint32_t flag(T toCheck) const { return (1<<(toCheck-minValue)); } in flag()
/third_party/node/deps/icu-small/source/common/unicode/
H A 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()
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) { in operator =()
59 inline uint32_t flag(T toCheck) const { return (1<<(toCheck-minValue)); } in flag()
/third_party/skia/third_party/externals/icu/source/common/unicode/
H A 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()
46 inline UBool isValidEnum(T toCheck) const { return ((uint32_t)toCheck>=minValue&&(uint32_t)toCheck<limitValue); } in isValidEnum()
48 inline const EnumSet<T,minValue,limitValue>& operator=(const EnumSet<T,minValue,limitValue>& other) { in operator =()
59 inline uint32_t flag(T toCheck) const { return (1<<(toCheck-minValue)); } in flag()
/third_party/skia/third_party/externals/angle2/util/
H A 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()
/third_party/vk-gl-cts/modules/glshared/
H A 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()
H A 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. in verifyFloatMin()
1849 verifyStateIntegerMin(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int minValue, QueryType type) verifyStateIntegerMin() argument
1926 verifyStateFloatMin(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, float minValue, QueryType type) verifyStateFloatMin() argument
1986 verifyStateIndexedIntegerMin(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int minValue, QueryType type) verifyStateIndexedIntegerMin() argument
2016 verifyStateFramebufferIntegerMin(tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, int minValue, QueryType type) verifyStateFramebufferIntegerMin() argument
[all...]
H A DglsStateQueryUtil.hpp399 void verifyIntegerMin (tcu::ResultCollector& result, QueriedState& state, int minValue);
403 void verifyFloatMin (tcu::ResultCollector& result, QueriedState& state, float minValue);
417 void verifyStateIntegerMin (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int minValue, QueryType type);
421 void verifyStateFloatMin (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, float minValue, QueryType type);
427 void verifyStateIndexedIntegerMin (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, int index, int minValue, QueryType type);
430 void verifyStateFramebufferIntegerMin (tcu::ResultCollector& result, glu::CallLogWrapper& gl, glw::GLenum target, glw::GLenum pname, int minValue, QueryType type);
/third_party/vk-gl-cts/modules/gles31/functional/
H A 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 " << counts[countNdx] << " times." << TestLog::EndMessage; in checkUniquenessAndLinearity()
720 deUint32 minValue = 0xFFFFFFFFu; in checkPath() local
727 minValue = std::min(minValue, increments[valueNdx]); in checkPath()
736 minValue in checkPath()
[all...]
H A Des31fIntegerStateQueryTests.cpp70 MaxSamplesCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType);
79 MaxSamplesCase::MaxSamplesCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType) in MaxSamplesCase() argument
82 , m_minValue (minValue) in MaxSamplesCase()
178 MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType);
179 MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion);
189 MinimumValueCase::MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType) in MinimumValueCase() argument
192 , m_minValue (minValue) in MinimumValueCase()
198 MinimumValueCase::MinimumValueCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion) in MinimumValueCase() argument
201 , m_minValue (minValue) in MinimumValueCase()
233 AlignmentCase (Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryTyp
244 AlignmentCase(Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType) AlignmentCase() argument
253 AlignmentCase(Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, QueryType verifierType, glu::ApiType minVersion) AlignmentCase() argument
404 FramebufferMinimumValueCase(Context& context, const char* name, const char* desc, glw::GLenum target, int minValue, glw::GLenum tiedTo, QueryType verifierType) FramebufferMinimumValueCase() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DBlendMinMaxTest.cpp47 int minValue = 0; in runTest() local
51 minValue = -1024; in runTest()
62 static_cast<float>(minValue + (rand() % (maxValue - minValue))); in runTest()
/third_party/mesa3d/src/mesa/main/
H A Dimage.c716 GLint minValue) in clip_left_or_bottom()
720 if (*dstX0 < minValue) { in clip_left_or_bottom()
722 assert(*dstX1 > minValue); /* X1 should be inside left edge */ in clip_left_or_bottom()
723 t = (GLfloat) (minValue - *dstX0) / (GLfloat) (*dstX1 - *dstX0); in clip_left_or_bottom()
726 *dstX0 = minValue; in clip_left_or_bottom()
730 else if (*dstX1 < minValue) { in clip_left_or_bottom()
732 assert(*dstX0 > minValue); /* X0 should be inside left edge */ in clip_left_or_bottom()
733 t = (GLfloat) (minValue - *dstX1) / (GLfloat) (*dstX0 - *dstX1); in clip_left_or_bottom()
736 *dstX1 = minValue; in clip_left_or_bottom()
714 clip_left_or_bottom(GLint *srcX0, GLint *srcX1, GLint *dstX0, GLint *dstX1, GLint minValue) clip_left_or_bottom() argument
/third_party/lzma/CPP/Windows/Control/
H A DProgressBar.h21 // LRESULT SetRange(unsigned short minValue, unsigned short maxValue) { return SendMsg(PBM_SETRANGE, 0, MAKELPARAM(minValue, maxValue)); }
22 DWORD SetRange32(int minValue, int maxValue) { return (DWORD)SendMsg(PBM_SETRANGE32, (unsigned)minValue, (LPARAM)(unsigned)maxValue); } in SetRange32() argument
25 // INT GetRange(bool minValue, PPBRANGE range) { return (INT)SendMsg(PBM_GETRANGE, BoolToBOOL(minValue), (LPARAM)range); }
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fInteger64StateQueryTests.cpp199 ConstantMinimumValue64TestCase (Context& context, StateVerifier* verifier, const char* name, const char* description, GLenum targetName, GLuint64 minValue) in ConstantMinimumValue64TestCase() argument
202 , m_minValue (minValue) in ConstantMinimumValue64TestCase()
296 GLuint64 minValue; in init() member
308 FOR_EACH_VERIFIER(verifiers, addChild(new ConstantMinimumValue64TestCase(m_context, verifier, (std::string(implementationLimits[testNdx].name) + verifier->getTestNamePostfix()).c_str(), implementationLimits[testNdx].description, implementationLimits[testNdx].targetName, implementationLimits[testNdx].minValue))); in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dcopyvertex.inc.h323 const int32_t minValue = 0xFFFFFE01; // Inverse of maxValue in CopyPackedRGB() local
325 // A 10-bit two's complement number has the possibility of being minValue - 1 but in CopyPackedRGB()
326 // OpenGL's normalization rules dictate that it should be clamped to minValue in in CopyPackedRGB()
328 if (finalValue < minValue) in CopyPackedRGB()
330 finalValue = minValue; in CopyPackedRGB()
333 const int32_t halfRange = (maxValue - minValue) >> 1; in CopyPackedRGB()
334 finalValue = ((finalValue - minValue) / halfRange) - 1.0f; in CopyPackedRGB()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp1564 const UVec4 minValue (0); in iterateInternal()
1574 UVec4 color (minValue); in iterateInternal()
1609 const IVec4 minValue (0); in iterateInternal()
1619 IVec4 color (minValue); in iterateInternal()
1659 const Vec4 minValue (tcu::max(info.valueMin, minLimit)); in iterateInternal()
1660 const Vec4 range (tcu::min(info.valueMax, maxLimit) - minValue); in iterateInternal()
1670 Vec4 color (minValue); in iterateInternal()
1751 const Vec4 minValue (0.0f); in init()
1768 fragmentShader << "\tdepth = " << minValue[0] << ";\n"; in init() local
1810 const UVec4 minValue ( in init()
1829 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
1891 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
1958 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp1557 const UVec4 minValue (0); in iterateInternal()
1567 UVec4 color (minValue); in iterateInternal()
1602 const IVec4 minValue (0); in iterateInternal()
1612 IVec4 color (minValue); in iterateInternal()
1652 const Vec4 minValue (tcu::max(info.valueMin, minLimit)); in iterateInternal()
1653 const Vec4 range (tcu::min(info.valueMax, maxLimit) - minValue); in iterateInternal()
1662 Vec4 color (minValue); in iterateInternal()
1743 const Vec4 minValue (0.0f); in init()
1760 fragmentShader << "\tdepth = " << minValue[0] << ";\n"; in init() local
1802 const UVec4 minValue ( in init()
1821 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
1883 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
1950 fragmentShader << "\\tcolor[" << ndx << "] = " << minValue[ndx] << ";\\n"; init() local
[all...]
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/
H A DDigitSequenceTest.java65 assertThat(domain().minValue()).isEqualTo(DigitSequence.empty()); in testMin()
95 assertThat(domain().distance(domain().minValue(), domain().maxValue())) in testDistance()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTextureFormatTests.cpp372 T minValue = std::numeric_limits<T>::min(); in DoSnormTest() local
373 std::vector<T> textureData = {0, 1, -1, maxValue, minValue, T(minValue + 1), 0, 0}; in DoSnormTest()
402 T minValue = std::numeric_limits<T>::min(); in DoSintTest() local
403 std::vector<T> textureData = {0, 1, maxValue, minValue}; in DoSintTest()
404 std::vector<int32_t> uncompressedData = {0, 1, maxValue, minValue}; in DoSintTest()
/third_party/vk-gl-cts/modules/gles3/performance/
H A 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()
/third_party/vk-gl-cts/modules/gles2/performance/
H A 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()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-var-fvar-table.hh141 min = hb_min (default_, minValue / 65536.f); in get_coordinates()
148 HBFixed minValue; /* The minimum coordinate value for the axis. */ member

Completed in 41 milliseconds

1234