/netbsd/external/bsd/openldap/dist/libraries/librewrite/ |
H A D | subst.c | 42 int nsub = 0, l; in rewrite_subst_compile() local 76 subs[ nsub ].bv_val = NULL; in rewrite_subst_compile() 93 subs[ nsub ].bv_len = l; in rewrite_subst_compile() 102 subs[ nsub ].bv_len = 0; in rewrite_subst_compile() 158 submatch[ nsub ].ls_type = in rewrite_subst_compile() 173 nsub++; in rewrite_subst_compile() 191 subs[ nsub ].bv_len = l; in rewrite_subst_compile() 200 subs[ nsub ].bv_len = 0; in rewrite_subst_compile() 210 s->lt_num_submatch = nsub; in rewrite_subst_compile() 217 for ( l=0; l<nsub; l++ ) { in rewrite_subst_compile() [all …]
|
/netbsd/external/mpl/bind/dist/lib/dns/rdata/generic/ |
H A D | naptr_35.c | 112 if (nsub < 1) { in txt_valid_regex() 113 nsub = 1; in txt_valid_regex() 117 if (nsub < 2) { in txt_valid_regex() 118 nsub = 2; in txt_valid_regex() 123 nsub = 3; in txt_valid_regex() 128 nsub = 4; in txt_valid_regex() 133 nsub = 5; in txt_valid_regex() 138 nsub = 6; in txt_valid_regex() 143 nsub = 7; in txt_valid_regex() 148 nsub = 8; in txt_valid_regex() [all …]
|
/netbsd/external/historical/nawk/dist/testdir/ |
H A D | chem.awk | 423 function atom(s, c, i, n, nsub, cloc, nsubc) { # convert CH3 to atom(...) 427 nsub = nsubc = 0 433 nsub++ 441 s, (n-nsub/2)*cwid, textht, (cloc-nsubc/2-0.5)*cwid, crh, crw, dav)
|
/netbsd/external/bsd/tre/dist/python/ |
H A D | tre-python.c | 334 size_t nsub; in PyTrePattern_search() local 357 nsub = self->rgx.re_nsub + 1; in PyTrePattern_search() 358 pm = PyMem_New(regmatch_t, nsub); in PyTrePattern_search() 365 mo->am.nmatch = nsub; in PyTrePattern_search()
|
/netbsd/external/bsd/nvi/dist/regex/ |
H A D | engine.c | 217 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * 223 for (i = 1; i <= m->g->nsub; i++) 255 for (i = 1; i <= m->g->nsub; i++) { 281 if (i <= m->g->nsub) 468 assert(0 < i && i <= m->g->nsub); 473 assert(0 < i && i <= m->g->nsub); 607 assert(0 < i && i <= m->g->nsub); 668 assert(0 < i && i <= m->g->nsub); 679 assert(0 < i && i <= m->g->nsub);
|
H A D | regcomp.c | 260 g->nsub = 0; in regcomp() 286 preg->re_nsub = g->nsub; in regcomp() 373 p->g->nsub++; in p_ere_exp() 374 subno = p->g->nsub; in p_ere_exp() 590 p->g->nsub++; in p_simp_re() 591 subno = p->g->nsub; in p_simp_re() 621 assert(i <= p->g->nsub); in p_simp_re()
|
H A D | regex2.h | 162 size_t nsub; /* copy of re_nsub */ member
|
/netbsd/tests/lib/libc/regex/ |
H A D | debug.c | 72 if (g->nsub > 0) in regprint() 73 fprintf(d, ", nsub=%zu", g->nsub); in regprint()
|
/netbsd/lib/libc/regex/ |
H A D | engine.c | 339 m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * in matcher() 345 for (i = 1; i <= m->g->nsub; i++) in matcher() 376 for (i = 1; i <= m->g->nsub; i++) { in matcher() 405 if (i <= m->g->nsub) in matcher() 606 assert(0 < i && i <= m->g->nsub); in dissect() 611 assert(0 < i && i <= m->g->nsub); in dissect() 783 assert(0 < i && i <= m->g->nsub); in backref() 843 assert(0 < i && i <= m->g->nsub); in backref() 853 assert(0 < i && i <= m->g->nsub); in backref()
|
H A D | regcomp.c | 370 g->nsub = 0; in regcomp_internal() 399 preg->re_nsub = g->nsub; in regcomp_internal() 468 p->g->nsub++; in p_ere_exp() 469 subno = (sopno)p->g->nsub; in p_ere_exp() 581 assert(i <= p->g->nsub); in p_ere_exp() 976 p->g->nsub++; in p_simp_re() 977 subno = (sopno)p->g->nsub; in p_simp_re() 1006 assert(i <= p->g->nsub); in p_simp_re()
|
H A D | regex2.h | 198 size_t nsub; /* copy of re_nsub */ member
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | regcomp.c | 350 g->nsub = 0; in llvm_regcomp() 374 preg->re_nsub = g->nsub; in llvm_regcomp() 453 p->g->nsub++; in p_ere_exp() 454 subno = p->g->nsub; in p_ere_exp() 525 assert(backrefnum <= p->g->nsub); in p_ere_exp() 693 p->g->nsub++; in p_simp_re() 694 subno = p->g->nsub; in p_simp_re() 724 assert(i <= p->g->nsub); in p_simp_re()
|
H A D | regengine.inc | 74 llvm_regmatch_t *pmatch; /* [nsub+1] (0 element unused) */ 210 m->pmatch = (llvm_regmatch_t *)malloc((m->g->nsub + 1) * 216 for (i = 1; i <= m->g->nsub; i++) 248 for (i = 1; i <= m->g->nsub; i++) { 275 if (i <= m->g->nsub) 461 assert(0 < i && i <= m->g->nsub); 466 assert(0 < i && i <= m->g->nsub); 585 assert(0 < i && i <= m->g->nsub); 648 assert(0 < i && i <= m->g->nsub); 659 assert(0 < i && i <= m->g->nsub);
|
H A D | regex2.h | 154 size_t nsub; /* copy of re_nsub */ member
|
/netbsd/sys/dev/sdmmc/ |
H A D | if_bwfm_sdio.c | 1734 int nsub; in bwfm_sdio_rx_frames() local 1874 nsub = flen / sizeof(uint16_t); in bwfm_sdio_rx_frames() 1875 subsize = nsub * sizeof(uint16_t); in bwfm_sdio_rx_frames() 1882 bwfm_sdio_rx_glom(sc, sublen, nsub, &nextlen); in bwfm_sdio_rx_frames() 1894 bwfm_sdio_rx_glom(struct bwfm_sdio_softc *sc, uint16_t *sublen, int nsub, in bwfm_sdio_rx_glom() argument 1905 if (nsub == 0) { in bwfm_sdio_rx_glom() 1911 for (i = 0; i < nsub; i++) { in bwfm_sdio_rx_glom()
|
/netbsd/usr.bin/make/ |
H A D | var.c | 1551 const regmatch_t *m, size_t nsub) in RegexReplaceBackref() argument 1555 if (n >= nsub) in RegexReplaceBackref() 1573 const regmatch_t *m, size_t nsub) in RegexReplace() argument 1583 RegexReplaceBackref(*++rp, buf, wp, m, nsub); in RegexReplace() 1595 size_t nsub; member 1620 xrv = regexec(&args->re, wp, args->nsub, m, flags); in ModifyWord_SubstRegex() 1633 RegexReplace(args->replace, buf, wp, m, args->nsub); in ModifyWord_SubstRegex() 3018 args.nsub = args.re.re_nsub + 1; in ApplyModifier_Regex() 3019 if (args.nsub > 10) in ApplyModifier_Regex() 3020 args.nsub = 10; in ApplyModifier_Regex()
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_regexp.c | 211 #define DICT_REGEXP_REGEXEC(err, map, line, expr, match, str, nsub, pmatch) \ argument 212 ((err) = regexec((expr), (str), (nsub), (pmatch), 0), \
|
/netbsd/external/historical/nawk/dist/ |
H A D | run.c | 482 size_t nsub = p->nnext ? seplen : 0; in makearraystring() local 484 size_t tlen = blen + slen + nsub; in makearraystring() 491 if (nsub) { in makearraystring() 492 memcpy(buf + blen + slen, *SUBSEP, nsub); in makearraystring()
|
/netbsd/external/bsd/jemalloc/dist/src/ |
H A D | extent.c | 731 size_t nsub = extent_size_get(extent) >> LG_PAGE; in extent_gdump_sub() local 732 assert(atomic_load_zu(&curpages, ATOMIC_RELAXED) >= nsub); in extent_gdump_sub() 733 atomic_fetch_sub_zu(&curpages, nsub, ATOMIC_RELAXED); in extent_gdump_sub()
|
/netbsd/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | intrinsic.c | 45 static int nfunc, nsub, nargs, nconv, ncharconv; variable 334 nsub++; in add_sym() 1020 int n = nsub; in gfc_intrinsic_subroutine_by_id() 1075 sym = find_sym (subroutines, nsub, name); in gfc_find_subroutine() 1233 nsub++; in make_alias() 4153 nargs = nfunc = nsub = nconv = 0; in gfc_intrinsic_init_1() 4166 sizeof (gfc_intrinsic_sym) * (nfunc + nsub) in gfc_intrinsic_init_1() 4174 next_arg = ((gfc_intrinsic_arg *) (subroutines + nsub)) - 1; in gfc_intrinsic_init_1()
|
H A D | intrinsic.cc | 45 static int nfunc, nsub, nargs, nconv, ncharconv; variable 393 nsub++; in add_sym() 1046 int n = nsub; in gfc_intrinsic_subroutine_by_id() 1101 sym = find_sym (subroutines, nsub, name); in gfc_find_subroutine() 1259 nsub++; in make_alias() 4179 nargs = nfunc = nsub = nconv = 0; in gfc_intrinsic_init_1() 4192 sizeof (gfc_intrinsic_sym) * (nfunc + nsub) in gfc_intrinsic_init_1() 4200 next_arg = ((gfc_intrinsic_arg *) (subroutines + nsub)) - 1; in gfc_intrinsic_init_1()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | intrinsic.c | 45 static int nfunc, nsub, nargs, nconv, ncharconv; variable 334 nsub++; in add_sym() 1020 int n = nsub; in gfc_intrinsic_subroutine_by_id() 1075 sym = find_sym (subroutines, nsub, name); in gfc_find_subroutine() 1233 nsub++; in make_alias() 4153 nargs = nfunc = nsub = nconv = 0; in gfc_intrinsic_init_1() 4166 sizeof (gfc_intrinsic_sym) * (nfunc + nsub) in gfc_intrinsic_init_1() 4174 next_arg = ((gfc_intrinsic_arg *) (subroutines + nsub)) - 1; in gfc_intrinsic_init_1()
|
/netbsd/external/gpl2/groff/dist/font/devhtml/ |
H A D | R.proto | 692 nb 24 0 0x2284 ⊄
|
/netbsd/external/bsd/tmux/dist/ |
H A D | format.c | 4186 u_int i, count, nsub = 0; in format_replace() local 4216 sub = xreallocarray(sub, nsub + 1, sizeof *sub); in format_replace() 4217 sub[nsub++] = fm; in format_replace() 4513 for (i = 0; i < nsub; i++) { in format_replace()
|