Lines Matching full:handle

28  * @handle:	handle of the loaded image
33 static int setup(const efi_handle_t handle, in setup() argument
70 * the provided handle.
76 efi_hii_handle_t handle; in test_hii_database_new_package_list() local
82 NULL, &handle); in test_hii_database_new_package_list()
83 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_new_package_list()
90 handle); in test_hii_database_new_package_list()
110 efi_hii_handle_t handle = NULL; in test_hii_database_update_package_list() local
117 NULL, &handle); in test_hii_database_update_package_list()
118 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_update_package_list()
125 handle, in test_hii_database_update_package_list()
127 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_update_package_list()
136 if (handle) { in test_hii_database_update_package_list()
138 hii_database_protocol, handle); in test_hii_database_update_package_list()
466 * and then tries to get a handle to keyboard layout with a specific guid
576 * This test adds a package list, and then tries to get a handle to driver
583 efi_hii_handle_t handle = NULL; in test_hii_database_get_package_list_handle() local
592 driver_handle, &handle); in test_hii_database_get_package_list_handle()
593 if (ret != EFI_SUCCESS || !handle) { in test_hii_database_get_package_list_handle()
601 hii_database_protocol, handle, &driver_handle); in test_hii_database_get_package_list_handle()
611 if (handle) { in test_hii_database_get_package_list_handle()
613 hii_database_protocol, handle); in test_hii_database_get_package_list_handle()
685 efi_hii_handle_t handle = NULL; in test_hii_string_new_string() local
693 NULL, &handle); in test_hii_string_new_string()
694 if (ret != EFI_SUCCESS || !handle) { in test_hii_string_new_string()
700 ret = hii_string_protocol->new_string(hii_string_protocol, handle, in test_hii_string_new_string()
713 if (handle) { in test_hii_string_new_string()
715 hii_database_protocol, handle); in test_hii_string_new_string()
736 efi_hii_handle_t handle = NULL; in test_hii_string_get_string() local
746 NULL, &handle); in test_hii_string_get_string()
747 if (ret != EFI_SUCCESS || !handle) { in test_hii_string_get_string()
753 ret = hii_string_protocol->new_string(hii_string_protocol, handle, in test_hii_string_get_string()
765 (u8 *)"en-US", handle, id, string, &string_len, NULL); in test_hii_string_get_string()
779 (u8 *)"en-US", handle, id, string, &string_len, NULL); in test_hii_string_get_string()
794 if (handle) { in test_hii_string_get_string()
796 hii_database_protocol, handle); in test_hii_string_get_string()
817 efi_hii_handle_t handle = NULL; in test_hii_string_set_string() local
825 NULL, &handle); in test_hii_string_set_string()
826 if (ret != EFI_SUCCESS || !handle) { in test_hii_string_set_string()
832 ret = hii_string_protocol->new_string(hii_string_protocol, handle, in test_hii_string_set_string()
841 ret = hii_string_protocol->set_string(hii_string_protocol, handle, in test_hii_string_set_string()
853 if (handle) { in test_hii_string_set_string()
855 hii_database_protocol, handle); in test_hii_string_set_string()
876 efi_hii_handle_t handle = NULL; in test_hii_string_get_languages() local
885 NULL, &handle); in test_hii_string_get_languages()
886 if (ret != EFI_SUCCESS || !handle) { in test_hii_string_get_languages()
894 ret = hii_string_protocol->get_languages(hii_string_protocol, handle, in test_hii_string_get_languages()
907 ret = hii_string_protocol->get_languages(hii_string_protocol, handle, in test_hii_string_get_languages()
920 if (handle) { in test_hii_string_get_languages()
922 hii_database_protocol, handle); in test_hii_string_get_languages()
944 efi_hii_handle_t handle = NULL; in test_hii_string_get_secondary_languages() local
953 NULL, &handle); in test_hii_string_get_secondary_languages()
954 if (ret != EFI_SUCCESS || !handle) { in test_hii_string_get_secondary_languages()
963 handle, (u8 *)"en-US", languages, &languages_len); in test_hii_string_get_secondary_languages()
981 handle, (u8 *)"en-US", languages, &languages_len); in test_hii_string_get_secondary_languages()
993 if (handle) { in test_hii_string_get_secondary_languages()
995 hii_database_protocol, handle); in test_hii_string_get_secondary_languages()