Home | History | Annotate | Download | only in streams

Lines Matching full:stream_utils

5 #include <brillo/streams/stream_utils.h>
52 EXPECT_FALSE(stream_utils::ErrorStreamClosed(FROM_HERE, &error));
60 EXPECT_FALSE(stream_utils::ErrorOperationNotSupported(FROM_HERE, &error));
68 EXPECT_FALSE(stream_utils::ErrorReadPastEndOfStream(FROM_HERE, &error));
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(
106 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
110 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
114 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
118 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
122 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
127 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
131 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
136 EXPECT_TRUE(stream_utils::CalculateStreamPosition(
141 EXPECT_FALSE(stream_utils::CalculateStreamPosition(
146 EXPECT_FALSE(stream_utils::CalculateStreamPosition(
150 EXPECT_FALSE(stream_utils::CalculateStreamPosition(
203 stream_utils::CopyData(
223 stream_utils::CopyData(
241 stream_utils::CopyData(
261 stream_utils::CopyData(
275 stream_utils::CopyData(
291 stream_utils::CopyData(