Lines Matching refs:ret

29 	efi_status_t ret;  in setup()  local
33 ret = boottime->locate_protocol(&unicode_collation_protocol_guid, NULL, in setup()
35 if (ret != EFI_SUCCESS) { in setup()
46 efi_intn_t ret; in test_stri_coll() local
51 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol, in test_stri_coll()
53 if (ret) { in test_stri_coll()
55 "stri_coll(\"%ps\", \"%ps\") = %d\n", c1, c2, (int)ret); in test_stri_coll()
59 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol, in test_stri_coll()
61 if (ret >= 0) { in test_stri_coll()
63 "stri_coll(\"%ps\", \"%ps\") = %d\n", c1, c3, (int)ret); in test_stri_coll()
67 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol, in test_stri_coll()
69 if (ret <= 0) { in test_stri_coll()
71 "stri_coll(\"%ps\", \"%ps\") = %d\n", c3, c1, (int)ret); in test_stri_coll()
80 bool ret; in test_metai_match() local
83 ret = unicode_collation_protocol->metai_match( in test_metai_match()
85 if (!ret) { in test_metai_match()
86 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
90 ret = unicode_collation_protocol->metai_match( in test_metai_match()
92 if (!ret) { in test_metai_match()
93 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
97 ret = unicode_collation_protocol->metai_match( in test_metai_match()
99 if (!ret) { in test_metai_match()
100 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
104 ret = unicode_collation_protocol->metai_match( in test_metai_match()
106 if (!ret) { in test_metai_match()
107 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
111 ret = unicode_collation_protocol->metai_match( in test_metai_match()
113 if (!ret) { in test_metai_match()
114 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
118 ret = unicode_collation_protocol->metai_match( in test_metai_match()
120 if (ret) { in test_metai_match()
121 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
125 ret = unicode_collation_protocol->metai_match( in test_metai_match()
127 if (ret) { in test_metai_match()
128 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
132 ret = unicode_collation_protocol->metai_match( in test_metai_match()
134 if (ret) { in test_metai_match()
135 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
139 ret = unicode_collation_protocol->metai_match( in test_metai_match()
141 if (ret) { in test_metai_match()
142 efi_st_error("metai_match returned %u\n", ret); in test_metai_match()
193 bool ret; in test_str_to_fat() local
196 ret = unicode_collation_protocol->str_to_fat(unicode_collation_protocol, in test_str_to_fat()
198 if (ret || efi_st_strcmp_16_8(L"U-BOOT", fat)) { in test_str_to_fat()
199 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat); in test_str_to_fat()
204 ret = unicode_collation_protocol->str_to_fat(unicode_collation_protocol, in test_str_to_fat()
206 if (!ret || efi_st_strcmp_16_8(L"U_BOOT", fat)) { in test_str_to_fat()
207 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat); in test_str_to_fat()
221 int ret; in execute() local
228 ret = test_stri_coll(); in execute()
229 if (ret != EFI_ST_SUCCESS) in execute()
230 return ret; in execute()
232 ret = test_metai_match(); in execute()
233 if (ret != EFI_ST_SUCCESS) in execute()
234 return ret; in execute()
236 ret = test_str_lwr(); in execute()
237 if (ret != EFI_ST_SUCCESS) in execute()
238 return ret; in execute()
240 ret = test_str_upr(); in execute()
241 if (ret != EFI_ST_SUCCESS) in execute()
242 return ret; in execute()
244 ret = test_fat_to_str(); in execute()
245 if (ret != EFI_ST_SUCCESS) in execute()
246 return ret; in execute()
248 ret = test_str_to_fat(); in execute()
249 if (ret != EFI_ST_SUCCESS) in execute()
250 return ret; in execute()