/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 42 re_comp(const char* pattern) argument 46 if (!pattern || !*pattern) 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
|
H A D | fnmatch.c | 53 fnmatch(const char* pattern, const char* subject, register int flags) argument 65 if (!(reflags = regcomp(&re, pattern, reflags))) 73 else if (!(reflags = regcomp(&re, pattern, reflags|REG_RIGHT)))
|
H A D | regexp.c | 55 _re_comp(regexp_t* re, const char* pattern, char* handle, unsigned int size) argument 65 n = regcomp(&env->re, pattern, REG_LENIENT|REG_NULL);
|
H A D | regcmp.c | 61 regcmp(const char* pattern, ...) argument 77 va_start(ap, pattern); 78 if (!pattern || !*pattern || !(sp = sfstropen())) 85 s = (char*)pattern;
|
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributePattern.java | 27 // AttributePattern.java: Models a pattern for attribute matching. 41 * The AttributePattern class models an attribute pattern. It handles 44 * object is a pattern consisting of (maximally) a beginning wildcard and 45 * string pattern. A PatternPart may be lacking the 58 * The PatternPart class models a single component of a pattern. 60 * pattern in the middle. Any of the parts may be missing, but it will 70 String pattern = ""; field in class:AttributePattern.PatternPart 74 pattern = str; 85 // If there's no wildcards, simply insert the string in as the pattern. 119 // Note that there may be a terminal pattern par [all...] |
H A D | Parser.java | 98 * @param pattern the operand of the term. 109 Object pattern, 428 if ((char)tok != CPAREN) { // It's a wildcarded pattern... 432 // Need to convert to a wildcarded pattern. Regardless 445 // Check for inappropriate pattern. 107 evaluate(AttributeString tag, char op, Object pattern, boolean invert, ParserRecord returns) argument
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regerror.c | 40 /* REG_EESCAPE */ "trailing \\ in pattern", 49 /* REG_ENULL */ "empty subexpr in pattern", 85 fatal(regdisc_t* disc, int code, const char* pattern) argument 89 if (pattern) 90 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s: %s", pattern, reg_error[code+1]); local
|
H A D | regcache.c | 33 #define ROUND 64 /* pattern buffer size round */ 39 char* pattern; member in struct:Cache_s 75 * return regcomp() compiled re for pattern and reflags 79 regcache(const char* pattern, regflags_t reflags, int* status) argument 90 * 0 pattern flushes the cache and reflags>0 extends cache 93 if (!pattern) 131 * check if the pattern is in the cache 134 for (i = 0; i < sizeof(key) && pattern[i]; i++) 135 ((char*)&key)[i] = pattern[i]; 145 else if (*(Key_t*)matchstate.cache[i]->pattern [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | infotocap.c | 73 lookat looks at a string such as "%p1%d" and a pattern such as "%p*%d", 76 pattern matches the string, 1 is returned. 80 lookat(char *string, char *pattern, char *args) argument 84 while ((pat = *pattern++) && (val = *string++))
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | getconf.c | 138 char* pattern; local 163 pattern = 0; 177 pattern = opt_info.arg; 187 pattern = opt_info.arg; 200 pattern = opt_info.arg; 239 astconflist(sfstdout, path, flags, pattern);
|
/osnet-11/usr/src/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 302 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 315 * pattern. 317 if (strcmp("*", pattern) == 0) { 326 if (gmatch(name, pattern)) 301 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 49 char pattern[128]; /* match pattern */ member in struct:__anon1130 174 for (r = more->pattern[0];; s++) 180 else if (*s == r && (e - s) >= more->match && !strncmp(s, more->pattern, more->match)) 221 if (n >= sizeof(more->pattern)) 222 n = sizeof(more->pattern) - 1; 223 memcpy(more->pattern, s, n); 224 more->pattern[n] = 0; 227 if (more->match = strlen(more->pattern))
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 488 char line[1024], pattern[40], mapname[20], accname[20], options[100]; local 514 (void) sprintf(pattern, "%%%lus %%%lus %%%lus\n", 531 n = sscanf(tmp, pattern, mapname, accname, options);
|
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | expand.c | 93 int path_expand(Shell_t *shp,const char *pattern, struct argnod **arghead) argument 123 extra += scantree(shp->alias_tree,pattern,arghead); 124 extra += scantree(shp->fun_tree,pattern,arghead); 141 * instead of being an augmented shell pattern. 193 if(memcmp(pattern,"~(N",3)==0) 195 glob(pattern, flags, 0, gp); 217 * scan tree and add each name that matches the given pattern 219 static int scantree(Dt_t *tree, const char *pattern, struct argnod **arghead) argument 228 if(strmatch(cp=nv_name(np),pattern)) 432 /* generate each pattern an [all...] |
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | getfilter.c | 322 ldap_build_filter( char *filtbuf, size_t buflen, char *pattern, argument 344 for ( p = pattern; *p != '\0'; ++p ) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | getfilter.c | 400 ldap_create_filter( char *filtbuf, unsigned long buflen, char *pattern, argument 412 if ( filtbuf == NULL || buflen == 0 || pattern == NULL ){ 431 for ( p = pattern; f != NULL && *p != '\0'; ++p ) { 506 ldap_build_filter( char *filtbuf, size_t buflen, char *pattern, argument 509 (void)ldap_create_filter( filtbuf, buflen, pattern, prefix, suffix, attr,
|
/osnet-11/usr/src/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 347 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) 380 if (strcmp("*", pattern) == 0) { 396 if (gmatch(name, pattern)) 346 dt_pid_create_glob_offset_probes(struct ps_prochandle *P, dtrace_hdl_t *dtp, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/ |
H A D | theme_loader.c | 51 "missing `*' in box pixmap pattern `%s'", abspattern); 87 const char *pattern, const char *theme_dir) 92 if (! pattern) 94 /* If no pixmap pattern is given, then just create an empty box. */ 106 abspattern = grub_resolve_relative_path (theme_dir, pattern); 86 grub_gui_recreate_box(grub_gfxmenu_box_t *boxptr, const char *pattern, const char *theme_dir) argument
|
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | fnmatch.c | 65 extern int fnmatch (const char *pattern, const char *string, int flags); 275 fnmatch (const char *pattern, const char *string, int flags) argument 292 patsize = mbsrtowcs (NULL, &pattern, 0, &ps) + 1; 324 mbsrtowcs (wpattern, &pattern, patsize, &ps); 340 return internal_fnmatch (pattern, string, string + strlen (string),
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/ |
H A D | Html.pm | 552 # have some ...\t...\t...\n pattern 1469 sub pattern ($) { $_[0] ? '[^\S\n]+'.('>' x ($_[0] + 1)) : '>' } subroutine 1650 my $term = pattern $closing; 1679 s/\A(.*?)(([BCEFILSXZ])<(<+[^\S\n]+)?|@{[pattern $closing[0]]})//s ){ 2034 my $term = pattern $closing; 2064 # some pattern matching operator?
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | fastfind.c | 158 * return a fastfind stream handle for pattern 162 findopen(const char* file, const char* pattern, const char* type, Finddisc_t* disc) argument 377 if (!pattern || !*pattern) 378 pattern = "*"; 379 i += (j = 2 * (strlen(pattern) + 1)); 589 if (p = s = (char*)pattern) 591 b = fp->decode.pattern; 643 if (s != pattern && !streq(pattern, "*")) [all...] |
H A D | findlib.h | 71 char pattern[1]; member in struct:__anon1154
|
/osnet-11/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 97 glob(const char *pattern, int flags, argument 122 if ((path = malloc(strlen(pattern)+2)) == NULL) 126 rv = globit(0, pattern, gp, flags, errfn, &path, &sc, &rc); 148 (void) append(gp, pattern, flags); 160 * Recursive routine to match glob pattern, and walk directories. 169 char *pat = (char *)sp; /* pattern component */ 171 int expand = 0; /* path has pattern */ 230 /* extract pattern component */
|
/osnet-11/usr/src/lib/libeti/menu/inc/ |
H A D | menu.h | 87 char *pattern; /* Buffer used to store match chars */ member in struct:MENU 88 int pindex; /* Index into pattern buffer */
|
/osnet-11/usr/src/lib/libadr/common/ |
H A D | adr_name.c | 536 * Compares an adr_name_t to a pattern. A pattern is just a partial 538 * the pattern is present in the name and has the same value. 541 adr_name_match(const adr_name_t *name, const adr_name_t *pattern) argument 543 if (pattern == NULL) 546 if (pattern->an_domain[0] != '\0' && 547 strcmp(name->an_domain, pattern->an_domain) != 0) 550 for (int i = 0; i < pattern->an_count; i++) { 551 const char *value = adr_name_key(name, pattern->an_keys[i]); 552 if (value == NULL || strcmp(value, pattern [all...] |