Home
last modified time | relevance | path

Searched refs:vect (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_register_conflict_test.cpp278 std::vector<DataItem> vect; in SyncPutConflictData() local
286 vect.clear(); in SyncPutConflictData()
313 std::vector<DataItem> vect; in SyncDeleteConflictData() local
321 vect.clear(); in SyncDeleteConflictData()
337 std::vector<DataItem> vect; in SyncPutFromDiffDevConflictData() local
344 vect.clear(); in SyncPutFromDiffDevConflictData()
358 std::vector<DataItem> vect; in SyncDeleteFromDiffDevConflictData() local
367 vect.clear(); in SyncDeleteFromDiffDevConflictData()
471 std::vector<DataItem> vect; variable
738 vect.clear();
[all …]
H A Ddistributeddb_storage_single_ver_natural_store_testcase.cpp334 vect.push_back(item1); in PutSyncData001()
355 vect.clear(); in PutSyncData001()
356 vect.push_back(item1); in PutSyncData001()
376 vect.clear(); in PutSyncData001()
377 vect.push_back(item1); in PutSyncData001()
450 vect.clear(); in PutSyncData002()
471 vect.clear(); in PutSyncData002()
952 vect.clear(); in ClearRemoteData001()
1185 vect.clear(); in DeleteUserKeyValue003()
1458 vect = {dataItem1}; in DeleteUserKeyValue006()
[all …]
/ohos5.0/base/telephony/sms_mms/test/fuzztest/unittest_fuzzer/
H A Dunittest_fuzzer.cpp58 T GetEnumRandom(std::vector<T> vect) in GetEnumRandom() argument
60 size_t nItem = g_size % vect.size(); in GetEnumRandom()
61 return vect[nItem]; in GetEnumRandom()
84 static std::vector<SmsEncodingType> vect{ in GetEnumRandom_SmsEncodingType() local
91 return GetEnumRandom(vect); in GetEnumRandom_SmsEncodingType()
100 return GetEnumRandom(vect); in GetEnumRandom_CdmaTransportMsgType()
104 static std::vector<DataCodingScheme> vect{ in GetEnumRandom_DataCodingScheme() local
112 return GetEnumRandom(vect); in GetEnumRandom_DataCodingScheme()
116 static std::vector<SmsTransTelsvcId> vect = { in GetEnumRandom_SmsTransTelsvcId() local
123 return GetEnumRandom(vect); in GetEnumRandom_SmsTransTelsvcId()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_tone_parser.cpp184 std::vector<int> vect; in ParseFrequency() local
188 vect.push_back(i); in ParseFrequency()
194 for (std::size_t i = 0; i < vect.size(); i++) { in ParseFrequency()
195 AUDIO_DEBUG_LOG("Freq: %{public}d", vect[i]); in ParseFrequency()
196 ltonesegment.waveFreq[i] = vect[i]; in ParseFrequency()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/nbdelegate_fuzzer/
H A Dnbdelegate_fuzzer.cpp174 std::vector<Entry> vect; in TestCRUD() local
175 kvNbDelegatePtr->GetEntries(key, vect); in TestCRUD()
176 vect.clear(); in TestCRUD()
177 kvNbDelegatePtr->GetLocalEntries(key, vect); in TestCRUD()
192 std::vector<Entry> vect; in GetDeviceEntriesTest() local
193 kvNbDelegatePtr->GetDeviceEntries(device, vect); in GetDeviceEntriesTest()
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dstartup_cfg_gen.cpp245 std::vector<std::pair<std::string, HostInfo>> vect(hostInfoMap_.begin(), hostInfoMap_.end()); in HostInfosOutput() local
248 sort(vect.begin(), vect.end(), [] (const ElementType &p1, const ElementType &p2) -> bool { in HostInfosOutput()
253 std::vector<std::pair<std::string, HostInfo>>::iterator it = vect.begin(); in HostInfosOutput()
254 for (; it != vect.end(); ++it, ++cnt) { in HostInfosOutput()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_auto_launch_test.cpp104 std::vector<uint8_t> vect(identifier.begin(), identifier.end()); in PutCommLackInfo() local
105 lackCallback_(vect, USER_ID1); in PutCommLackInfo()
303 std::vector<DataItem> vect; in PutSyncData() local
311 vect.push_back({key, value, time, 0, DBCommon::TransferHashString("deviceB")}); in PutSyncData()
312 EXPECT_EQ(DistributedDBToolsUnitTest::PutSyncDataTest(kvStore, vect, "deviceB"), E_OK); in PutSyncData()
H A Ddistributeddb_interfaces_nb_delegate_test.cpp342 std::vector<Entry> vect; variable
347 EXPECT_EQ(g_kvNbDelegatePtr->GetEntries(key1, vect), OK);
348 EXPECT_EQ(vect.size(), 2UL);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store.cpp71 std::vector<uint8_t> vect(reinterpret_cast<uint8_t *>(&block), in CalcFileBlockCheckSum() local
74 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CalcFileBlockCheckSum()
93 std::vector<uint8_t> vect(reinterpret_cast<uint8_t *>(&block), in CheckFileBlock() local
96 int errCode = DBCommon::CalcValueHash(vect, hashVect); in CheckFileBlock()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_auto_launch_test.cpp174 std::vector<DataItem> vect; in PutSyncData() local
179 vect.push_back({key, value, time, 0, DBCommon::TransferHashString(REMOTE_DEVICE_ID)}); in PutSyncData()
180 EXPECT_EQ(DistributedDBToolsUnitTest::PutSyncDataTest(kvStore, vect, REMOTE_DEVICE_ID), E_OK); in PutSyncData()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp3462 std::vector<std::string> vect = want.GetEntities(); variable
3463 EXPECT_EQ((size_t)0, vect.size());
/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp3768 std::vector<std::string> vect = want.GetEntities(); variable
3769 EXPECT_EQ((size_t)0, vect.size());