Home
last modified time | relevance | path

Searched refs:maxInt (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtrasTest.cpp59 long maxInt = std::numeric_limits<int>::max(); in TEST() local
61 long overflowInt = maxInt + 1; in TEST()
64 EXPECT_GT(overflowInt, maxInt); in TEST()
67 EXPECT_EQ(maxInt, clampTo<int>(maxInt)); in TEST()
70 EXPECT_EQ(maxInt, clampTo<int>(overflowInt)); in TEST()
76 long long maxInt = std::numeric_limits<int>::max(); in TEST() local
78 long long overflowInt = maxInt + 1; in TEST()
81 EXPECT_GT(overflowInt, maxInt); in TEST()
84 EXPECT_EQ(maxInt, clampTo<int>(maxInt)); in TEST()
87 EXPECT_EQ(maxInt, clampTo<int>(overflowInt)); in TEST()
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp194 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate() local
195 const int minInt = -de::min(numValues/2, maxInt); in iterate()
199 values[ndx] = float(minInt + (ndx % (maxInt-minInt+1))); in iterate()
213 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; in iterate() local
214 const int minInt = -de::min(numValues/2, maxInt); in iterate()
218 values[ndx] = minInt + (ndx % (maxInt-minInt+1)); in iterate()
232 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; in iterate() local
236 values[ndx] = ndx % (maxInt+1); in iterate()
268 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate() local
269 const int minInt = -de::min(numValues/2, maxInt); in iterate()
[all …]
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
Djson_value.cpp41 const Int Value::maxInt = Int( UInt(-1)/2 ); member in Json::Value
100 if (length >= (unsigned)Value::maxInt) in duplicateStringValue()
101 length = Value::maxInt - 1; in duplicateStringValue()
750 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range"); in asInt()
947 || (type_ == realValue && InRange(value_.real_, minInt, maxInt)) in isConvertibleTo()
1405 return value_.int_ >= minInt && value_.int_ <= maxInt; in isInt()
1407 return value_.uint_ <= UInt(maxInt); in isInt()
1410 value_.real_ <= maxInt && in isInt()
Djson_reader.cpp619 else if ( value <= Value::LargestUInt(Value::maxInt) ) in decodeNumber()
/external/jsoncpp/src/lib_json/
Djson_value.cpp31 const Int Value::maxInt = Int( UInt(-1)/2 ); member in Json::Value
90 if (length >= (unsigned)Value::maxInt) in duplicateStringValue()
91 length = Value::maxInt - 1; in duplicateStringValue()
740 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range"); in asInt()
937 || (type_ == realValue && InRange(value_.real_, minInt, maxInt)) in isConvertibleTo()
1395 return value_.int_ >= minInt && value_.int_ <= maxInt; in isInt()
1397 return value_.uint_ <= UInt(maxInt); in isInt()
1400 value_.real_ <= maxInt && in isInt()
Djson_reader.cpp617 else if ( value <= Value::LargestUInt(Value::maxInt) ) in decodeNumber()
/external/jsoncpp/chromium-overrides/src/lib_json/
Djson_value.cpp35 const Int Value::maxInt = Int( UInt(-1)/2 ); member in Json::Value
94 if (length >= (unsigned)Value::maxInt) in duplicateStringValue()
95 length = Value::maxInt - 1; in duplicateStringValue()
744 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), "double out of Int range"); in asInt()
941 || (type_ == realValue && InRange(value_.real_, minInt, maxInt)) in isConvertibleTo()
1399 return value_.int_ >= minInt && value_.int_ <= maxInt; in isInt()
1401 return value_.uint_ <= UInt(maxInt); in isInt()
1404 value_.real_ <= maxInt && in isInt()
/external/skia/src/core/
DSkScan_AntiPath.cpp591 static bool safeRoundOut(const SkRect& src, SkIRect* dst, int32_t maxInt) { in safeRoundOut() argument
592 const SkScalar maxScalar = SkIntToScalar(maxInt); in safeRoundOut()
/external/chromium_org/third_party/skia/src/core/
DSkScan_AntiPath.cpp615 static bool safeRoundOut(const SkRect& src, SkIRect* dst, int32_t maxInt) { in safeRoundOut() argument
616 const SkScalar maxScalar = SkIntToScalar(maxInt); in safeRoundOut()
/external/jsoncpp/
DNEWS.txt28 may have been constructed with a 64-bit integer larger than maxInt,
/external/chromium_org/third_party/sqlite/src/src/
Dvdbemem.c332 static const i64 maxInt = LARGEST_INT64; in doubleToInt64()
337 }else if( r>(double)maxInt ){ in doubleToInt64()
/external/jsoncpp/chromium-overrides/include/json/
Dvalue.h150 static const Int maxInt; variable
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
Dvalue.h150 static const Int maxInt; variable
/external/jsoncpp/include/json/
Dvalue.h150 static const Int maxInt; variable
/external/jsoncpp/src/test_lib_json/
Dmain.cpp12 #define kint32max Json::Value::maxInt
66 , smallUnsignedInteger_( Json::Value::UInt( Json::Value::maxInt ) ) in ValueTest()
/external/sqlite/dist/
Dsqlite3.c61211 static const i64 maxInt = LARGEST_INT64;
61216 }else if( r>=(double)maxInt ){
61217 return maxInt;
/external/sqlite/dist/orig/
Dsqlite3.c61191 static const i64 maxInt = LARGEST_INT64;
61196 }else if( r>=(double)maxInt ){
61197 return maxInt;
/external/chromium_org/third_party/sqlite/amalgamation/
Dsqlite3.c56297 static const i64 maxInt = LARGEST_INT64;
56302 }else if( r>(double)maxInt ){