Home
last modified time | relevance | path

Searched refs:from_raw (Results 1 – 6 of 6) sorted by relevance

/optee_rust/optee-teec/src/
A Doperation.rs62 A::from_raw(self.raw.params[0], f0), in parameters()
63 B::from_raw(self.raw.params[1], f1), in parameters()
64 C::from_raw(self.raw.params[2], f2), in parameters()
65 D::from_raw(self.raw.params[3], f3), in parameters()
A Dparameter.rs25 fn from_raw(raw: raw::TEEC_Parameter, param_type: ParamType) -> Self; in from_raw() method
61 fn from_raw(raw: raw::TEEC_Parameter, param_type: ParamType) -> Self { in from_raw() method
86 fn from_raw(_raw: raw::TEEC_Parameter, _param_type: ParamType) -> Self { in from_raw() method
145 fn from_raw(raw: raw::TEEC_Parameter, param_type: ParamType) -> Self { in from_raw() method
/optee_rust/optee-utee/src/
A Dparameter.rs25 pub fn from_raw(tee_params: &mut [raw::TEE_Param; 4], param_types: u32) -> Self { in from_raw() method
27 let p0 = Parameter::from_raw(&mut tee_params[0], f0);
28 let p1 = Parameter::from_raw(&mut tee_params[1], f1);
29 let p2 = Parameter::from_raw(&mut tee_params[2], f2);
30 let p3 = Parameter::from_raw(&mut tee_params[3], f3);
100 pub fn from_raw(ptr: *mut raw::TEE_Param, param_type: ParamType) -> Self { in from_raw() method
A Dobject.rs178 pub fn from_raw(raw: raw::TEE_ObjectInfo) -> Self { in from_raw() method
223 fn from_raw(raw: *mut raw::TEE_ObjectHandle) -> ObjectHandle { in from_raw() method
490 Self(ObjectHandle::from_raw(ptr::null_mut())) in null_object()
534 let handle = ObjectHandle::from_raw(raw_handle); in allocate()
848 Box::from_raw(self.0.raw); in drop()
922 Box::from_raw(raw_handle); in open()
1010 Box::from_raw(raw_handle); in create()
1053 Box::from_raw(self.0.raw); in close_and_delete()
1358 Box::from_raw(self.0.raw); in drop()
1379 Box::from_raw(raw_handle); in allocate()
[all …]
A Dcrypto_op.rs72 pub fn from_raw(raw: raw::TEE_OperationInfo) -> Self { in from_raw() method
142 pub fn from_raw(raw: *mut raw::TEE_OperationInfoMultiple, size: usize) -> Self { in from_raw() method
163 fn from_raw(raw: *mut raw::TEE_OperationHandle) -> OperationHandle { in from_raw() method
172 OperationHandle::from_raw(ptr::null_mut()) in null()
185 raw::TEE_SUCCESS => Ok(Self::from_raw(raw_handle)), in allocate()
193 OperationInfo::from_raw(raw_info) in info()
201 raw::TEE_SUCCESS => Ok(OperationInfoMultiple::from_raw( in info_multiple()
246 Box::from_raw(self.raw); in drop()
/optee_rust/optee-utee/macros/src/
A Dlib.rs167 let mut parameters = Parameters::from_raw(params, param_types); in ta_open_session()
200 let mut parameters = Parameters::from_raw(params, param_types); in ta_open_session()
292 let mut b = unsafe {Box::from_raw(sess_ctx as *mut #t)}; in ta_close_session()
351 let mut parameters = Parameters::from_raw(params, param_types); in ta_invoke_command()
389 let mut parameters = Parameters::from_raw(params, param_types); in ta_invoke_command()
390 let mut b = unsafe {Box::from_raw(sess_ctx as *mut #t)}; in ta_invoke_command()

Completed in 16 milliseconds