Home
last modified time | relevance | path

Searched defs:statement (Results 1 – 25 of 35) sorted by relevance

12

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
Dsqlite_single_ver_storage_executor_cache.cpp101 sqlite3_stmt *statement = nullptr; in RemoveDeviceDataInCacheMode() local
138 sqlite3_stmt *statement = nullptr; in GetMinVersionCacheData() local
170 sqlite3_stmt *statement = nullptr; in MigrateRmDevData() local
229 sqlite3_stmt *statement = nullptr; in GetMaxVersionInCacheDb() local
275 sqlite3_stmt *statement = migrateSyncStatements_.GetDataSaveStatement(isUpdate); in MigrateDataItem() local
437 sqlite3_stmt *statement = nullptr; in DelCacheDbDataByVersion() local
502 int SQLiteSingleVerStorageExecutor::BindSyncDataInCacheMode(sqlite3_stmt *statement, in BindSyncDataInCacheMode()
546 sqlite3_stmt *statement, const Key &hashKey, uint64_t recordVersion) const in BindPrimaryKeySyncDataInCacheMode()
561 sqlite3_stmt *statement, const DataItem &dataItem) const in BindTimestampSyncDataInCacheMode()
576 int SQLiteSingleVerStorageExecutor::BindDevSyncDataInCacheMode(sqlite3_stmt *statement, in BindDevSyncDataInCacheMode()
[all …]
Dsqlite_multi_ver_transaction.cpp240 sqlite3_stmt *statement = nullptr; in Get() local
262 sqlite3_stmt *statement = nullptr; in GetValueForTrimSlice() local
451 sqlite3_stmt *statement = nullptr; in GetDiffEntries() local
507 sqlite3_stmt *statement = nullptr; in GetMaxVersion() local
535 sqlite3_stmt *statement = nullptr; in ClearEntriesByVersion() local
566 sqlite3_stmt *statement = nullptr; in GetPrePutValues() local
613 sqlite3_stmt *statement = nullptr; in RemovePrePutEntries() local
667 sqlite3_stmt *statement = nullptr; in GetEntriesByVersion() local
701 sqlite3_stmt *statement = nullptr; in GetEntriesByVersion() local
746 sqlite3_stmt *statement = nullptr; in GetCurrentMaxTimestamp() local
[all …]
Dsqlite_local_storage_executor.cpp49 sqlite3_stmt *statement = nullptr; in Get() local
84 sqlite3_stmt *statement = nullptr; in GetEntries() local
193 sqlite3_stmt *statement = nullptr; in Put() local
225 sqlite3_stmt *statement = nullptr; in Delete() local
Dsqlite_single_ver_storage_executor.cpp49 int GetEntryFromStatement(bool isGetValue, sqlite3_stmt *statement, std::vector<Entry> &entries) in GetEntryFromStatement()
123 sqlite3_stmt *statement = nullptr; in GetKvData() local
156 int SQLiteSingleVerStorageExecutor::BindPutKvData(sqlite3_stmt *statement, const Key &key, const Va… in BindPutKvData()
195 sqlite3_stmt *statement = nullptr; in GetKvDataByHashKey() local
249 sqlite3_stmt *statement = nullptr; in SaveKvData() local
322 sqlite3_stmt *statement = nullptr; in GetEntries() local
349 sqlite3_stmt *statement = nullptr; in GetEntries() local
418 sqlite3_stmt *statement = nullptr; in InitCurrentMaxStamp() local
432 sqlite3_stmt *&statement, bool getDeletedData) const in PrepareForSyncDataByTime()
473 int GetDataItemForSync(sqlite3_stmt *statement, DataItem &dataItem) in GetDataItemForSync()
[all …]
Dsqlite_query_helper.cpp341 int SqliteQueryHelper::BindSyncDataCheckStmt(sqlite3_stmt *statement, const Key &hashKey) const in BindSyncDataCheckStmt()
395 …ryHelper::GetQuerySqlStatement(sqlite3 *dbHandle, const std::string &sql, sqlite3_stmt *&statement) in GetQuerySqlStatement()
431 …qliteQueryHelper::GetQuerySqlStatement(sqlite3 *dbHandle, bool onlyRowid, sqlite3_stmt *&statement) in GetQuerySqlStatement()
546 int SqliteQueryHelper::BindTimeRange(sqlite3_stmt *&statement, int &index, uint64_t beginTime, uint… in BindTimeRange()
561 int SqliteQueryHelper::BindObjNodes(sqlite3_stmt *&statement, int &index) const in BindObjNodes()
576 sqlite3_stmt *&statement) in GetQuerySyncStatement()
721 int SqliteQueryHelper::BindFieldValue(sqlite3_stmt *statement, const QueryObjNode &queryNode, int &… in BindFieldValue()
964 const std::vector<std::string> &fieldNames, sqlite3_stmt *&statement) in GetRelationalMissQueryStatement()
1055 const std::vector<std::string> &fieldNames, sqlite3_stmt *&statement) in GetRelationalQueryStatement()
1130 int SqliteQueryHelper::BindKeysToStmt(const std::set<Key> &keys, sqlite3_stmt *&statement, int &ind… in BindKeysToStmt()
[all …]
Dsqlite_meta_executor.cpp24 sqlite3_stmt *statement = nullptr; in GetMetaKeysByKeyPrefix() local
67 int SqliteMetaExecutor::GetAllKeys(sqlite3_stmt *statement, bool isMemDb, std::vector<Key> &keys) in GetAllKeys()
Dsqlite_utils.cpp210 int SQLiteUtils::GetStatement(sqlite3 *db, const std::string &sql, sqlite3_stmt *&statement) in GetStatement()
236 int SQLiteUtils::BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &str) in BindTextToStatement()
251 int SQLiteUtils::BindInt64ToStatement(sqlite3_stmt *statement, int index, int64_t value) in BindInt64ToStatement()
263 int SQLiteUtils::BindBlobToStatement(sqlite3_stmt *statement, int index, const std::vector<uint8_t>… in BindBlobToStatement()
292 void SQLiteUtils::ResetStatement(sqlite3_stmt *&statement, bool isNeedFinalize, int &errCode) in ResetStatement()
325 int SQLiteUtils::StepWithRetry(sqlite3_stmt *statement, bool isMemDb) in StepWithRetry()
350 int SQLiteUtils::BindPrefixKey(sqlite3_stmt *statement, int index, const Key &keyPrefix) in BindPrefixKey()
485 int SQLiteUtils::GetColumnBlobValue(sqlite3_stmt *statement, int index, std::vector<uint8_t> &value) in GetColumnBlobValue()
511 int SQLiteUtils::GetColumnTextValue(sqlite3_stmt *statement, int index, std::string &value) in GetColumnTextValue()
574 sqlite3_stmt* statement = nullptr; in AttachNewDatabaseInner() local
[all …]
Dsqlite_single_ver_storage_executor_subscribe.cpp35 sqlite3_stmt *statement = nullptr; in CheckQueryObjectLegal() local
224 sqlite3_stmt *statement = nullptr; in RemoveSubscribeTriggerWaterMark() local
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
Ddistributeddb_sqlite_relational_utils_test.cpp91 …utedDBSqliteRelationalUtilsTest::PrepareStatement(const std::string &sql, sqlite3_stmt *&statement, in PrepareStatement()
133 sqlite3_stmt *statement = nullptr; variable
173 sqlite3_stmt *statement = nullptr; variable
202 sqlite3_stmt *statement = nullptr; variable
Ddistributeddb_storage_single_ver_upgrade_test.cpp152 sqlite3_stmt *statement = nullptr; in CreateDatabase() local
164 sqlite3_stmt *statement = nullptr; in CheckSyncDataV1ToV2() local
174 sqlite3_stmt *statement = nullptr; in CheckSyncDataV2ToV3() local
185 sqlite3_stmt *statement = nullptr; in CheckLocalDataV1ToV2() local
/foundation/multimedia/av_codec/services/dfx/include/
Davcodec_xcollie.h60 #define COLLIE_LISTEN(statement, args...) { AVCodecXcollieTimer xCollie(args); statement; } argument
61 #define CLIENT_COLLIE_LISTEN(statement, name) { AVCodecXcollieTimer xCollie(name, false, false, 30)… argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
Drd_sqlite_utils.cpp86 int RDSQLiteUtils::GetStatement(sqlite3 *db, const std::string &sql, sqlite3_stmt *&statement) in GetStatement()
111 int RDSQLiteUtils::StepWithRetry(sqlite3_stmt *statement) in StepWithRetry()
125 int RDSQLiteUtils::ResetStatement(sqlite3_stmt *&statement, bool finalize) in ResetStatement()
152 int RDSQLiteUtils::BindBlobToStatement(sqlite3_stmt *statement, int index, const std::vector<uint8_… in BindBlobToStatement()
168 int RDSQLiteUtils::GetColumnBlobValue(sqlite3_stmt *statement, int index, std::vector<uint8_t> &val… in GetColumnBlobValue()
192 int RDSQLiteUtils::BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &value) in BindTextToStatement()
/foundation/filemanagement/storage_service/services/storage_daemon/include/libfscrypt/
Dfscrypt_log.h28 #define FSCRYPT_ERROR_CHECK(ret, statement, format, ...) \ argument
36 #define FSCRYPT_CHECK(ret, statement) \ argument
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
Dshare_block.cpp204 FillOneRowResult FillOneRow(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, int numC… in FillOneRow()
252 FillOneRowResult FillOneRowOfString(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, … in FillOneRowOfString()
272 FillOneRowResult FillOneRowOfLong(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, in… in FillOneRowOfLong()
285 FillOneRowResult FillOneRowOfFloat(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, i… in FillOneRowOfFloat()
298 FillOneRowResult FillOneRowOfBlob(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, in… in FillOneRowOfBlob()
323 FillOneRowResult FillOneRowOfNull(AppDataFwk::SharedBlock *sharedBlock, sqlite3_stmt *statement, in… in FillOneRowOfNull()
/foundation/multimedia/player_framework/services/utils/include/
Dplayer_xcollie.h63 #define LISTENER(statement, args...) { OHOS::Media::XcollieTimer xCollie(args); statement; } argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
Dsqlite_relational_utils.cpp25 int SQLiteRelationalUtils::GetDataValueByType(sqlite3_stmt *statement, int cid, DataValue &value) in GetDataValueByType()
86 int SQLiteRelationalUtils::GetCloudValueByType(sqlite3_stmt *statement, int type, int cid, Type &cl… in GetCloudValueByType()
163 int SQLiteRelationalUtils::BindStatementByType(sqlite3_stmt *statement, int cid, Type &typeVal) in BindStatementByType()
199 int SQLiteRelationalUtils::BindExtendStatementByType(sqlite3_stmt *statement, int cid, Type &typeVa… in BindExtendStatementByType()
Dsqlite_single_ver_relational_storage_extend_executor.cpp69 const VBucket &vBucket, const std::vector<Field> &fields, sqlite3_stmt *&statement) in GetFillDownloadAssetStatement()
270 …t TableSchema &tableSchema, const CloudSyncBatch &data, const int &index, sqlite3_stmt *&statement) in InitFillUploadAssetStatement()
391 sqlite3_stmt *statement = nullptr; in ExecuteSql() local
559 sqlite3_stmt *statement = nullptr; in CleanTrackerData() local
712 sqlite3_stmt *statement = nullptr; in DoCleanShareTableDataAndLog() local
774 sqlite3_stmt *statement = nullptr; in GetReferenceGidInner() local
829 int SQLiteSingleVerRelationalStorageExecutor::GetReferenceGidByStmt(sqlite3_stmt *statement, in GetReferenceGidByStmt()
949 sqlite3_stmt *statement = nullptr; in CheckIfExistUserTable() local
1389 const VBucket &assets, sqlite3_stmt *&statement) in GetAndBindFillUploadAssetStatement()
Dsqlite_single_ver_relational_storage_executor.cpp667 sqlite3_stmt *statement = nullptr; in GetKvData() local
696 sqlite3_stmt *statement = nullptr; in PutKvData() local
726 sqlite3_stmt *statement = nullptr; in DeleteMetaData() local
753 sqlite3_stmt *statement = nullptr; in DeleteMetaDataByPrefixKey() local
773 sqlite3_stmt *statement = nullptr; in GetAllMetaKeys() local
810 int SQLiteSingleVerRelationalStorageExecutor::SaveSyncLog(sqlite3_stmt *statement, sqlite3_stmt *qu… in SaveSyncLog()
1712 int SQLiteSingleVerRelationalStorageExecutor::GetCloudDataForSync(sqlite3_stmt *statement, in GetCloudDataForSync()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
Dsqlite_connection.h102 SqliteStatement statement; variable
Dshare_block.h52 sqlite3_stmt *statement; member
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/mock/include/
Dsqlite_connection.h96 SqliteStatement statement; variable
/foundation/multimedia/player_framework/services/services/avmetadatahelper/ipc/
Dhelper_listener_proxy.cpp27 #define LISTENER(statement, args...) { OHOS::Media::XcollieTimer xCollie(args); statement; } argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
Ddistributeddb_relational_multi_user_test.cpp373 int PrepareSelect(sqlite3 *db, sqlite3_stmt *&statement, const std::string &table) in PrepareSelect()
386 sqlite3_stmt *statement = nullptr; in CheckDataInRealDevice() local
Ddistributeddb_relational_ver_p2p_sync_test.cpp168 int PrepareInsert(sqlite3 *db, sqlite3_stmt *&statement, in PrepareInsert()
192 int SimulateCommitData(sqlite3 *db, sqlite3_stmt *&statement) in SimulateCommitData()
360 int PrepareSelect(sqlite3 *db, sqlite3_stmt *&statement, const std::string &table) in PrepareSelect()
366 void GetDataValue(sqlite3_stmt *statement, int col, DataValue &dataValue) in GetDataValue()
399 void GetSyncDataStep(std::map<std::string, DataValue> &dataMap, sqlite3_stmt *statement, in GetSyncDataStep()
414 sqlite3_stmt *statement = nullptr; in GetSyncData() local
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
Drdb_general_store.cpp455 auto statement = rdbQuery->GetStatement(); in PreSharing() local
503 std::string RdbGeneralStore::BuildSql(const std::string& table, const std::string& statement, in BuildSql()

12