/opensolaris-onvv-gate/usr/src/cmd/lp/lib/filters/ |
H A D | regex.h | 31 int match ( char * , char * ); 36 int match();
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/regex/ |
H A D | regexec.c | 36 regexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match, regflags_t flags) argument 41 int m = match->rm_so; 44 if (!(r = regnexec(p, s + m, match->rm_eo - m, nmatch, match, flags)) && m > 0) 45 for (e = match + nmatch; match < e; match++) 46 if (match->rm_so >= 0) 48 match->rm_so += m; 49 match [all...] |
H A D | regsub.c | 35 subold(register Sfio_t* dp, const char* op, register const char* sp, size_t nmatch, register regmatch_t* match, register regflags_t flags, int sre) argument 210 s = (char*)op + match[c].rm_so; 211 e = (char*)op + match[c].rm_eo; 242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* match, regflags_t flags) argument 256 sfwrite(dp, op, match->rm_eo); 259 sfwrite(dp, op, match->rm_so); 260 if (r = subold(dp, op, sp, nmatch, match, flags, sre)) 263 op += match->rm_eo; 264 } while ((m > 0 || (flags & REG_SUB_ALL)) && !(r = regexec(p, op, nmatch, match, p->env->flags|(match [all...] |
H A D | regsubexec.c | 71 sub(const regex_t* p, register regsub_t* b, const char* ss, register regsubop_t* op, size_t nmatch, register regmatch_t* match) argument 86 if ((c = match[op->off].rm_so) < 0) 89 if ((c = match[op->off].rm_eo) < 0) 148 regsubexec(const regex_t* p, const char* s, size_t nmatch, regmatch_t* match) argument 165 PUTS(p, b, s, match->rm_eo, return fatal(p->env->disc, c, NiL)); 168 PUTS(p, b, s, match->rm_so, return fatal(p->env->disc, c, NiL)); 169 if (!c && (c = sub(p, b, s, b->re_ops, nmatch, match))) 172 s += match->rm_eo; 175 if (c = regnexec(p, s, e - s, nmatch, match, p->env->flags|(match [all...] |
/opensolaris-onvv-gate/usr/src/cmd/vgrind/ |
H A D | retest.c | 26 char *match; local 34 match = ireg; 35 while(*match) { 36 switch (*match) { 42 printf ("%c", *match); 46 if (isalnum(*match)) 47 printf("%c", *match); 49 printf ("<%03o>", *match); 52 match++; 58 match [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/tools/ |
H A D | getmessage.awk | 59 if (match($j, /[a-z]/) == 0 && 60 match($j, /[A-Z]/) != 0) 72 if (match($j, /[a-z]/) == 0 && 73 match($j, /[A-Z]/) != 0) 85 if (match($1, /[a-z]/) == 0 && 86 match($1, /[A-Z]/) != 0) 90 if (match($1, /[a-z]/) == 0 && 91 match($1, /[A-Z]/) != 0)
|
H A D | catalog.awk | 68 } else if (match($2, "MSG_ID_") != 0) {
|
/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/i386/pid/ |
H A D | tst.retlist.ksh | 29 # Make sure we can match against 2-byte rets 41 match=`$dtrace -l -n pid$PID:a.out:simple: -n pid$PID:a.out:complex: | wc -l` 45 if [ "$match" -ne 12 ]; then 46 echo wrong number of matched probes: $match
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/path/ |
H A D | pathrepl.c | 27 * in place replace of first occurrence of /match/ with /replace/ in path 34 pathrepl(register char* path, const char* match, register const char* replace) argument 36 register const char* m = match; 40 if (!match) match = ""; 42 if (streq(match, replace)) 73 m = match;
|
H A D | pathgetlink.c | 60 int match = 0; local 72 if (match) 82 if (!match && t < &tmp[sizeof(tmp) - univ_size + 1]) for (n = 0; n < UNIV_MAX; n++) 89 match = 1;
|
/opensolaris-onvv-gate/usr/src/tools/onbld/Checks/ |
H A D | Comments.py | 42 return arcre.match(comment) 45 return bugre.match(comment) 92 match = bugre.search(com) 93 if match: 94 if match.group(1) not in bugs: 95 bugs[match.group(1)] = [] 96 bugs[match.group(1)].append(match.group(2)) 104 match = bugnospcre.search(com) 105 if match [all...] |
H A D | Keywords.py | 67 match = anykword.findall(line) 68 if match: 71 (filename, lineno, ', '.join(match)))
|
H A D | Copyright.py | 106 match = goodcopyright.search(line) 107 if match: 109 # following a copyright match 114 if match.group(2) != year: 117 (match.group(2), year), filename, lineno) 120 if match.group(3) != ',': 125 if match.group(4) != ' ':
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 29 * match shell file patterns 63 regmatch_t* match; member in struct:State_s 68 * subgroup match 69 * 0 returned if no match 71 * match group begin offsets are even elements of sub 72 * match group end offsets are odd elements of sub 128 if (!(matchstate.match = newof(matchstate.match, regmatch_t, n, 0))) 132 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE))) 140 *sub++ = matchstate.match[ 168 int match[2]; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | complete.pl | 47 local($prompt, @cmp_list, $return, @match, $l, $test, $cmp, $r); 63 @match = grep(/^$return/, @cmp_lst); 64 $l = length($test = shift(@match)); 65 unless ($#match < 0) { 66 foreach $cmp (@match) {
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/ |
H A D | regexp.c | 98 regmatch_t match[elementsof(re->re_braslist)+1]; local 100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) 102 re->re_loc1 = (char*)subject + match[0].rm_so; 103 re->re_loc2 = (char*)subject + match[0].rm_eo; 106 re->re_braslist[n-1] = (char*)subject + match[n].rm_so; 107 re->re_braelist[n-1] = (char*)subject + match[n].rm_eo;
|
/opensolaris-onvv-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_nvpair.c | 78 nvpair_t *match = local 81 if (match == NULL) { 84 error = nvpair_value_uint16(match, val); 152 nvpair_t *match = local 155 if (match == NULL) { 158 error = nvpair_value_uint32(match, val); 226 nvpair_t *match = local 229 if (match == NULL) { 232 error = nvpair_value_uint64(match, val); 372 nvpair_t *match local 450 nvpair_t *match = local 534 nvpair_t *match = local 618 nvpair_t *match = local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/allocate/ |
H A D | svc-allocate | 54 <match key="info.capabilities" contains="volume"> 55 <match key="@block.storage_device:storage.removable" bool="true"> 57 </match> 58 <match key="@block.storage_device:storage.hotpluggable" bool="true"> 60 </match> 61 </match>
|
/opensolaris-onvv-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | putenv.c | 49 static int match(char *, char *); 100 if (match(environ[ct], str) != 0) 109 * if names match, return value of 1, 114 match(char *s1, char *s2) function
|
/opensolaris-onvv-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributePattern.java | 133 // returning true if they match. 135 public boolean match(AttributeString str) { method in class:AttributePattern 139 boolean match = true; 160 match = false; 171 // have a match. 176 // a pure wildcard, then we *do* have a match. 188 match = false; 199 // The pattern string must match the beginning part of the 207 match = false; 224 return match; [all...] |
/opensolaris-onvv-gate/usr/src/lib/sun_fc/common/ |
H A D | HandleNPIVPort.h | 55 bool match(uint64_t portWWN); 56 bool match(int index);
|
/opensolaris-onvv-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 230 nvpair_t *match = zjni_nvlist_walk_nvpair( local 233 if (match == NULL || nvpair_value_uint32(match, &status)) { 452 nvpair_t *match = zjni_nvlist_walk_nvpair( local 454 if (match == NULL || nvpair_value_uint64(match, size)) { 457 match = zjni_nvlist_walk_nvpair( 459 if (match == NULL || nvpair_value_uint64(match, size)) { 467 match 498 nvpair_t *match; local 557 nvpair_t *match = zjni_nvlist_walk_nvpair( local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/revnetgroup/ |
H A D | getgroup.c | 62 static char *match(); 118 if ((val = match(group)) == NULL) { 219 * scans cp, looking for a match with any character 220 * in match. Returns pointer to place in cp that matched 221 * (or NULL if no match) 224 any(cp, match) 226 char *match; 231 for (mp = match; *mp; mp++) 242 * The equivalent of yp_match. Returns the match, or NULL if there is none. 245 match(grou function [all...] |
/opensolaris-onvv-gate/usr/src/lib/libshell/common/scripts/ |
H A D | shman.sh | 198 typeset match="${mandir}/sman${mansect}/${manname}.${mansect}" 199 if [[ -r "${match}" ]] ; then 204 debug_print -f "match: %s\n" "${match}" 206 tmp="$(cd "${mandir}" ; LC_MESSAGES=C /usr/lib/sgml/sgml2roff "${match}")" 210 match="${nlink}" 221 match="${mandir}/man${mansect}/${manname}.${mansect}" 222 if [[ -r "${match}" ]] ; then 223 debug_print -f "match: %s\n" "${match}" [all...] |
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/ |
H A D | rpmatch.c | 34 try (const char *response, const char *pattern, const int match, argument 53 return regexec (re, response, 0, NULL, 0) == 0 ? match : nomatch;
|