/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/re/ |
H A D | re.pm | 1 package re; package 7 re - Perl pragma to alter regular expression behaviour 11 use re 'taint'; 15 use re 'eval'; 19 no re 'taint'; # the default 22 no re 'eval'; # the default 26 use re 'debug'; # NOT lexically scoped (as others are) 30 use re 'debugcolor'; # same as 'debug', but with colored output 37 When C<use re 'taint'> is in effect, and a tainted string is the target 43 When C<use re 'eva [all...] |
/osnet-11/usr/src/tools/onbld/Checks/ |
H A D | Keywords.py | 34 import re, sys namespace 37 ident = re.compile(r'((\%Z\%(\%M\%)\s+\%I\%|\%W\%)\s+\%E\% SMI)') 44 anykword = re.compile(r'%[A-ILMP-UWYZ]%')
|
H A D | Mapfile.py | 41 import re, sys, CmtBlk namespace 54 CmtRE = re.compile(r'#.*$') 55 LeadingWSRE = re.compile(r'^\s+') 56 VersionRE = re.compile(r'^\$mapfile_version\s+2\s*$') 77 SymVerRE = re.compile(r'^\s*symbol_version\s+', re.IGNORECASE)
|
H A D | CmtBlk.py | 32 import re, sys namespace 67 StartRE = re.compile(r'^[%s ]*%s' % (CmntChrs, StartText)) 68 EndRE = re.compile(r'^[%s ]*%s' % (CmntChrs, EndText)) 94 # Check for no comment block, warn if we're not being lenient
|
H A D | Comments.py | 35 import re, sys namespace 38 arcre = re.compile(r'^([A-Z][A-Z]*ARC[/ \t][12]\d{3}/\d{3}) (.*)$') 39 bugre = re.compile(r'^(\d{7}) (.*)$') 52 return re.sub(r'^([A-Z][A-Z]*ARC)[/ \t]', '\\1 ', caseid) 66 bugnospcre = re.compile(r'^(\d{7})([^ ].*)') 67 ignorere = re.compile(r'^(Portions contributed by |Contributed by |back[ -]?out )') 115 arc, case = re.split('[/ \t]', match.group(1), 1) 144 if not re.search(r'^' + re.escape(synopsis) + 166 # trailing (fix nit)-type comment, and re [all...] |
H A D | Copyright.py | 36 import time, re, sys namespace 45 oldcopyright = re.compile(r'Copyright \(c\) .* Sun Microsystems, Inc\.') 48 oldcopyright1 = re.compile(r'Copyright .* by Sun Microsystems, Inc\.') 51 suncopyright = re.compile(r'Copyright ([\d, -]+) Sun Microsystems, Inc\.' + 58 goodcopyright = re.compile(r'Copyright \(c\) (\d\d\d\d, )?(\d\d\d\d)(,)? ' +
|
H A D | HdrChk.py | 70 import re, os, sys namespace 109 if self.lenient and re.search(r'^\s*//', line): 113 if not re.search(r'^\s*/\*', line): 116 while not re.search(r'\*/', line): 123 if re.search(r'Copyright (?!\[yyyy\])', line): 127 if re.search(r'Copyright (?!\[yyyy\])', line): 152 IDENT = re.compile(r'(%s)' % '|'.join(idents)) 186 match = re.search(r'^#ifndef\s([a-zA-Z0-9_]+)$', line) 205 if not re.search(r'^_.*%s[_]?$' % guardname, guard): 211 if not re [all...] |
H A D | Rti.py | 40 import re, os, sys namespace 43 opensolarisGateRe = re.compile(r'.*osol[0-9]+-sust$') 44 patchGateRe = re.compile(r'.*-patch.*') 45 updateGateRe = re.compile(r'.*update.*') 46 s11uxGateRe = re.compile(r'.*on11u.*') 47 oseGateRe = re.compile(r'.*onose[0-9]+-sust.*') 48 sruGateRe = re.compile(r'.*sru.*') 49 testGateRe = re.compile(r'.*-(stc2|test)$')
|
H A D | DbLookups.py | 35 import re namespace 102 metaHtmlRe = re.compile(r'^<meta name="([^"]+)" content="([^"]*)">$') 223 # else we're off-swan and querying via boo, which we can 335 returnCodeRe = re.compile(r'.*RETURN_CODE=(\d+)')
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 37 regex_t re; member in struct:__anon1126 57 regfree(&state.re); 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL))) 65 regerror(r, &state.re, state.error, sizeof(state.error)); 73 switch (regexec(&state.re, subject, 0, NiL, 0))
|
H A D | fnmatch.c | 57 regex_t re; local 65 if (!(reflags = regcomp(&re, pattern, reflags))) 67 reflags = regexec(&re, subject, 1, &match, 0); 68 regfree(&re); 73 else if (!(reflags = regcomp(&re, pattern, reflags|REG_RIGHT))) 75 reflags = regexec(&re, subject, 0, NiL, 0); 76 regfree(&re);
|
H A D | regexp.c | 36 regex_t re; member in struct:__anon1128 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); 89 re->re_nbra = env->re.re_nsub; 94 _re_exec(regexp_t* re, const char* subject, const char* handle, int anchor) argument 98 regmatch_t match[elementsof(re->re_braslist)+1]; 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 [all...] |
H A D | regcmp.c | 39 regex_t re; member in struct:__anon1127 51 register Regex_t* re = (Regex_t*)handle; local 53 if (data || (size = roundof(size, ALIGN_BOUND2)) > (re->buf + re->size - re->cur)) 55 data = (void*)re->cur; 56 re->cur += size; 64 register Regex_t* re; local 154 re = 0; 158 if ((n += INC) > TOT || !(re 185 register Regex_t* re; local [all...] |
H A D | regexp.h | 79 _re_read(register regexp_t* re, const char* instring, char* ep, const char* endbuf, int seof) argument 89 re->re_nodelim = 0; 95 re->re_nodelim = 1; 97 if (!re->re_sed && !prev) 107 if (re->re_sed) 110 re->re_nodelim = 1; 121 if (c = _re_comp(re, _re_putc(0), ep, (char*)endbuf - ep))
|
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | strmatch.c | 80 register regex_t* re; local 124 if (!(re = regcache(p, reflags, NiL))) 132 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE))) 136 i = re->re_nsub;
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | import_unicode.py | 19 import re namespace 28 line = re.sub ("#.*$", "", line) 161 line = re.sub ("#.*$", "", line)
|
H A D | import_gcry.py | 19 import re namespace 94 if re.match ("(Manifest|Makefile\.am|ac\.c|cipher\.c|hash-common\.c|hmac-tests\.c|md\.c|pubkey\.c)$", cipher_file): 98 if re.match ("Makefile\.in$", cipher_file): 101 if re.match (".*\.[ch]$", cipher_file): 102 isc = re.match (".*\.c$", cipher_file) 137 if re.match (".*-glue$", modname): 144 if not re.search (";", line) is None: 152 if not re.search (" *};", line) is None: 156 s = re.search (" *\"([A-Z0-9_a-z]*)\"", line) 162 if not re [all...] |
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regcache.c | 32 #define CACHE 8 /* default # cached re's */ 40 regex_t re; member in struct:Cache_s 70 regfree(&matchstate.cache[i]->re); 75 * return regcomp() compiled re for pattern and reflags 167 regfree(&cp->re); 183 if (i = regcomp(&cp->re, pattern, reflags)) 197 return &cp->re;
|
/osnet-11/usr/src/lib/libpp/common/ |
H A D | ppexpr.c | 114 regex_t re; local 129 else if ((c = regcomp(&re, pp.token, REG_AUGMENTED|REG_LENIENT|REG_NULL)) || (c = regexec(&re, tmp, NiL, 0, 0)) && c != REG_NOMATCH) 130 regfatal(&re, 4, c); 134 regfree(&re);
|
H A D | ppcontrol.c | 39 regex_t re; member in struct:edit 45 regex_t re; member in struct:map 156 * return symbol pointer for next token macro (re)definition 527 if (!(i1 = regexec(&map->re, p, elementsof(match), match, 0))) 536 regfatal(&map->re, 4, i1); 551 if (!(i0 = regexec(&edit->re, p, elementsof(match), match, 0))) 554 if (i0 = regsubexec(&edit->re, p, elementsof(match), match)) 555 regfatal(&edit->re, 4, i0); 556 p = edit->re.re_sub->re_buf; 557 if (edit->re [all...] |
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/loader/ |
H A D | menulst.py | 33 import re namespace 84 argv = [v[0] for v in re.compile(pattern).findall(args)] 263 # We're guaranteed to always have a character 279 for semantic correctness. They're just stored for later 298 If an entry is active (if we're parsing after a title command), 347 argv = [v[0] for v in re.compile(pattern).findall(nextline)]
|
/osnet-11/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo.c | 422 get_devlink(di_devlink_handle_t devlink_hdl, char *re, char *path) argument 426 (void) di_devlink_walk(devlink_hdl, re, path,
|
/osnet-11/usr/src/lib/libast/common/disc/ |
H A D | sfkeyprintf.c | 50 regex_t* re[2]; member in struct:__anon1132 289 if (fp->re[x]) 290 regfree(fp->re[x]); 292 fp->re[x] = &fp->red[x]; 293 if (regcomp(fp->re[x], f.next, REG_DELIMITED|REG_NULL)) 295 f.next += fp->re[x]->re_npat; 296 if (regsubcomp(fp->re[x], f.next, NiL, 0, 0)) 298 f.next += fp->re[x]->re_npat; 299 if (!regexec(fp->re[x], s, elementsof(match), match, 0) && !regsubexec(fp->re[ [all...] |
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | findlib.h | 66 regex_t re; member in struct:__anon1154
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | expr.c | 300 regex_t re; local 312 if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) 313 regfatal(&re, ERROR_exit(2), n); 314 if (!(n = regexec(&re, cp, elementsof(match), match, 0))) 316 if (re.re_nsub > 0) 334 regfatal(&re, ERROR_exit(2), n); 335 else if (re.re_nsub) 340 regfree(&re);
|