Lines Matching refs:Ok
141 Ok(Self::CString( in new()
180 Ok(KeystoreKeyBackend { handle }) in new()
210 Ok(Context::Raw(con)) in lookup()
239 Ok(Context::Raw(con)) in getcon()
263 Ok(Context::Raw(con)) in getpidcon()
304 0 => Ok(()), in check_access()
339 "u:r:su:s0" => Ok((context, SU_KEY_NAMESPACE, true)), in check_context()
340 "u:r:shell:s0" => Ok((context, SHELL_KEY_NAMESPACE, false)), in check_context()
351 Ok(()) in test_getcon()
360 assert_eq!(context.to_str(), Ok("u:object_r:su_key:s0")); in test_label_lookup()
362 assert_eq!(context.to_str(), Ok("u:object_r:shell_key:s0")); in test_label_lookup()
364 Ok(()) in test_label_lookup()
372 Ok(()) in context_from_string()
431 Ok(())
469 Ok(())