Home
last modified time | relevance | path

Searched refs:SafeCffiWrapper (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/
H A Dmod.rs113 pub struct SafeCffiWrapper<T> { struct
118 impl<T> SafeCffiWrapper<T> { argument
119 pub(crate) fn new(inner: T, tar_type: SafetyCheckId) -> SafeCffiWrapper<T> { in new()
120 SafeCffiWrapper { in new()
126 pub(crate) fn into_ptr(self) -> *mut SafeCffiWrapper<T> { in into_ptr()
131 src: *mut SafeCffiWrapper<T>, in from_ptr()
133 ) -> Option<SafeCffiWrapper<T>> { in from_ptr()
136 .then_some(*Box::from_raw(obj as *mut SafeCffiWrapper<T>)) in from_ptr()
141 src: *const SafeCffiWrapper<T>, in get_inner_ref()
154 src: *mut SafeCffiWrapper<T>, in get_inner_mut()
[all …]
H A Dcloud_ext_types.rs64 pub type OhCloudExtValue = SafeCffiWrapper<types::Value>;
66 pub type OhCloudExtCloudAsset = SafeCffiWrapper<ipc_conn::CloudAsset>;
68 pub type OhCloudExtDatabase = SafeCffiWrapper<types::Database>;
70 pub type OhCloudExtCloudInfo = SafeCffiWrapper<cloud_service::CloudInfo>;
72 pub type OhCloudExtAppInfo = SafeCffiWrapper<cloud_service::AppInfo>;
74 pub type OhCloudExtTable = SafeCffiWrapper<types::Table>;
76 pub type OhCloudExtField = SafeCffiWrapper<types::Field>;
78 pub type OhCloudExtSchemaMeta = SafeCffiWrapper<cloud_service::SchemaMeta>;
80 pub type OhCloudExtRelationSet = SafeCffiWrapper<cloud_service::RelationSet>;
82 pub type OhCloudExtCloudDbData = SafeCffiWrapper<cloud_db::CloudDbData>;
[all …]
H A Dcloud_extension.rs28 pub type OhCloudExtCloudAssetLoader = SafeCffiWrapper<asset_loader::CloudAssetLoader<'static>>;
30 pub type OhCloudExtCloudDatabase = SafeCffiWrapper<cloud_db::CloudDatabase>;
32 pub type OhCloudExtCloudSync = SafeCffiWrapper<cloud_service::CloudSync>;
H A Dbasic_rust_types.rs23 pub type OhCloudExtVector = SafeCffiWrapper<VectorCffi>;
24 pub type OhCloudExtHashMap = SafeCffiWrapper<HashMapCffi>;