Lines Matching refs:str
22 char str[10]; in efi_ut_print() local
42 snprintf(str, sizeof(str), "_%pD_", buf); in efi_ut_print()
43 assert(!strcmp("_/SD(3)_", str)); in efi_ut_print()
46 snprintf(str, sizeof(str), "_%pD_", NULL); in efi_ut_print()
47 assert(!strcmp("_<NULL>_", str)); in efi_ut_print()
56 char str[10], *s; in do_ut_print() local
61 snprintf(str, sizeof(str), "testing"); in do_ut_print()
62 assert(!strcmp("testing", str)); in do_ut_print()
64 snprintf(str, sizeof(str), "testing but too long"); in do_ut_print()
65 assert(!strcmp("testing b", str)); in do_ut_print()
67 snprintf(str, 1, "testing none"); in do_ut_print()
68 assert(!strcmp("", str)); in do_ut_print()
70 *str = 'x'; in do_ut_print()
71 snprintf(str, 0, "testing none"); in do_ut_print()
72 assert(*str == 'x'); in do_ut_print()
78 s = display_options_get_banner(true, str, sizeof(str)); in do_ut_print()
79 assert(s == str); in do_ut_print()
82 s = display_options_get_banner(true, str, 1); in do_ut_print()
83 assert(s == str); in do_ut_print()
86 s = display_options_get_banner(true, str, 2); in do_ut_print()
87 assert(s == str); in do_ut_print()
90 s = display_options_get_banner(false, str, sizeof(str)); in do_ut_print()
91 assert(s == str); in do_ut_print()