Searched defs:maxInt (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DMathExtrasTest.cpp59 long maxInt = std::numeric_limits<int>::max(); local
61 long overflowInt = maxInt + 1;
64 EXPECT_GT(overflowInt, maxInt);
67 EXPECT_EQ(maxInt, clampTo<int>(maxInt));
70 EXPECT_EQ(maxInt, clampTo<int>(overflowInt));
76 long long maxInt = std::numeric_limits<int>::max(); local
78 long long overflowInt = maxInt + 1;
81 EXPECT_GT(overflowInt, maxInt);
84 EXPECT_EQ(maxInt, clampT
96 float maxInt = std::numeric_limits<int>::max(); local
105 EXPECT_NEAR(clampToInteger(maxInt), maxInt, 1); local
108 EXPECT_NEAR(clampToInteger(overflowInt), maxInt, 1); local
114 double maxInt = std::numeric_limits<int>::max(); local
125 EXPECT_EQ(clampToInteger(overflowInt), maxInt); local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fShaderSharedVarTests.cpp194 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; local
195 const int minInt = -de::min(numValues/2, maxInt);
199 values[ndx] = float(minInt + (ndx % (maxInt-minInt+1)));
213 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; local
214 const int minInt = -de::min(numValues/2, maxInt);
218 values[ndx] = minInt + (ndx % (maxInt-minInt+1));
232 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; local
236 values[ndx] = ndx % (maxInt+1);
268 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; local
269 const int minInt = -de::min(numValues/2, maxInt);
[all...]
/external/skia/src/core/
H A DSkScan_AntiPath.cpp591 static bool safeRoundOut(const SkRect& src, SkIRect* dst, int32_t maxInt) { argument
592 const SkScalar maxScalar = SkIntToScalar(maxInt);
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
H A Dvalue.h94 * - signed integer [range: Value::minInt - Value::maxInt]
150 static const Int maxInt; member in class:Json::Value
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
H A Djson_value.cpp41 const Int Value::maxInt = Int( UInt(-1)/2 ); member in class:Json::Value
100 if (length >= (unsigned)Value::maxInt)
101 length = Value::maxInt - 1;
750 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range");
947 || (type_ == realValue && InRange(value_.real_, minInt, maxInt))
1405 return value_.int_ >= minInt && value_.int_ <= maxInt;
1407 return value_.uint_ <= UInt(maxInt);
1410 value_.real_ <= maxInt &&
/external/jsoncpp/chromium-overrides/include/json/
H A Dvalue.h94 * - signed integer [range: Value::minInt - Value::maxInt]
150 static const Int maxInt; member in class:Json::Value
/external/jsoncpp/chromium-overrides/src/lib_json/
H A Djson_value.cpp35 const Int Value::maxInt = Int( UInt(-1)/2 ); member in class:Json::Value
94 if (length >= (unsigned)Value::maxInt)
95 length = Value::maxInt - 1;
744 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range");
941 || (type_ == realValue && InRange(value_.real_, minInt, maxInt))
1399 return value_.int_ >= minInt && value_.int_ <= maxInt;
1401 return value_.uint_ <= UInt(maxInt);
1404 value_.real_ <= maxInt &&
/external/jsoncpp/include/json/
H A Dvalue.h94 * - signed integer [range: Value::minInt - Value::maxInt]
150 static const Int maxInt; member in class:Json::Value
/external/jsoncpp/src/lib_json/
H A Djson_value.cpp31 const Int Value::maxInt = Int( UInt(-1)/2 ); member in class:Json::Value
90 if (length >= (unsigned)Value::maxInt)
91 length = Value::maxInt - 1;
740 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range");
937 || (type_ == realValue && InRange(value_.real_, minInt, maxInt))
1395 return value_.int_ >= minInt && value_.int_ <= maxInt;
1397 return value_.uint_ <= UInt(maxInt);
1400 value_.real_ <= maxInt &&

Completed in 245 milliseconds