Home
last modified time | relevance | path

Searched refs:string_stream_add (Results 1 – 4 of 4) sorted by relevance

/linux/lib/kunit/
H A Dassert.c29 string_stream_add(stream, "%s FAILED at %s:%d\n", in kunit_assert_prologue()
39 string_stream_add(stream, "\n%pV", message); in kunit_assert_print_msg()
46 string_stream_add(stream, "%pV", message); in kunit_fail_assert_format()
59 string_stream_add(stream, in kunit_unary_assert_format()
63 string_stream_add(stream, in kunit_unary_assert_format()
80 string_stream_add(stream, in kunit_ptr_not_err_assert_format()
84 string_stream_add(stream, in kunit_ptr_not_err_assert_format()
125 string_stream_add(stream, in kunit_binary_assert_format()
131 string_stream_add(stream, KUNIT_SUBSUBTEST_INDENT "%s == %lld (0x%llx)\n", in kunit_binary_assert_format()
136 string_stream_add(stream, KUNIT_SUBSUBTEST_INDENT "%s == %lld (0x%llx)", in kunit_binary_assert_format()
[all …]
H A Dstring-stream-test.c183 string_stream_add(stream, line); in string_stream_line_add_test()
239 string_stream_add(stream, "%s\n", &line[offset]); in string_stream_variable_length_line_test()
299 string_stream_add(stream_1, "%s\n", strings_1[i]); in string_stream_append_test()
310 string_stream_add(stream_2, "%s\n", strings_2[i]); in string_stream_append_test()
355 string_stream_add(stream_1, "Original string\n"); in string_stream_append_auto_newline_test()
356 string_stream_add(stream_2, "Appended content\n"); in string_stream_append_auto_newline_test()
357 string_stream_add(stream_2, "More stuff\n"); in string_stream_append_auto_newline_test()
371 string_stream_add(stream_2, "Another"); in string_stream_append_auto_newline_test()
372 string_stream_add(stream_2, "And again"); in string_stream_append_auto_newline_test()
388 string_stream_add(stream, "%s", ""); in string_stream_append_empty_string_test()
[all …]
H A Dstring-stream.c90 int string_stream_add(struct string_stream *stream, const char *fmt, ...) in string_stream_add() function
146 ret = string_stream_add(stream, other_content); in string_stream_append()
H A Dstring-stream.h38 int __printf(2, 3) string_stream_add(struct string_stream *stream,