Home
last modified time | relevance | path

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

/base/startup/init/test/benchmark/
H A Dparameter_benchmark.cpp29 static inline int TestRandom(void) in TestRandom() function
52 // it very unlikely to generate the same TestRandom name. in valid()
53 nameLens[i] = (TestRandom() % (PARAM_NAME_LEN_MAX - 10)) + 10; // 10 name len in valid()
67 names[i][j] = paramNameChars[TestRandom() % paramNameLen]; in valid()
72 valueLens[i] = (TestRandom() % (PARAM_VALUE_LEN_MAX - 1)) + 1; in valid()
75 values[i][j] = paramNameChars[TestRandom() % (sizeof(paramNameChars) - 1)]; in valid()
136 CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRandom() % g_maxCount], "4444444"); in BMCachedParameterGet()
157 g_localParamTester->names[TestRandom() % g_maxCount], "xxxxxx"); in BMCachedParameterGetChangedStatic()
176 CachedHandle handle = CachedParameterCreate(g_localParamTester->names[TestRandom() % g_maxCount], "xxxxxxxxx"); in BMCachedParameterGetChangedGlobal()
199 handle = CachedParameterCreate(g_localParamTester->names[TestRandom() in BMCachedParameterGetChangedGlobal2()
[all...]

Completed in 1 milliseconds