/titanic_50/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, ...) in regex() argument 191 if ((stringp == (char *)0) || (regexp == (char *)0)) { in regex() 215 if ((int)*regexp == (int)START_OF_STRING_MARK) { in regex() 222 regexp++; in regex() 223 end_of_matchp = test_string(stringp, regexp); in regex() 225 } else if ((int)*regexp == (int)ASCII_CHAR) { in regex() [all …]
|
H A D | regcmp.c | 94 static int get_count(int *countp, const char *regexp); 95 static int get_digit(const char *regexp); 96 static int get_wchar(wchar_t *wchar, const char *regexp); 123 regcmp(const char *regexp, ...) in regcmp() argument 160 va_start(arg_listp, regexp); in regcmp() 161 next_argp = regexp; in regcmp() 181 va_start(arg_listp, regexp); in regcmp() 183 char_size = get_wchar(¤t_char, regexp); in regcmp() 187 regexp += char_size; in regcmp() 189 regexp = next_argp; in regcmp() [all …]
|
/titanic_50/usr/src/lib/libadm/common/ |
H A D | ckstr.c | 63 sethlp(char *msg, char *regexp[], int length) in sethlp() argument 74 if (regexp && regexp[0]) { in sethlp() 75 (void) strcat(msg, regexp[1] ? HLPMSG2 : HLPMSG3); in sethlp() 76 for (i = 0; regexp[i]; i++) { in sethlp() 78 (void) strcat(msg, regexp[i]); in sethlp() 86 ckstr_val(char *regexp[], int length, char *input) in ckstr_val() argument 96 if (regexp && regexp[0]) { in ckstr_val() 98 for (i = 0; !valid && regexp[i]; ++i) { in ckstr_val() 99 if (!__compile(regexp[i], expbuf, &expbuf[ESIZE], '\0')) in ckstr_val() 113 ckstr_err(char *regexp[], int length, char *error, char *input) in ckstr_err() argument [all …]
|
/titanic_50/usr/src/cmd/valtools/ |
H A D | ckstr.c | 117 char **regexp; in main() local 131 regexp = (char **)calloc(maxregexp, sizeof (char *)); in main() 132 if (!regexp) { in main() 162 regexp[nregexp++] = optarg; in main() 165 regexp = (char **)realloc(regexp, in main() 167 if (!regexp) { in main() 172 (void) memset(regexp + nregexp, 0, in main() 226 if (ckstr_val(regexp, length, argv[optind])) in main() 235 ckstr_err(regexp, length, error, argv[optind]); in main() 244 ckstr_hlp(regexp, length, help); in main() [all …]
|
/titanic_50/usr/src/cmd/vi/port/ |
H A D | ex_re.h | 41 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 D | ex_re.c | 1025 if ((re = calloc(1, sizeof(struct regexp))) == NULL) { in vi_compile() 1031 memset(re, 0, sizeof(struct regexp)); in vi_compile() 1152 if ((re = calloc(1, sizeof(struct regexp))) == NULL) { in init_re() 1157 if ((scanre = calloc(1, sizeof(struct regexp))) == NULL) { in init_re() 1162 if ((subre = calloc(1, sizeof(struct regexp))) == NULL) { in init_re() 1175 void savere(struct regexp ** a) in savere() 1195 memcpy(*a, re, sizeof(struct regexp)); in savere() 1205 void resre(struct regexp * a) in resre() 1226 memcpy(re, a, sizeof(struct regexp)); in resre()
|
/titanic_50/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 38 #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 ®exp)) != 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 …]
|
/titanic_50/usr/src/tools/cscope-fast/ |
H A D | find.c | 65 static char *regexp; /* regular expression */ variable 182 if (regexp != NULL) { in findsymbol() 186 if (*s != '\0' && regex(regexp, s) != NULL) { in findsymbol() 197 if (regexp != NULL) { in findsymbol() 211 if (regex(regexp, s) != NULL) { in findsymbol() 333 if (regexp != NULL) { in finddef() 337 if (*s != '\0' && regex(regexp, s) != NULL) { in finddef() 689 if (regex(regexp, s) != NULL) { in findfile() 761 if ((regexp = regcmp(pattern, (char *)NULL)) == NULL) { in findinit() 815 if ((regexp = regcmp(buf, (char *)NULL)) == NULL) { in findinit() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 208 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() 285 do_replacement(char *regexp, char *repl, int doall, char *in, char *out) in do_replacement() argument [all …]
|
/titanic_50/usr/src/man/man5/ |
H A D | Makefile | 112 regexp.5 \ 179 advance.5 := LINKSRC = regexp.5 180 compile.5 := LINKSRC = regexp.5 181 step.5 := LINKSRC = regexp.5
|
/titanic_50/usr/src/pkg/manifests/ |
H A D | system-library.man5.inc | 64 file path=usr/share/man/man5/regexp.5 67 link path=usr/share/man/man5/advance.5 target=regexp.5 68 link path=usr/share/man/man5/compile.5 target=regexp.5 71 link path=usr/share/man/man5/step.5 target=regexp.5
|
/titanic_50/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,
|
/titanic_50/usr/src/cmd/vgrind/ |
H A D | Makefile | 48 VFONTEDPROBJS= vfontedpr.o vgrindefs.o regexp.o 49 RETESTOBJS= retest.o regexp.o
|
/titanic_50/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_matching.c | 144 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()
|
/titanic_50/usr/src/lib/libadm/ |
H A D | Makefile.com | 34 putprmpt.o puttext.o rdwr_vtoc.o regexp.o space.o fulldevnm.o
|
/titanic_50/usr/src/cmd/awk/ |
H A D | b.c | 562 static Node *regexp(void), *primary(void), *concat(Node *); 577 np = regexp(); in reparse() 589 regexp(void) in regexp() function 634 np = regexp(); in primary()
|
/titanic_50/usr/src/tools/scripts/ |
H A D | its.reg | 68 # A regexp(5) to tokenize a valid, unique key. See NOTES below. 81 # tokens to be substituted in *_URLs. See regexp(5) for syntax.
|
/titanic_50/usr/src/lib/libast/ |
H A D | Makefile | 120 regexp.h \
|
H A D | Makefile.com | 107 common/comp/regexp.o \
|
/titanic_50/usr/src/lib/libast/common/regex/ |
H A D | regcomp.c | 125 int regexp; /* <regexp.h> compatibility */ member 1297 if (env->regexp) in bra() 1346 if (env->regexp) in bra() 1367 if (env->regexp) in bra() 1556 if (env->regexp) in bra() 1592 if (env->regexp) in bra() 1654 if (env->regexp) in bra() 3260 env.regexp = !!(env.flags & REG_REGEXP); in regcomp()
|
/titanic_50/usr/src/head/ |
H A D | Makefile | 154 regexp.h \
|
/titanic_50/usr/src/lib/libsqlite/test/ |
H A D | format3.test | 568 if {[regexp SortCallback $prog]} {set x sort} {set x nosort}
|
H A D | where.test | 369 if {[regexp SortCallback $prog]} {set x sort} {set x nosort}
|
/titanic_50/usr/src/cmd/ldap/ns_ldap/ |
H A D | idsconfig.sh | 1488 dsMatching-regexp: host\/(.*).${LDAP_DOMAIN}@${LDAP_KRB_REALM} 1508 dsMatching-regexp: (.*)@${LDAP_KRB_REALM}
|
/titanic_50/usr/src/lib/libc/port/ |
H A D | llib-lc | 1175 char *regex(const char *regexp, const char *stringp, ...); 1182 char *regcmp(const char *regexp, ...);
|