Searched refs:string_stream (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/lib/kunit/ |
H A D | string-stream.h | 21 struct string_stream { struct 32 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp); argument 34 int __printf(2, 3) string_stream_add(struct string_stream *stream, 37 int __printf(2, 0) string_stream_vadd(struct string_stream *stream, 41 char *string_stream_get_string(struct string_stream *stream); 43 int string_stream_append(struct string_stream *stream, 44 struct string_stream *other); 46 bool string_stream_is_empty(struct string_stream *stream); 48 void string_stream_destroy(struct string_stream *stream);
|
H A D | string-stream.c | 42 int string_stream_vadd(struct string_stream *stream, in string_stream_vadd() 73 int string_stream_add(struct string_stream *stream, const char *fmt, ...) in string_stream_add() 85 static void string_stream_clear(struct string_stream *stream) in string_stream_clear() 100 char *string_stream_get_string(struct string_stream *stream) in string_stream_get_string() 118 int string_stream_append(struct string_stream *stream, in string_stream_append() 119 struct string_stream *other) in string_stream_append() 131 bool string_stream_is_empty(struct string_stream *stream) in string_stream_is_empty() 136 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream() 138 struct string_stream *stream; in alloc_string_stream() 152 void string_stream_destroy(struct string_stream *stream) in string_stream_destroy()
|
H A D | assert.c | 15 struct string_stream *stream) in kunit_assert_prologue() 34 struct string_stream *stream) in kunit_assert_print_msg() 42 struct string_stream *stream) in kunit_fail_assert_format() 50 struct string_stream *stream) in kunit_unary_assert_format() 70 struct string_stream *stream) in kunit_ptr_not_err_assert_format() 116 struct string_stream *stream) in kunit_binary_assert_format() 146 struct string_stream *stream) in kunit_binary_ptr_assert_format() 186 struct string_stream *stream) in kunit_binary_str_assert_format() 213 static void kunit_assert_hexdump(struct string_stream *stream, in kunit_assert_hexdump() 237 struct string_stream *stream) in kunit_mem_assert_format()
|
H A D | string-stream-test.c | 16 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()
|
H A D | test.c | 282 struct string_stream *stream) in kunit_print_string_stream() 308 struct string_stream *stream; in kunit_fail()
|
/openbmc/linux/include/kunit/ |
H A D | assert.h | 16 struct string_stream; 53 struct string_stream *stream); 57 struct string_stream *stream); 71 struct string_stream *stream); 91 struct string_stream *stream); 111 struct string_stream *stream); 147 struct string_stream *stream); 170 struct string_stream *stream); 193 struct string_stream *stream); 219 struct string_stream *stream);
|