Home
last modified time | relevance | path

Searched refs:store_ (Results 26 - 50 of 113) sorted by relevance

12345

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Drdb_delegate.cpp109 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 Dvpn_database_helper.cpp52 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 Dvpn_database_helper_test.cpp47 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 Drdbstore_fuzzer.cpp35 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 Dtransaction_test.cpp40 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 Dcloud_meta_data.cpp25 : 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 Dprofile_database.cpp31 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 Dnode_blob.h54 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 Dsqlite_relational_store_connection.cpp37 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 Dtransaction_impl.cpp70 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 Dffi_remote_data.h208 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 Drelational_store_connection.h92 return static_cast<DerivedDBType *>(store_); in GetDB()
96 IRelationalStore *store_ = nullptr; member in DistributedDB::RelationalStoreConnection
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_store_impl.h69 return store_; in GetStore()
77 std::shared_ptr<OHOS::NativeRdb::RdbStore> store_; member in OHOS::RdbNdk::RelationalStore
H A Drelational_store.cpp206 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 Dhello.cc24 auto store_ = wasm::Store::make(engine.get()); in run() local
25 auto store = store_.get(); in run()
H A Dserialize.cc24 auto store_ = wasm::Store::make(engine.get()); in run() local
25 auto store = store_.get(); in run()
H A Dstart.cc22 auto store_ = wasm::Store::make(engine.get()); in run() local
23 auto store = store_.get(); in run()
H A Dthreads.cc28 auto store_ = wasm::Store::make(engine); in run() local
29 auto store = store_.get(); in run()
H A Dtrap.cc32 auto store_ = wasm::Store::make(engine.get()); in run() local
33 auto store = store_.get(); in run()
H A Dmulti.cc30 auto store_ = wasm::Store::make(engine.get()); in run() local
31 auto store = store_.get(); in run()
H A Dcallback.cc62 auto store_ = wasm::Store::make(engine.get()); in run() local
63 auto store = store_.get(); in run()
H A Dreflect.cc77 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 Dgrd_type_inner.h24 DocumentDB::DocumentStore *store_ = nullptr; member
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_store_connection.cpp24 : store_(store), isExclusive_(false) in RelationalStoreConnection()
/applications/standard/contacts_data/ability/account/src/
H A Daccount_manager.cpp36 ContactsDataBase::store_, AccountData::ACCOUNT_NAME, AccountData::ACCOUNT_TYPE); in GetAccount()

Completed in 18 milliseconds

12345