Searched refs:ONE_HUNDRED_PERCENT (Results 1 – 2 of 2) sorted by relevance
89 const int ONE_HUNDRED_PERCENT = 100; variable118 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()
25 const int ONE_HUNDRED_PERCENT = 100; variable41 int keyCodePercent = rand() % ONE_HUNDRED_PERCENT; in RandomInput()