/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | transaction_impl.cpp | 169 auto store = GetStore(); in Insert() local 179 auto store = GetStore(); in BatchInsert() local 191 auto store = GetStore(); in BatchInsert() local 202 auto store = GetStore(); in Update() local 213 auto store = GetStore(); in Update() local 225 auto store = GetStore(); in Delete() local 237 auto store = GetStore(); in Delete() local 255 auto store = GetStore(); in QueryByStep() local 270 auto store = GetStore(); in QueryByStep() local 284 auto store = GetStore(); in Execute() local
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | kvdb_general_store_test.cpp | 271 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 293 auto store = std::make_shared<KVDBGeneralStore>(metaData_); variable 319 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 344 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 390 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 411 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 442 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 502 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 539 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable 567 auto store = new (std::nothrow) KVDBGeneralStore(metaData_); variable [all …]
|
H A D | udmf_run_time_store_test.cpp | 123 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 156 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 189 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 220 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 258 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 301 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 339 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 383 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 396 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable 428 auto store = std::make_shared<RuntimeStore>(STORE_ID); variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_rd_single_ver_natural_store_testcase.cpp | 37 …edDBStorageRdSingleVerNaturalStoreTestCase::SyncDatabaseOperate001(RdSingleVerNaturalStore *&store, in SyncDatabaseOperate001() 52 …edDBStorageRdSingleVerNaturalStoreTestCase::SyncDatabaseOperate003(RdSingleVerNaturalStore *&store, in SyncDatabaseOperate003() 67 …edDBStorageRdSingleVerNaturalStoreTestCase::SyncDatabaseOperate005(RdSingleVerNaturalStore *&store, in SyncDatabaseOperate005() 82 …edDBStorageRdSingleVerNaturalStoreTestCase::SyncDatabaseOperate006(RdSingleVerNaturalStore *&store, in SyncDatabaseOperate006() 148 …DBStorageRdSingleVerNaturalStoreTestCase::DataBaseCommonPutOperate(RdSingleVerNaturalStore *&store, in DataBaseCommonPutOperate() 237 …torageRdSingleVerNaturalStoreTestCase::DataBaseCommonDeleteOperate(RdSingleVerNaturalStore *&store, in DataBaseCommonDeleteOperate() 281 …DBStorageRdSingleVerNaturalStoreTestCase::DataBaseCommonGetOperate(RdSingleVerNaturalStore *&store, in DataBaseCommonGetOperate()
|
H A D | distributeddb_storage_subscribe_query_test.cpp | 230 SQLiteSingleVerNaturalStore *store = nullptr; variable 295 SQLiteSingleVerNaturalStore *store = nullptr; variable 331 SQLiteSingleVerNaturalStore *store = nullptr; variable 375 SQLiteSingleVerNaturalStore *store = nullptr; variable 429 SQLiteSingleVerNaturalStore *store = nullptr; variable 487 SQLiteSingleVerNaturalStore *store = nullptr; variable 543 SQLiteSingleVerNaturalStore *store = nullptr; variable 598 SQLiteSingleVerNaturalStore *store = nullptr; variable 653 SQLiteSingleVerNaturalStore *store = nullptr; variable 721 SQLiteSingleVerNaturalStore *store = nullptr; variable [all …]
|
H A D | distributeddb_relational_remote_query_test.cpp | 195 auto store = GetRelationalStore(); variable 256 auto store = GetRelationalStore(); variable 321 auto store = GetRelationalStore(); variable 368 auto store = GetRelationalStore(); variable 419 auto store = GetRelationalStore(); variable 503 auto store = GetRelationalStore(); variable 550 auto store = GetRelationalStore(); variable 602 auto store = GetRelationalStore(); variable
|
H A D | distributeddb_relational_get_data_test.cpp | 381 auto store = GetRelationalStore(); variable 435 auto store = GetRelationalStore(); variable 489 auto store = GetRelationalStore(); variable 566 auto store = GetRelationalStore(); variable 609 auto store = GetRelationalStore(); variable 699 auto store = GetRelationalStore(); variable 785 auto store = GetRelationalStore(); variable 859 auto store = GetRelationalStore(); variable 928 auto store = GetRelationalStore(); variable 1033 auto store = GetRelationalStore(); variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_helper_test.cpp | 31 int OnCreate(RdbStore &store) override in OnCreate() 35 int OnUpgrade(RdbStore &store, int oldVersion, int newVersion) override in OnUpgrade() 91 int RdbHelperTestWrongSqlOpenCallback::OnCreate(RdbStore &store) in OnCreate() 96 int RdbHelperTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 101 int RdbHelperTestWrongSqlOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 106 int RdbHelperTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 159 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable
|
H A D | rdb_store_impl_test.cpp | 55 int RdbStoreImplTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 60 int RdbStoreImplTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 333 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 393 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 447 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 548 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 563 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 607 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 658 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 684 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable [all …]
|
H A D | rdb_store_rekey_test.cpp | 81 int RekeyTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 86 int RekeyTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 106 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUp() local 208 void RdbRekeyTest::InsertData(std::shared_ptr<RdbStore> &store) in InsertData() 224 void RdbRekeyTest::CheckQueryData(std::shared_ptr<RdbStore> &store) in CheckQueryData() 269 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 303 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 331 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 403 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 410 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable [all …]
|
H A D | rdb_store_backup_restore_test.cpp | 58 int RdbStoreBackupRestoreTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 63 int RdbStoreBackupRestoreTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersio… in OnUpgrade() 68 void RdbStoreBackupRestoreTest::CheckResultSet(std::shared_ptr<RdbStore> &store) in CheckResultSet() 187 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 231 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable 290 auto store = RdbHelper::GetRdbStore(config, 1, helper, errCode); variable
|
H A D | rdb_store_concurrent_test.cpp | 37 static std::shared_ptr<RdbStore> store; member in RdbConcurrentTest 53 std::shared_ptr<RdbStore> RdbConcurrentTest::store = nullptr; member in RdbConcurrentTest 70 int ConcurrentTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 75 int ConcurrentTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 108 std::shared_ptr<RdbStore> &store = RdbConcurrentTest::store; in InsertThread() local 146 std::shared_ptr<RdbStore> &store = RdbConcurrentTest::store; in Query() local
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_store.cpp | 304 RelationalStore *GetRelationalStore(OH_Rdb_Store *store) in GetRelationalStore() 371 std::shared_ptr<OHOS::NativeRdb::RdbStore> store = in OH_Rdb_GetOrOpen() local 394 std::shared_ptr<OHOS::NativeRdb::RdbStore> store = in OH_Rdb_CreateOrOpen() local 404 int OH_Rdb_CloseStore(OH_Rdb_Store *store) in OH_Rdb_CloseStore() 521 int OH_Rdb_Execute(OH_Rdb_Store *store, const char *sql) in OH_Rdb_Execute() 541 int OH_Rdb_BeginTransaction(OH_Rdb_Store *store) in OH_Rdb_BeginTransaction() 550 int OH_Rdb_RollBack(OH_Rdb_Store *store) in OH_Rdb_RollBack() 559 int OH_Rdb_Commit(OH_Rdb_Store *store) in OH_Rdb_Commit() 588 int OH_Rdb_CommitByTrxId(OH_Rdb_Store *store, int64_t trxId) in OH_Rdb_CommitByTrxId() 615 int OH_Rdb_GetVersion(OH_Rdb_Store *store, int *version) in OH_Rdb_GetVersion() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/restore/ |
H A D | db_upgrade_utils.cpp | 29 bool DbUpgradeUtils::IsTableExists(NativeRdb::RdbStore &store, const std::string &tableName) in IsTableExists() 48 NativeRdb::RdbStore &store, const std::string &tableName, const std::string &columnName) in IsColumnExists() 68 std::vector<std::string> DbUpgradeUtils::GetAllTriggers(NativeRdb::RdbStore &store, const std::stri… in GetAllTriggers() 85 int32_t DbUpgradeUtils::DropAllTriggers(NativeRdb::RdbStore &store, const std::string &tableName) in DropAllTriggers() 98 std::vector<std::string> DbUpgradeUtils::GetAllUniqueIndex(NativeRdb::RdbStore &store, const std::s… in GetAllUniqueIndex() 115 int32_t DbUpgradeUtils::DropAllUniqueIndex(NativeRdb::RdbStore &store, const std::string &tableName) in DropAllUniqueIndex()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/ |
H A D | external_source.cpp | 27 int ExternalOpenCall::OnCreate(NativeRdb::RdbStore &store) in OnCreate() 32 int ExternalOpenCall::OnUpgrade(NativeRdb::RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 42 …shared_ptr<NativeRdb::RdbStore> store = NativeRdb::RdbHelper::GetRdbStore(config, 1, helper, errCo… in Init() local
|
/ohos5.0/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
H A D | cert_manager_api.c | 24 CM_API_EXPORT int32_t CmGetCertList(uint32_t store, struct CertList *certificateList) in CmGetCertList() 42 CM_API_EXPORT int32_t CmGetCertInfo(const struct CmBlob *certUri, uint32_t store, in CmGetCertInfo() 62 CM_API_EXPORT int32_t CmSetCertStatus(const struct CmBlob *certUri, const uint32_t store, in CmSetCertStatus() 84 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmInstallAppCert() 97 CM_API_EXPORT int32_t CmUninstallAppCert(const struct CmBlob *keyUri, const uint32_t store) in CmUninstallAppCert() 119 CM_API_EXPORT int32_t CmGetAppCertList(const uint32_t store, struct CredentialList *certificateList) in CmGetAppCertList() 131 CM_API_EXPORT int32_t CmCallingGetAppCertList(const uint32_t store, struct CredentialList *certific… in CmCallingGetAppCertList() 141 CM_API_EXPORT int32_t CmGetAppCert(const struct CmBlob *keyUri, const uint32_t store, in CmGetAppCert() 258 CM_API_EXPORT int32_t CmGetUserCertList(uint32_t store, struct CertList *certificateList) in CmGetUserCertList() 270 CM_API_EXPORT int32_t CmGetUserCertInfo(const struct CmBlob *certUri, uint32_t store, struct CertIn… in CmGetUserCertInfo() [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/fuzztest/rdbstore_fuzzer/ |
H A D | rdbstore_fuzzer.cpp | 51 int RdbTestOpenCallback::OnCreate(RdbStore &store) in OnCreate() 56 int RdbTestOpenCallback::OnUpgrade(RdbStore &store, int oldVersion, int newVersion) in OnUpgrade() 79 bool RdbStoreFuzzTest::InsertData(std::shared_ptr<RdbStore> &store, const uint8_t *data, size_t siz… in InsertData() 107 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbInsertFuzz() local 125 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbDeleteFuzz() local 151 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbUpdateFuzz() local 186 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbDoLockRowFuzz() local 233 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbQueryLockedRowFuzz1() local 279 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbQueryLockedRowFuzz2() local 332 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbQueryFuzz1() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | KvManagerDataCallbackJsTest.js | 84 await kvManager.getKVStore(TEST_STORE_ID, options, function (err, store) { argument 105 await kvManager.getKVStore(options, function (err, store) { argument 138 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 170 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 203 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 234 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 265 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 296 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 327 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 358 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/ |
H A D | udmf_service_impl.cpp | 134 auto store = StoreCache::GetInstance().GetStore(intention); in SaveData() local 186 auto store = StoreCache::GetInstance().GetStore(key.intention); in RetrieveData() local 326 std::shared_ptr<Store> store; in GetBatchData() local 356 auto store = StoreCache::GetInstance().GetStore(key.intention); in UpdateData() local 396 std::shared_ptr<Store> store; in DeleteData() local 439 auto store = StoreCache::GetInstance().GetStore(key.intention); in GetSummary() local 477 auto store = StoreCache::GetInstance().GetStore(key.intention); in AddPrivilege() local 517 auto store = StoreCache::GetInstance().GetStore(key.intention); in Sync() local 581 auto store = StoreCache::GetInstance().GetStore(intention); in SetAppShareOption() local 607 auto store = StoreCache::GetInstance().GetStore(intention); in GetAppShareOption() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | KvManagerKVCallbackJsTest.js | 81 await kvManager.getKVStore(TEST_STORE_ID, options, function (err, store) { argument 103 await kvManager.getKVStore(TEST_STORE_ID, options, function (err, store) { argument 169 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 199 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 229 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 260 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 290 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 320 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 350 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument 379 await kvManager.getKVStore(TEST_STORE_ID, optionsInfo, function (err, store) { argument [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager.c | 71 static int32_t GetFilePath(const struct CmContext *context, uint32_t store, char *pathPtr, in GetFilePath() 124 static int32_t CmGetFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob … in CmGetFilePath() 186 uint32_t store, struct CmMutableBlob *path) in CertManagerFindCertFileNameByUri() 213 const uint32_t store) in CmRemoveAppCert() 251 …d ClearAuthInfo(const struct CmContext *context, const struct CmBlob *keyUri, const uint32_t store) in ClearAuthInfo() 379 static int32_t CmRemoveSpecifiedAppCert(const struct CmContext *context, const uint32_t store) in CmRemoveSpecifiedAppCert() 462 int32_t CmServiceGetAppCertList(const struct CmContext *context, uint32_t store, struct CmBlob *fil… in CmServiceGetAppCertList() 526 int32_t CmCheckCertCount(const struct CmContext *context, const uint32_t store, const char *fileNam… in CmCheckCertCount() 665 static const char* GetCertType(uint32_t store) in GetCertType() 687 const struct CmBlob *alias, const struct CmBlob *subjectName, uint32_t store) in RdbInsertCertProperty() [all …]
|
H A D | cm_event_process.c | 68 const uint32_t store) in CmTraversalDirActionUserCa() 88 const char *fileName, const uint32_t store) in CmTraversalDirAction() 160 static void RemoveAuthListDir(const char *path, const uint32_t store, bool isSameUid) in RemoveAuthListDir() 177 const uint32_t store, bool isSameUid) in TraversalUidLayerDir() 189 const uint32_t store, bool isSameUid) in CmTraversalUidLayerDir() 229 const uint32_t store, bool isUserDeleteEvent) in TraversalUserIdLayerDir() 250 … CmTraversalUserIdLayerDir(const struct CmContext *context, const char *path, const uint32_t store) in CmTraversalUserIdLayerDir() 292 …tic int32_t CmTraversalDir(const struct CmContext *context, const char *path, const uint32_t store) in CmTraversalDir()
|
/ohos5.0/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
H A D | cm_ipc_client.c | 91 int32_t CmClientGetCertList(const uint32_t store, struct CertList *certificateList) in CmClientGetCertList() 112 const uint32_t store, struct CertInfo *certificateInfo) in GetCertificateInfo() 153 int32_t CmClientGetCertInfo(const struct CmBlob *certUri, const uint32_t store, in CmClientGetCertInfo() 160 const uint32_t store, const uint32_t status) in SetCertificateStatus() 188 int32_t CmClientSetCertStatus(const struct CmBlob *certUri, const uint32_t store, in CmClientSetCertStatus() 230 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmClientInstallAppCert() 238 const uint32_t store) in UninstallAppCert() 273 int32_t CmClientUninstallAppCert(const struct CmBlob *keyUri, const uint32_t store) in CmClientUninstallAppCert() 871 const uint32_t store, struct CertInfo *userCertInfo) in GetUserCertInfo() 912 int32_t CmClientGetUserCertInfo(const struct CmBlob *certUri, const uint32_t store, in CmClientGetUserCertInfo() [all …]
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cmappcert_fuzzer/ |
H A D | cmappcert_fuzzer.cpp | 29 …tatic bool InstallAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store, in InstallAppCert() 61 …static bool GetAllAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store) in GetAllAppCert() 76 static bool GetAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store, in GetAppCert() 101 …tic bool UnInstallAppCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, uint32_t store, in UnInstallAppCert() 137 uint32_t store; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_manager.cpp | 422 auto& store = bufferStore_; in Get() local 428 auto& store = imageStore_; in Get() local 434 auto& store = samplerStore_; in Get() local 621 auto& store = bufferStore_; in Create() local 672 auto& store = bufferStore_; in Create() local 697 PerManagerStore& store = imageStore_; in CreateImage() local 743 PerManagerStore& store = imageStore_; in Create() local 751 PerManagerStore& store = imageStore_; in Create() local 759 PerManagerStore& store = imageStore_; in Create() local 895 PerManagerStore& store = imageStore_; in CreateView() local [all …]
|