Lines Matching refs:pos
373 unsigned int pos = base_idx(b) + (C); \
374 if ((check)[pos] != (state)) { \
380 (state) = (next)[pos]; \
519 unsigned int state = start, pos; in aa_dfa_match_until() local
530 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_match_until()
531 if (check[pos] == state) in aa_dfa_match_until()
532 state = next[pos]; in aa_dfa_match_until()
541 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_match_until()
542 if (check[pos] == state) in aa_dfa_match_until()
543 state = next[pos]; in aa_dfa_match_until()
580 unsigned int state = start, pos; in aa_dfa_matchn_until() local
592 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_matchn_until()
593 if (check[pos] == state) in aa_dfa_matchn_until()
594 state = next[pos]; in aa_dfa_matchn_until()
603 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_matchn_until()
604 if (check[pos] == state) in aa_dfa_matchn_until()
605 state = next[pos]; in aa_dfa_matchn_until()
619 wb->pos = (wb->pos + 1) & (wb->size - 1); \
627 unsigned int pos = wb->pos; in is_loop() local
630 if (wb->history[pos] < state) in is_loop()
634 if (wb->history[pos] == state) { in is_loop()
638 if (pos == 0) in is_loop()
639 pos = wb->size; in is_loop()
640 pos--; in is_loop()
655 unsigned int state = start, pos; in leftmatch_fb() local
674 wb->history[wb->pos] = state; in leftmatch_fb()
675 pos = base_idx(base[state]) + equiv[(u8) *str++]; in leftmatch_fb()
676 if (check[pos] == state) in leftmatch_fb()
677 state = next[pos]; in leftmatch_fb()
693 wb->history[wb->pos] = state; in leftmatch_fb()
694 pos = base_idx(base[state]) + (u8) *str++; in leftmatch_fb()
695 if (check[pos] == state) in leftmatch_fb()
696 state = next[pos]; in leftmatch_fb()