Searched refs:GetValueWithInt (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_transaction_test.cpp | 1228 Value base = GetValueWithInt(baseNumer); 1253 KEY_CONS_2, GetValueWithInt(VALUE_CHANGE1_SECOND))); 1259 KEY_CONS_2, GetValueWithInt(VALUE_CHANGE2_SECOND))); 1342 entries1[i].value = GetValueWithInt(GetIntValue(values1[i].value) + 1); in TransactionCheckConsistency() 1343 entries2[i].value = GetValueWithInt(GetIntValue(values2[i].value) - 1); in TransactionCheckConsistency() 1354 entries1[i].value = GetValueWithInt(GetIntValue(values1[i].value) + EVEN_NUMBER); in TransactionCheckConsistency() 1394 entries1[i].value = GetValueWithInt(i); 1395 entries2[i].value = GetValueWithInt(TWENTY_RECORDS - i); 1466 DBStatus statusGetTicket = delegate->Put(num, GetValueWithInt(0)); in IsolationBussiness() 1467 DBStatus statusPut = delegate->Put(key, GetValueWithInt(resultPlus)); in IsolationBussiness() [all …]
|
H A D | distributed_crud_transaction_tools.cpp | 56 entriesBatch[i].value = GetValueWithInt(this->presetValue_); in PresetValue() 183 entriesBatch_[0].value = GetValueWithInt(SMALL_VALUE_SIZE); in Action2() 235 entriesBatch_[i].value = GetValueWithInt(this->presetValue_); in testCrudTransaction()
|
H A D | distributeddb_nb_batch_crud_test.cpp | 1785 Value base = GetValueWithInt(baseNumer); 1809 …suThreads.push_back(std::thread(ConsistencyChange, KEY_CONS_1, GetValueWithInt(VALUE_CHANGE1_FIRST… 1810 KEY_CONS_2, GetValueWithInt(VALUE_CHANGE1_SECOND))); 1815 …suThreads.push_back(std::thread(ConsistencyChange, KEY_CONS_1, GetValueWithInt(VALUE_CHANGE2_FIRST… 1816 KEY_CONS_2, GetValueWithInt(VALUE_CHANGE2_SECOND))); 1890 entries1[i].value = GetValueWithInt(GetIntValue(values1[i].value) + 1); in ConsistencyCheckTransaction() 1891 entries2[i].value = GetValueWithInt(GetIntValue(values2[i].value) - 1); in ConsistencyCheckTransaction() 1900 entries1[i].value = GetValueWithInt(GetIntValue(values1[i].value) + EVEN_NUMBER); in ConsistencyCheckTransaction() 1901 entries2[i].value = GetValueWithInt(GetIntValue(values2[i].value) - EVEN_NUMBER); in ConsistencyCheckTransaction() 1935 entries1[i].value = GetValueWithInt(i); [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/ |
H A D | distributed_test_tools.h | 117 DistributedDB::Value GetValueWithInt(int val);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
H A D | distributed_test_tools.cpp | 218 Value GetValueWithInt(int val) in GetValueWithInt() function
|