Lines Matching refs:MemoryStream
51 stream_.reset(new MemoryStream{std::move(container), 0}); in SetUp()
66 std::unique_ptr<MemoryStream> stream_;
204 TEST(MemoryStream, OpenBinary) { in TEST() argument
206 StreamPtr stream = MemoryStream::OpenRef(buffer, sizeof(buffer), nullptr); in TEST()
218 TEST(MemoryStream, OpenBinaryCopy) { in TEST() argument
220 StreamPtr stream = MemoryStream::OpenCopyOf(buffer, sizeof(buffer), nullptr); in TEST()
232 TEST(MemoryStream, OpenString) { in TEST() argument
234 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST()
244 TEST(MemoryStream, OpenStringCopy) { in TEST() argument
246 StreamPtr stream = MemoryStream::OpenCopyOf(str, nullptr); in TEST()
256 TEST(MemoryStream, OpenCharBuf) { in TEST() argument
258 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); in TEST()
268 TEST(MemoryStream, OpenCharBufCopy) { in TEST() argument
270 StreamPtr stream = MemoryStream::OpenCopyOf(str, nullptr); in TEST()
280 TEST(MemoryStream, OpenVector) { in TEST() argument
282 StreamPtr stream = MemoryStream::OpenRef(data, nullptr); in TEST()
296 TEST(MemoryStream, OpenVectorCopy) { in TEST() argument
298 StreamPtr stream = MemoryStream::OpenCopyOf(data, nullptr); in TEST()
312 TEST(MemoryStream, CreateVector) { in TEST() argument
314 StreamPtr stream = MemoryStream::CreateRef(&buffer, nullptr); in TEST()
322 stream = MemoryStream::CreateRef(&buffer, nullptr); in TEST()
328 stream = MemoryStream::CreateRefForAppend(&buffer, nullptr); in TEST()
345 stream = MemoryStream::OpenRef(buffer, nullptr); in TEST()
351 TEST(MemoryStream, CreateString) { in TEST() argument
353 StreamPtr stream = MemoryStream::CreateRef(&buffer, nullptr); in TEST()
360 stream = MemoryStream::CreateRef(&buffer, nullptr); in TEST()
366 stream = MemoryStream::CreateRefForAppend(&buffer, nullptr); in TEST()