Searched refs:UnsignedAddOverflow32 (Results 1 – 3 of 3) sorted by relevance
/external/v8/test/unittests/base/ |
D | bits-unittest.cc | 258 TEST(Bits, UnsignedAddOverflow32) { in TEST() argument 260 EXPECT_FALSE(UnsignedAddOverflow32(0, 0, &val)); in TEST() 263 UnsignedAddOverflow32(std::numeric_limits<uint32_t>::max(), 1u, &val)); in TEST() 265 EXPECT_TRUE(UnsignedAddOverflow32(std::numeric_limits<uint32_t>::max(), in TEST() 270 EXPECT_FALSE(UnsignedAddOverflow32(i, j, &val)); in TEST()
|
/external/v8/src/compiler/ |
D | graph.cc | 73 CHECK(!base::bits::UnsignedAddOverflow32(id, 1, &next_node_id_)); in NextNodeId()
|
/external/v8/src/base/ |
D | bits.h | 262 inline bool UnsignedAddOverflow32(uint32_t lhs, uint32_t rhs, uint32_t* val) { in UnsignedAddOverflow32() function
|