/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...] |
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 \
|
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
|
Makefile | 7 SRCS= regexp.c retest.c
|
/src/lib/libcompat/4.3/ |
regex.c | 55 #include <regexp.h> 61 static regexp *re_regexp;
|
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
|
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...] |
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");
|
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...] |
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...] |
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);
|
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);
|
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
|
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().
|