/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/src/ |
H A D | value_hash.h | 29 bool CalcValueHash(const std::string &input, std::string &res) in CalcValueHash() function
|
H A D | hiview_adapter.cpp | 248 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 D | single_ver_natural_store_commit_notify_data.cpp | 69 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 D | distributeddb_storage_subscribe_query_test.cpp | 390 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 D | distributeddb_storage_single_ver_upgrade_test.cpp | 195 EXPECT_EQ(DBCommon::CalcValueHash(g_origValue, calcValue), E_OK); in CheckLocalDataV1ToV2()
|
H A D | distributeddb_storage_data_operation_test.cpp | 480 errCode = DBCommon::CalcValueHash(value, hashValue); in CheckSplitData()
|
H A D | distributeddb_storage_transaction_data_test.cpp | 205 DBCommon::CalcValueHash(key, hashKey); in PushOneEntry()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/dfx/test/unittest/ |
H A D | distributeddata_dfx_ut_test.cpp | 251 vh.CalcValueHash(myuid, result); 454 vh.CalcValueHash(myuid, result);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_multi_ver_transaction.cpp | 201 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 D | sqlite_single_ver_storage_executor.cpp | 175 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 D | sqlite_single_ver_natural_store_connection.cpp | 927 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 D | sqlite_single_ver_storage_executor_cache.cpp | 87 int errCode = DBCommon::CalcValueHash(REMOVE_DEVICE_DATA_KEY, hashKey); in RemoveDeviceDataInCacheMode() 637 errCode = DBCommon::CalcValueHash(dataItem.key, hashKey); in SaveSyncDataItemInCacheMode()
|
H A D | query_sync_object.cpp | 189 if (parcel.IsError() || DBCommon::CalcValueHash(buff, hashBuff) != E_OK) { in GetIdentify()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | intercepted_data_impl.cpp | 133 int errCode = DBCommon::CalcValueHash(newKey, hashKey); in ModifyKey()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_common.h | 58 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 D | relational_store_manager.cpp | 224 errCode = DBCommon::CalcValueHash(tempRes, result); in CalcPrimaryKeyHash()
|
H A D | relational_store_sqlite_ext.cpp | 413 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 D | db_common.cpp | 150 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 D | multi_ver_natural_store.cpp | 74 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CalcFileBlockCheckSum() 96 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CheckFileBlock()
|
H A D | multi_ver_storage_executor.cpp | 1057 if (DBCommon::CalcValueHash(partValue, hashValue) != E_OK) { in TransferToValueObject()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | cloud_storage_utils.cpp | 667 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 D | distributeddb_interfaces_relational_sync_test.cpp | 767 DBCommon::CalcValueHash({}, hashKey); in operator ()() 987 DBCommon::CalcValueHash({}, hashKey); in operator ()()
|
H A D | distributeddb_interfaces_relational_test.cpp | 1190 DBCommon::CalcValueHash(key, hashKey); in operator ()()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_single_ver_storage_executor.cpp | 754 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 D | sqlite_single_ver_relational_storage_executor_extend.cpp | 179 errCode = DBCommon::CalcValueHash(value, hashValue); in GetPrimaryKeyHashValue()
|