Home
last modified time | relevance | path

Searched refs:string_stream (Results 1 – 6 of 6) sorted by relevance

/linux/lib/kunit/
A Dstring-stream.h22 struct string_stream { struct
33 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp); argument
35 int __printf(2, 3) string_stream_add(struct string_stream *stream,
38 int __printf(2, 0) string_stream_vadd(struct string_stream *stream,
42 char *string_stream_get_string(struct string_stream *stream);
44 int string_stream_append(struct string_stream *stream,
45 struct string_stream *other);
47 bool string_stream_is_empty(struct string_stream *stream);
49 int string_stream_destroy(struct string_stream *stream);
A Dstring-stream.c73 int string_stream_vadd(struct string_stream *stream, in string_stream_vadd()
104 int string_stream_add(struct string_stream *stream, const char *fmt, ...) in string_stream_add()
116 static void string_stream_clear(struct string_stream *stream) in string_stream_clear()
131 char *string_stream_get_string(struct string_stream *stream) in string_stream_get_string()
149 int string_stream_append(struct string_stream *stream, in string_stream_append()
150 struct string_stream *other) in string_stream_append()
162 bool string_stream_is_empty(struct string_stream *stream) in string_stream_is_empty()
174 struct string_stream *stream; in string_stream_init()
192 struct string_stream *stream = res->data; in string_stream_free()
197 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream()
[all …]
A Dassert.c14 struct string_stream *stream) in kunit_base_assert_format()
33 struct string_stream *stream) in kunit_assert_print_msg()
41 struct string_stream *stream) in kunit_fail_assert_format()
49 struct string_stream *stream) in kunit_unary_assert_format()
69 struct string_stream *stream) in kunit_ptr_not_err_assert_format()
115 struct string_stream *stream) in kunit_binary_assert_format()
143 struct string_stream *stream) in kunit_binary_ptr_assert_format()
183 struct string_stream *stream) in kunit_binary_str_assert_format()
A Dstring-stream-test.c16 struct string_stream *stream = alloc_string_stream(test, GFP_KERNEL); in string_stream_test_empty_on_creation()
23 struct string_stream *stream = alloc_string_stream(test, GFP_KERNEL); in string_stream_test_not_empty_after_add()
32 struct string_stream *stream = alloc_string_stream(test, GFP_KERNEL); in string_stream_test_get_string()
A Dtest.c221 struct string_stream *stream) in kunit_print_string_stream()
245 struct string_stream *stream; in kunit_fail()
/linux/include/kunit/
A Dassert.h16 struct string_stream;
50 struct string_stream *stream);
79 struct string_stream *stream);
82 struct string_stream *stream);
95 struct string_stream *stream);
128 struct string_stream *stream);
165 struct string_stream *stream);
210 struct string_stream *stream);
267 struct string_stream *stream);
324 struct string_stream *stream);

Completed in 15 milliseconds