Lines Matching refs:state_index
137 static int state_num=0,state_index=0;
182 state_index=0;
224 st_idx=state_index;
235 /* state_index <= state_num <= STATE_SIZE */
236 state_index += num;
237 if (state_index >= STATE_SIZE)
239 state_index%=STATE_SIZE;
244 if (state_index > state_num)
245 state_num=state_index;
247 /* state_index <= state_num <= STATE_SIZE */
433 st_idx=state_index;
439 state_index+=num_ceil;
440 if (state_index > state_num)
441 state_index %= state_num;