/opensolaris-onvv-gate/usr/src/cmd/vi/port/ |
H A D | ex_re.h | 41 struct regexp { struct 52 var struct regexp *re; /* Last re */ 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);
|
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/tptregexp/ |
H A D | tptregexp.h | 2 * Definitions etc. for regexp(3) routines. 4 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof], 10 typedef struct regexp { struct 18 } regexp; typedef in typeref:struct:regexp 20 extern regexp *tpt_regcomp();
|
H A D | Imakefile | 12 SRCS = regexp.c regsub.c regerror.c 13 OBJS = regexp.o regsub.o regerror.o
|
H A D | README.osf | 24 Renamed "regexp.h" to "tptregexp.h" to avoid conflicts with systems that 25 have a /usr/include/regexp.h. Changed the *.c files in the appropriate 35 In Makefile - wrote "all" and "install" targets. Changed "regexp.h" 38 In regexp.c - added #include <string.h> to keep compiler happy.
|
H A D | Makefile | 62 OBJ=regexp.o regsub.o regerror.o strerror.o 63 LSRC=regexp.c regsub.c regerror.c strerror.c 64 DTR=README dMakefile regexp.3 tptregexp.h regexp.c regsub.c regerror.c \ 95 regexp.o: regexp.c tptregexp.h regmagic.h
|
H A D | try.c | 2 * Simple test program for regexp(3) stuff. Knows about debugging hooks. 56 regexp *r; 106 fprintf(stderr, "regexp: "); 115 regexp badregexp; /* Implicit init to 0. */ 123 regexp *r; 152 if (tpt_regexec((regexp *)NULL, "foo") || errseen == NULL) 166 tpt_regsub((regexp *)NULL, "foo", rbuf); 193 regexp *r;
|
H A D | regexp.3 | 11 #include <regexp.h> 13 regexp *regcomp(exp) 17 regexp *prog; 21 regexp *prog; 34 .IR regexp , 48 .I regexp
|
H A D | regsub.c | 33 - regsub - perform substitutions after a regexp match 37 regexp *prog; 53 tpt_regerror("damaged regexp fed to regsub");
|
/opensolaris-onvv-gate/usr/src/lib/libc/port/regex/ |
H A D | regex.c | 135 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 D | regcmp.c | 96 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(¤t_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...] |
/opensolaris-onvv-gate/usr/src/lib/libadm/common/ |
H A D | ckstr.c | 65 sethlp(char *msg, char *regexp[], int length) argument 76 if (regexp && regexp[0]) { 77 (void) strcat(msg, regexp[1] ? HLPMSG2 : HLPMSG3); 78 for (i = 0; regexp[i]; i++) { 80 (void) strcat(msg, regexp[i]); 88 ckstr_val(char *regexp[], int length, char *input) argument 98 if (regexp && regexp[0]) { 100 for (i = 0; !valid && regexp[ 115 ckstr_err(char *regexp[], int length, char *error, char *input) argument 133 ckstr_hlp(char *regexp[], int length, char *help) argument 143 ckstr(char *strval, char *regexp[], int length, char *defstr, char *error, char *help, char *prompt) argument [all...] |
H A D | regexp.c | 66 #include <regexp.h>
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/re/ |
H A D | re.xs | 12 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);
|
/opensolaris-onvv-gate/usr/src/cmd/valtools/ |
H A D | ckstr.c | 55 #define USAGE "[-l length] [[-r regexp] [...]]" 117 char **regexp; local 131 regexp = (char **)calloc(maxregexp, sizeof (char *)); 132 if (!regexp) { 162 regexp[nregexp++] = optarg; 165 regexp = (char **)realloc(regexp, 167 if (!regexp) { 172 (void) memset(regexp + nregexp, 0, 226 if (ckstr_val(regexp, lengt [all...] |
/opensolaris-onvv-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 38 #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; 210 char *regexp; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/ |
H A D | translate.h | 79 regexp *rex; /* attribute value reg expr (compiled) */ 87 regexp *context_re; /* tree heirarchy looking depth levels up */ 94 regexp *content_re; /* content reg expr (compiled) */ 99 regexp *var_RE_value; /* variable value (compiled, for VarREValue) */
|
/opensolaris-onvv-gate/usr/src/tools/cscope-fast/ |
H A D | find.c | 65 static char *regexp; /* regular expression */ variable 182 if (regexp != NULL) { 186 if (*s != '\0' && regex(regexp, s) != NULL) { 197 if (regexp != NULL) { 211 if (regex(regexp, s) != NULL) { 333 if (regexp != NULL) { 337 if (*s != '\0' && regex(regexp, s) != NULL) { 689 if (regex(regexp, s) != NULL) { 761 if ((regexp = regcmp(pattern, (char *)NULL)) == NULL) { 815 if ((regexp [all...] |
/opensolaris-onvv-gate/usr/src/cmd/vgrind/ |
H A D | Makefile | 48 VFONTEDPROBJS= vfontedpr.o vgrindefs.o regexp.o 49 RETESTOBJS= retest.o regexp.o
|
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 180 * "(" <regexp> ")" 181 * Where: <regexp> is a selector regular expression. If this 189 * "s/" <regexp> "/" <text> "/" ["g"] 208 char *regexp, *startp, *endp = 0; local 228 regexp = (char *) malloc((size_t) regexlen+1); 230 if (regexp) { 231 strncpy(regexp, startp, regexlen); 232 regexp[regexlen] = '\0'; 238 if (!regcomp(&match_exp, regexp, REG_EXTENDED) && 246 compile(regexp, 285 do_replacement(char *regexp, char *repl, int doall, char *in, char *out) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/ |
H A D | regcomp.c | 59 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg, 61 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg, 64 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg, 67 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg, 70 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg, 73 static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp, 76 static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa, 80 re_string_t *regexp, 86 re_string_t *regexp, 246 /* Set by `re_set_syntax' to the current regexp synta 735 re_string_t regexp; local 2080 parse(re_string_t *regexp, regex_t *preg, reg_syntax_t syntax, reg_errcode_t *err) argument 2114 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 2155 parse_branch(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument 2195 parse_expression(re_string_t *regexp, regex_t *preg, re_token_t *token, reg_syntax_t syntax, Idx nest, reg_errcode_t *err) argument 2411 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 2449 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 2734 parse_bracket_exp(re_string_t *regexp, re_dfa_t *dfa, re_token_t *token, reg_syntax_t syntax, reg_errcode_t *err) argument 3292 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 3332 parse_bracket_symbol(bracket_elem_t *elem, re_string_t *regexp, re_token_t *token) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/B/t/ |
H A D | lint.t | 75 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
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | regexp.h | 0 /* 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
|
/opensolaris-onvv-gate/usr/src/lib/libadm/ |
H A D | Makefile.com | 34 putprmpt.o puttext.o rdwr_vtoc.o regexp.o space.o fulldevnm.o
|
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/hdrs/ |
H A D | libadm.h | 120 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,
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 24 * <regexp.h> library support 30 #include <regexp.h>
|