Home
last modified time | relevance | path

Searched refs:BindTextToStatement (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_sqlite_utils_test.cpp176 (void)SQLiteUtils::BindTextToStatement(stmt, 2, text); // 2: bind index in __anona04736ca0802()
205 (void)SQLiteUtils::BindTextToStatement(stmt, 2, text); // 2: bind index in __anona04736ca0a02()
233 (void)SQLiteUtils::BindTextToStatement(stmt, 2, text); // 2: bind index in __anona04736ca0c02()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp298 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, userId); in GetLogInfoInner()
304 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, gid); in GetLogInfoInner()
311 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, userId); in GetLogInfoInner()
518 int errCode = SQLiteUtils::BindTextToStatement(logStmt, ++index, user); in BindOnlyUpdateLogStmt()
527 errCode = SQLiteUtils::BindTextToStatement(logStmt, ++index, dataItem.gid); in BindOnlyUpdateLogStmt()
532 errCode = SQLiteUtils::BindTextToStatement(logStmt, ++index, dataItem.version); in BindOnlyUpdateLogStmt()
537 errCode = SQLiteUtils::BindTextToStatement(logStmt, ++index, dataItem.gid); in BindOnlyUpdateLogStmt()
542 errCode = SQLiteUtils::BindTextToStatement(logStmt, ++index, dataItem.version); in BindOnlyUpdateLogStmt()
645 errCode = SQLiteUtils::BindTextToStatement(logStmt, index++, user); in BindUpdateLogStmt()
1020 errCode = SQLiteUtils::BindTextToStatement(stmt, BIND_CLOUD_USER, user); in CountCloudDataInner()
[all …]
H A Dsqlite_single_ver_storage_executor_extend.cpp56 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); in CloudExcuteRemoveOrUpdate()
96 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); // only one arg. in CloudCheckDataExist()
104 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, user); // only one arg. in CloudCheckDataExist()
H A Dsqlite_single_ver_storage_executor_subscribe.cpp232 … errCode = SQLiteUtils::BindTextToStatement(statement, 1, DBConstant::SUBSCRIBE_QUERY_PREFIX + id); in RemoveSubscribeTriggerWaterMark()
259 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, namePreFix + "%"); in GetTriggers()
H A Dsqlite_utils.h66 static int BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &str);
H A Dsqlite_query_helper.cpp1282 errCode = SQLiteUtils::BindTextToStatement(stmt, BIND_CLOUD_USER, user); in GetKvCloudQueryStmt()
1354 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, user); in GetAndBindGidKvCloudQueryStatement()
1394 errCode = SQLiteUtils::BindTextToStatement(stmt, BIND_CLOUD_USER, user); in BindCountKvCloudDataStatement()
H A Dsqlite_utils.cpp263 int SQLiteUtils::BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &str) in BindTextToStatement() function in DistributedDB::SQLiteUtils
703 errCode = SQLiteUtils::BindTextToStatement(statement, 1, tableName); in AnalysisSchemaSqlAndTrigger()
2337 errCode = SQLiteUtils::BindTextToStatement(statement, cid, strData); in BindDataValueByType()
2417 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, tableName); in CheckTableExists()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/oh_adapter/src/
H A Drd_sqlite_utils.h42 static int BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &value);
H A Drd_sqlite_utils.cpp192 int RDSQLiteUtils::BindTextToStatement(sqlite3_stmt *statement, int index, const std::string &value) in BindTextToStatement() function in DocumentDB::RDSQLiteUtils
H A Dsqlite_store_executor_impl.cpp385 RDSQLiteUtils::BindTextToStatement(stmt, 1, name); in IsCollectionExists()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp540 (void)SQLiteUtils::BindTextToStatement(stmt, 1, "trigger"); // 1: bind index in __anonf1fa0da11202()
541 …(void)SQLiteUtils::BindTextToStatement(stmt, 2, "naturalbase_rdb_student_1_ON_UPDATE"); // 2: bind… in __anonf1fa0da11202()
568 SQLiteUtils::BindTextToStatement(stmt, 1, "KEY_" + std::to_string(i)); in PrepareSyncData()
569 SQLiteUtils::BindTextToStatement(stmt, 2, "VAL_" + std::to_string(i)); in PrepareSyncData()
572 SQLiteUtils::BindTextToStatement(stmt, 5, "DEV_" + std::to_string(i)); in PrepareSyncData()
573 SQLiteUtils::BindTextToStatement(stmt, 6, "KEY_" + std::to_string(i)); in PrepareSyncData()
574 SQLiteUtils::BindTextToStatement(stmt, 7, "HASHKEY_" + std::to_string(i)); in PrepareSyncData()
912 SQLiteUtils::BindTextToStatement(stmt, 4, ""); // 4, bind index in __anonf1fa0da12302()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_storage_utils.cpp101 errCode = SQLiteUtils::BindTextToStatement(upsertStmt, index, str); in BindText()
1091 errCode = SQLiteUtils::BindTextToStatement(updateLogStmt, index, in BindUpdateLogStmtFromVBucket()
1101 errCode = SQLiteUtils::BindTextToStatement(updateLogStmt, index, std::string("")); in BindUpdateLogStmtFromVBucket()
1103 errCode = SQLiteUtils::BindTextToStatement(updateLogStmt, index, in BindUpdateLogStmtFromVBucket()
1108 errCode = SQLiteUtils::BindTextToStatement(updateLogStmt, index, std::string("")); in BindUpdateLogStmtFromVBucket()
1110 errCode = SQLiteUtils::BindTextToStatement(updateLogStmt, index, in BindUpdateLogStmtFromVBucket()
1225 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, gidStr); // 1 is cloud_gid in BindStepConsistentFlagStmt()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp173 errCode = SQLiteUtils::BindTextToStatement(statement, index, gid); in IncreaseCursorOnAssetData()
268 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, version); in BindUpdateVersionStatement()
991 errCode = SQLiteUtils::BindTextToStatement(statement, 1, tableName); in CheckIfExistUserTable()
1063 int errCode = SQLiteUtils::BindTextToStatement(stmt, 1, gid); // 1 means the gid index in BindStmtWithCloudGidInner()
1318 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, gid); in InitGetAssetStmt()
1416 int errCode = SQLiteUtils::BindTextToStatement(stmt, beginIndex, cloudGid); in ExecuteFillDownloadAssetStatement()
1980 errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 10, version); // 10 is version in BindShareValueToInsertLogStatement()
1996 … errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 11, shareUri); // 11 is sharing_resource in BindShareValueToInsertLogStatement()
H A Dsqlite_single_ver_relational_storage_executor.cpp798 … errCode = SQLiteUtils::BindTextToStatement(queryStmt, 2, dataItem.dev); // 2 means device index. in GetLogInfoPre()
866 errCode = SQLiteUtils::BindTextToStatement(stmt, 2, dataItem.dev); // 2 means device index in DeleteSyncDataItem()
928 errCode = SQLiteUtils::BindTextToStatement(stmt, 2, dataItem.dev); // 2 means device index in DeleteSyncLog()
1275 errCode = SQLiteUtils::BindTextToStatement(deleteLogStmt, 1, device); in DeleteDistributedDeviceTableLog()
1358 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, tableName); // 1: tablename bind index in CheckAndCleanDistributedTable()
1578 errCode = SQLiteUtils::BindTextToStatement(stmt, i + 1, bindArgs.at(i)); in ExecuteQueryBySqlStmt()
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp208 errCode = SQLiteUtils::BindTextToStatement(selectStmt, index, cloudGid); in GetQueryLogStatement()
795 errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 8, cloudGid); // 8 is cloud_gid in BindHashKeyAndGidToInsertLogStatement()
802 errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 9, ""); // 9 is extend_field in BindHashKeyAndGidToInsertLogStatement()
829 errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 2, GetDev()); // 2 is device in BindValueToInsertLogStatement()
835 errCode = SQLiteUtils::BindTextToStatement(insertLogStmt, 3, GetDev()); // 3 is ori_device in BindValueToInsertLogStatement()
H A Dsqlite_relational_utils.cpp187 errCode = SQLiteUtils::BindTextToStatement(statement, cid, value); in BindStatementByType()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/cloudsync_fuzzer/
H A Dcloudsync_fuzzer.cpp137 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, idStr); in InitDbData()
177 errCode = SQLiteUtils::BindTextToStatement(stmt, 1, idStr); in InitDbAsset()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_lock_test.cpp246 …ASSERT_EQ(SQLiteUtils::BindTextToStatement(stmt, 2, std::get<string>(vBucket[COL_NAME])), E_OK); /… in InsertLocalData()
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp178 …ASSERT_EQ(SQLiteUtils::BindTextToStatement(stmt, 2, std::get<string>(vBucket[COL_NAME])), E_OK); /… in InsertLocalData()
H A Ddistributeddb_cloud_kv_test.cpp1951 errCode = SQLiteUtils::BindTextToStatement(statement, bindIndex, wantUserId); // only one arg. in ChangeUserId()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_multi_sub_user_test.cpp347 …ASSERT_EQ(SQLiteUtils::BindTextToStatement(stmt, 2, std::get<string>(vBucket[COL_NAME])), E_OK); /… in InsertLocalData()
H A Ddistributeddb_relational_ver_p2p_sync_test.cpp222 EXPECT_EQ(SQLiteUtils::BindTextToStatement(stmt, col, strData), E_OK); in BindValue()