Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/
H A Dfuzz_test.cpp110 channel = commonTool->GetRandInt();
143 sampleRate = commonTool->GetRandInt();
176 bitRate = commonTool->GetRandInt();
209 sampleFormat = commonTool->GetRandInt();
242 complexity = commonTool->GetRandInt();
282 index = commonTool->GetRandInt();
321 index = commonTool->GetRandInt();
363 index = commonTool->GetRandInt();
H A Dcommon_tool.cpp40 int32_t CommonTool::GetRandInt() in GetRandInt() function in CommonTool
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/
H A Dfuzz_test.cpp106 channel = commonTool->GetRandInt();
134 sampleRate = commonTool->GetRandInt();
168 index = commonTool->GetRandInt();
205 index = commonTool->GetRandInt();
239 index = commonTool->GetRandInt();
H A Dcommon_tool.cpp38 int32_t CommonTool::GetRandInt() in GetRandInt() function in CommonTool
/ohos5.0/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 … in GenerateRandRecord()
97 …int seed = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of … in GenerateRandRecord()
101 …int seed = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of … 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 charS… in GenerateFixedLenRandRecords()
351 …idx = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charS… in GenerateFixedLenRandRecords()
383 …idx = GetRandInt(0, 61); // the seed range is from 0 to 61 which is the elements quantity of charS… 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()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/include/
H A Dcommon_tool.h45 int32_t GetRandInt();
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/include/
H A Dcommon_tool.h45 int32_t GetRandInt();
/ohos5.0/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.
H A Ddistributeddb_nb_autolaunch_test.cpp751 …GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, pref…
752 …GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, suff…
H A Ddistributeddb_nb_enable_sync_by_closed_db_test.cpp738 …GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, pref…
739 …GenerateFixedLenRandString(GetRandInt(STRING_ONE_BYTE, STRING_TEN_BYTE), RandType::ALPHA_NUM, suff…
H A Ddistributeddb_nb_predicate_query_expand_test.cpp257 int bracketNum1 = GetRandInt(0, 5); // generate the number of bracket from 0 to 5 randomly.
269 int bracketNum2 = GetRandInt(1, 5); // generate the number of bracket from 1 to 5 randomly.
H A Ddistributeddb_nb_batch_crud_test.cpp724 int indexOption = GetRandInt(MODE_RAND_MIN, MODE_RAND_MAX);
H A Ddistributeddb_nb_schema_test.cpp1720 int randSubscript = GetRandInt(0, 1); in RandIndex()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.h218 static int GetRandInt(const int randMin, const int randMax);
H A Ddistributeddb_tools_unit_test.cpp1027 int DistributedDBToolsUnitTest::GetRandInt(const int randMin, const int randMax) in GetRandInt() function in DistributedDBUnitTest::DistributedDBToolsUnitTest
/ohos5.0/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);