Lines Matching refs:top_nest

3237 nest_save *top_nest = NULL;  in scan_for_captures()  local
3469 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in scan_for_captures()
3470 else if (++top_nest >= end_nests) in scan_for_captures()
3475 top_nest->nest_depth = nest_depth; in scan_for_captures()
3476 top_nest->flags = 0; in scan_for_captures()
3477 if ((options & PCRE2_EXTENDED) != 0) top_nest->flags |= NSF_EXTENDED; in scan_for_captures()
3478 if ((options & PCRE2_DUPNAMES) != 0) top_nest->flags |= NSF_DUPNAMES; in scan_for_captures()
3482 top_nest->reset_group = (uint16_t)cb->bracount; in scan_for_captures()
3483 top_nest->max_group = (uint16_t)cb->bracount; in scan_for_captures()
3484 top_nest->flags |= NSF_RESET; in scan_for_captures()
3491 top_nest->reset_group = 0; in scan_for_captures()
3492 top_nest->max_group = 0; in scan_for_captures()
3535 if (top_nest > (nest_save *)(cb->start_workspace) && in scan_for_captures()
3536 (top_nest-1)->nest_depth == nest_depth) top_nest --; in scan_for_captures()
3537 else top_nest->nest_depth = nest_depth; in scan_for_captures()
3772 if (top_nest != NULL && top_nest->nest_depth == nest_depth && in scan_for_captures()
3773 (top_nest->flags & NSF_RESET) != 0) in scan_for_captures()
3775 if (cb->bracount > top_nest->max_group) in scan_for_captures()
3776 top_nest->max_group = (uint16_t)cb->bracount; in scan_for_captures()
3777 cb->bracount = top_nest->reset_group; in scan_for_captures()
3785 if (top_nest != NULL && top_nest->nest_depth == nest_depth) in scan_for_captures()
3787 if ((top_nest->flags & NSF_RESET) != 0 && in scan_for_captures()
3788 top_nest->max_group > cb->bracount) in scan_for_captures()
3789 cb->bracount = top_nest->max_group; in scan_for_captures()
3790 if ((top_nest->flags & NSF_EXTENDED) != 0) options |= PCRE2_EXTENDED; in scan_for_captures()
3792 if ((top_nest->flags & NSF_DUPNAMES) != 0) options |= PCRE2_DUPNAMES; in scan_for_captures()
3794 if (top_nest == (nest_save *)(cb->start_workspace)) top_nest = NULL; in scan_for_captures()
3795 else top_nest--; in scan_for_captures()