Lines Matching refs:regstack

372 static garray_T	regstack = {0, 0, 0, 0, NULL};  variable
3139 if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp) in regstack_push()
3144 if (ga_grow(&regstack, sizeof(regitem_T)) == FAIL) in regstack_push()
3147 rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len); in regstack_push()
3151 regstack.ga_len += sizeof(regitem_T); in regstack_push()
3163 rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1; in regstack_pop()
3166 regstack.ga_len -= sizeof(regitem_T); in regstack_pop()
3260 regstack.ga_len = 0; in regmatch()
4213 if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp) in regmatch()
4218 else if (ga_grow(&regstack, sizeof(regstar_T)) == FAIL) in regmatch()
4222 regstack.ga_len += sizeof(regstar_T); in regmatch()
4258 if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp) in regmatch()
4263 else if (ga_grow(&regstack, sizeof(regbehind_T)) == FAIL) in regmatch()
4267 regstack.ga_len += sizeof(regbehind_T); in regmatch()
4332 while (regstack.ga_len > 0 && status != RA_FAIL) in regmatch()
4334 rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1; in regmatch()
4465 regstack.ga_len -= sizeof(regbehind_T); in regmatch()
4512 regstack.ga_len -= sizeof(regbehind_T); in regmatch()
4608 regstack.ga_len -= sizeof(regbehind_T); in regmatch()
4621 regstack.ga_len -= sizeof(regstar_T); in regmatch()
4687 regstack.ga_len -= sizeof(regstar_T); in regmatch()
4697 ((char *)regstack.ga_data + regstack.ga_len) - 1) in regmatch()
4706 if (regstack.ga_len == 0 || status == RA_FAIL) in regmatch()
4829 if (regstack.ga_data == NULL) in bt_regexec_both()
4833 ga_init2(&regstack, 1, REGSTACK_INITIAL); in bt_regexec_both()
4834 (void)ga_grow(&regstack, REGSTACK_INITIAL); in bt_regexec_both()
4835 regstack.ga_growsize = REGSTACK_INITIAL * 8; in bt_regexec_both()
5013 if (regstack.ga_maxlen > REGSTACK_INITIAL) in bt_regexec_both()
5014 ga_clear(&regstack); in bt_regexec_both()