Home
last modified time | relevance | path

Searched defs:errCode (Results 1 – 25 of 648) sorted by relevance

12345678910>>...26

/foundation/communication/netstack/test/unittest/tlssocket/client/
DTlsSocketOneWayTest.cpp96 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580202()
123 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580302()
125 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580402()
130 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580502()
133 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580602()
161 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580702()
163 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580802()
169 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580902()
172 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580a02()
198 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon5ad3c6580b02()
[all …]
DTlsSocketTest.cpp96 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50202()
123 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50302()
125 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50402()
130 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50502()
133 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50602()
161 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50702()
163 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50802()
169 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50902()
172 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50a02()
198 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon87de19e50b02()
[all …]
DTlsSocketCertChainOneWayTest.cpp97 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490202()
123 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490302()
125 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490402()
130 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490502()
133 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490602()
161 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490702()
163 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490802()
169 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490902()
172 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490a02()
198 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anonf67415490b02()
[all …]
DTlsSocketCertChainTest.cpp97 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160202()
123 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160302()
125 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160402()
130 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160502()
133 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160602()
161 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160702()
163 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160802()
169 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160902()
172 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160a02()
198 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon14ae48160b02()
[all …]
DTlsSocketUnilateralConnection.cpp97 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060202()
123 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060302()
125 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060402()
130 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060502()
133 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060602()
160 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060702()
162 server.Connect(options, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060802()
168 server.Send(tcpSendOptions, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060902()
171 (void)server.Close([](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060a02()
197 server.Bind(address, [](int32_t errCode) { EXPECT_TRUE(errCode == TLSSOCKET_SUCCESS); }); in __anon66d22c060b02()
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
Ddefault_factory.cpp32 IKvDB *DefaultFactory::CreateKvDb(KvDBType kvDbType, int &errCode) in CreateKvDb()
49 IKvDB *DefaultFactory::CreateLocalKvDB(int &errCode) in CreateLocalKvDB()
58 IKvDB *DefaultFactory::CreateMultiVerNaturalStore(int &errCode) in CreateMultiVerNaturalStore()
67 IKvDB *DefaultFactory::CreateSingleVerNaturalStore(int &errCode) in CreateSingleVerNaturalStore()
75 IKvDB *DefaultFactory::CreateCommitStorageDB(int &errCode) in CreateCommitStorageDB()
81 IKvDBMultiVerDataStorage *DefaultFactory::CreateMultiVerStorage(int &errCode) in CreateMultiVerStorage()
89 IKvDBCommitStorage *DefaultFactory::CreateMultiVerCommitStorage(int &errCode) in CreateMultiVerCommitStorage()
/foundation/window/window_manager/wmserver/src/zidl/
Dwindow_manager_stub.cpp52 … WMError errCode = CreateWindow(windowProxy, windowProperty, surfaceNode, windowId, token); in OnRemoteRequest() local
59 WMError errCode = AddWindow(windowProperty); in OnRemoteRequest() local
65 WMError errCode = RemoveWindow(windowId); in OnRemoteRequest() local
71 WMError errCode = DestroyWindow(windowId); in OnRemoteRequest() local
77 WMError errCode = RequestFocus(windowId); in OnRemoteRequest() local
128 WMError errCode = GetTopWindowId(mainWinId, topWinId); in OnRemoteRequest() local
138 WMError errCode = ToggleShownStateForAllAppWindows(); in OnRemoteRequest() local
144 WMError errCode = SetWindowLayoutMode(mode); in OnRemoteRequest() local
152 WMError errCode = UpdateProperty(windowProperty, action); in OnRemoteRequest() local
158 WMError errCode = GetAccessibilityWindowInfo(infos); in OnRemoteRequest() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
Dsqlite_single_ver_storage_executor_cache.cpp31 int errCode = -E_NOT_SUPPORT; in PrepareForSavingCacheData() local
56 int errCode = E_OK; in ResetForSavingCacheData() local
72 int errCode = E_OK; in ResetForMigrateCacheData() local
88 int errCode = DBCommon::CalcValueHash(REMOVE_DEVICE_DATA_KEY, hashKey); in RemoveDeviceDataInCacheMode() local
140 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetMinVersionCacheData() local
173 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 …]
Dsqlite_local_storage_executor.cpp50 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
Dsqlite_single_ver_storage_executor.cpp50 int errCode = E_OK; in ResetOrRegetStmt() local
121 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetKvData() local
156 int errCode = SQLiteUtils::BindBlobToStatement(statement, BIND_KV_KEY_INDEX, key, false); in BindPutKvData() local
195 int errCode = SQLiteUtils::GetStatement(dbHandle_, SELECT_SYNC_HASH_SQL, statement); in GetKvDataByHashKey() local
254 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in SaveKvData() local
294 int errCode = SaveKvData(type, key, value, timestamp); in PutKvData() local
315 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in GetEntries() local
335 int errCode = E_OK; in GetEntries() local
357 int errCode = E_OK; in GetCount() local
411 int errCode = SQLiteUtils::GetStatement(dbHandle_, sql, statement); in InitCurrentMaxStamp() local
[all …]
Dsqlite_single_ver_relational_storage_executor.cpp84 int errCode = SQLiteUtils::GetStatement(db, sql, stmt); in GetExistedDataTimeOffset() local
102 int errCode = GetExistedDataTimeOffset(db, tableName, isMemDb_, timeOffset); in GeneLogInfoForExistedData() local
123 int errCode = SQLiteUtils::CheckTableEmpty(dbHandle_, tableName, isEmpty); in CreateDistributedTable() local
130 int errCode = SQLiteUtils::AnalysisSchema(dbHandle_, tableName, table); in CreateDistributedTable() local
174 int errCode = SQLiteUtils::AnalysisSchema(dbHandle_, tableName, newTableInfo); in UpgradeDistributedTable() local
221 int errCode = SQLiteUtils::GetStatement(handle, checkSql, stmt); in GetDeviceTableName() local
275 int errCode = E_OK; in UpgradeFields() local
336 int errCode = E_OK; in Upgradeindexes() local
378 int errCode = GetDeviceTableName(dbHandle_, oldTableInfo.GetTableName(), {}, deviceTables); in AlterAuxTableForUpgrade() local
406 int errCode = SQLiteUtils::BeginTransaction(dbHandle_, type); in StartTransaction() local
[all …]
Dsqlite_multi_ver_transaction.cpp148 int errCode = SQLiteUtils::OpenDatabase(option, db_); in Initialize() local
182 int errCode = Get(key, valueRead); in Delete() local
219 int errCode = valueObject.SetValue(emptyValue); in Clear() local
242 int errCode = SQLiteUtils::GetStatement(db_, SELECT_ONE_SQL, statement); in Get() local
264 int errCode = SQLiteUtils::GetStatement(db_, SELECT_BY_HASHKEY_VER_SQL, statement); in GetValueForTrimSlice() local
305 int errCode = PrepareForGetEntries(keyPrefix, statements); in GetEntries() local
358 int errCode = CheckIfNeedSaveRecord(entry, isNeedSave, disVal); in CheckToSaveRecord() local
392 int errCode = Put(iter->key, iter->value); in PutBatch() local
422 int errCode = CheckToSaveRecord(item, isNeedSave, values); in PutBatch() local
452 int errCode = SQLiteUtils::GetStatement(db_, SELECT_ONE_VER_RAW_SQL, statement); in GetDiffEntries() local
[all …]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
Dstep_result_set.cpp46 int errCode = E_STEP_RESULT_QUERY_NOT_EXECUTED; in GetAllColumnNames() local
55 auto errCode = sqliteStatement->GetColumnCount(columnCount); in GetAllColumnNames() local
84 int errCode = sqliteStatement->GetColumnType(columnIndex, sqliteType); in GetColumnType() local
149 int errCode = GoToNextRow(); in GoToRow() local
163 int errCode = PrepareStep(); in GoToNextRow() local
242 int errCode = sqliteStatement->GetColumnString(columnIndex, value); in GetString() local
257 int errCode = sqliteStatement->GetColumnLong(columnIndex, columnValue); in GetInt() local
270 int errCode = sqliteStatement->GetColumnLong(columnIndex, value); in GetLong() local
282 int errCode = sqliteStatement->GetColumnDouble(columnIndex, value); in GetDouble() local
292 int errCode = GetColumnType(columnIndex, columnType); in IsColumnNull() local
[all …]
Dsqlite_connection.cpp52 …onnection *SqliteConnection::Open(const SqliteConfig &config, bool isWriteConnection, int &errCode) in Open()
106 int errCode = sqlite3_open_v2(dbPath.c_str(), &dbHandle, openFileFlags, nullptr); in InnerOpen() local
133 int errCode = SetPageSize(); in Config() local
175 int errCode = sqlite3_close(dbHandle); in ~SqliteConnection() local
190 int errCode = ExecuteGetLong(value, "PRAGMA page_size"); in SetPageSize() local
209 int errCode = ExecuteSql("PRAGMA codec_hmac_algo=sha256"); in SetEncryptAlgo() local
222 …int errCode = sqlite3_key(dbHandle, static_cast<const void *>(encryptKey.data()), encryptKey.size(… in SetEncryptKey() local
234 int errCode = sqlite3_file_control(dbHandle, "main", SQLITE_FCNTL_PERSIST_WAL, &opcode); in SetPersistWal() local
244 auto errCode = sqlite3_busy_timeout(dbHandle, timeout); in SetBusyTimeout() local
259 int errCode = ExecuteGetString(currentMode, "PRAGMA journal_mode"); in SetJournalMode() local
[all …]
Dstore_session.cpp91 int errCode = con->PrepareAndGetInfo(sql, outIsReadOnly, numParameters, columnNames); in PrepareAndGetInfo() local
111 int errCode = con->Prepare(sql, isReadOnly); in BeginExecuteSql() local
133 int errCode = BeginExecuteSql(sql, isReadOnly); in ExecuteSql() local
147 int errCode = BeginExecuteSql(sql, isReadOnly); in ExecuteForChangedRowCount() local
161 int errCode = BeginExecuteSql(sql, isReadOnly); in ExecuteForLastInsertedRowId() local
178 int errCode = BeginExecuteSql(sql, isReadOnly); in ExecuteGetLong() local
192 int errCode = BeginExecuteSql(sql, isReadOnly); in ExecuteGetString() local
221 int errCode = ExecuteSql(ATTACH_BACKUP_SQL, bindArgs); in Backup() local
286 int errCode = ExecuteGetString(journalMode, "PRAGMA journal_mode", std::vector<ValueObject>()); in Attach() local
320 int errCode = connection->ExecuteSql("BEGIN EXCLUSIVE;"); in BeginTransaction() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
Dkv_store_delegate_impl.cpp60 int errCode = conn_->Put(option, key, value); in Put() local
77 int errCode = conn_->PutBatch(option, entries); in PutBatch() local
94 int errCode = conn_->Delete(option, key); in Delete() local
111 int errCode = conn_->DeleteBatch(option, keys); in DeleteBatch() local
128 int errCode = conn_->Clear(option); in Clear() local
162 int errCode = conn_->GetSnapshot(snapshot); in GetKvStoreSnapshot() local
224 int errCode = E_OK; in RegisterObserver() local
263 int errCode = conn_->UnRegisterObserver(observerHandle); in UnRegisterObserver() local
279 int errCode = conn_->StartTransaction(); in StartTransaction() local
294 int errCode = conn_->Commit(); in Commit() local
[all …]
Dkv_store_nb_delegate_impl.cpp107 int errCode = conn_->GetResultSet(option, keyPrefix, kvDbResultSet); in GetEntries() local
129 int errCode = conn_->GetEntries(option, query, entries); in GetEntries() local
155 int errCode = conn_->GetResultSet(option, query, kvDbResultSet); in GetEntries() local
181 int errCode = conn_->GetCount(option, query, count); in GetCount() local
226 int errCode = conn_->PutBatch(option, entries); in PutBatch() local
248 int errCode = conn_->DeleteBatch(option, keys); in DeleteBatch() local
302 int errCode = conn_->Pragma(PRAGMA_PUBLISH_LOCAL, static_cast<PragmaData>(&publishInfo)); in PublishLocal() local
323 int errCode = conn_->Pragma(PRAGMA_UNPUBLISH_SYNC, static_cast<PragmaData>(&unpublishInfo)); in UnpublishToLocal() local
344 int errCode = conn_->PutBatch(option, entries); in PutLocalBatch() local
362 int errCode = conn_->DeleteBatch(option, keys); in DeleteLocalBatch() local
[all …]
/foundation/ability/form_fwk/interfaces/kits/native/src/
Dform_mgr.cpp67 int errCode = Connect(); in AddForm() local
95 int errCode = Connect(); in DeleteForm() local
124 int errCode = Connect(); in StopRenderingForm() local
154 int errCode = Connect(); in ReleaseForm() local
189 int errCode = Connect(); in UpdateForm() local
228 int errCode = Connect(); in RequestForm() local
273 int errCode = Connect(); in NotifyWhetherVisibleForms() local
300 int errCode = Connect(); in CastTempForm() local
316 int errCode = Connect(); in DumpStorageFormInfos() local
332 int errCode = Connect(); in DumpFormInfoByBundleName() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
Dmulti_ver_storage_executor.cpp61 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 …]
Dmulti_ver_vacuum_executor_impl.cpp57 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 …]
Dmulti_ver_natural_store.cpp74 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CalcFileBlockCheckSum() local
96 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CheckFileBlock() local
115 int errCode = memset_s(block.reserved, sizeof(block.reserved), 0, sizeof(block.reserved)); in CreateNewVersionFile() local
159 int errCode = CheckFileBlock(block); in ChangeVersionFile() local
200 int errCode = E_OK; in GetVersionAndTag() local
288 …int errCode = DBCommon::CreateStoreDirectory(dataDir, identifierDir, DBConstant::MULTI_SUB_DIR, is… in InitStorages() local
341 int errCode = multiVerData_->CheckVersion(multiVerProp, isDataStorageExist); in CheckSubStorageVersion() local
364 int errCode = E_OK; in CreateStorages() local
391 int errCode = operation->RekeyRecover(kvDBProp); in ClearTempFile() local
408 int errCode = CreateStorages(); in Open() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
Druntime_config.cpp40 int errCode = KvDBManager::SetProcessLabel(appId, userId); in SetProcessLabel() local
80 int errCode = RuntimeContext::GetInstance()->SetPermissionCheckCallback(callback); in SetPermissionCheckCallback() local
86 int errCode = RuntimeContext::GetInstance()->SetPermissionCheckCallback(callback); in SetPermissionCheckCallback() local
103 int errCode = RuntimeContext::GetInstance()->SetSyncActivationCheckCallback(callback); in SetSyncActivationCheckCallback() local
110 int errCode = RuntimeContext::GetInstance()->NotifyUserChanged(); in NotifyUserChanged() local
122 int errCode = RuntimeContext::GetInstance()->SetSyncActivationCheckCallback(callback); in SetSyncActivationCheckCallback() local
128 int errCode = RuntimeContext::GetInstance()->SetPermissionConditionCallback(callback); in SetPermissionConditionCallback() local
/foundation/ability/dmsfwk_lite/moduletest/dtbschedmgr_lite/source/
Dtlv_parse_test.cpp65 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0102()
115 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0202()
140 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0302()
156 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0402()
174 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0502()
192 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0602()
213 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0702()
236 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0802()
259 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0902()
282 auto onTlvParseDone = [] (int8_t errCode, const void *dmsMsg) { in __anon0f77fe6d0a02()
[all …]
/foundation/resourceschedule/device_usage_statistics/services/common/src/
Dbundle_active_stub.cpp52 ErrCode errCode = IsBundleIdle(isBundleIdle, bundleName, userId); in OnRemoteRequest() local
63 …ErrCode errCode = QueryBundleStatsInfoByInterval(result, intervalType, beginTime, endTime, userId); in OnRemoteRequest() local
81 ErrCode errCode = QueryBundleEvents(result, beginTime, endTime, userId); in OnRemoteRequest() local
97 ErrCode errCode = SetAppGroup(bundleName, newGroup, userId); in OnRemoteRequest() local
106 ErrCode errCode = QueryBundleStatsInfos(result, intervalType, beginTime, endTime); in OnRemoteRequest() local
123 ErrCode errCode = QueryCurrentBundleEvents(result, beginTime, endTime); in OnRemoteRequest() local
139 ErrCode errCode = QueryAppGroup(appGroup, bundleName, userId); in OnRemoteRequest() local
147 ErrCode errCode = QueryModuleUsageRecords(maxNum, results, userId); in OnRemoteRequest() local
166 ErrCode errCode = RegisterAppGroupCallBack(observer); in OnRemoteRequest() local
175 ErrCode errCode = UnRegisterAppGroupCallBack(observer); in OnRemoteRequest() local
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
Ddistributeddb_file_package_test.cpp51 int errCode = OS::GetFileAttrFromPath(path, files); in RemovePath() local
79 int errCode = OS::GetFileAttrFromPath(path1, files1); in ComparePath() local
147 int errCode = calc.Initialize(); in SetUpTestCase() local
185 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA… variable
204 int errCode = PackageFile::PackageFiles(g_sourcePath + NON_EXIST_PATH, variable
219 int errCode = PackageFile::PackageFiles(g_sourcePath, variable
238 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA… variable
262 …int errCode = PackageFile::UnpackFile(g_packageResultPath + PACKAGE_RESULT_FILE_NAME, g_unpackResu… variable
276 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA… variable
294 …int errCode = PackageFile::PackageFiles(g_sourcePath, g_packageResultPath + PACKAGE_RESULT_FILE_NA… variable
[all …]

12345678910>>...26