/freebsd-11-stable/crypto/heimdal/lib/wind/ |
H A D | gen-normalize.py | 37 import re 58 trans = dict([(k, [re.sub('<[a-zA-Z]+>', '', v[4]), v[0]]) 139 if v[4] and not re.search('<[a-zA-Z]+> *', v[4]) and not exclusions.has_key(k)])
|
H A D | rfc4518.py | 37 import re
|
H A D | stringprep.py | 37 import re
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Signals.inc | 155 // If cleanup were to occur while we're removing files we'd have a bad time. 156 // Make sure we're OK by preventing cleanup from doing anything while we're 163 // If erasing was occuring while we're trying to remove files we'd look 182 // We're done removing the file, erasing can safely proceed. 187 // We're done removing files, cleanup can safely proceed. 263 // If we're executing on the alternate stack, or we already have an alternate 264 // signal stack that we're happy with, there's nothing for us to do. Don't 284 // The mutex prevents other threads from registering handlers while we're 286 // a signal handler could fire while we're registetin [all...] |
/freebsd-11-stable/usr.bin/mklocale/ |
H A D | yacc.y | 643 _FileRuneEntry re; 645 re.min = htonl(list->min); 646 re.max = htonl(list->max); 647 re.map = htonl(list->map); 649 if (fwrite((char *)&re, sizeof(re), 1, fp) != 1) { 662 _FileRuneEntry re; 664 re.min = htonl(list->min); 665 re.max = htonl(list->max); 666 re [all...] |
/freebsd-11-stable/usr.bin/sed/ |
H A D | compile.c | 160 char re[_POSIX2_LINE_MAX + 1]; local 323 p = compile_delimited(p, re, 0); 329 if (*re == '\0') 330 cmd->u.s->re = NULL; 332 cmd->u.s->re = compile_re(re, 0); 338 if (*re == '\0') 339 cmd->u.s->re = NULL; 341 cmd->u.s->re = compile_re(re, cm 445 compile_re(char *re, int case_insensitive) argument 781 char *end, re[_POSIX2_LINE_MAX + 1]; local [all...] |
H A D | defs.h | 67 regex_t *re; /* Regular expression */ member in struct:s_subst
|
/freebsd-11-stable/usr.sbin/bsdconfig/includes/ |
H A D | includes.sh | 70 -v re="$pattern" \ 95 if (!match($2, re)) next
|
/freebsd-11-stable/contrib/dtc/libfdt/ |
H A D | fdt_rw.c | 176 struct fdt_reserve_entry *re; local 181 re = _fdt_mem_rsv_w(fdt, fdt_num_mem_rsv(fdt)); 182 err = _fdt_splice_mem_rsv(fdt, re, 0, 1); 186 re->address = cpu_to_fdt64(address); 187 re->size = cpu_to_fdt64(size); 193 struct fdt_reserve_entry *re = _fdt_mem_rsv_w(fdt, n); local 200 return _fdt_splice_mem_rsv(fdt, re, 1, 0);
|
/freebsd-11-stable/sys/contrib/libfdt/ |
H A D | fdt_rw.c | 176 struct fdt_reserve_entry *re; local 181 re = fdt_mem_rsv_w_(fdt, fdt_num_mem_rsv(fdt)); 182 err = fdt_splice_mem_rsv_(fdt, re, 0, 1); 186 re->address = cpu_to_fdt64(address); 187 re->size = cpu_to_fdt64(size); 193 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); local 200 return fdt_splice_mem_rsv_(fdt, re, 1, 0);
|
/freebsd-11-stable/usr.bin/csplit/ |
H A D | csplit.c | 363 char *ecopy, *ep, *p, *pofs, *re; local 369 re = ecopy + 1; 382 if (regcomp(&cre, re, REG_BASIC|REG_NOSUB) != 0) 383 errx(1, "%s: bad regular expression", re); 405 errx(1, "%s: no match", re);
|
/freebsd-11-stable/contrib/libstdc++/scripts/ |
H A D | make_graph.py | 5 import re 130 self.native_re = re.compile(r'n_(?:.*?)') 137 self.mask_re = re.compile(r'mask(?:.*?)') 138 self.mod_re = re.compile(r'mod(?:.*?)') 140 self.rb_tree_mmap_rb_tree_set_re = re.compile(r'rb_tree_mmap_rb_tree_set(?:.*?)') 141 self.rb_tree_mmap_lu_mtf_set_re = re.compile(r'rb_tree_mmap_lu_mtf_set(?:.*?)') 143 self.splay_re = re.compile(r'splay(?:.*?)') 144 self.rb_tree_re = re.compile(r'rb_tree(?:.*?)') 145 self.ov_tree_re = re.compile(r'ov_tree(?:.*?)') 146 self.splay_tree_re = re [all...] |
/freebsd-11-stable/contrib/one-true-awk/ |
H A D | b.c | 66 int rtok; /* next token in current re */ 69 static uschar *prestr; /* current position in current re */ 70 static uschar *lastre; /* origin of last re */ 140 f->accept = poscnt-1; /* penter has computed number of positions in re */ 143 if ((f->posns[0] = (int *) calloc(*(f->re[0].lfollow), sizeof(int))) == NULL) 161 k = *(f->re[0].lfollow); 166 (f->posns[2])[i] = (f->re[0].lfollow)[i]; 365 f->re[info(v)].ltype = type(v); 366 f->re[info(v)].lval.np = right(v); 380 f->re[inf [all...] |
/freebsd-11-stable/crypto/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 105 sub re { 184 sub re { 217 sub re { 316 sub re { 354 sub re { 420 sub re { 438 if ($nasm && opcode->mnemonic()=~m/^j(?![re]cxz)/) { 446 sub re { 875 if ($label=label->re(\$line)) { print $label->out(); } 877 if (directive->re(\ 104 sub re { subroutine 183 sub re { subroutine 216 sub re { subroutine 315 sub re { subroutine 353 sub re { subroutine 419 sub re { subroutine 445 sub re { subroutine [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_iso9660.c | 274 char re; /* Having RRIP "RE" extension. */ member in struct:file_info 965 * we're positioned */ 1985 file->re = 0; 1987 } else if (file->re) { 2018 (parent->re || parent->re_descendant)) 2203 file->re = 1; 2701 * we're positioned */ 2741 struct file_info *re, *d; local 2754 while ((re = re_get_entry(iso9660)) != NULL) { 2756 while ((d = rede_get_entry(re)) ! 2957 struct file_info *re; local 2975 rede_get_entry(struct file_info *re) argument [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | event_rpcgen.py | 18 import re 26 white = re.compile(r'\s+') 27 cppcomment = re.compile(r'\/\/.*$') 28 nonident = re.compile(r'[^a-zA-Z0-9_]') 29 structref = re.compile(r'^struct\[([a-zA-Z_][a-zA-Z0-9_]*)\]$') 30 structdef = re.compile(r'^struct +[a-zA-Z_][a-zA-Z0-9_]* *{$') 1340 res = re.match(r'^([^\[\]]+)(\[.*\])?$', token) 1360 if not re.match(r'^(0x)?[0-9]+$', token): 1456 if not have_c_comment and re.search(r'/\*', line): 1457 if re [all...] |
/freebsd-11-stable/usr.bin/whereis/ |
H A D | whereis.c | 387 regex_t re, re2; local 408 if ((i = regcomp(&re, MANWHEREISMATCH, REG_EXTENDED)) != 0) { 409 regerror(i, &re, buf, BUFSIZ - 1); 505 if (regexec(&re, buf, 2, 626 regerror(i, &re, buf, 688 regfree(&re);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | gen_t_subr_prf | 14 /* Avoid SSP re-definitions */
|
/freebsd-11-stable/contrib/flex/ |
H A D | parse.y | 377 rule : re2 re 433 | re2 re '$' 436 | re '$' 453 /* See the comment in the rule for "re2 re" 465 * "re2 re" above. 479 | re 497 re : re '|' series label 508 re2 : re '/' 755 | '(' re ')' [all...] |
/freebsd-11-stable/contrib/ntp/sntp/unity/auto/ |
H A D | unity_test_summary.py | 10 import re 105 m = re.search(r"([0-9]+) Tests ([0-9]+) Failures ([0-9]+) Ignored", summary)
|
/freebsd-11-stable/usr.bin/getent/ |
H A D | getent.c | 461 struct rpcent *re; local 468 #define RPCPRINT printfmtstrings(re->r_aliases, " ", " ", \ 470 re->r_name, re->r_number) 475 while ((re = getrpcent()) != NULL) 480 re = getrpcbynumber((int)id); 482 re = getrpcbyname(argv[i]); 483 if (re != NULL)
|
/freebsd-11-stable/contrib/ncurses/ncurses/widechar/ |
H A D | lib_wacs.c | 113 * If we're running in a UTF-8 locale, will use the Unicode equivalents
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/regex/ |
H A D | t_regex_att.c | 385 regex_t re; local 514 int c = regcomp(&re, pattern, flags | iflags); 520 int e = regexec(&re, input, nm, pm, 0); 525 regfree(&re);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Process.inc | 98 // Additionally, the APIs require elevated privileges to disable and re- 215 // We're not going to try to deal with paths longer than MAX_PATH, so we'll
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_subst.c | 53 regex_t *re; local 135 if (sp->re == NULL) { 142 re_compile(sp, sp->re, sp->re_len, 154 if (re_compile(sp, ptrn, t - ptrn, &sp->re, 164 re = &sp->re_c; 244 return (s(sp, cmdp, p, re, flags)); 281 if (sp->re == NULL) { 285 if (!F_ISSET(sp, SC_RE_SEARCH) && re_compile(sp, sp->re, 295 * special cases, and general nastiness. Don't mess with it unless you're 302 * when the replacement is done. Don't change it unless you're *damne 343 s(SCR *sp, EXCMD *cmdp, CHAR_T *s, regex_t *re, u_int flags) argument [all...] |