Searched refs:regexp (Results 1 - 25 of 46) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/regex/
H A Dregex.c135 const char *regexp);
140 const char *regexp);
145 const char *regexp);
149 const char *regexp);
172 regex(const char *regexp, const char *stringp, ...) argument
191 if ((stringp == (char *)0) || (regexp == (char *)0)) {
215 if ((int)*regexp == (int)START_OF_STRING_MARK) {
222 regexp++;
223 end_of_matchp = test_string(stringp, regexp);
225 } else if ((int)*regexp
653 test_repeated_ascii_char(const char *repeat_startp, const char *stringp, const char *regexp) argument
669 test_repeated_multibyte_char(const char *repeat_startp, const char *stringp, const char *regexp) argument
685 test_repeated_group(const char *repeat_startp, const char *stringp, const char *regexp) argument
704 test_string(const char *stringp, const char *regexp) argument
[all...]
H A Dregcmp.c96 static int get_count(int *countp, const char *regexp);
97 static int get_digit(const char *regexp);
98 static int get_wchar(wchar_t *wchar, const char *regexp);
125 regcmp(const char *regexp, ...) argument
162 va_start(arg_listp, regexp);
163 next_argp = regexp;
183 va_start(arg_listp, regexp);
185 char_size = get_wchar(&current_char, regexp);
189 regexp += char_size;
191 regexp
931 get_count(int *countp, const char *regexp) argument
953 get_digit(const char *regexp) argument
970 get_wchar(wchar_t *wcharp, const char *regexp) argument
[all...]
/osnet-11/usr/src/lib/libadm/common/
H A Dckstr.c61 sethlp(char *msg, char *regexp[], int length) argument
72 if (regexp && regexp[0]) {
73 (void) strcat(msg, regexp[1] ? HLPMSG2 : HLPMSG3);
74 for (i = 0; regexp[i]; i++) {
76 (void) strcat(msg, regexp[i]);
84 ckstr_val(char *regexp[], int length, char *input) argument
94 if (regexp && regexp[0]) {
96 for (i = 0; !valid && regexp[
111 ckstr_err(char *regexp[], int length, char *error, char *input) argument
129 ckstr_hlp(char *regexp[], int length, char *help) argument
139 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, char *help, char *prompt) argument
[all...]
H A Dregexp.c66 #include <regexp.h>
/osnet-11/usr/src/grub/grub2/tests/
H A Dgrub_cmd_echo.in35 if test -n "$grubshell"; then insmod regexp; fi
H A Dgrub_script_expansion.in21 other=`echo insmod regexp\; echo \* | @builddir@/grub-shell`
36 other=`echo insmod regexp\; echo '(*)' | @builddir@/grub-shell`
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/re/
H A Dre.xs12 extern regexp* my_regcomp (pTHX_ char* exp, char* xend, PMOP* pm);
13 extern I32 my_regexec (pTHX_ regexp* prog, char* stringarg, char* strend,
16 extern void my_regfree (pTHX_ struct regexp* r);
17 extern char* my_re_intuit_start (pTHX_ regexp *prog, SV *sv, char *strpos,
20 extern SV* my_re_intuit_string (pTHX_ regexp *prog);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dwildcard.c34 regex_t *regexp);
36 static char ** match_devices (const regex_t *regexp, int noparts);
38 const char *suffix_end, const regex_t *regexp);
118 make_regex (const char *start, const char *end, regex_t *regexp) argument
161 if (regcomp (regexp, buffer, RE_SYNTAX_GNU_AWK))
209 match_devices (const regex_t *regexp, int noparts) argument
230 if (regexec (regexp, buffer, 0, 0, 0))
267 const regex_t *regexp)
290 if (regexec (regexp, name, 0, 0, 0))
424 regex_t regexp; local
266 match_files(const char *prefix, const char *suffix, const char *end, const regex_t *regexp) argument
[all...]
H A Dregexp.c0 /* regexp.c -- The regexp command. */
139 GRUB_MOD_INIT(regexp)
141 cmd = grub_register_extcmd ("regexp", grub_cmd_regexp, 0, N_("REGEXP STRING"),
148 GRUB_MOD_FINI(regexp)
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c37 #error I cannot find any regexp functions
75 * regexp (w) the ed-style regexp created from glob
79 * regexp is filled in with allocated memory contained a regular
82 * character and realm is not NULL, "@*" is appended to the regexp.
93 * regexp is anchored with ^ and $
95 static kadm5_ret_t glob_to_regexp(char *glob, char *realm, char **regexp) argument
104 /* A character of glob can turn into two in regexp, plus ^ and $ */
111 *regexp = p;
211 char *regexp; local
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c179 * "(" <regexp> ")"
180 * Where: <regexp> is a selector regular expression. If this
188 * "s/" <regexp> "/" <text> "/" ["g"]
207 char *regexp, *startp, *endp = 0; local
227 regexp = (char *) malloc((size_t) regexlen+1);
229 if (regexp) {
230 strncpy(regexp, startp, regexlen);
231 regexp[regexlen] = '\0';
237 if (!regcomp(&match_exp, regexp, REG_EXTENDED) &&
245 compile(regexp,
284 do_replacement(char *regexp, char *repl, int doall, char *in, char *out) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregcomp.c61 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg,
63 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg,
66 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg,
69 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg,
72 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg,
75 static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp,
78 static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,
82 re_string_t *regexp,
88 re_string_t *regexp,
248 /* Set by `re_set_syntax' to the current regexp synta
757 re_string_t regexp; local
2108 parse(re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, reg_errcode_t *err) argument
2142 parse_reg_exp(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument
2183 parse_branch(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument
2223 parse_expression(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument
2439 parse_sub_exp(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument
2477 parse_dup_op(bin_tree_t *elem, re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) argument
2775 parse_bracket_exp(re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) argument
3342 parse_bracket_element(bracket_elem_t *elem, re_string_t *regexp, re_token_t *token, int token_len, re_dfa_t *dfa, reg_syntax_t syntax, bool accept_hyphen) argument
3382 parse_bracket_symbol(bracket_elem_t *elem, re_string_t *regexp, re_token_t *token) argument
[all...]
/osnet-11/usr/src/lib/libadm/
H A DMakefile.com33 putprmpt.o puttext.o rdwr_vtoc.o regexp.o space.o fulldevnm.o
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dregexp.h0 /* regexp.h
12 * Definitions etc. for regexp(3) routines.
14 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
31 typedef struct regexp { struct
51 } regexp; typedef in typeref:struct:regexp
H A Dthrdvar.h187 PERLVAR(Tregcomp_rx, regexp *) /* from regcomp.c */
213 PERLVAR(Treg_re, regexp *) /* from regexec.c */
H A Dregexec.c8 /* NOTE: this is derived from Henry Spencer's regexp code, and should not
191 * are needed for the regexp context stack bookkeeping. */
287 regexp *re;
313 - pregexec - match a regexp against a string
316 Perl_pregexec(pTHX_ register regexp *prog, char *stringarg, register char *strend,
329 S_cache_re(pTHX_ regexp *prog)
387 Perl_re_intuit_start(pTHX_ regexp *prog, SV *sv, char *strpos,
951 S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *startpos, I32 norun)
1603 - regexec_flags - match a regexp against a string
1606 Perl_regexec_flags(pTHX_ register regexp *pro
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/
H A Dlint.t75 runlint 'regexp-variables', 'print $&', <<'RESULT';
76 Use of regexp variable $& at -e line 1
79 runlint 'regexp-variables', 's/./$&/', <<'RESULT';
80 Use of regexp variable $& at -e line 1
/osnet-11/usr/src/lib/libast/common/comp/
H A Dregexp.c24 * <regexp.h> library support
30 #include <regexp.h>
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_matching.c137 regex_t regexp; /* Compiled regular expression */ member in struct:_rule_component
159 regfree(&rc->regexp);
343 ret = regcomp(&rc->regexp, value, REG_EXTENDED);
345 regerror(ret, &rc->regexp, err_buf, sizeof(err_buf));
458 code = regexec(&rc->regexp, value, 0, NULL, 0);
/osnet-11/usr/src/lib/libast/
H A DMakefile124 regexp.h \
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_devinfo.c45 char *regexp; member in struct:lu_data
217 data->regexp, path, 0, data, get_devlink_name);
885 if ((data.regexp = strdup("^dsk/.*s0$")) == NULL)
900 if ((data.regexp = strdup(sh->sh_mdev + 4)) == NULL) {
906 * example, regexp will contain "^dsk/c0t0d0s0" after this.
908 *data.regexp = '^';
1031 free(data.regexp);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DLint.pm93 =item B<regexp-variables>
95 This option warns whenever one of the regexp variables $', $& or
296 warning('Use of regexp variable $%s', $name);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Sys/Syslog/t/
H A Dsyslog.t19 pack portable recursion redefine regexp severe signal substr
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Ddprofpp.PL68 dprofpp [B<-a>|B<-z>|B<-l>|B<-v>|B<-U>] [B<-d>] [B<-s>|B<-r>|B<-u>] [B<-q>] [B<-F>] [B<-I|-E>] [B<-O cnt>] [B<-A>] [B<-R>] [B<-S>] [B<-g subroutine>] [B<-G> <regexp> [B<-P>]] [B<-f> <regexp>] [profile]
74 dprofpp B<-G> <regexp> [B<-P>] [profile]
275 =item B<-G> <regexp>
290 =item B<-f> <regexp>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Safe/t/
H A Dopcode.pl640 pushre push regexp ck_null d/
665 regcmaybe regexp internal guard ck_fun s1 S
666 regcreset regexp internal reset ck_fun s1 S
667 regcomp regexp compilation ck_null s| S

Completed in 78 milliseconds

12