Lines Matching refs:streams
16 #include <brillo/streams/file_stream.h>
17 #include <brillo/streams/input_stream_set.h>
18 #include <brillo/streams/memory_stream.h>
86 bool TextFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) {
87 streams->push_back(MemoryStream::OpenCopyOf(data_, nullptr));
108 bool FileFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) {
111 streams->push_back(std::move(stream_));
127 bool MultiPartFormField::ExtractDataStreams(std::vector<StreamPtr>* streams) {
130 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr));
131 if (!part->ExtractDataStreams(streams))
134 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr));
138 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr));