Searched refs:state_index (Results 1 – 2 of 2) sorted by relevance
137 static int state_num=0,state_index=0; variable182 state_index=0; in ssleay_rand_cleanup()224 st_idx=state_index; in ssleay_rand_add()236 state_index += num; in ssleay_rand_add()237 if (state_index >= STATE_SIZE) in ssleay_rand_add()239 state_index%=STATE_SIZE; in ssleay_rand_add()244 if (state_index > state_num) in ssleay_rand_add()245 state_num=state_index; in ssleay_rand_add()433 st_idx=state_index; in ssleay_rand_bytes()439 state_index+=num_ceil; in ssleay_rand_bytes()[all …]
465 int state_index=-1; in complete_command() local475 state_index++; in complete_command()476 if (state==state_index) { in complete_command()486 state_index++; in complete_command()487 if (state==state_index) in complete_command()497 state_index++; in complete_command()498 if (state==state_index) in complete_command()506 state_index++; in complete_command()507 if (state==state_index) in complete_command()