Searched refs:OhCloudExtValue (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/include/ |
H A D | cloud_ext_types.h | 38 } OhCloudExtValue; typedef 58 OhCloudExtValue *OhCloudExtValueNew(OhCloudExtValueType typ, void *content, unsigned int contentLen… 70 OhCloudExtValue *src, 79 void OhCloudExtValueFree(OhCloudExtValue *src);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | extension_util.cpp | 55 OhCloudExtValue *asset = OhCloudExtValueNew( in Convert() 62 OhCloudExtValue *assets = OhCloudExtValueNew( in Convert() 84 std::pair<OhCloudExtValue *, size_t> ExtensionUtil::Convert(const DBValue &dbValue) in Convert() 86 OhCloudExtValue *value = nullptr; in Convert() 235 OhCloudExtValue *valueOut = reinterpret_cast<OhCloudExtValue *>(valueItem); in ConvertBucket() 243 DBValue ExtensionUtil::ConvertValue(OhCloudExtValue *value) in ConvertValue()
|
H A D | extension_util.h | 48 static DBValue ConvertValue(OhCloudExtValue *value); 56 static std::pair<OhCloudExtValue *, size_t> Convert(const DBValue &dbValue);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/ |
H A D | cloud_ext_types.rs | 64 pub type OhCloudExtValue = SafeCffiWrapper<types::Value>; typedef 92 ) -> *mut OhCloudExtValue { in OhCloudExtValueNew() argument 144 OhCloudExtValue::new(val, SafetyCheckId::Value).into_ptr() as *mut OhCloudExtValue in OhCloudExtValueNew() 153 src: *mut OhCloudExtValue, in OhCloudExtValueGetContent() argument 162 let value_struct = match OhCloudExtValue::get_inner_ref(src, SafetyCheckId::Value) { in OhCloudExtValueGetContent() 211 pub unsafe extern "C" fn OhCloudExtValueFree(src: *mut OhCloudExtValue) { in OhCloudExtValueFree() argument 212 let _ = OhCloudExtValue::from_ptr(src, SafetyCheckId::Value); in OhCloudExtValueFree()
|
H A D | basic_rust_types.rs | 183 let val = match OhCloudExtValue::get_inner(value as *mut _, SafetyCheckId::Value) { in OhCloudExtVectorPush() 345 VectorCffi::Value(vec) => get_content_clone!(vec, index, value, OhCloudExtValue, Value), in OhCloudExtVectorGet() 594 let val = match OhCloudExtValue::get_inner(value as *mut _, SafetyCheckId::Value) { in OhCloudExtHashMapInsert() 814 *value = OhCloudExtValue::new(val.clone(), SafetyCheckId::Value).into_ptr() in OhCloudExtHashMapGet() 939 let v = OhCloudExtValue::get_inner( 940 val as *mut OhCloudExtValue,
|