Lines Matching refs:unwrap
650 let port1 = CString::try_new(KM_NS_TIPC_SRV_PORT).unwrap(); in connection_test()
651 let _session1 = Handle::connect(port1.as_c_str()).unwrap(); in connection_test()
652 let port2 = CString::try_new(KM_SEC_TIPC_SRV_PORT).unwrap(); in connection_test()
653 let _session2 = Handle::connect(port2.as_c_str()).unwrap(); in connection_test()
654 let port3 = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in connection_test()
655 let _session3 = Handle::connect(port3.as_c_str()).unwrap(); in connection_test()
666 let port = CString::try_new(KM_SEC_TIPC_SRV_PORT).unwrap(); in test_access_policy()
762 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in set_attestation_keys_certs()
763 let session = Handle::connect(port.as_c_str()).unwrap(); in set_attestation_keys_certs()
769 session.send(&set_attestation_key_req).unwrap(); in set_attestation_keys_certs()
777 let port = CString::try_new(KM_SEC_TIPC_SRV_PORT).unwrap(); in set_attestation_ids_secure()
778 let session = Handle::connect(port.as_c_str()).unwrap(); in set_attestation_ids_secure()
803 session.send(&set_attestation_ids_req).unwrap(); in set_attestation_ids_secure()
816 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in set_attestation_ids()
817 let session = Handle::connect(port.as_c_str()).unwrap(); in set_attestation_ids()
842 session.send(&set_attestation_ids_req).unwrap(); in set_attestation_ids()
858 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in send_setbootparams_configure_setbootparams_configure()
859 let session = Handle::connect(port.as_c_str()).unwrap(); in send_setbootparams_configure_setbootparams_configure()
880 session.send(&set_boot_param_req).unwrap(); in send_setbootparams_configure_setbootparams_configure()
891 session.send(&configure_bootpatchlevel_req).unwrap(); in send_setbootparams_configure_setbootparams_configure()
896 session.send(&set_boot_param_req).unwrap(); in send_setbootparams_configure_setbootparams_configure()
901 session.send(&configure_bootpatchlevel_req).unwrap(); in send_setbootparams_configure_setbootparams_configure()
915 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in send_configure_configure_setbootparams_setbootparams()
916 let session = Handle::connect(port.as_c_str()).unwrap(); in send_configure_configure_setbootparams_setbootparams()
925 session.send(&req).unwrap(); in send_configure_configure_setbootparams_setbootparams()
930 session.send(&req).unwrap(); in send_configure_configure_setbootparams_setbootparams()
956 session.send(&req).unwrap(); in send_configure_configure_setbootparams_setbootparams()
961 session.send(&req).unwrap(); in send_configure_configure_setbootparams_setbootparams()
972 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in send_setbootparams_setbootparams_configure_configure()
973 let session = Handle::connect(port.as_c_str()).unwrap(); in send_setbootparams_setbootparams_configure_configure()
994 session.send(&req).unwrap(); in send_setbootparams_setbootparams_configure_configure()
999 session.send(&req).unwrap(); in send_setbootparams_setbootparams_configure_configure()
1010 session.send(&req).unwrap(); in send_setbootparams_setbootparams_configure_configure()
1015 session.send(&req).unwrap(); in send_setbootparams_setbootparams_configure_configure()
1029 let port = CString::try_new(KM_NS_LEGACY_TIPC_SRV_PORT).unwrap(); in send_configure_setbootparams_setbootparams_configure()
1030 let session = Handle::connect(port.as_c_str()).unwrap(); in send_configure_setbootparams_setbootparams_configure()
1039 session.send(&configure_bootpatchlevel_req).unwrap(); in send_configure_setbootparams_setbootparams_configure()
1062 session.send(&set_boot_param_req).unwrap(); in send_configure_setbootparams_setbootparams_configure()
1067 session.send(&set_boot_param_req).unwrap(); in send_configure_setbootparams_setbootparams_configure()
1072 session.send(&configure_bootpatchlevel_req).unwrap(); in send_configure_setbootparams_setbootparams_configure()