Home
last modified time | relevance | path

Searched refs:formatted_buffer (Results 1 – 2 of 2) sorted by relevance

/third_party/cJSON/tests/
Dprint_object.c34 printbuffer formatted_buffer = { 0, 0, 0, 0, 0, 0, { 0, 0, 0 } }; in assert_print_object() local
44 formatted_buffer.buffer = printed_formatted; in assert_print_object()
45 formatted_buffer.length = sizeof(printed_formatted); in assert_print_object()
46 formatted_buffer.offset = 0; in assert_print_object()
47 formatted_buffer.noalloc = true; in assert_print_object()
48 formatted_buffer.hooks = global_hooks; in assert_print_object()
64 formatted_buffer.format = true; in assert_print_object()
65 …TEST_ASSERT_TRUE_MESSAGE(print_object(item, &formatted_buffer), "Failed to print formatted string.… in assert_print_object()
Dprint_array.c34 printbuffer formatted_buffer = { 0, 0, 0, 0, 0, 0, { 0, 0, 0 } }; in assert_print_array() local
43 formatted_buffer.buffer = printed_formatted; in assert_print_array()
44 formatted_buffer.length = sizeof(printed_formatted); in assert_print_array()
45 formatted_buffer.offset = 0; in assert_print_array()
46 formatted_buffer.noalloc = true; in assert_print_array()
47 formatted_buffer.hooks = global_hooks; in assert_print_array()
63 formatted_buffer.format = true; in assert_print_array()
64 …TEST_ASSERT_TRUE_MESSAGE(print_array(item, &formatted_buffer), "Failed to print formatted string."… in assert_print_array()