Home
last modified time | relevance | path

Searched refs:dataKey (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_data_transformer_test.cpp82 logInfo.dataKey = i; in GenerateTableDataWithLog()
89 if (origin.dataKey != target.dataKey) { in Equal()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor.h319 int64_t dataKey);
388 int RemoveDataAndLog(const std::string &tableName, int64_t dataKey);
422 int64_t dataKey, OpType opType);
438 … GetAssetOnTable(const std::string &tableName, const std::string &fieldName, const int64_t dataKey,
443 …GetAssetsOnTable(const std::string &tableName, const std::string &fieldName, const int64_t dataKey,
452 … bool IsNeedUpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, const VBucket &vBucket);
457 int UpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, const VBucket &vBucket);
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp1035 std::to_string(dataKey); in RemoveDataAndLog()
1042 std::to_string(dataKey); in RemoveDataAndLog()
1481 const TableSchema &tableSchema, const VBucket &vBucket, int64_t dataKey, OpType opType) in OnlyUpdateAssetId() argument
1491 if (!IsNeedUpdateAssetId(tableSchema, dataKey, vBucket)) { in OnlyUpdateAssetId()
1494 int errCode = UpdateAssetId(tableSchema, dataKey, vBucket); in OnlyUpdateAssetId()
1587 const std::string &fieldName, const int64_t dataKey, Asset &asset) in GetAssetOnTable() argument
1591 … "' WHERE " + std::string(DBConstant::SQLITE_INNER_ROWID) + " = " + std::to_string(dataKey) + ";"; in GetAssetOnTable()
1626 const std::string &fieldName, const int64_t dataKey, Assets &assets) in GetAssetsOnTable() argument
1630 … "' WHERE " + std::string(DBConstant::SQLITE_INNER_ROWID) + " = " + std::to_string(dataKey) + ";"; in GetAssetsOnTable()
1700 …eSingleVerRelationalStorageExecutor::UpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, in UpdateAssetId() argument
[all …]
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp92 logInfo.dataKey = sqlite3_column_int64(statement, index++); in GetLogInfoByStatement()
643 const TrackerTable &trackerTable, int64_t dataKey) in InsertCloudData() argument
646 if (dataKey > 0) { in InsertCloudData()
647 errCode = RemoveDataAndLog(tableSchema.name, dataKey); in InsertCloudData()
1285 …eVerRelationalStorageExecutor::IsNeedUpdateAssetId(const TableSchema &tableSchema, int64_t dataKey, in IsNeedUpdateAssetId() argument
1307 std::to_string(dataKey) + ";"; in IsNeedUpdateAssetId()
H A Dsqlite_single_ver_relational_storage_executor.cpp572 logInfo.dataKey = sqlite3_column_int64(logStatement, 0); // 0 means dataKey index in GetLogData()
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
H A Ddlp_permission_serializer.cpp547 int32_t getEncJson(const unordered_json& encDataJson, unordered_json& certJson, std::string dataKey, in getEncJson() argument
550 if (encDataJson.find(dataKey) == encDataJson.end() || !encDataJson.at(dataKey).is_string()) { in getEncJson()
551 DLP_LOG_ERROR(LABEL, "key=%{public}s not found", dataKey.c_str()); in getEncJson()
558 certJson[ENC_POLICY] = encDataJson.at(dataKey).get<std::string>(); in getEncJson()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_utils.cpp24 …::GetCloudPkVals(const VBucket &datum, const std::vector<std::string> &pkColNames, int64_t dataKey, in GetCloudPkVals() argument
35 cloudPkVals.emplace_back(dataKey); in GetCloudPkVals()
184 cloudLogInfo.dataKey = 0; in GetCloudLogInfo()
203 …CloudSyncUtils::GetCloudPkVals(localInfo.primaryKeys, changedData.field, localInfo.logInfo.dataKey, in SaveChangedDataByType()
206 …ret = CloudSyncUtils::GetCloudPkVals(datum, changedData.field, localInfo.logInfo.dataKey, cloudPkV… in SaveChangedDataByType()
H A Dcloud_sync_utils.h35 …t GetCloudPkVals(const VBucket &datum, const std::vector<std::string> &pkColNames, int64_t dataKey,
H A Dcloud_syncer.cpp790 param.downloadData.data[idx], param.pkColNames, dataInfo.localInfo.logInfo.dataKey, pkVals); in HandleTagAssets()
1779 param.downloadData.existDataKey[index] = logInfo.logInfo.dataKey; in GetLocalInfo()
H A Dcloud_syncer_extend.cpp437 logInfo.dataKey = DBConstant::DEFAULT_ROW_ID; in CommitDownloadAssets()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddata_transformer.h31 int64_t dataKey = -1; member
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp134 LayerData* GetLayerDataPtr(DispatchKey dataKey) in GetLayerDataPtr() argument
137 auto it = g_layerDataMap.find(dataKey); in GetLayerDataPtr()
140 g_layerDataMap[dataKey] = layerData; in GetLayerDataPtr()
147 void FreeLayerDataPtr(DispatchKey dataKey) in FreeLayerDataPtr() argument
149 auto it = g_layerDataMap.find(dataKey); in FreeLayerDataPtr()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_storage_utils.cpp1131 bool isDeleted = logInfo.dataKey == DBConstant::DEFAULT_ROW_ID; in GetUpdateRecordFlagSql()
1152 sql += " data_key = '" + std::to_string(logInfo.dataKey) + "'"; in GetUpdateRecordFlagSql()
1167 bool isDeleted = logInfo.dataKey == DBConstant::DEFAULT_ROW_ID; in GetUpdateRecordFlagSqlUpload()
1190 sql += " data_key = '" + std::to_string(logInfo.dataKey) + "'"; in GetUpdateRecordFlagSqlUpload()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_manager_test.cpp760 std::string dataKey = prefix + "_p_data"; variable
764 result.insert({dataKey, value0});
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp759 virtualRowData.logInfo.dataKey = 3; // 3 fake datakey in operator ()()
979 virtualRowData.logInfo.dataKey = 4; // 4 fake datakey in operator ()()
H A Ddistributeddb_interfaces_relational_test.cpp1181 rowData.logInfo.dataKey = rowid; in operator ()()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1844 downloadData.existDataKey.push_back(dataInfoWithLog.logInfo.dataKey); in UpsertDataInTransaction()
1915 logInfo.dataKey = rowId; in UpdateRecordFlagAfterUpload()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_asset_compare_test.cpp1038 dataInfo.localInfo.logInfo.dataKey = 1;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp341 dataInfoWithLog.logInfo.dataKey = sqlite3_column_int64(stmt, index++); in FillLogInfoWithStmt()