Searched refs:kMaxInt32 (Results 1 – 5 of 5) sorted by relevance
/external/ukey2/src/main/cpp/test/securegcm/ |
D | java_util_test.cc | 28 int32_t kMaxInt32 = std::numeric_limits<int32_t>::max(); variable 38 EXPECT_EQ(kMaxInt32, java_util::JavaAdd(kMinInt32, -1)); in TEST() 39 EXPECT_EQ(kMaxInt32 - 1, java_util::JavaAdd(kMinInt32, -2)); in TEST() 40 EXPECT_EQ(1, java_util::JavaAdd(kMinInt32, -kMaxInt32)); in TEST() 44 EXPECT_EQ(kMinInt32, java_util::JavaAdd(kMaxInt32, 1)); in TEST() 45 EXPECT_EQ(kMinInt32 + 1, java_util::JavaAdd(kMaxInt32, 2)); in TEST() 46 EXPECT_EQ(-2, java_util::JavaAdd(kMaxInt32, kMaxInt32)); in TEST() 56 EXPECT_EQ(kMinInt32, java_util::JavaMultiply(kMinInt32, kMaxInt32)); in TEST() 60 EXPECT_EQ(-2, java_util::JavaMultiply(kMaxInt32, 2)); in TEST() 61 EXPECT_EQ(kMaxInt32 - 2, java_util::JavaMultiply(kMaxInt32, 3)); in TEST() [all …]
|
/external/skia/src/utils/ |
D | SkJSON.cpp | 794 static constexpr int32_t kMaxInt32 = (std::numeric_limits<int32_t>::max() - 9) / 10; in matchFast32OrFloat() local 799 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 819 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 821 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 834 if (n32 > kMaxInt32) { in matchFast32OrFloat()
|
/external/skqp/src/utils/ |
D | SkJSON.cpp | 786 static constexpr int32_t kMaxInt32 = (std::numeric_limits<int32_t>::max() - 9) / 10; in matchFast32OrFloat() local 791 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 811 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 813 if (!is_digit(*p) || n32 > kMaxInt32) break; in matchFast32OrFloat() 826 if (n32 > kMaxInt32) { in matchFast32OrFloat()
|
/external/skia/src/core/ |
D | SkAAClip.cpp | 40 #define kMaxInt32 0x7FFFFFFF macro 168 fBottom = kMaxInt32; in next() 1405 fRight = kMaxInt32; in RowIter() 1419 fRight = kMaxInt32; in next()
|
/external/skqp/src/core/ |
D | SkAAClip.cpp | 41 #define kMaxInt32 0x7FFFFFFF macro 169 fBottom = kMaxInt32; in next() 1408 fRight = kMaxInt32; in RowIter() 1422 fRight = kMaxInt32; in next()
|