Searched refs:ONE_HUNDRED_PERCENT (Results 1 – 3 of 3) sorted by relevance
25 const int ONE_HUNDRED_PERCENT = 100; variable41 int keyCodePercent = rand() % ONE_HUNDRED_PERCENT; in RandomInput()
110 const int ONE_HUNDRED_PERCENT = 100; variable145 int sumLastDefaultPercent = ONE_HUNDRED_PERCENT; in InitEventPercent()164 if (sumPercent > ONE_HUNDRED_PERCENT) { in InitEventPercent()171 int lastPercent = ONE_HUNDRED_PERCENT - sumPercent; in InitEventPercent()174 if (lastDefaultPercent[type] <= 0 || lastDefaultPercent[type] > ONE_HUNDRED_PERCENT || in InitEventPercent()187 for (int index = 0; index < ONE_HUNDRED_PERCENT - sumPercent; index++) { in InitEventPercent()255 inputPercent_[inputType] = (int)(percent * ONE_HUNDRED_PERCENT); in SetInputPercent()382 int eventindex = rand() % ONE_HUNDRED_PERCENT; in RunStep()
109 const int ONE_HUNDRED_PERCENT = 100; variable146 int sumLastDefaultPercent = ONE_HUNDRED_PERCENT; in InitEventPercent()165 if (sumPercent > ONE_HUNDRED_PERCENT) { in InitEventPercent()172 int lastPercent = ONE_HUNDRED_PERCENT - sumPercent; in InitEventPercent()175 if (lastDefaultPercent[type] <= 0 || lastDefaultPercent[type] > ONE_HUNDRED_PERCENT || in InitEventPercent()188 for (int index = 0; index < ONE_HUNDRED_PERCENT - sumPercent; index++) { in InitEventPercent()255 inputPercent_[inputType] = (int)(percent * ONE_HUNDRED_PERCENT); in SetInputPercent()384 int eventindex = rand() % ONE_HUNDRED_PERCENT; in RunStep()