• Home
  • Raw
  • Download

Lines Matching refs:top_nest

2354 nest_save *top_nest, *end_nests;  in parse_regex()  local
2394 top_nest = NULL; in parse_regex()
3574 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in parse_regex()
3575 else if (++top_nest >= end_nests) in parse_regex()
3580 top_nest->nest_depth = nest_depth; in parse_regex()
3581 top_nest->flags = 0; in parse_regex()
3582 top_nest->options = options & PARSE_TRACKED_OPTIONS; in parse_regex()
3589 top_nest->reset_group = (uint16_t)cb->bracount; in parse_regex()
3590 top_nest->max_group = (uint16_t)cb->bracount; in parse_regex()
3591 top_nest->flags |= NSF_RESET; in parse_regex()
3604 top_nest->reset_group = 0; in parse_regex()
3605 top_nest->max_group = 0; in parse_regex()
3685 if (top_nest > (nest_save *)(cb->start_workspace) && in parse_regex()
3686 (top_nest-1)->nest_depth == nest_depth) top_nest--; in parse_regex()
3687 else top_nest->nest_depth = nest_depth; in parse_regex()
4141 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in parse_regex()
4142 else if (++top_nest >= end_nests) in parse_regex()
4147 top_nest->nest_depth = nest_depth; in parse_regex()
4148 top_nest->flags = NSF_CONDASSERT; in parse_regex()
4149 top_nest->options = options & PARSE_TRACKED_OPTIONS; in parse_regex()
4259 if (top_nest != NULL && top_nest->nest_depth == nest_depth && in parse_regex()
4260 (top_nest->flags & NSF_RESET) != 0) in parse_regex()
4262 if (cb->bracount > top_nest->max_group) in parse_regex()
4263 top_nest->max_group = (uint16_t)cb->bracount; in parse_regex()
4264 cb->bracount = top_nest->reset_group; in parse_regex()
4275 if (top_nest != NULL && top_nest->nest_depth == nest_depth) in parse_regex()
4277 options = (options & ~PARSE_TRACKED_OPTIONS) | top_nest->options; in parse_regex()
4278 if ((top_nest->flags & NSF_RESET) != 0 && in parse_regex()
4279 top_nest->max_group > cb->bracount) in parse_regex()
4280 cb->bracount = top_nest->max_group; in parse_regex()
4281 if ((top_nest->flags & NSF_CONDASSERT) != 0) in parse_regex()
4283 if (top_nest == (nest_save *)(cb->start_workspace)) top_nest = NULL; in parse_regex()
4284 else top_nest--; in parse_regex()