Home
last modified time | relevance | path

Searched refs:references (Results 1 - 25 of 31) sorted by relevance

12

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dcollaboration_log_table_manager.cpp25 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 Dsplit_device_log_table_manager.cpp19 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 Dsimple_tracker_log_table_manager.cpp21 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 Dcloud_sync_log_table_manager.cpp22 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 Dsimple_tracker_log_table_manager.h27 // 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 Dsplit_device_log_table_manager.h27 // 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 Dcloud_sync_log_table_manager.h27 // 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 Dcollaboration_log_table_manager.h27 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 Ditem_ref_box.cpp118 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 Dsqlite_log_table_manager.h28 virtual std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table,
H A Dsqlite_utils.h187 static std::string CalcPrimaryKeyHash(const std::string &references, const TableInfo &table);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_service_stub.cpp114 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 Drdb_service_impl.h58 const std::vector<Reference> &references, bool isRebuild, int32_t type = DISTRIBUTED_DEVICE) override;
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_service.h45 const std::vector<Reference> &references, bool isRebuild, int32_t type = DISTRIBUTED_DEVICE) = 0;
H A Drdb_types.h110 std::vector<Reference> references = {}; member
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/
H A Dgeneral_store_mock.h29 const std::vector<std::string> &tables, int32_t type, const std::vector<Reference> &references) override;
H A Dgeneral_store_mock.cpp35 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 Dheif_parser.cpp573 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 Drdb_general_store_test.cpp909 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 Dgeneral_store.h132 const std::vector<std::string> &tables, int type, const std::vector<Reference> &references) = 0;
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drdb_service_proxy.h44 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 Ddata_ability_operation_test.cpp617 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 Dkvdb_general_store.h51 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 Drelational_schema_object.cpp857 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 Drdb_service_proxy.cpp180 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

Completed in 17 milliseconds

12