Lines Matching refs:stream
23 #include "string-stream.h"
282 struct string_stream *stream)
287 if (string_stream_is_empty(stream))
290 buf = string_stream_get_string(stream);
293 "Could not allocate buffer, dumping stream:\n");
294 list_for_each_entry(fragment, &stream->fragments, node) {
308 struct string_stream *stream;
312 stream = alloc_string_stream(test, GFP_KERNEL);
313 if (IS_ERR(stream)) {
315 "Could not allocate stream to print failed assertion in %s:%d\n",
321 kunit_assert_prologue(loc, type, stream);
322 assert_format(assert, message, stream);
324 kunit_print_string_stream(test, stream);
326 string_stream_destroy(stream);