/foundation/distributeddatamgr/kv_store/frameworks/cj/include/ |
H A D | distributed_kv_store_ffi.h | 42 FFI_EXPORT CArrStr FfiOHOSDistributedKVStoreGetAllKVStoreId(int64_t id, const char* appId, int32_t* errCode); 56 FFI_EXPORT int32_t FfiOHOSDistributedKVStoreSingleKVStoreDeleteBatch(int64_t id, const CArrStr cArrStr); 84 const CArrStr cArrStr, int32_t* errCode); 94 FFI_EXPORT int32_t FfiOHOSDistributedKVStoreSingleKVStoreSetSyncRange(int64_t id, const CArrStr localLabels, 95 const CArrStr remoteSupportLabels); 99 FFI_EXPORT int32_t FfiOHOSDistributedKVStoreSingleKVStoreSync(int64_t id, const CArrStr deviceIds, uint8_t mode, 102 FFI_EXPORT int32_t FfiOHOSDistributedKVStoreSingleKVStoreSyncByQuery(int64_t id, const CArrStr deviceIds, 140 FFI_EXPORT void FfiOHOSDistributedKVStoreQueryInString(int64_t id, const char* field, const CArrStr valueList); 145 FFI_EXPORT void FfiOHOSDistributedKVStoreQueryNotInString(int64_t id, const char* field, const CArrStr valueList);
|
H A D | distributed_kv_store_impl.h | 73 struct CArrStr { struct 181 CArrStr GetAllKVStoreId(const char* appId, int32_t& errCode); 237 void InString(const std::string &field, const CArrStr &valueList); 241 void NotInString(const std::string &field, const CArrStr &valueList); 297 int32_t DeleteBatch(const CArrStr &cArrStr); 308 CStringNum DeleteBackup(const CArrStr &cArrStr, int32_t& errCode); 313 int32_t SetSyncRange(const CArrStr &localLabels, const CArrStr &remoteSupportLabels); 315 int32_t Sync(const CArrStr deviceIds, uint8_t mode, uint32_t delayMs); 316 int32_t SyncByQuery(const CArrStr deviceId [all...] |
/foundation/distributeddatamgr/preferences/frameworks/cj/src/ |
H A D | preferences_interface.h | 31 struct CArrStr { struct 48 CArrStr stringArray;
|
H A D | preferences_impl.cpp | 324 static CArrStr VectorToStringArray(std::vector<std::string> &strings, int32_t &code) in VectorToStringArray() 326 CArrStr strArray; in VectorToStringArray() 330 return CArrStr{0}; in VectorToStringArray()
|
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/ |
H A D | relational_store_impl_resultsetproxy.cpp | 37 CArrStr ResultSetImpl::GetAllColumnNames() in GetAllColumnNames() 43 return CArrStr{nullptr, 0}; in GetAllColumnNames() 46 return CArrStr{nullptr, 0}; in GetAllColumnNames() 50 return CArrStr{nullptr, -1}; in GetAllColumnNames() 59 return CArrStr{nullptr, -1}; in GetAllColumnNames() 62 return CArrStr{result, int64_t(colNames.size())}; in GetAllColumnNames()
|
H A D | relational_store_utils.cpp | 212 CArrStr VectorToCArrStr(const std::vector<std::string> &devices) in VectorToCArrStr() 214 CArrStr cArrStr{0}; in VectorToCArrStr() 229 std::vector<std::string> CArrStrToVector(CArrStr carr) in CArrStrToVector()
|
H A D | relational_store_ffi.cpp | 549 CArrStr FfiOHOSRelationalStoreGetAllColumnNames(int64_t id) in FfiOHOSRelationalStoreGetAllColumnNames() 553 return CArrStr{nullptr, 0}; in FfiOHOSRelationalStoreGetAllColumnNames() 967 int32_t FfiOHOSRelationalStoreCloudSync(int64_t id, int32_t mode, CArrStr tables, int64_t callbackId) in FfiOHOSRelationalStoreCloudSync()
|
H A D | relational_store_impl_rdbstore.cpp | 58 auto cFunc = reinterpret_cast<void(*)(CArrStr arr)>(callbackId); in RdbStoreObserverImpl() 582 int32_t RdbStoreImpl::CloudSync(int32_t mode, CArrStr tables, int64_t callbackId) in CloudSync()
|
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/ |
H A D | relational_store_utils.h | 58 struct CArrStr { struct 63 CArrStr VectorToCArrStr(const std::vector<std::string> &devices); 65 std::vector<std::string> CArrStrToVector(CArrStr carr);
|
H A D | relational_store_impl_resultsetproxy.h | 37 CArrStr GetAllColumnNames();
|
H A D | relational_store_ffi.h | 58 FFI_EXPORT CArrStr FfiOHOSRelationalStoreGetAllColumnNames(int64_t id); 244 FFI_EXPORT int32_t FfiOHOSRelationalStoreCloudSync(int64_t id, int32_t mode, CArrStr tables, int64_t callbackId);
|
H A D | relational_store_impl_rdbstore.h | 150 int32_t CloudSync(int32_t mode, CArrStr tables, int64_t callbackId);
|
/foundation/distributeddatamgr/kv_store/frameworks/cj/src/ |
H A D | distributed_kv_store_ffi.cpp | 66 CArrStr FfiOHOSDistributedKVStoreGetAllKVStoreId(int64_t id, const char* appId, int32_t* errCode) in FfiOHOSDistributedKVStoreGetAllKVStoreId() 71 return CArrStr{}; in FfiOHOSDistributedKVStoreGetAllKVStoreId() 130 int32_t FfiOHOSDistributedKVStoreSingleKVStoreDeleteBatch(int64_t id, const CArrStr cArrStr) in FfiOHOSDistributedKVStoreSingleKVStoreDeleteBatch() 240 const CArrStr cArrStr, int32_t* errCode) in FfiOHOSDistributedKVStoreSingleKVStoreDeleteBackup() 286 int32_t FfiOHOSDistributedKVStoreSingleKVStoreSetSyncRange(int64_t id, const CArrStr localLabels, in FfiOHOSDistributedKVStoreSingleKVStoreSetSyncRange() 287 const CArrStr remoteSupportLabels) in FfiOHOSDistributedKVStoreSingleKVStoreSetSyncRange() 305 int32_t FfiOHOSDistributedKVStoreSingleKVStoreSync(int64_t id, const CArrStr deviceIds, uint8_t mode, uint32_t delayMs) in FfiOHOSDistributedKVStoreSingleKVStoreSync() 314 int32_t FfiOHOSDistributedKVStoreSingleKVStoreSyncByQuery(int64_t id, const CArrStr deviceIds, int64_t queryId, in FfiOHOSDistributedKVStoreSingleKVStoreSyncByQuery() 472 void FfiOHOSDistributedKVStoreQueryInString(int64_t id, const char* field, const CArrStr valueList) in FfiOHOSDistributedKVStoreQueryInString() 490 void FfiOHOSDistributedKVStoreQueryNotInString(int64_t id, const char* field, const CArrStr valueLis [all...] |
H A D | distributed_kv_store_impl.cpp | 277 static CArrStr VectorAppIdToCArr(const std::vector<StoreId>& storeIdList) in VectorAppIdToCArr() 279 CArrStr strArray; in VectorAppIdToCArr() 283 return CArrStr{0}; in VectorAppIdToCArr() 291 CArrStr CJKVManager::GetAllKVStoreId(const char* appId, int32_t& errCode) in GetAllKVStoreId() 299 return CArrStr{0}; in GetAllKVStoreId() 423 static std::vector<Key> CArrStrToVectorKey(const CArrStr &cArrStr) in CArrStrToVectorKey() 434 int32_t CJSingleKVStore::DeleteBatch(const CArrStr &cArrStr) in DeleteBatch() 532 static std::vector<std::string> CArrStrToVectorString(const CArrStr &cArrStr) in CArrStrToVectorString() 565 CStringNum CJSingleKVStore::DeleteBackup(const CArrStr &cArrStr, int32_t& errCode) in DeleteBackup() 597 int32_t CJSingleKVStore::SetSyncRange(const CArrStr [all...] |