Home
last modified time | relevance | path

Searched refs:GetRandInt (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/
H A Dfuzz_test.cpp110 channel = commonTool->GetRandInt(); in HWTEST_F()
143 sampleRate = commonTool->GetRandInt(); in HWTEST_F()
176 bitRate = commonTool->GetRandInt(); in HWTEST_F()
209 sampleFormat = commonTool->GetRandInt(); in HWTEST_F()
242 complexity = commonTool->GetRandInt(); in HWTEST_F()
282 index = commonTool->GetRandInt(); in HWTEST_F()
321 index = commonTool->GetRandInt(); in HWTEST_F()
363 index = commonTool->GetRandInt(); in HWTEST_F()
H A Dcommon_tool.cpp40 int32_t CommonTool::GetRandInt() in GetRandInt() function in CommonTool
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
H A Dfuzz_test.cpp106 channel = commonTool->GetRandInt(); in HWTEST_F()
134 sampleRate = commonTool->GetRandInt(); in HWTEST_F()
168 index = commonTool->GetRandInt(); in HWTEST_F()
205 index = commonTool->GetRandInt(); in HWTEST_F()
239 index = commonTool->GetRandInt(); in HWTEST_F()
H A Dcommon_tool.cpp38 int32_t CommonTool::GetRandInt() in GetRandInt() function in CommonTool
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/include/
H A Dcommon_tool.h45 int32_t GetRandInt();
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/include/
H A Dcommon_tool.h45 int32_t GetRandInt();
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_data_generator.cpp76 int randIdx = GetRandInt(0, charSet.size() - 1); in GenerateFixedLenRandString()
92 int seed = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateRandRecord()
97 int seed = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateRandRecord()
101 int seed = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateRandRecord()
265 entry.key.push_back(charSet[GetRandInt(0, 61)]); // randrom in 61 of 0-9,A-Z,a-z. in GenerateOneRecordForImage()
324 int GetRandInt(const int randMin, const int randMax) in GetRandInt() function
347 idx = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateFixedLenRandRecords()
351 idx = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateFixedLenRandRecords()
383 idx = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charSet in GenerateFixedLenRandRecords()
H A Ddistributeddb_schema_test_tools.cpp269 int bracketTest = GetRandInt(0, 1); in GenerateRandQuery()
283 int flag = GetRandInt(0, 4); // add query condition 0-4 to brackets. in GenerateRandQuery()
H A Ddistributed_test_tools.cpp192 int index = GetRandInt(0, ONE_HUNDRED_SECONDS * MILLSECONDS_PER_SECOND) % i; in GetKeysFromEntries()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_crud_power_test.cpp137 int queryValue = GetRandInt(1, 9000); // get rand value between 1 and 9000. in HWTEST_F()
H A Ddistributeddb_nb_autolaunch_test.cpp751 GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, prefixStoreId); in HWTEST_F()
752 GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, suffixStoreId); in HWTEST_F()
H A Ddistributeddb_nb_enable_sync_by_closed_db_test.cpp738 GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, prefixStoreId); in HWTEST_F()
739 GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, suffixStoreId); in HWTEST_F()
H A Ddistributeddb_nb_predicate_query_expand_test.cpp257 int bracketNum1 = GetRandInt(0, 5); // generate the number of bracket from 0 to 5 randomly. in HWTEST_F()
269 int bracketNum2 = GetRandInt(1, 5); // generate the number of bracket from 1 to 5 randomly. in HWTEST_F()
H A Ddistributeddb_nb_batch_crud_test.cpp724 int indexOption = GetRandInt(MODE_RAND_MIN, MODE_RAND_MAX); in HWTEST_F()
H A Ddistributeddb_nb_schema_test.cpp1720 int randSubscript = GetRandInt(0, 1); in RandIndex()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.h222 static int GetRandInt(const int randMin, const int randMax);
H A Ddistributeddb_tools_unit_test.cpp1064 int DistributedDBToolsUnitTest::GetRandInt(const int randMin, const int randMax) in GetRandInt() function in DistributedDBUnitTest::DistributedDBToolsUnitTest
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/
H A Ddistributeddb_data_generator.h551 int GetRandInt(const int randMin, const int randMax);

Completed in 24 milliseconds