Home
last modified time | relevance | path

Searched refs:ONE_HUNDRED_PERCENT (Results 1 – 2 of 2) sorted by relevance

/test/ostest/wukong/test_flow/src/
Drandom_test_flow.cpp89 const int ONE_HUNDRED_PERCENT = 100; variable
118 int sumLastDefaultPercent = ONE_HUNDRED_PERCENT; in InitEventPercent()
137 if (sumPercent > ONE_HUNDRED_PERCENT) { in InitEventPercent()
144 int lastPercent = ONE_HUNDRED_PERCENT - sumPercent; in InitEventPercent()
147 if (lastDefaultPercent[type] <= 0 || lastDefaultPercent[type] > ONE_HUNDRED_PERCENT || in InitEventPercent()
160 for (int index = 0; index < ONE_HUNDRED_PERCENT - sumPercent; index++) { in InitEventPercent()
225 inputPercent_[inputType] = (int)(percent * ONE_HUNDRED_PERCENT); in SetInputPercent()
285 int eventindex = rand() % ONE_HUNDRED_PERCENT; in RunStep()
/test/ostest/wukong/input_factory/src/
Dkeyboard_input.cpp25 const int ONE_HUNDRED_PERCENT = 100; variable
41 int keyCodePercent = rand() % ONE_HUNDRED_PERCENT; in RandomInput()