HomeSort by: relevance | last modified time | path
    Searched refs:regexp (Results 1 - 18 of 18) sorted by relevancy

  /src/include/
regexp.h 1 /* $NetBSD: regexp.h,v 1.7 2005/02/03 04:39:32 perry Exp $ */
34 * @(#)regexp.h 8.1 (Berkeley) 6/2/93
71 * @(#)regexp.h 8.1 (Berkeley) 6/2/93
78 * Definitions etc. for regexp(3) routines.
80 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
84 typedef struct regexp { struct
92 } regexp; typedef in typeref:struct:regexp
98 regexp *__compat_regcomp(const char *);
99 int __compat_regexec(const regexp *, const char *);
100 void __compat_regsub(const regexp *, const char *, char *)
    [all...]
Makefile 19 paths.h pwd.h quota.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
  /src/usr.bin/vgrind/RETEST/
Makefile 7 SRCS= regexp.c retest.c
  /src/lib/libcompat/4.3/
regex.c 55 #include <regexp.h>
61 static regexp *re_regexp;
  /src/lib/libcompat/
Makefile 17 ${.CURDIR}/regexp
48 # regexp sources
49 SRCS+= regexp.c regsub.c
50 MAN+= regexp.3
  /src/tests/bin/ps/
t_ps.sh 102 # Convert a list of keywords like "pid comm" to a regexp
107 local regexp
108 regexp="$(echo "$keywords" | \
110 eval regexp=\""${regexp}"\"
111 regexp="^${regexp}\$"
112 echo "$regexp"
116 # Check that a string matches a regexp; use the specified id
120 local id="$1" string="$2" regexp="$3
    [all...]
  /src/lib/libcompat/regexp/
regsub.c 27 #include <regexp.h>
39 - regsub - perform substitutions after a regexp match
43 const regexp *prog;
58 regerror("damaged regexp fed to regsub");
regexp.c 38 __RCSID("$NetBSD: regexp.c,v 1.19 2016/01/26 16:05:18 christos Exp $");
42 #include <regexp.h>
49 * The "internal use only" fields in regexp.h are present to pass info from
69 * Structure for regexp "program". This is essentially a linear encoding
206 * of the structure of the compiled regexp.
208 regexp *
212 regexp *r;
236 FAIL("regexp too big");
239 r = malloc(sizeof(regexp) + (unsigned)regsize);
781 STATIC int regtry __P((const regexp *, const char *))
    [all...]
  /src/sbin/efi/
main.c 123 _X("regexp", _RA, 'R', "regular expression for variable search (default: '^Boot')") \
230 _X(char *, regexp, NULL ) \
425 if (opt.regexp != NULL)
426 free(opt.regexp);
427 opt.regexp = estrdup(optarg);
521 if (opt.regexp != NULL) {/* override any previous setting */
522 printf("Ignoring specified regexp: '%s'\n",
523 opt.regexp);
524 free(opt.regexp);
573 * to get_variables() using a regexp. Setup the regexp here
    [all...]
getvars.c 135 get_variables(int fd, const char *regexp, efi_var_t ***array_ptr,
151 if (regcomp(&args.preg, regexp, REG_EXTENDED) != 0)
152 err(EXIT_FAILURE, "regcomp: %s", regexp);
showvar.c 532 const char *regexp = REGEXP_BOOTXXXX; local in function:show_variable
533 if (regcomp(&preg, regexp, REG_EXTENDED) != 0)
534 err(EXIT_FAILURE, "regcomp: %s", regexp);
  /src/usr.bin/vgrind/
Makefile 8 SRCS= regexp.c vfontedpr.c
  /src/tools/make/
configure.ac 44 # regexp package. To avoid them, we need to find out who has regfree().
  /src/lib/libedit/
search.c 51 #elif defined(REGEXP)
52 #include <regexp.h>
99 #ifdef REGEXP
121 #elif defined (REGEXP)
122 regexp *rp;
141 #elif defined(REGEXP)
  /src/tools/compat/
configure.ac 298 # regexp package. To avoid them, we need to find out who has regfree().
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/
cpplint.py 410 """Matches the string with the pattern, caching the compiled regexp."""
411 # The regexp compilation caching is inlined in both Match and Search for
420 """Searches the string for the pattern, caching the compiled regexp."""
1642 # after parsing namespaces. The regexp accounts for decorated classes
1826 # Here's the original regexp, for the reference:
1969 regexp = r'(\w(\w|::|\*|\&|\s)*)\(' # decls * & space::name( ...
1970 match_result = Match(regexp, line)
3101 start_pattern: The regexp string indicating where to start extracting
3108 # rewritten to use _GetTextInside (and use inferior regexp matching today).
  /src/usr.bin/find/
function.c 1654 * -regex regexp (and related) functions --
1656 * True if the complete file path matches the regular expression regexp.
1657 * For -regex, regexp is a case-sensitive (basic) regular expression.
1658 * For -iregex, regexp is a case-insensitive (basic) regular expression.
1672 char *regexp = **argvp; local in function:c_regex_common
1680 len = strlen(regexp) + 1 + 6;
1685 (regcomp_flags & REG_EXTENDED) ? "" : "\\", regexp,
1692 errx(1, "regexp %s: %s", regexp, errbuf);
  /src/sys/external/isc/libsodium/dist/m4/
libtool.m4 3911 # Regexp to match symbols that can be accessed directly from C.
3999 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4971 # exclude_expsyms can be an extended regexp of symbols to exclude

Completed in 160 milliseconds