/plan9/sys/src/ape/cmd/pax/ |
H A D | regexp.h | 12 typedef struct regexp { struct 20 } regexp; argument 29 extern regexp *regcomp();
|
H A D | regexp.c | 220 regexp *regcomp(exp) in regcomp() 223 register regexp *r; 240 return ((regexp *)NULL); 247 r = (regexp *) malloc(sizeof(regexp) + (unsigned) regsize); 248 if (r == (regexp *) NULL) 257 return ((regexp *) NULL); 699 register regexp *prog; in regexec() 705 if (prog == (regexp *)NULL || string == (char *)NULL) { 757 static int regtry(regexp *prog, char *string) in regtry() 762 regexp *prog; in regtry() [all …]
|
H A D | Makefile | 101 port.c regexp.c replace.c tar.c ttyio.c warn.c wildmat.c 104 port.o regexp.o replace.o tar.o ttyio.o warn.o wildmat.o $(DIROBJ)
|
H A D | mkfile | 20 regexp.$O\
|
H A D | replace.c | 136 if ((rptr->comp = regcomp(pattern)) == (regexp *)NULL) {
|
H A D | pax.h | 325 regexp *comp; /* compiled regular expression */
|
/plan9/mail/lib/ |
H A D | patterns | 4 dump: (legitimate|legal)( marketing)?,? money[ \-]?making opportunity #regexp 6 header: "from *[0-9!\.\-]*\.(net|com|org)![0-9]+ " #regexp 10 hold: ^dear netrepreneur~~owner-venturecap-list #regexp
|
/plan9/sys/lib/acid/ |
H A D | truss | 35 if regexp(pattern, s[0]) && ((s[1] == 'T') || (s[1] == 'L')) then 174 if(regexp("exits|exec", name)) then stopPC = append stopPC, (addr+offset); 175 if(regexp("read", name)) then readPC = append readPC, (addr+offset); 176 if(regexp("fd2path", name)) then fd2pathPC = append fd2pathPC, (addr+offset); 177 if(regexp("^\\$*await", name)) then awaitPC = append awaitPC, (addr+offset); 178 if(regexp("^\\$*errstr", name)) then errstrPC = append errstrPC, (addr+offset); 180 if(regexp("_wait", name)) then _waitPC = append _waitPC, (addr+offset); 181 if(regexp("_errstr", name)) then _errstrPC = append _errstrPC, (addr+offset);
|
H A D | thread | 103 if !regexp("^/sys/src/libc/", file) 104 && !regexp("^/sys/src/libthread/", file)
|
H A D | port | 71 if regexp(head s, file) then 550 if regexp(pattern, s[0]) then
|
/plan9/sys/man/6/ |
H A D | INDEX | 27 regexp regexp
|
/plan9/rc/bin/ |
H A D | dontkill | 5 echo $0 regexp >[1=2]
|
/plan9/sys/src/ape/cmd/expr/ |
H A D | mkfile | 7 HFILES=regexp.h
|
/plan9/sys/src/libregexp/ |
H A D | mkfile | 13 HFILES=/sys/include/regexp.h\
|
/plan9/sys/src/cmd/upas/scanmail/ |
H A D | spam.h | 12 regexp = 1, /* types: literal string or regular expression */ enumerator
|
H A D | common.c | 412 type = regexp; in parsepats() 440 if(type == regexp) { in parsepats() 448 new->type = regexp; in parsepats()
|
/plan9/sys/src/cmd/sam/ |
H A D | mkfile | 18 regexp.$O\
|
H A D | parse.h | 41 uchar regexp; /* takes a regular expression? */ member
|
/plan9/sys/src/cmd/acme/ |
H A D | addr.c | 119 regexp(Mntdir *md, Text *t, Range lim, Range r, Rune *pat, int dir, int *foundp) in regexp() function 259 r = regexp(md, t, lim, r, pat, dir, evalp); in address()
|
H A D | edit.h | 51 uchar regexp; /* takes a regular expression? */ member
|
/plan9/sys/man/2/ |
H A D | INDEX | 1107 regcomp regexp 1108 regcomplit regexp 1109 regcompnl regexp 1110 regerror regexp 1111 regexec regexp 1112 regexp regexp 1113 regsub regexp 1114 rregexec regexp 1115 rregsub regexp
|
/plan9/sys/src/cmd/upas/ |
H A D | README | 10 - port Plan 9's regexp library working on that system (should just compile).
|
/plan9/sys/src/cmd/aux/na/ |
H A D | na.y | 128 %type <e> exp byteexp regexp 262 | MOVE exp ',' .ptr regexp ',' with_or_when phase { 276 | MOVE MEMORY exp ',' regexp ',' regexp { 543 regexp: exp
|
/plan9/sys/src/cmd/acid/ |
H A D | builtin.c | 41 void regexp(Node*, Node*); 84 "regexp", regexp, 925 regexp(Node *r, Node *args) in regexp() function
|
/plan9/sys/src/cmd/fossil/ |
H A D | fossil-acid | 111 if !fossilframe && regexp("^/sys/src/cmd/fossil/.*", pcfile(frame[0])) then {
|