Searched refs:CheckInt64Overflow (Results 1 - 5 of 5) sorted by relevance
/external/libbrillo/brillo/streams/ |
H A D | stream_utils_unittest.cc | 74 TEST(StreamUtils, CheckInt64Overflow) { 77 EXPECT_TRUE(stream_utils::CheckInt64Overflow(FROM_HERE, 0, 0, nullptr)); 78 EXPECT_TRUE(stream_utils::CheckInt64Overflow( 80 EXPECT_TRUE(stream_utils::CheckInt64Overflow( 82 EXPECT_TRUE(stream_utils::CheckInt64Overflow(FROM_HERE, 100, -90, nullptr)); 83 EXPECT_TRUE(stream_utils::CheckInt64Overflow( 87 EXPECT_FALSE(stream_utils::CheckInt64Overflow(FROM_HERE, 100, -101, &error)); 92 EXPECT_FALSE(stream_utils::CheckInt64Overflow( 94 EXPECT_FALSE(stream_utils::CheckInt64Overflow( 96 EXPECT_FALSE(stream_utils::CheckInt64Overflow( [all...] |
H A D | stream_utils.h | 39 BRILLO_EXPORT bool CheckInt64Overflow(
|
H A D | stream_utils.cc | 123 bool CheckInt64Overflow(const tracked_objects::Location& location, function in namespace:brillo::stream_utils 181 if (!CheckInt64Overflow(location, pos, offset, error))
|
H A D | stream.cc | 22 if (!stream_utils::CheckInt64Overflow(FROM_HERE, position, 0, error))
|
H A D | file_stream.cc | 381 if (!stream_utils::CheckInt64Overflow(FROM_HERE, size, 0, error))
|
Completed in 105 milliseconds