/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | collaboration_log_table_manager.cpp | 25 std::string CollaborationLogTableManager::CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, in CalcPrimaryKeyHash() argument 30 sql = "calc_hash('" + identity + "'||calc_hash(" + references + std::string(DBConstant::SQLITE_INNER_ROWID) + in CalcPrimaryKeyHash() 34 sql = "calc_hash(" + references + "'" + table.GetIdentifyKey().at(0) + "', 0)"; in CalcPrimaryKeyHash() 38 sql += "calc_hash(" + references + "'" + it + "', 0)||"; in CalcPrimaryKeyHash()
|
H A D | split_device_log_table_manager.cpp | 19 std::string SplitDeviceLogTableManager::CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, in CalcPrimaryKeyHash() argument 25 sql = "calc_hash(" + references + "'" + table.GetPrimaryKey().at(0) + "', 0)"; in CalcPrimaryKeyHash() 29 sql += "calc_hash(" + references + "'" + it.second + "', 0)||"; in CalcPrimaryKeyHash()
|
H A D | simple_tracker_log_table_manager.cpp | 21 std::string SimpleTrackerLogTableManager::CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, in CalcPrimaryKeyHash() argument 27 sql = "calc_hash(" + references + "'" + table.GetPrimaryKey().at(0) + "', 0)"; in CalcPrimaryKeyHash() 31 sql += "calc_hash(" + references + "'" + it.second + "', 0)||"; in CalcPrimaryKeyHash()
|
H A D | cloud_sync_log_table_manager.cpp | 22 std::string CloudSyncLogTableManager::CalcPrimaryKeyHash(const std::string &references, const TableInfo &table, in CalcPrimaryKeyHash() argument 34 sql = "calc_hash(" + references + "'" + std::string(DBConstant::SQLITE_INNER_ROWID) + "', " + in CalcPrimaryKeyHash() 41 sql = "calc_hash(" + references + "'" + pkName + "', " + collateStr + ")"; in CalcPrimaryKeyHash() 54 sql += "calc_hash(" + references + "'" + it + "', " + collateStr + ")||"; in CalcPrimaryKeyHash()
|
H A D | simple_tracker_log_table_manager.h | 27 // The parameter "references" is "", "NEW." or "OLD.". "identity" is a hash string that identifies a device. 28 std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
|
H A D | split_device_log_table_manager.h | 27 // The parameter "references" is "", "NEW." or "OLD.". "identity" is a hash string that identifies a device. 28 std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
|
H A D | cloud_sync_log_table_manager.h | 27 // The parameter "references" is "", "NEW." or "OLD.". "identity" is a hash string that identifies a device. 28 std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
|
H A D | collaboration_log_table_manager.h | 27 std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/ |
H A D | item_ref_box.cpp | 118 std::vector<Reference> references; in GetReferencesFrom() local 121 references.push_back(ref); in GetReferencesFrom() 124 return references; in GetReferencesFrom()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_log_table_manager.h | 28 virtual std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
|
H A D | sqlite_utils.h | 187 static std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_stub.cpp | 114 std::vector<Reference> references; in OnRemoteSetDistributedTables() local 117 if (!ITypesUtil::Unmarshal(data, param, tables, references, type, isRebuild)) { in OnRemoteSetDistributedTables() 123 auto status = SetDistributedTables(param, tables, references, isRebuild, type); in OnRemoteSetDistributedTables()
|
H A D | rdb_service_impl.h | 58 const std::vector<Reference> &references, bool isRebuild, int32_t type = DISTRIBUTED_DEVICE) override;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_service.h | 45 const std::vector<Reference> &references, bool isRebuild, int32_t type = DISTRIBUTED_DEVICE) = 0;
|
H A D | rdb_types.h | 110 std::vector<Reference> references = {}; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/ |
H A D | general_store_mock.h | 29 const std::vector<std::string> &tables, int32_t type, const std::vector<Reference> &references) override;
|
H A D | general_store_mock.cpp | 35 const std::vector<std::string> &tables, int32_t type, const std::vector<Reference> &references) in SetDistributedTables() 34 SetDistributedTables( const std::vector<std::string> &tables, int32_t type, const std::vector<Reference> &references) SetDistributedTables() argument
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/ |
H A D | heif_parser.cpp | 573 std::vector<HeifIrefBox::Reference> references = irefBox_->GetReferencesFrom(tmapId); in ExtractGainmapImage() local 574 for (const HeifIrefBox::Reference &ref : references) { in ExtractGainmapImage() 617 std::vector<HeifIrefBox::Reference> references = irefBox_->GetReferencesFrom(image->GetItemId()); in ExtractNonMasterImages() local 618 for (const HeifIrefBox::Reference &ref: references) { in ExtractNonMasterImages()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | rdb_general_store_test.cpp | 909 std::vector<DistributedData::Reference> references;
in HWTEST_F() local 910 auto result = store->SetDistributedTables(tables, type, references);
in HWTEST_F() 915 result = store->SetDistributedTables(tables, type, references);
in HWTEST_F() 919 result = store->SetDistributedTables(test, type, references);
in HWTEST_F() 922 result = store->SetDistributedTables(tables, type, references);
in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/store/ |
H A D | general_store.h | 132 const std::vector<std::string> &tables, int type, const std::vector<Reference> &references) = 0;
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rdb_service_proxy.h | 44 const std::vector<Reference> &references, bool isRebuild, int32_t type = DISTRIBUTED_DEVICE) override;
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_ability_operation_test.cpp | 617 std::map<int, int> references = dataAbilityOperation->GetDataAbilityPredicatesBackReferences(); in HWTEST_F() local 619 references.insert(std::make_pair(i, i)); in HWTEST_F() 646 std::map<int, int> references = dataAbilityOperation->GetDataAbilityPredicatesBackReferences(); in HWTEST_F() local 647 EXPECT_TRUE(references.size() == 1); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.h | 51 const std::vector<std::string> &tables, int32_t type, const std::vector<Reference> &references) override;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | relational_schema_object.cpp | 857 std::vector<JsonObject> references; 858 errCode = inJsonObject.GetObjectArrayByFieldPath(FieldPath{SchemaConstant::REFERENCE_PROPERTY}, references); 863 for (const JsonObject &reference : references) {
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_service_proxy.cpp | 180 const std::vector<Reference> &references, bool isRebuild, int32_t type) in SetDistributedTables() 184 static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_SET_DIST_TABLE), reply, param, tables, references, in SetDistributedTables() 179 SetDistributedTables(const RdbSyncerParam& param, const std::vector<std::string> &tables, const std::vector<Reference> &references, bool isRebuild, int32_t type) SetDistributedTables() argument
|