Lines Matching refs:ret

29 	efi_status_t ret;
33 ret = boottime->locate_protocol(&unicode_collation_protocol_guid, NULL,
35 if (ret != EFI_SUCCESS) {
46 efi_intn_t ret;
51 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol,
53 if (ret) {
55 "stri_coll(\"%ps\", \"%ps\") = %d\n", c1, c2, (int)ret);
59 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol,
61 if (ret >= 0) {
63 "stri_coll(\"%ps\", \"%ps\") = %d\n", c1, c3, (int)ret);
67 ret = unicode_collation_protocol->stri_coll(unicode_collation_protocol,
69 if (ret <= 0) {
71 "stri_coll(\"%ps\", \"%ps\") = %d\n", c3, c1, (int)ret);
80 bool ret;
83 ret = unicode_collation_protocol->metai_match(
85 if (!ret) {
86 efi_st_error("metai_match returned %u\n", ret);
90 ret = unicode_collation_protocol->metai_match(
92 if (!ret) {
93 efi_st_error("metai_match returned %u\n", ret);
97 ret = unicode_collation_protocol->metai_match(
99 if (!ret) {
100 efi_st_error("metai_match returned %u\n", ret);
104 ret = unicode_collation_protocol->metai_match(
106 if (!ret) {
107 efi_st_error("metai_match returned %u\n", ret);
111 ret = unicode_collation_protocol->metai_match(
113 if (!ret) {
114 efi_st_error("metai_match returned %u\n", ret);
118 ret = unicode_collation_protocol->metai_match(
120 if (ret) {
121 efi_st_error("metai_match returned %u\n", ret);
125 ret = unicode_collation_protocol->metai_match(
127 if (ret) {
128 efi_st_error("metai_match returned %u\n", ret);
132 ret = unicode_collation_protocol->metai_match(
134 if (ret) {
135 efi_st_error("metai_match returned %u\n", ret);
139 ret = unicode_collation_protocol->metai_match(
141 if (ret) {
142 efi_st_error("metai_match returned %u\n", ret);
205 bool ret;
208 ret = unicode_collation_protocol->str_to_fat(unicode_collation_protocol,
210 if (ret || efi_st_strcmp_16_8(u"U-BOOT", fat)) {
211 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat);
216 ret = unicode_collation_protocol->str_to_fat(unicode_collation_protocol,
218 if (!ret || efi_st_strcmp_16_8(u"U_BOOT", fat)) {
219 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat);
228 ret = unicode_collation_protocol->str_to_fat(unicode_collation_protocol,
230 if (!ret || efi_st_strcmp_16_8(u"________", fat)) {
231 efi_st_error("str_to_fat returned %u, \"%s\"\n", ret, fat);
245 int ret;
252 ret = test_stri_coll();
253 if (ret != EFI_ST_SUCCESS)
254 return ret;
256 ret = test_metai_match();
257 if (ret != EFI_ST_SUCCESS)
258 return ret;
260 ret = test_str_lwr();
261 if (ret != EFI_ST_SUCCESS)
262 return ret;
264 ret = test_str_upr();
265 if (ret != EFI_ST_SUCCESS)
266 return ret;
268 ret = test_fat_to_str();
269 if (ret != EFI_ST_SUCCESS)
270 return ret;
272 ret = test_str_to_fat();
273 if (ret != EFI_ST_SUCCESS)
274 return ret;