Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregex.c761 regexp++; in test_string()
774 regexp++; in test_string()
1319 regexp + (int)*regexp); in test_string()
1336 regexp += (int)*regexp + 2; in test_string()
1348 regexp += (int)*regexp + 2; in test_string()
1451 regexp + (int)*regexp); in test_string()
1471 regexp += (int)*regexp + 2; in test_string()
1484 regexp += (int)*regexp + 2; in test_string()
1584 regexp + (int)*regexp); in test_string()
1601 regexp += (int)*regexp + 2; in test_string()
[all …]
H A Dregcmp.c161 next_argp = regexp; in regcmp()
189 regexp = next_argp; in regcmp()
377 regexp++; in regcmp()
659 regexp ++; in regcmp()
666 regexp++; in regcmp()
803 regexp++; in regcmp()
806 regexp++; in regcmp()
809 regexp++; in regcmp()
823 regexp++; in regcmp()
944 regexp++; in get_count()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dckstr.c63 sethlp(char *msg, char *regexp[], int length) in sethlp() argument
74 if (regexp && regexp[0]) { in sethlp()
76 for (i = 0; regexp[i]; i++) { in sethlp()
78 (void) strcat(msg, regexp[i]); in sethlp()
96 if (regexp && regexp[0]) { in ckstr_val()
98 for (i = 0; !valid && regexp[i]; ++i) { in ckstr_val()
119 if (ckstr_val(regexp, length, input)) { in ckstr_err()
127 defhlp = sethlp(temp, regexp, length); in ckstr_err()
137 defhlp = sethlp(hlpbuf, regexp, length); in ckstr_hlp()
171 defhlp = sethlp(hlpbuf, regexp, length); in ckstr()
[all …]
/illumos-gate/usr/src/cmd/valtools/
H A Dckstr.c114 char **regexp; in main() local
128 regexp = (char **)calloc(maxregexp, sizeof (char *)); in main()
129 if (!regexp) { in main()
159 regexp[nregexp++] = optarg; in main()
162 regexp = (char **)realloc(regexp, in main()
164 if (!regexp) { in main()
169 (void) memset(regexp + nregexp, 0, in main()
223 if (ckstr_val(regexp, length, argv[optind])) in main()
232 ckstr_err(regexp, length, error, argv[optind]); in main()
241 ckstr_hlp(regexp, length, help); in main()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_re.h41 struct regexp { struct
52 var struct regexp *re; /* Last re */ argument
53 var struct regexp *scanre; /* Last scanning re */
54 var struct regexp *subre; /* Last substitute re */
60 void savere(struct regexp ** a);
61 void resre(struct regexp * a);
H A Dex_re.c1023 if ((re = calloc(1, sizeof(struct regexp))) == NULL) { in vi_compile()
1029 memset(re, 0, sizeof(struct regexp)); in vi_compile()
1151 if ((re = calloc(1, sizeof(struct regexp))) == NULL) { in init_re()
1156 if ((scanre = calloc(1, sizeof(struct regexp))) == NULL) { in init_re()
1161 if ((subre = calloc(1, sizeof(struct regexp))) == NULL) { in init_re()
1174 void savere(struct regexp ** a) in savere()
1194 memcpy(*a, re, sizeof(struct regexp)); in savere()
1204 void resre(struct regexp * a) in resre()
1225 memcpy(re, a, sizeof(struct regexp)); in resre()
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c38 #error I cannot find any regexp functions
95 static kadm5_ret_t glob_to_regexp(char *glob, char *realm, char **regexp) in glob_to_regexp() argument
111 *regexp = p; in glob_to_regexp()
210 char *regexp; in kadm5_get_either() local
221 &regexp)) != KADM5_OK) in kadm5_get_either()
226 ((data.expbuf = compile(regexp, NULL, NULL)) == NULL) in kadm5_get_either()
229 ((regcomp(&data.preg, regexp, REG_NOSUB)) != 0) in kadm5_get_either()
232 ((msg = (char *) re_comp(regexp)) != NULL) in kadm5_get_either()
237 free(regexp); in kadm5_get_either()
246 free(regexp); in kadm5_get_either()
[all …]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dfind.c180 if (regexp != NULL) { in findsymbol()
195 if (regexp != NULL) { in findsymbol()
209 if (regex(regexp, s) != NULL) { in findsymbol()
331 if (regexp != NULL) { in finddef()
687 if (regex(regexp, s) != NULL) { in findfile()
840 if (regexp != NULL) { in findcleanup()
841 free(regexp); in findcleanup()
842 regexp = NULL; in findcleanup()
898 if (regex(regexp, s) != NULL) { in findterm()
978 if (regexp != NULL) { in match()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c208 char *regexp, *startp, *endp = 0; in aname_do_match() local
228 regexp = (char *) malloc((size_t) regexlen+1); in aname_do_match()
230 if (regexp) { in aname_do_match()
231 strncpy(regexp, startp, regexlen); in aname_do_match()
232 regexp[regexlen] = '\0'; in aname_do_match()
238 if (!regcomp(&match_exp, regexp, REG_EXTENDED) && in aname_do_match()
246 compile(regexp, in aname_do_match()
255 if (!re_comp(regexp) && re_exec(string)) in aname_do_match()
260 free(regexp); in aname_do_match()
295 if (!regcomp(&match_exp, regexp, REG_EXTENDED)) { in do_replacement()
[all …]
/illumos-gate/usr/src/man/man7/
H A DMakefile117 regexp.7 \
204 advance.7 := LINKSRC = regexp.7
205 compile.7 := LINKSRC = regexp.7
206 step.7 := LINKSRC = regexp.7
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man7.inc17 link path=usr/share/man/man7/advance.7 target=regexp.7
24 link path=usr/share/man/man7/compile.7 target=regexp.7
68 file path=usr/share/man/man7/regexp.7
69 link path=usr/share/man/man7/step.7 target=regexp.7
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/
H A Dlibadm.h120 extern int ckstr_val __P((char *regexp[], int length, char *input));
121 extern void ckstr_err __P((char *regexp[], int length, char *error,
123 extern void ckstr_hlp __P((char *regexp[], int length, char *help));
124 extern int ckstr __P((char *strval, char *regexp[], int length,
/illumos-gate/usr/src/cmd/vgrind/
H A DMakefile48 VFONTEDPROBJS= vfontedpr.o vgrindefs.o regexp.o
49 RETESTOBJS= retest.o regexp.o
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_matching.c144 regex_t regexp; /* Compiled regular expression */ member
168 regfree(&rc->regexp); in free_rule_component()
354 ret = regcomp(&rc->regexp, value, REG_EXTENDED); in parse_rule_component()
356 (void) regerror(ret, &rc->regexp, err_buf, sizeof(err_buf)); in parse_rule_component()
474 code = regexec(&rc->regexp, value, 0, NULL, 0); in regexp_match()
/illumos-gate/usr/src/lib/libadm/
H A DMakefile.com35 putprmpt.o puttext.o rdwr_vtoc.o regexp.o space.o fulldevnm.o
/illumos-gate/usr/src/cmd/awk/
H A Db.c694 static Node *regexp(void), *primary(void), *concat(Node *);
713 np = regexp(); in reparse()
721 regexp(void) /* top-level parse of reg expr */ in regexp() function
769 np = regexp(); in primary()
/illumos-gate/usr/src/tools/scripts/
H A Dits.reg68 # A regexp(7) to tokenize a valid, unique key. See NOTES below.
81 # tokens to be substituted in *_URLs. See regexp(7) for syntax.
/illumos-gate/usr/src/head/
H A DMakefile157 regexp.h \
/illumos-gate/usr/src/cmd/ast/libast/
H A DMakefile.defs39 namval.h option.h proc.h re_comp.h recfmt.h regex.h regexp.h \
135 comp/regexp.o \
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DMakefile35 namval.h option.h proc.h re_comp.h recfmt.h regex.h regexp.h \
138 resolvepath.c realpath.c regcmp.c regexp.c setlogmask.c strftime.c \
H A DMamfile3681 make regexp.o
3682 make comp/regexp.c
3685 make comp/regexp.h implicit
3686 done comp/regexp.h
3688 done comp/regexp.c
3689 meta regexp.o %.c>%.o comp/regexp.c regexp
3690 prev comp/regexp.c
3692 done regexp.o generated
6751 make ${INSTALLROOT}/include/ast/regexp.h
6752 prev comp/regexp.h
[all …]
H A DRELEASE255 09-04-22 include/regex.h,regex/regcomp.c: add REG_REGEXP <regexp.h> compatibility
1600 fnmatch,re_comp,regexp: reimplement on top of regex
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dformat3.test566 if {[regexp SortCallback $prog]} {set x sort} {set x nosort}
H A Dwhere.test367 if {[regexp SortCallback $prog]} {set x sort} {set x nosort}
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Didsconfig.sh1488 dsMatching-regexp: host\/(.*).${LDAP_DOMAIN}@${LDAP_KRB_REALM}
1508 dsMatching-regexp: (.*)@${LDAP_KRB_REALM}

12