Lines Matching refs:top_nest

2808 nest_save *top_nest, *end_nests;  in parse_regex()  local
2848 top_nest = NULL; in parse_regex()
4044 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in parse_regex()
4045 else if (++top_nest >= end_nests) in parse_regex()
4050 top_nest->nest_depth = nest_depth; in parse_regex()
4051 top_nest->flags = NSF_ATOMICSR; in parse_regex()
4052 top_nest->options = options & PARSE_TRACKED_OPTIONS; in parse_regex()
4053 top_nest->xoptions = xoptions & PARSE_TRACKED_EXTRA_OPTIONS; in parse_regex()
4177 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in parse_regex()
4178 else if (++top_nest >= end_nests) in parse_regex()
4183 top_nest->nest_depth = nest_depth; in parse_regex()
4184 top_nest->flags = 0; in parse_regex()
4185 top_nest->options = options & PARSE_TRACKED_OPTIONS; in parse_regex()
4186 top_nest->xoptions = xoptions & PARSE_TRACKED_EXTRA_OPTIONS; in parse_regex()
4193 top_nest->reset_group = (uint16_t)cb->bracount; in parse_regex()
4194 top_nest->max_group = (uint16_t)cb->bracount; in parse_regex()
4195 top_nest->flags |= NSF_RESET; in parse_regex()
4209 top_nest->reset_group = 0; in parse_regex()
4210 top_nest->max_group = 0; in parse_regex()
4337 if (top_nest > (nest_save *)(cb->start_workspace) && in parse_regex()
4338 (top_nest-1)->nest_depth == nest_depth) top_nest--; in parse_regex()
4339 else top_nest->nest_depth = nest_depth; in parse_regex()
4810 if (top_nest == NULL) top_nest = (nest_save *)(cb->start_workspace); in parse_regex()
4811 else if (++top_nest >= end_nests) in parse_regex()
4816 top_nest->nest_depth = nest_depth; in parse_regex()
4817 top_nest->flags = NSF_CONDASSERT; in parse_regex()
4818 top_nest->options = options & PARSE_TRACKED_OPTIONS; in parse_regex()
4819 top_nest->xoptions = xoptions & PARSE_TRACKED_EXTRA_OPTIONS; in parse_regex()
4934 if (top_nest != NULL && top_nest->nest_depth == nest_depth && in parse_regex()
4935 (top_nest->flags & NSF_RESET) != 0) in parse_regex()
4937 if (cb->bracount > top_nest->max_group) in parse_regex()
4938 top_nest->max_group = (uint16_t)cb->bracount; in parse_regex()
4939 cb->bracount = top_nest->reset_group; in parse_regex()
4950 if (top_nest != NULL && top_nest->nest_depth == nest_depth) in parse_regex()
4952 options = (options & ~PARSE_TRACKED_OPTIONS) | top_nest->options; in parse_regex()
4953 xoptions = (xoptions & ~PARSE_TRACKED_EXTRA_OPTIONS) | top_nest->xoptions; in parse_regex()
4954 if ((top_nest->flags & NSF_RESET) != 0 && in parse_regex()
4955 top_nest->max_group > cb->bracount) in parse_regex()
4956 cb->bracount = top_nest->max_group; in parse_regex()
4957 if ((top_nest->flags & NSF_CONDASSERT) != 0) in parse_regex()
4960 if ((top_nest->flags & NSF_ATOMICSR) != 0) in parse_regex()
4965 if (top_nest == (nest_save *)(cb->start_workspace)) top_nest = NULL; in parse_regex()
4966 else top_nest--; in parse_regex()