| /foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
| D | subscribe_profile_manager_test.cpp | 51 int32_t errCode = SubscribeProfileManager::GetInstance().Init(); in SetUpTestCase() local 57 int32_t errCode = SubscribeProfileManager::GetInstance().UnInit(); in TearDownTestCase() local 155 int32_t errCode = SubscribeProfileManager::GetInstance().SubscribeDeviceProfile(subscribeInfo); variable 169 int32_t errCode = SubscribeProfileManager::GetInstance(). variable 184 int32_t errCode = SubscribeProfileManager::GetInstance(). variable 198 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileAdd(profile); variable 211 … int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileDelete(profile); variable 225 …int32_t errCode = SubscribeProfileManager::GetInstance().NotifyTrustDeviceProfileUpdate(oldProfile… variable 239 int32_t errCode = SubscribeProfileManager::GetInstance().NotifyDeviceProfileAdd(dbKey, dbValue); variable 253 …int32_t errCode = SubscribeProfileManager::GetInstance().NotifyDeviceProfileUpdate(dbKey, dbValue); variable [all …]
|
| D | distributed_device_profile_client_kv_test.cpp | 132 … int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutServiceProfile(serviceProfile); variable 157 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutServiceProfileBatch(serviceProf… variable 171 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutServiceProfileBatch(serviceProf… variable 189 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutCharacteristicProfile(charProfi… variable 216 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutCharacteristicProfileBatch(char… variable 230 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().PutCharacteristicProfileBatch(char… variable 245 …int32_t errCode = DistributedDeviceProfileClient::GetInstance().GetDeviceProfile(deviceId, deviceP… variable 288 int32_t errCode = DistributedDeviceProfileClient::GetInstance().GetServiceProfile( variable 306 int32_t errCode = DistributedDeviceProfileClient::GetInstance().GetCharacteristicProfile( variable 323 int32_t errCode = DistributedDeviceProfileClient::GetInstance().DeleteServiceProfile( variable [all …]
|
| /foundation/distributeddatamgr/relational_store/test/ndk/unittest/ |
| D | rdb_asset_test.cpp | 56 int errCode = 0; in SetUpTestCase() local 65 int errCode = OH_Rdb_Execute(assetTestRdbStore_, dropTableSql); in TearDownTestCase() local 81 int errCode = OH_Rdb_Execute(assetTestRdbStore_, createTableSql); in CreateAssetTable() local 98 int errCode = OH_Data_Asset_SetName(nullptr, nullptr); variable 120 int errCode = OH_Data_Asset_SetUri(nullptr, nullptr); variable 142 int errCode = OH_Data_Asset_SetPath(nullptr, nullptr); variable 162 int errCode = OH_Data_Asset_SetCreateTime(nullptr, 1); variable 184 int errCode = OH_Data_Asset_SetName(asset, "name"); variable 210 int errCode = OH_Data_Asset_SetUri(asset, "uri"); variable 236 int errCode = OH_Data_Asset_SetPath(asset, "path"); variable [all …]
|
| /foundation/communication/netstack/test/unittest/tlssocket/client/ |
| D | TlsSocketTest.cpp | 102 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetSocketHwTestShortParam() 103 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetSocketHwTestShortParam() 128 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetSocketHwTestLongParam() 129 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetSocketHwTestLongParam() 145 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250602() 159 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250702() 162 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250802() 179 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250902() 182 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250a02() 197 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfb9d76250b02() [all …]
|
| D | TlsSocketCertChainTest.cpp | 103 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainHwTestShortParam() 104 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainHwTestShortParam() 129 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainHwTestLongParam() 130 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainHwTestLongParam() 146 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560602() 160 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560702() 163 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560802() 179 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560902() 182 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560a02() 197 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonfe196c560b02() [all …]
|
| D | TlsSocketOneWayTest.cpp | 102 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetOneWayHwTestShortParam() 103 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetOneWayHwTestShortParam() 128 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetOneWayHwTestLongParam() 129 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetOneWayHwTestLongParam() 145 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980602() 160 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980702() 163 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980802() 180 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980902() 183 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980a02() 199 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon8e3752980b02() [all …]
|
| D | TlsSocketCertChainOneWayTest.cpp | 103 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainOneWayHwTestShortParam() 104 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainOneWayHwTestShortParam() 129 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainOneWayHwTestLongParam() 130 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetCertChainOneWayHwTestLongParam() 146 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890602() 160 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890702() 163 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890802() 179 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890902() 182 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890a02() 197 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon733969890b02() [all …]
|
| D | TlsSocketUnilateralConnection.cpp | 107 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetUnilateralHwTestShortParam() 108 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in SetUnilateralHwTestShortParam() 187 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460402() 202 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460502() 204 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460602() 221 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460702() 223 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460802() 239 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460902() 241 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460a02() 266 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon7c4208460b02() [all …]
|
| /foundation/window/window_manager/wmserver/src/zidl/ |
| D | window_manager_stub.cpp | 54 … WMError errCode = CreateWindow(windowProxy, windowProperty, surfaceNode, windowId, token); in OnRemoteRequest() local 65 WMError errCode = AddWindow(windowProperty); in OnRemoteRequest() local 72 WMError errCode = RemoveWindow(windowId, isFromInnerkits); in OnRemoteRequest() local 78 WMError errCode = DestroyWindow(windowId); in OnRemoteRequest() local 84 WMError errCode = RequestFocus(windowId); in OnRemoteRequest() local 101 WMError errCode = RegisterWindowManagerAgent(type, windowManagerAgentProxy); in OnRemoteRequest() local 110 WMError errCode = UnregisterWindowManagerAgent(type, windowManagerAgentProxy); in OnRemoteRequest() local 135 WMError errCode = GetTopWindowId(mainWinId, topWinId); in OnRemoteRequest() local 141 WMError errCode = MinimizeAllAppWindows(data.ReadUint64()); in OnRemoteRequest() local 146 WMError errCode = ToggleShownStateForAllAppWindows(); in OnRemoteRequest() local [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
| D | default_factory.cpp | 33 IKvDB *DefaultFactory::CreateKvDb(KvDBType kvDbType, int &errCode) in CreateKvDb() 55 IKvDB *DefaultFactory::CreateLocalKvDB(int &errCode) in CreateLocalKvDB() 63 IKvDB *DefaultFactory::CreateMultiVerNaturalStore(int &errCode) in CreateMultiVerNaturalStore() 72 IKvDB *DefaultFactory::CreateSingleVerNaturalStore(int &errCode) in CreateSingleVerNaturalStore() 80 IKvDB *DefaultFactory::CreateRdSingleVerNaturalStore(int &errCode) in CreateRdSingleVerNaturalStore() 89 IKvDB *DefaultFactory::CreateCommitStorageDB(int &errCode) in CreateCommitStorageDB() 96 IKvDBMultiVerDataStorage *DefaultFactory::CreateMultiVerStorage(int &errCode) in CreateMultiVerStorage() 104 IKvDBCommitStorage *DefaultFactory::CreateMultiVerCommitStorage(int &errCode) in CreateMultiVerCommitStorage()
|
| /foundation/communication/netstack/test/unittest/tlssocket/server/ |
| D | TlsSocketServerTest.cpp | 92 …server.Listen(tlsListenOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_… in __anond5299ef40202() 107 …server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKE… in __anond5299ef40302() 123 …server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKE… in __anond5299ef40402() 126 …(void)server.Close(socketFd, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUC… in __anond5299ef40502() 143 …server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKE… in __anond5299ef40602() 147 …(void)server.Close(socketFd, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUC… in __anond5299ef40702() 151 server.Stop([](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in __anond5299ef40802() 181 …server.Send(tlsServerSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKE… in __anond5299ef40a02() 184 …(void)server.Close(socketFd, [](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUC… in __anond5299ef40b02() 187 server.Stop([](int32_t errCode) { EXPECT_TRUE(errCode == TlsSocket::TLSSOCKET_SUCCESS); }); in __anond5299ef40c02() [all …]
|
| /foundation/ability/form_fwk/interfaces/kits/native/src/ |
| D | form_mgr.cpp | 73 int errCode = Connect(); in AddForm() local 100 int errCode = Connect(); in DeleteForm() local 128 int errCode = Connect(); in StopRenderingForm() local 157 int errCode = Connect(); in ReleaseForm() local 191 int errCode = Connect(); in UpdateForm() local 232 int errCode = Connect(); in ReleaseRenderer() local 261 int errCode = Connect(); in RequestForm() local 302 int errCode = Connect(); in NotifyWhetherVisibleForms() local 328 int errCode = Connect(); in CastTempForm() local 343 int errCode = Connect(); in DumpStorageFormInfos() local [all …]
|
| /foundation/filemanagement/app_file_service/tests/mock/module_ipc/ |
| D | service_reverse_proxy_mock.cpp | 25 void ServiceReverseProxy::BackupOnBundleStarted(int32_t errCode, string bundleName) {} in BackupOnBundleStarted() 27 void ServiceReverseProxy::BackupOnBundleFinished(int32_t errCode, string bundleName) {} in BackupOnBundleFinished() 29 void ServiceReverseProxy::BackupOnAllBundlesFinished(int32_t errCode) {} in BackupOnAllBundlesFinished() 31 void ServiceReverseProxy::RestoreOnBundleStarted(int32_t errCode, string bundleName) {} in RestoreOnBundleStarted() 33 void ServiceReverseProxy::RestoreOnBundleFinished(int32_t errCode, string bundleName) {} in RestoreOnBundleFinished() 35 void ServiceReverseProxy::RestoreOnAllBundlesFinished(int32_t errCode) {} in RestoreOnAllBundlesFinished() 41 void ServiceReverseProxy::IncrementalBackupOnBundleStarted(int32_t errCode, string bundleName) {} in IncrementalBackupOnBundleStarted() 43 void ServiceReverseProxy::IncrementalBackupOnBundleFinished(int32_t errCode, string bundleName) {} in IncrementalBackupOnBundleFinished() 45 void ServiceReverseProxy::IncrementalBackupOnAllBundlesFinished(int32_t errCode) {} in IncrementalBackupOnAllBundlesFinished() 47 void ServiceReverseProxy::IncrementalRestoreOnBundleStarted(int32_t errCode, string bundleName) {} in IncrementalRestoreOnBundleStarted() [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
| D | sqlite_single_ver_storage_executor_cache.cpp | 31 int errCode = -E_NOT_SUPPORT; in PrepareForSavingCacheData() local 56 int errCode = E_OK; in ResetForSavingCacheData() local 72 int errCode = E_OK; in ResetForMigrateCacheData() local 87 int errCode = DBCommon::CalcValueHash(REMOVE_DEVICE_DATA_KEY, hashKey); in RemoveDeviceDataInCacheMode() local 139 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetMinVersionCacheData() local 171 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in MigrateRmDevData() local 209 …int errCode = SQLiteUtils::AttachNewDatabase(dbHandle_, type, passwd, attachDbAbsPath, attachAsNam… in AttachMainDbAndCacheDb() local 239 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetMaxVersionInCacheDb() local 262 …int errCode = PutIntoConflictAndCommitForMigrateCache(dataItem, {dataItem.dev.empty(), dataItem.de… in MigrateDataItem() local 304 int errCode = E_OK; in CheckDataWithQuery() local [all …]
|
| D | sqlite_local_storage_executor.cpp | 50 int errCode = SQLiteUtils::GetStatement(dbHandle_, SELECT_SQL, statement); in Get() local 77 int errCode = SQLiteUtils::ExecuteRawSQL(dbHandle_, CLEAR_SQL); in Clear() local 85 int errCode = SQLiteUtils::GetStatement(dbHandle_, SELECT_BATCH_SQL, statement); in GetEntries() local 138 int errCode = Put(entry.key, entry.value); in PutBatch() local 157 int errCode = Delete(key); in DeleteBatch() local 175 int errCode = SQLiteUtils::BeginTransaction(dbHandle_); in StartTransaction() local 181 int errCode = SQLiteUtils::CommitTransaction(dbHandle_); in Commit() local 187 int errCode = SQLiteUtils::RollbackTransaction(dbHandle_); in RollBack() local 194 int errCode = SQLiteUtils::GetStatement(dbHandle_, INSERT_SQL, statement); in Put() local 226 int errCode = SQLiteUtils::GetStatement(dbHandle_, DELETE_SQL, statement); in Delete() local
|
| D | sqlite_single_ver_storage_executor.cpp | 35 int errCode = E_OK; in ResetOrRegetStmt() local 52 int errCode = SQLiteUtils::GetColumnBlobValue(statement, 0, entry.key); in GetEntryFromStatement() local 124 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetKvData() local 159 int errCode = SQLiteUtils::BindBlobToStatement(statement, BIND_KV_KEY_INDEX, key, false); in BindPutKvData() local 198 int errCode = SQLiteUtils::GetStatement(dbHandle_, SELECT_SYNC_HASH_SQL, statement); in GetKvDataByHashKey() local 257 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in SaveKvData() local 297 int errCode = SaveKvData(type, key, value, timestamp); in PutKvData() local 323 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetEntries() local 343 int errCode = E_OK; in GetEntries() local 365 int errCode = E_OK; in GetCount() local [all …]
|
| /foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/include/ |
| D | service_reverse_mock.h | 40 void BackupOnBundleStarted(int32_t errCode, std::string bundleName) override {} in BackupOnBundleStarted() 41 void BackupOnBundleFinished(int32_t errCode, std::string bundleName) override {} in BackupOnBundleFinished() 42 void BackupOnAllBundlesFinished(int32_t errCode) override {} in BackupOnAllBundlesFinished() 44 void RestoreOnBundleStarted(int32_t errCode, std::string bundleName) override {} in RestoreOnBundleStarted() 45 void RestoreOnBundleFinished(int32_t errCode, std::string bundleName) override {} in RestoreOnBundleFinished() 46 void RestoreOnAllBundlesFinished(int32_t errCode) override {} in RestoreOnAllBundlesFinished() 50 void IncrementalBackupOnBundleStarted(int32_t errCode, std::string bundleName) override {} in IncrementalBackupOnBundleStarted() 51 void IncrementalBackupOnBundleFinished(int32_t errCode, std::string bundleName) override {} in IncrementalBackupOnBundleFinished() 52 void IncrementalBackupOnAllBundlesFinished(int32_t errCode) override {} in IncrementalBackupOnAllBundlesFinished() 54 void IncrementalRestoreOnBundleStarted(int32_t errCode, std::string bundleName) override {} in IncrementalRestoreOnBundleStarted() [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/oh_adapter/ |
| D | documentdb_json_common_test.cpp | 51 int errCode = E_OK; variable 76 int errCode = E_OK; variable 100 int errCode = E_OK; variable 122 int errCode = E_OK; variable 136 int errCode = E_OK; variable 155 int errCode = E_OK; variable 174 int errCode = E_OK; variable 193 int errCode = E_OK; variable 212 int errCode = E_OK; variable 231 int errCode = E_OK; variable [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
| D | kv_store_delegate_impl.cpp | 59 int errCode = conn_->Put(option, key, value); in Put() local 76 int errCode = conn_->PutBatch(option, entries); in PutBatch() local 93 int errCode = conn_->Delete(option, key); in Delete() local 110 int errCode = conn_->DeleteBatch(option, keys); in DeleteBatch() local 127 int errCode = conn_->Clear(option); in Clear() local 161 int errCode = conn_->GetSnapshot(snapshot); in GetKvStoreSnapshot() local 223 int errCode = E_OK; in RegisterObserver() local 262 int errCode = conn_->UnRegisterObserver(observerHandle); in UnRegisterObserver() local 278 int errCode = conn_->StartTransaction(); in StartTransaction() local 293 int errCode = conn_->Commit(); in Commit() local [all …]
|
| D | kv_store_nb_delegate_impl.cpp | 108 int errCode = conn_->GetResultSet(option, keyPrefix, kvDbResultSet); in GetEntries() local 130 int errCode = conn_->GetEntries(option, query, entries); in GetEntries() local 156 int errCode = conn_->GetResultSet(option, query, kvDbResultSet); in GetEntries() local 182 int errCode = conn_->GetCount(option, query, count); in GetCount() local 227 int errCode = conn_->PutBatch(option, entries); in PutBatch() local 249 int errCode = conn_->DeleteBatch(option, keys); in DeleteBatch() local 303 int errCode = conn_->Pragma(PRAGMA_PUBLISH_LOCAL, static_cast<PragmaData>(&publishInfo)); in PublishLocal() local 324 int errCode = conn_->Pragma(PRAGMA_UNPUBLISH_SYNC, static_cast<PragmaData>(&unpublishInfo)); in UnpublishToLocal() local 345 int errCode = conn_->PutBatch(option, entries); in PutLocalBatch() local 363 int errCode = conn_->DeleteBatch(option, keys); in DeleteLocalBatch() local [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
| D | multi_ver_storage_executor.cpp | 61 int errCode = kvDataStorage_->PutMetaData(key, value); in PutMetaData() local 71 int errCode = kvDataStorage_->GetMetaData(key, value); in GetMetaData() local 82 int errCode = commitStorage_->GetLatestCommits(latestCommits); in GetDeviceLatestCommit() local 120 int errCode = commitStorage_->GetCommitTree(latestCommits, commitTree); in GetCommitTree() local 158 int errCode = E_OK; in GetCommitData() local 272 int errCode; in GetValueSliceInner() local 294 int errCode; in PutValueSliceInner() local 317 int errCode; in DeleteValueSliceInner() local 345 int errCode; in StartSliceTransaction() local 362 int errCode = sliceTransaction_->CommitTransaction(); in CommitSliceTransaction() local [all …]
|
| D | multi_ver_vacuum_executor_impl.cpp | 57 int errCode = E_OK; in GetVacuumAbleCommits() local 101 int errCode = handle->GetEntriesByVersion(version, recordsInCommit); in GetVacuumNeedRecordsByVersion() local 130 int errCode = handle->GetOverwrittenClearTypeEntries(version, clearShadowRecords); in GetShadowRecordsOfClearTypeRecord() local 158 … int errCode = handle->GetOverwrittenNonClearTypeEntries(version, hashKey, nonClearShadowRecords); in GetShadowRecordsOfNonClearTypeRecord() local 184 int errCode = E_OK; in StartTransactionForVacuum() local 212 int errCode = writeHandle_->CommitTransaction(MultiTransactionType::ALL_DATA); in CommitTransactionForVacuum() local 233 int errCode = writeHandle_->RollBackTransaction(MultiTransactionType::ALL_DATA); in RollBackTransactionForVacuum() local 253 int errCode = writeHandle_->DeleteEntriesByHashKey(version, hashKey); in DeleteRecordTotally() local 271 int errCode = writeHandle_->UpdateTrimedFlag(version, hashKey); in MarkRecordAsVacuumDone() local 289 int errCode = writeHandle_->UpdateTrimedFlag(commitId); in MarkCommitAsVacuumDone() local [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
| D | rd_single_ver_result_set.cpp | 57 int errCode = E_OK; in Open() local 87 int errCode = PreCheckResultSet(); in Close() local 124 int errCode = PreCheckResultSet(); in GetCount() local 156 int errCode = E_OK; in Move() local 192 int errCode = PreCheckResultSet(); in MoveToNext() local 231 int errCode = PreCheckResultSet(); in MoveToPrev() local 262 int errCode = PreCheckResultSet(); in MoveTo() local 284 int errCode = E_OK; in MoveToFirst() local 302 int errCode = E_OK; in MoveToLast() local 372 int errCode = PreCheckResultSet(); in GetEntry() local
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
| D | relational_store_delegate_impl.cpp | 58 int errCode = conn_->DoClean(mode); in RemoveDeviceDataInner() local 96 int errCode = conn_->CreateDistributedTable(tableName, type); in CreateDistributedTableInner() local 123 int errCode = conn_->SyncToDevice(syncInfo); in Sync() local 144 int errCode = conn_->RemoveDeviceData(device, tableName); in RemoveDeviceData() local 158 int errCode = RelationalStoreInstance::ReleaseDataBaseConnection(conn_); in Close() local 202 int errCode = conn_->RemoteQuery(device, condition, timeout, result); in RemoteQuery() local 218 int errCode = conn_->RemoveDeviceData(); in RemoveDeviceData() local 237 int errCode = conn_->Sync(option, onProcess); in Sync() local 282 int errCode = conn_->GetStoreInfo(userId, appId, storeId); in RegisterObserver() local 336 int errCode = conn_->Sync(option, onProcess); in Sync() local [all …]
|
| /foundation/window/window_manager/window_scene/session/host/src/zidl/ |
| D | session_stub.cpp | 139 const WSError& errCode = UpdateWindowAnimationFlag(isNeedWindowAnimationFlag); in HandleSetWindowAnimationFlag() local 154 const WSError& errCode = Foreground(property); in HandleForeground() local 162 const WSError& errCode = Background(); in HandleBackground() local 171 const WSError& errCode = Disconnect(isFromClient); in HandleDisconnect() local 186 const WSError& errCode = Show(property); in HandleShow() local 194 const WSError& errCode = Hide(); in HandleHide() local 226 … WSError errCode = Connect(sessionStage, eventChannel, surfaceNode, systemConfig, property, token); in HandleConnect() local 245 WSError errCode = OnSessionEvent(static_cast<SessionEvent>(eventId)); in HandleSessionEvent() local 260 const WSError& errCode = TerminateSession(abilitySessionInfo); in HandleTerminateSession() local 278 const WSError& errCode = NotifySessionException(abilitySessionInfo); in HandleSessionException() local [all …]
|