/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | rdb_delegate.cpp | 109 store_ = RdbHelper::GetRdbStore(config, version, callback, errCode_); in RdbDelegate() 134 if (store_ == nullptr) { in InsertEx() 140 int ret = store_->Insert(rowId, tableName, bucket); in InsertEx() 157 if (store_ == nullptr) { in UpdateEx() 164 int ret = store_->Update(changeCount, bucket, predicates); in UpdateEx() 180 if (store_ == nullptr) { in DeleteEx() 186 int ret = store_->Delete(changeCount, predicates); in DeleteEx() 204 if (store_ == nullptr) { in Query() 215 std::shared_ptr<NativeRdb::ResultSet> resultSet = store_->QueryByStep(rdbPredicates, columns); in Query() 256 if (store_ in Query() [all...] |
/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | vpn_database_helper.cpp | 52 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCallback, errCode);
in VpnDatabaseHelper() 104 if (store_ == nullptr) {
in IsVpnInfoExists() 105 NETMGR_EXT_LOG_E("IsVpnInfoExists store_ is nullptr");
in IsVpnInfoExists() 112 auto queryResultSet = store_->Query(rdbPredicate, columns);
in IsVpnInfoExists() 184 if (store_ == nullptr) {
in InsertData() 185 NETMGR_EXT_LOG_E("InsertData store_ is nullptr");
in InsertData() 192 int ret = store_->Insert(rowId, VPN_CONFIG_TABLE, values);
in InsertData() 202 if (store_ == nullptr) {
in UpdateData() 203 NETMGR_EXT_LOG_E("UpdateData store_ is nullptr");
in UpdateData() 216 int32_t ret = store_ in UpdateData() [all...] |
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/sys_vpn_manager_test/ |
H A D | vpn_database_helper_test.cpp | 47 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = in HWTEST_F() local 49 int32_t ret = dbCallBack->OnCreate(*(store_)); in HWTEST_F() 61 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = in HWTEST_F() local 63 int32_t ret = dbCallBack->OnUpgrade(*(store_), OLD_VERSION, NEW_VERSION); in HWTEST_F() 75 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_ = in HWTEST_F() local 77 int32_t ret = dbCallBack->OnDowngrade(*(store_), OLD_VERSION, NEW_VERSION); in HWTEST_F() 208 std::shared_ptr<OHOS::NativeRdb::RdbStore> tmp = vpnDataHelper_.store_; in HWTEST_F() 209 vpnDataHelper_.store_ = nullptr; in HWTEST_F() 225 vpnDataHelper_.store_ = tmp; in HWTEST_F()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/fuzztest/rdbstore_fuzzer/ |
H A D | rdbstore_fuzzer.cpp | 35 static std::shared_ptr<RdbStore> store_; member in OHOS::RdbStoreFuzzTest 37 std::shared_ptr<RdbStore> RdbStoreFuzzTest::store_ = nullptr; member in OHOS::RdbStoreFuzzTest 66 RdbStoreFuzzTest::store_ = RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUpTestCase() member in OHOS::RdbStoreFuzzTest 67 if (store_ == nullptr || errCode != E_OK) { in SetUpTestCase() 107 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbInsertFuzz() 125 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbDeleteFuzz() 151 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbUpdateFuzz() 186 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbDoLockRowFuzz() 233 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbQueryLockedRowFuzz1() 279 std::shared_ptr<RdbStore> &store = RdbStoreFuzzTest::store_; in RdbQueryLockedRowFuzz2() [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | transaction_test.cpp | 40 static inline std::shared_ptr<RdbStore> store_; member in TransactionTest 67 TransactionTest::store_ = RdbHelper::GetRdbStore(config, 1, helper, errCode); in SetUpTestCase() member in TransactionTest 68 EXPECT_NE(TransactionTest::store_, nullptr); in SetUpTestCase() 74 store_ = nullptr; in TearDownTestCase() 80 store_->Execute("DELETE FROM test"); in SetUp() 94 std::shared_ptr<RdbStore> &store = TransactionTest::store_; in HWTEST_F() 145 std::shared_ptr<RdbStore> &store = TransactionTest::store_; in HWTEST_F() 190 std::shared_ptr<RdbStore> &store = TransactionTest::store_; in HWTEST_F() 223 std::shared_ptr<RdbStore> &store = TransactionTest::store_; in HWTEST_F() 256 std::shared_ptr<RdbStore> &store = TransactionTest::store_; in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_meta_data.cpp | 25 : store_(store) in CloudMetaData() 158 if (store_ == nullptr) { in ReadMarkFromMeta() 162 int ret = store_->GetMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal); in ReadMarkFromMeta() 182 if (store_ == nullptr) { in WriteMarkToMeta() 185 return store_->PutMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal); in WriteMarkToMeta() 195 if (store_ == nullptr) { in WriteTypeMarkToMeta() 198 return store_->PutMetaData(DBCommon::GetPrefixTableName(tableName), blobMetaVal); in WriteTypeMarkToMeta()
|
/applications/standard/contacts_data/dataBusiness/contacts/src/ |
H A D | profile_database.cpp | 31 std::shared_ptr<OHOS::NativeRdb::RdbStore> ProfileDatabase::store_ = nullptr; member in OHOS::Contacts::ProfileDatabase 44 store_ = OHOS::NativeRdb::RdbHelper::GetRdbStore(config, DATABASE_OPEN_VERSION, sqliteOpenHelperCallback, errCode); in ProfileDatabase() 55 contactsAccount->PrepopulateCommonAccountTypes(store_); in ProfileDatabase() 57 contactsType.PrepopulateCommonTypes(store_); in ProfileDatabase()
|
/third_party/node/src/ |
H A D | node_blob.h | 54 const std::vector<BlobEntry>& entries() const { return store_; } in entries() 72 : store_(store), in BlobTransferData() 85 std::vector<BlobEntry> store_; member in node::Blob::BlobTransferData 99 std::vector<BlobEntry> store_; member in node::Blob
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_relational_store_connection.cpp | 37 if (store_ == nullptr) { in Close() 58 static_cast<SQLiteRelationalStore *>(store_)->ReleaseDBConnection(GetConnectionId(), this); in Close() 64 if (store_ == nullptr) { in GetIdentifier() 67 return store_->GetProperties().GetStringProp(RelationalDBProperties::IDENTIFIER_DATA, ""); in GetIdentifier() 284 return static_cast<SQLiteRelationalStore *>(store_)->RegisterObserverAction(GetConnectionId(), observer, action); in RegisterObserverAction() 289 return static_cast<SQLiteRelationalStore *>(store_)->UnRegisterObserverAction(GetConnectionId(), observer); in UnRegisterObserverAction()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | transaction_impl.cpp | 70 store_ = std::make_shared<TransDB>(connection_, name_); in Begin() 71 if (store_ == nullptr) { in Begin() 145 store_ = nullptr; in CloseInner() 164 return store_; in GetStore()
|
/foundation/arkui/napi/interfaces/inner_api/cjffi/native/ |
H A D | ffi_remote_data.h | 208 auto& store_ = FFIDataManager::GetInstance()->ffiDataStore_; in Exist() local 209 return store_.find(id) != store_.end(); in Exist()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | relational_store_connection.h | 92 return static_cast<DerivedDBType *>(store_); in GetDB() 96 IRelationalStore *store_ = nullptr; member in DistributedDB::RelationalStoreConnection
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_store_impl.h | 69 return store_; in GetStore() 77 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::RdbNdk::RelationalStore
|
H A D | relational_store.cpp | 206 OHOS::RdbNdk::RelationalStore::RelationalStore(std::shared_ptr<OHOS::NativeRdb::RdbStore> store) : store_(store) in RelationalStore() 221 int errCode = store_->RegisterAutoSyncCallback(obs); in SubscribeAutoSyncProgress() 239 int errCode = store_->UnregisterAutoSyncCallback(*it); in UnsubscribeAutoSyncProgress() 252 if (store_ == nullptr || callbacks_.empty()) { in ~RelationalStore() 256 store_->UnregisterAutoSyncCallback(callback); in ~RelationalStore() 714 if (store_ == nullptr || type < RDB_SUBSCRIBE_TYPE_CLOUD || type > RDB_SUBSCRIBE_TYPE_LOCAL_DETAILS || in DoSubScribe() 732 store_->SubscribeObserver(subscribeOption, ndkObserver) : store_->Subscribe(subscribeOption, ndkObserver.get()); in DoSubScribe() 743 if (store_ == nullptr || type < RDB_SUBSCRIBE_TYPE_CLOUD || type > RDB_SUBSCRIBE_TYPE_LOCAL_DETAILS) { in DoUnsubScribe() 754 store_ in DoUnsubScribe() [all...] |
/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | hello.cc | 24 auto store_ = wasm::Store::make(engine.get()); in run() local 25 auto store = store_.get(); in run()
|
H A D | serialize.cc | 24 auto store_ = wasm::Store::make(engine.get()); in run() local 25 auto store = store_.get(); in run()
|
H A D | start.cc | 22 auto store_ = wasm::Store::make(engine.get()); in run() local 23 auto store = store_.get(); in run()
|
H A D | threads.cc | 28 auto store_ = wasm::Store::make(engine); in run() local 29 auto store = store_.get(); in run()
|
H A D | trap.cc | 32 auto store_ = wasm::Store::make(engine.get()); in run() local 33 auto store = store_.get(); in run()
|
H A D | multi.cc | 30 auto store_ = wasm::Store::make(engine.get()); in run() local 31 auto store = store_.get(); in run()
|
H A D | callback.cc | 62 auto store_ = wasm::Store::make(engine.get()); in run() local 63 auto store = store_.get(); in run()
|
H A D | reflect.cc | 77 auto store_ = wasm::Store::make(engine.get()); in run() local 78 auto store = store_.get(); in run()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/include/ |
H A D | grd_type_inner.h | 24 DocumentDB::DocumentStore *store_ = nullptr; member
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_store_connection.cpp | 24 : store_(store), isExclusive_(false) in RelationalStoreConnection()
|
/applications/standard/contacts_data/ability/account/src/ |
H A D | account_manager.cpp | 36 ContactsDataBase::store_, AccountData::ACCOUNT_NAME, AccountData::ACCOUNT_TYPE); in GetAccount()
|