Lines Matching refs:rws
415 RWS_anchor *rws = *rwsptr; in more_workspace() local
418 if (rws->next != NULL) in more_workspace()
420 new = rws->next; in more_workspace()
429 uint32_t newsize = (rws->size >= UINT32_MAX/2)? UINT32_MAX/2 : rws->size * 2; in more_workspace()
443 rws->next = new; in more_workspace()
2695 RWS_anchor *rws = (RWS_anchor *)RWS; in internal_dfa_match() local
2697 if (rws->free < RWS_RSIZE + RWS_OVEC_OSIZE) in internal_dfa_match()
2699 rc = more_workspace(&rws, RWS_OVEC_OSIZE, mb); in internal_dfa_match()
2701 RWS = (int *)rws; in internal_dfa_match()
2704 local_offsets = (PCRE2_SIZE *)(RWS + rws->size - rws->free); in internal_dfa_match()
2706 rws->free -= RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
2722 rws->free += RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
2794 RWS_anchor *rws = (RWS_anchor *)RWS; in internal_dfa_match() local
2796 if (rws->free < RWS_RSIZE + RWS_OVEC_OSIZE) in internal_dfa_match()
2798 rc = more_workspace(&rws, RWS_OVEC_OSIZE, mb); in internal_dfa_match()
2800 RWS = (int *)rws; in internal_dfa_match()
2803 local_offsets = (PCRE2_SIZE *)(RWS + rws->size - rws->free); in internal_dfa_match()
2805 rws->free -= RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
2821 rws->free += RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
2839 RWS_anchor *rws = (RWS_anchor *)RWS; in internal_dfa_match() local
2845 if (rws->free < RWS_RSIZE + RWS_OVEC_RSIZE) in internal_dfa_match()
2847 rc = more_workspace(&rws, RWS_OVEC_RSIZE, mb); in internal_dfa_match()
2849 RWS = (int *)rws; in internal_dfa_match()
2852 local_offsets = (PCRE2_SIZE *)(RWS + rws->size - rws->free); in internal_dfa_match()
2854 rws->free -= RWS_RSIZE + RWS_OVEC_RSIZE; in internal_dfa_match()
2884 rws->free += RWS_RSIZE + RWS_OVEC_RSIZE; in internal_dfa_match()
2935 RWS_anchor *rws = (RWS_anchor *)RWS; in internal_dfa_match() local
2938 if (rws->free < RWS_RSIZE + RWS_OVEC_OSIZE) in internal_dfa_match()
2940 rc = more_workspace(&rws, RWS_OVEC_OSIZE, mb); in internal_dfa_match()
2942 RWS = (int *)rws; in internal_dfa_match()
2945 local_offsets = (PCRE2_SIZE *)(RWS + rws->size - rws->free); in internal_dfa_match()
2947 rws->free -= RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
2988 rws->free += RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
3035 RWS_anchor *rws = (RWS_anchor *)RWS; in internal_dfa_match() local
3037 if (rws->free < RWS_RSIZE + RWS_OVEC_OSIZE) in internal_dfa_match()
3039 rc = more_workspace(&rws, RWS_OVEC_OSIZE, mb); in internal_dfa_match()
3041 RWS = (int *)rws; in internal_dfa_match()
3044 local_offsets = (PCRE2_SIZE *)(RWS + rws->size - rws->free); in internal_dfa_match()
3046 rws->free -= RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
3060 rws->free += RWS_RSIZE + RWS_OVEC_OSIZE; in internal_dfa_match()
3283 RWS_anchor *rws = (RWS_anchor *)base_recursion_workspace; in pcre2_dfa_match() local
3284 rws->next = NULL; in pcre2_dfa_match()
3285 rws->size = RWS_BASE_SIZE; in pcre2_dfa_match()
3286 rws->free = RWS_BASE_SIZE - RWS_ANCHOR_SIZE; in pcre2_dfa_match()
3972 while (rws->next != NULL) in pcre2_dfa_match()
3974 RWS_anchor *next = rws->next; in pcre2_dfa_match()
3975 rws->next = next->next; in pcre2_dfa_match()