Home
last modified time | relevance | path

Searched refs:CalcValueHash (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/
H A Dvalue_hash.h29 bool CalcValueHash(const std::string &input, std::string &res) in CalcValueHash() function
H A Dhiview_adapter.cpp248 if (!vh.CalcValueHash(stat.val.userId, userId)) { in ReportDbSize()
325 if (!vh.CalcValueHash(kv.second.val.deviceId, deviceId)) { in InvokeTraffic()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Dsingle_ver_natural_store_commit_notify_data.cpp69 DBCommon::CalcValueHash(entry.key, hashKey); in InsertCommittedData()
113 DBCommon::CalcValueHash(itemInfo.dataItem.key, hashKey); in InsertConflictedItem()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_subscribe_query_test.cpp390 DBCommon::CalcValueHash({'K', i}, item.key);
454 DBCommon::CalcValueHash({'K', 'e', 'y'}, itemMiss.key);
511 DBCommon::CalcValueHash({'K', 'e', 'y'}, itemMiss.key);
567 DBCommon::CalcValueHash({'K', 'e', 'y'}, itemMiss.key);
805 DBCommon::CalcValueHash({'K', '0'}, hashKey);
H A Ddistributeddb_storage_single_ver_upgrade_test.cpp195 EXPECT_EQ(DBCommon::CalcValueHash(g_origValue, calcValue), E_OK); in CheckLocalDataV1ToV2()
H A Ddistributeddb_storage_data_operation_test.cpp480 errCode = DBCommon::CalcValueHash(value, hashValue); in CheckSplitData()
H A Ddistributeddb_storage_transaction_data_test.cpp205 DBCommon::CalcValueHash(key, hashKey); in PushOneEntry()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/test/unittest/
H A Ddistributeddata_dfx_ut_test.cpp251 vh.CalcValueHash(myuid, result);
454 vh.CalcValueHash(myuid, result);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_multi_ver_transaction.cpp201 errCode = DBCommon::CalcValueHash(key, hashKey); in Delete()
250 errCode = DBCommon::CalcValueHash(key, hashKey); in Get()
684 (void)DBCommon::CalcValueHash(item.key, versionData.key); in GetEntriesByVersion()
1248 errCode = DBCommon::CalcValueHash(key, hashKey); in BindAddRecordKeysToStatement()
1328 errCode = DBCommon::CalcValueHash(entry.key, hashKey); in GetOneEntry()
1381 errCode = DBCommon::CalcValueHash(key, hashKey); in CheckIfNeedSaveRecord()
H A Dsqlite_single_ver_storage_executor.cpp175 errCode = DBCommon::CalcValueHash(key, hashKey); in BindPutKvData()
293 int innerErrCode = DBCommon::CalcValueHash(key, hashKey); in PutKvData()
683 … DBCommon::CalcValueHash(fullItem.key, fullItem.key); // set and send key with hash_key in GetSyncDataWithQuery()
1574 int errCode = DBCommon::CalcValueHash(itemPut.key, hashKey); in GetSyncDataItemPre()
1624 int innerErrCode = DBCommon::CalcValueHash(key, hashKey); in DeleteLocalDataInner()
2220 DBCommon::CalcValueHash(context->newKey, hashKey); in CalHashKey()
H A Dsqlite_single_ver_natural_store_connection.cpp927 DBCommon::CalcValueHash(key, entry.key); in DeleteSyncEntries()
993 (void)DBCommon::CalcValueHash(entry.key, dataItem.hashKey); in SaveLocalEntry()
1475 int errCode = DBCommon::CalcValueHash(localRecord.key, hashKey); in PublishInner()
1584 errCode = DBCommon::CalcValueHash(key, hashKey); in UnpublishInner()
H A Dsqlite_single_ver_storage_executor_cache.cpp87 int errCode = DBCommon::CalcValueHash(REMOVE_DEVICE_DATA_KEY, hashKey); in RemoveDeviceDataInCacheMode()
637 errCode = DBCommon::CalcValueHash(dataItem.key, hashKey); in SaveSyncDataItemInCacheMode()
H A Dquery_sync_object.cpp189 if (parcel.IsError() || DBCommon::CalcValueHash(buff, hashBuff) != E_OK) { in GetIdentify()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/
H A Dintercepted_data_impl.cpp133 int errCode = DBCommon::CalcValueHash(newKey, hashKey); in ModifyKey()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_common.h58 static int CalcValueHash(const std::vector<uint8_t> &Value, std::vector<uint8_t> &hashValue);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_manager.cpp224 errCode = DBCommon::CalcValueHash(tempRes, result); in CalcPrimaryKeyHash()
H A Drelational_store_sqlite_ext.cpp413 int CalcValueHash(const std::vector<uint8_t> &value, std::vector<uint8_t> &hashValue) in CalcValueHash() function
460 errCode = CalcValueHash(value, hashValue); in CalcHashKey()
470 errCode = CalcValueHash(value, hashValue); in CalcHashKey()
480 errCode = CalcValueHash(value, hashValue); in CalcHashKey()
614 int errCode = CalcValueHash(strVec, hashVec); in GetHashString()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Ddb_common.cpp150 int errCode = CalcValueHash(devVect, hashVect); in TransferHashString()
173 int DBCommon::CalcValueHash(const std::vector<uint8_t> &value, std::vector<uint8_t> &hashValue) in CalcValueHash() function in DistributedDB::DBCommon
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp74 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CalcFileBlockCheckSum()
96 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CheckFileBlock()
H A Dmulti_ver_storage_executor.cpp1057 if (DBCommon::CalcValueHash(partValue, hashValue) != E_OK) { in TransferToValueObject()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_storage_utils.cpp667 return DBCommon::CalcValueHash(value, hashValue); in CalculateHashKeyForOneField()
1029 errCode = DBCommon::CalcValueHash(tempRes, hashValue); in GetHashValueWithPrimaryKeyMap()
1377 (void)DBCommon::CalcValueHash(dataItem.key, dataItem.hashKey); in GetDataItemFromCloudData()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp767 DBCommon::CalcValueHash({}, hashKey); in operator ()()
987 DBCommon::CalcValueHash({}, hashKey); in operator ()()
H A Ddistributeddb_interfaces_relational_test.cpp1190 DBCommon::CalcValueHash(key, hashKey); in operator ()()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_storage_executor.cpp754 int errCode = DBCommon::CalcValueHash(entry.key, notify.hashKey); in PrepareForNotifyConflictAndObserver()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_executor_extend.cpp179 errCode = DBCommon::CalcValueHash(value, hashValue); in GetPrimaryKeyHashValue()

12