/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | fuzz_test.cpp | 110 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 D | common_tool.cpp | 40 int32_t CommonTool::GetRandInt() in GetRandInt() function in CommonTool
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | fuzz_test.cpp | 106 channel = commonTool->GetRandInt(); 134 sampleRate = commonTool->GetRandInt(); 168 index = commonTool->GetRandInt(); 205 index = commonTool->GetRandInt(); 239 index = commonTool->GetRandInt();
|
H A D | common_tool.cpp | 38 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 D | distributeddb_data_generator.cpp | 76 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 D | distributeddb_schema_test_tools.cpp | 269 int bracketTest = GetRandInt(0, 1); in GenerateRandQuery() 283 int flag = GetRandInt(0, 4); // add query condition 0-4 to brackets. in GenerateRandQuery()
|
H A D | distributed_test_tools.cpp | 192 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 D | common_tool.h | 45 int32_t GetRandInt();
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/include/ |
H A D | common_tool.h | 45 int32_t GetRandInt();
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_crud_power_test.cpp | 137 int queryValue = GetRandInt(1, 9000); // get rand value between 1 and 9000.
|
H A D | distributeddb_nb_autolaunch_test.cpp | 751 …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 D | distributeddb_nb_enable_sync_by_closed_db_test.cpp | 738 …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 D | distributeddb_nb_predicate_query_expand_test.cpp | 257 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 D | distributeddb_nb_batch_crud_test.cpp | 724 int indexOption = GetRandInt(MODE_RAND_MIN, MODE_RAND_MAX);
|
H A D | distributeddb_nb_schema_test.cpp | 1720 int randSubscript = GetRandInt(0, 1); in RandIndex()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_tools_unit_test.h | 218 static int GetRandInt(const int randMin, const int randMax);
|
H A D | distributeddb_tools_unit_test.cpp | 1027 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 D | distributeddb_data_generator.h | 551 int GetRandInt(const int randMin, const int randMax);
|