Lines Matching refs:ng

2807 named_group *ng;  in parse_regex()  local
4870 ng = cb->named_groups; in parse_regex()
4871 for (i = 0; i < cb->names_found; i++, ng++) in parse_regex()
4873 if (namelen == ng->length && in parse_regex()
4874 PRIV(strncmp)(name, ng->name, (PCRE2_SIZE)namelen) == 0) in parse_regex()
4876 if (ng->number == cb->bracount) break; in parse_regex()
4882 isdupname = ng->isdup = TRUE; /* Mark as a duplicate */ in parse_regex()
4885 else if (ng->number == cb->bracount) in parse_regex()
6605 named_group *ng = cb->named_groups; in compile_branch() local
6617 for (i = 0; i < cb->names_found; i++, ng++) in compile_branch()
6619 if (length == ng->length && in compile_branch()
6620 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch()
6622 if (!ng->isdup) in compile_branch()
6625 PUT2(code, 2+LINK_SIZE, ng->number); in compile_branch()
6626 if (ng->number > cb->top_backref) cb->top_backref = ng->number; in compile_branch()
7027 named_group *ng = cb->named_groups; in compile_branch() local
7039 for (unsigned int i = 0; i < cb->names_found; i++, ng++) in compile_branch()
7041 if (length == ng->length && in compile_branch()
7042 PRIV(strncmp)(name, ng->name, length) == 0) in compile_branch()
7044 is_dupname = ng->isdup; in compile_branch()
7045 groupnumber = ng->number; in compile_branch()
9630 named_group *ng = cb->named_groups; in get_branchlength() local
9636 for (i = 0; i < cb->names_found; i++, ng++) in get_branchlength()
9638 if (length == ng->length && PRIV(strncmp)(name, ng->name, length) == 0) in get_branchlength()
9640 group = ng->number; in get_branchlength()
9641 is_dupname = ng->isdup; in get_branchlength()
10566 named_group *ng = cb.named_groups; in pcre2_compile() local
10568 for (i = 0; i < cb.names_found; i++, ng++) in pcre2_compile()
10570 fprintf(stderr, "+++%3d %.*s\n", ng->number, ng->length, ng->name); in pcre2_compile()
10685 named_group *ng = cb.named_groups; in pcre2_compile() local
10686 for (i = 0; i < cb.names_found; i++, ng++) in pcre2_compile()
10687 add_name_to_table(&cb, ng->name, ng->length, ng->number, i); in pcre2_compile()