Lines Matching refs:todo_ix
174 int todo_ix; member
379 if(state->todo_ix >= state->allocated_steps) { in code128_alloc_step()
385 struct code128_step * step = &state->steps[state->todo_ix]; in code128_alloc_step()
416 if(code128_do_c_step(state->steps, state->current_ix, state->todo_ix)) { in code128_do_step()
417 state->todo_ix++; in code128_do_step()
425 if(code128_do_a_step(state->steps, state->current_ix, state->todo_ix) || in code128_do_step()
426 code128_do_b_step(state->steps, state->current_ix, state->todo_ix)) in code128_do_step()
427 state->todo_ix++; in code128_do_step()
432 if(code128_do_b_step(state->steps, state->current_ix, state->todo_ix) || in code128_do_step()
433 code128_do_a_step(state->steps, state->current_ix, state->todo_ix)) in code128_do_step()
434 state->todo_ix++; in code128_do_step()
443 if(code128_do_a_step(state->steps, state->current_ix, state->todo_ix)) { in code128_do_step()
444 state->todo_ix++; in code128_do_step()
447 if(code128_do_b_step(state->steps, state->current_ix, state->todo_ix)) in code128_do_step()
448 state->todo_ix++; in code128_do_step()
469 state.todo_ix = 0; in code128_encode_raw()
492 state.todo_ix = 3; in code128_encode_raw()
498 } while(state.current_ix != state.todo_ix); in code128_encode_raw()