Home | History | Annotate | Download | only in streams

Lines Matching full:stream_utils

18 #include <brillo/streams/stream_utils.h>
85 if (stream_utils::IsReadAccessMode(mode)) {
103 if (stream_utils::IsWriteAccessMode(mode)) {
135 if (stream_utils::IsReadAccessMode(in_mode))
138 if (stream_utils::IsWriteAccessMode(in_mode))
150 *out_mode = stream_utils::MakeAccessMode(FD_ISSET(fd_, &read_fds),
358 return IsOpen() && stream_utils::IsReadAccessMode(access_mode_);
362 return IsOpen() && stream_utils::IsWriteAccessMode(access_mode_);
379 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
381 if (!stream_utils::CheckInt64Overflow(FROM_HERE, size, 0, error))
413 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
448 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
475 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
495 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
518 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
528 return stream_utils::ErrorStreamClosed(FROM_HERE, error);
536 return stream_utils::ErrorOperationTimeout(FROM_HERE, error);