Home
last modified time | relevance | path

Searched refs:datValue (Results 1 – 25 of 29) sorted by relevance

12

/dports/net-p2p/zetacoin-daemon/zetacoin-0.13.2.1/src/wallet/
H A Ddb.h128 Dbt datValue; in Read() local
129 datValue.set_flags(DB_DBT_MALLOC); in Read()
132 if (datValue.get_data() == NULL) in Read()
137 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
144 memset(datValue.get_data(), 0, datValue.get_size()); in Read()
145 free(datValue.get_data()); in Read()
174 memset(datValue.get_data(), 0, datValue.get_size());
239 Dbt datValue; variable
258 ssValue.write((char*)datValue.get_data(), datValue.get_size());
262 memset(datValue.get_data(), 0, datValue.get_size());
[all …]
/dports/net-p2p/zetacoin-utils/zetacoin-0.13.2.1/src/wallet/
H A Ddb.h128 Dbt datValue; in Read() local
129 datValue.set_flags(DB_DBT_MALLOC); in Read()
132 if (datValue.get_data() == NULL) in Read()
137 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
144 memset(datValue.get_data(), 0, datValue.get_size()); in Read()
145 free(datValue.get_data()); in Read()
174 memset(datValue.get_data(), 0, datValue.get_size());
239 Dbt datValue; variable
258 ssValue.write((char*)datValue.get_data(), datValue.get_size());
262 memset(datValue.get_data(), 0, datValue.get_size());
[all …]
H A Ddb.cpp408 Dbt datValue(&ssValue[0], ssValue.size()); in Rewrite() local
409 int ret2 = pdbCopy->put(NULL, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/zetacoin/zetacoin-0.13.2.1/src/wallet/
H A Ddb.h128 Dbt datValue; in Read() local
129 datValue.set_flags(DB_DBT_MALLOC); in Read()
132 if (datValue.get_data() == NULL) in Read()
137 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
144 memset(datValue.get_data(), 0, datValue.get_size()); in Read()
145 free(datValue.get_data()); in Read()
174 memset(datValue.get_data(), 0, datValue.get_size());
239 Dbt datValue; variable
258 ssValue.write((char*)datValue.get_data(), datValue.get_size());
262 memset(datValue.get_data(), 0, datValue.get_size());
[all …]
H A Ddb.cpp408 Dbt datValue(&ssValue[0], ssValue.size()); in Rewrite() local
409 int ret2 = pdbCopy->put(NULL, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/litecoin/litecoin-0.18.1/src/wallet/
H A Ddb.h261 SafeDbt datValue; in Read() local
262 int ret = pdb->get(activeTxn, datKey, datValue, 0); in Read()
264 if (datValue.get_data() != nullptr) { in Read()
267 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
295 SafeDbt datValue(ssValue.data(), ssValue.size());
298 int ret = pdb->put(activeTxn, datKey, datValue, (fOverwrite ? 0 : DB_NOOVERWRITE));
353 SafeDbt datValue; in ReadAtCursor() local
354 int ret = pcursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
357 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
366 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
H A Ddb.cpp382 Dbt datValue(&row.second[0], row.second.size()); in Recover() local
383 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in Recover()
734 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
735 int ret2 = pdbCopy->put(nullptr, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/wallet/
H A Ddb.h261 SafeDbt datValue; in Read() local
262 int ret = pdb->get(activeTxn, datKey, datValue, 0); in Read()
264 if (datValue.get_data() != nullptr) { in Read()
267 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
295 SafeDbt datValue(ssValue.data(), ssValue.size());
298 int ret = pdb->put(activeTxn, datKey, datValue, (fOverwrite ? 0 : DB_NOOVERWRITE));
353 SafeDbt datValue; in ReadAtCursor() local
354 int ret = pcursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
357 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
366 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
H A Ddb.cpp382 Dbt datValue(&row.second[0], row.second.size()); in Recover() local
383 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in Recover()
734 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
735 int ret2 = pdbCopy->put(nullptr, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/wallet/
H A Ddb.h261 SafeDbt datValue; in Read() local
262 int ret = pdb->get(activeTxn, datKey, datValue, 0); in Read()
264 if (datValue.get_data() != nullptr) { in Read()
267 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
295 SafeDbt datValue(ssValue.data(), ssValue.size());
298 int ret = pdb->put(activeTxn, datKey, datValue, (fOverwrite ? 0 : DB_NOOVERWRITE));
353 SafeDbt datValue; in ReadAtCursor() local
354 int ret = pcursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
357 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
366 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
H A Ddb.cpp382 Dbt datValue(&row.second[0], row.second.size()); in Recover() local
383 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in Recover()
734 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
735 int ret2 = pdbCopy->put(nullptr, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/wallet/
H A Ddb.h262 SafeDbt datValue; in Read() local
263 int ret = pdb->get(activeTxn, datKey, datValue, 0); in Read()
265 if (datValue.get_data() != nullptr) { in Read()
268 …CDataStream ssValue((char*)datValue.get_data(), (char*)datValue.get_data() + datValue.get_size(), … in Read()
296 SafeDbt datValue(ssValue.data(), ssValue.size());
299 int ret = pdb->put(activeTxn, datKey, datValue, (fOverwrite ? 0 : DB_NOOVERWRITE));
354 SafeDbt datValue; in ReadAtCursor() local
355 int ret = pcursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
358 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
367 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
H A Ddb.cpp385 Dbt datValue(&row.second[0], row.second.size()); in Recover() local
386 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in Recover()
732 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
733 int ret2 = pdbCopy->put(nullptr, &datKey, &datValue, DB_NOOVERWRITE); in Rewrite()
/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/wallet/
H A Dbdb.cpp499 Dbt datValue(ssValue.data(), ssValue.size());
670 SafeDbt datValue;
671 int ret = m_cursor->get(datKey, datValue, DB_NEXT);
677 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr)
686 ssValue.write((char*)datValue.get_data(), datValue.get_size());
755 SafeDbt datValue;
756 int ret = pdb->get(activeTxn, datKey, datValue, 0);
757 if (ret == 0 && datValue.get_data() != nullptr) {
758 value.write((char*)datValue.get_data(), datValue.get_size());
773 SafeDbt datValue(value.data(), value.size());
[all …]
H A Dsalvage.cpp158 Dbt datValue(row.second.data(), row.second.size()); in RecoverDatabaseFile() local
159 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/wallet/
H A Dbdb.cpp499 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
670 SafeDbt datValue; in ReadAtCursor() local
671 int ret = m_cursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
677 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
686 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
755 SafeDbt datValue; in ReadKey() local
756 int ret = pdb->get(activeTxn, datKey, datValue, 0); in ReadKey()
757 if (ret == 0 && datValue.get_data() != nullptr) { in ReadKey()
758 value.write((char*)datValue.get_data(), datValue.get_size()); in ReadKey()
773 SafeDbt datValue(value.data(), value.size()); in WriteKey() local
[all …]
H A Dsalvage.cpp158 Dbt datValue(row.second.data(), row.second.size()); in RecoverDatabaseFile() local
159 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/wallet/
H A Dbdb.cpp502 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
673 SafeDbt datValue; in ReadAtCursor() local
674 int ret = m_cursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
680 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
689 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
741 SafeDbt datValue; in ReadKey() local
742 int ret = pdb->get(activeTxn, datKey, datValue, 0); in ReadKey()
743 if (ret == 0 && datValue.get_data() != nullptr) { in ReadKey()
744 value.write((char*)datValue.get_data(), datValue.get_size()); in ReadKey()
759 SafeDbt datValue(value.data(), value.size()); in WriteKey() local
[all …]
H A Dsalvage.cpp155 Dbt datValue(&row.second[0], row.second.size()); in RecoverDatabaseFile() local
156 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/wallet/
H A Dbdb.cpp502 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
673 SafeDbt datValue; in ReadAtCursor() local
674 int ret = m_cursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
680 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
689 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
741 SafeDbt datValue; in ReadKey() local
742 int ret = pdb->get(activeTxn, datKey, datValue, 0); in ReadKey()
743 if (ret == 0 && datValue.get_data() != nullptr) { in ReadKey()
744 value.write((char*)datValue.get_data(), datValue.get_size()); in ReadKey()
759 SafeDbt datValue(value.data(), value.size()); in WriteKey() local
[all …]
H A Dsalvage.cpp155 Dbt datValue(&row.second[0], row.second.size()); in RecoverDatabaseFile() local
156 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/wallet/
H A Dbdb.cpp502 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
673 SafeDbt datValue; in ReadAtCursor() local
674 int ret = m_cursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
680 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
689 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
741 SafeDbt datValue; in ReadKey() local
742 int ret = pdb->get(activeTxn, datKey, datValue, 0); in ReadKey()
743 if (ret == 0 && datValue.get_data() != nullptr) { in ReadKey()
744 value.write((char*)datValue.get_data(), datValue.get_size()); in ReadKey()
759 SafeDbt datValue(value.data(), value.size()); in WriteKey() local
[all …]
H A Dsalvage.cpp155 Dbt datValue(&row.second[0], row.second.size()); in RecoverDatabaseFile() local
156 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()
/dports/net-p2p/bitcoin/bitcoin-22.0/src/wallet/
H A Dbdb.cpp499 Dbt datValue(ssValue.data(), ssValue.size()); in Rewrite() local
670 SafeDbt datValue; in ReadAtCursor() local
671 int ret = m_cursor->get(datKey, datValue, DB_NEXT); in ReadAtCursor()
677 else if (datKey.get_data() == nullptr || datValue.get_data() == nullptr) in ReadAtCursor()
686 ssValue.write((char*)datValue.get_data(), datValue.get_size()); in ReadAtCursor()
755 SafeDbt datValue; in ReadKey() local
756 int ret = pdb->get(activeTxn, datKey, datValue, 0); in ReadKey()
757 if (ret == 0 && datValue.get_data() != nullptr) { in ReadKey()
758 value.write((char*)datValue.get_data(), datValue.get_size()); in ReadKey()
773 SafeDbt datValue(value.data(), value.size()); in WriteKey() local
[all …]
H A Dsalvage.cpp158 Dbt datValue(row.second.data(), row.second.size()); in RecoverDatabaseFile() local
159 int ret2 = pdbCopy->put(ptxn, &datKey, &datValue, DB_NOOVERWRITE); in RecoverDatabaseFile()

12