/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | MathExtrasTest.cpp | 59 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/ |
D | es31fShaderSharedVarTests.cpp | 194 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/ |
D | json_value.cpp | 41 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()
|
D | json_reader.cpp | 619 else if ( value <= Value::LargestUInt(Value::maxInt) ) in decodeNumber()
|
/external/jsoncpp/src/lib_json/ |
D | json_value.cpp | 31 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()
|
D | json_reader.cpp | 617 else if ( value <= Value::LargestUInt(Value::maxInt) ) in decodeNumber()
|
/external/jsoncpp/chromium-overrides/src/lib_json/ |
D | json_value.cpp | 35 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/ |
D | SkScan_AntiPath.cpp | 591 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/ |
D | SkScan_AntiPath.cpp | 615 static bool safeRoundOut(const SkRect& src, SkIRect* dst, int32_t maxInt) { in safeRoundOut() argument 616 const SkScalar maxScalar = SkIntToScalar(maxInt); in safeRoundOut()
|
/external/jsoncpp/ |
D | NEWS.txt | 28 may have been constructed with a 64-bit integer larger than maxInt,
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | vdbemem.c | 332 static const i64 maxInt = LARGEST_INT64; in doubleToInt64() 337 }else if( r>(double)maxInt ){ in doubleToInt64()
|
/external/jsoncpp/chromium-overrides/include/json/ |
D | value.h | 150 static const Int maxInt; variable
|
/external/chromium_org/third_party/jsoncpp/overrides/include/json/ |
D | value.h | 150 static const Int maxInt; variable
|
/external/jsoncpp/include/json/ |
D | value.h | 150 static const Int maxInt; variable
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 12 #define kint32max Json::Value::maxInt 66 , smallUnsignedInteger_( Json::Value::UInt( Json::Value::maxInt ) ) in ValueTest()
|
/external/sqlite/dist/ |
D | sqlite3.c | 61211 static const i64 maxInt = LARGEST_INT64; 61216 }else if( r>=(double)maxInt ){ 61217 return maxInt;
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 61191 static const i64 maxInt = LARGEST_INT64; 61196 }else if( r>=(double)maxInt ){ 61197 return maxInt;
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 56297 static const i64 maxInt = LARGEST_INT64; 56302 }else if( r>(double)maxInt ){
|