OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CheckInt64Overflow
(Results
1 - 5
of
5
) sorted by null
/external/libbrillo/brillo/streams/
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
...]
stream_utils.h
39
BRILLO_EXPORT bool
CheckInt64Overflow
(
stream_utils.cc
123
bool
CheckInt64Overflow
(const tracked_objects::Location& location,
181
if (!
CheckInt64Overflow
(location, pos, offset, error))
stream.cc
22
if (!stream_utils::
CheckInt64Overflow
(FROM_HERE, position, 0, error))
file_stream.cc
381
if (!stream_utils::
CheckInt64Overflow
(FROM_HERE, size, 0, error))
Completed in 364 milliseconds