/macosx-10.10.1/BerkeleyDB-21/db/dist/ |
H A D | s_javadoc_merge | 4 import os, re, sys 6 classre = re.compile(r'(?P<javadoc>(/\*\*([^/]|/[^*])*?\*/\s*)?)(?P<mods>public\s+((abstract)\s+)*)(?P<class_type>(class|interface)\s+)?(?P<class_name>\w+)\s*(?P<end>(extends|implements|{))', re.DOTALL) 7 fieldre = re.compile(r'(?P<javadoc>(/\*\*([^/]|/[^*])*?\*/\s*)?)(?P<mods>public\s+((abstract|final|static)\s+)*)(?P<field_type>\w+\s+)?(?P<field_name>\w+)(?P<params>\s*(\(.*?\)|=|;))', re.DOTALL) 8 paramre = re.compile(r'\s*(?:final\s*)?(?P<param_type>\w+(\[\])?)\s+(?P<param_name>\w+)\s*(?P<comma>,?)')
|
/macosx-10.10.1/CPANInternal-159.1/HTTP-Proxy-0.25/eg/ |
H A D | adblock.pl | 5 use vars qw( $re ); 17 $self->proxy->response( $no ) if $message->uri->host =~ /$re/o; 26 $re = join '|', map { quotemeta } qw(
|
/macosx-10.10.1/CPANInternal-159.1/HTTP-Proxy-0.300/eg/ |
H A D | adblock.pl | 5 use vars qw( $re ); 17 $self->proxy->response( $no ) if $message->uri->host =~ /$re/o; 26 $re = join '|', map { quotemeta } qw(
|
/macosx-10.10.1/llvmCore-3425.0.34/utils/lint/ |
H A D | cpp_lint.py | 10 import re 23 include_gtest_re = re.compile(r'^#include "gtest/(.*)"') 24 include_llvm_re = re.compile(r'^#include "llvm/(.*)"') 25 include_support_re = re.compile(r'^#include "(Support/.*)"') 26 include_config_re = re.compile(r'^#include "(Config/.*)"') 27 include_system_re = re.compile(r'^#include <(.*)>')
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/ |
H A D | generate-js-builtins | 28 import re 60 functionHeadRegExp = re.compile(r"function\s+\w+\s*\(.*?\)", re.MULTILINE | re.S) 61 functionNameRegExp = re.compile(r"function\s+(\w+)\s*\(", re.MULTILINE | re.S) 62 functionParameterFinder = re.compile(r"^function\s+(?:\w+)\s*\(((?:\s*\w+)?\s*(?:\s*,\s*\w+)*)?\)", re.MULTILINE | re [all...] |
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Object/ |
H A D | shell.js | 69 var re = /^\[.*\s+(\w+)\s*\]$/; 70 var a = sType.match(re);
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/ |
H A D | resres.c | 198 const struct res_entry *re; local 200 for (re = rd->entries; re != NULL; re = re->next) 205 /* If we're at level 1, the key of this resource is the 209 type = &re->id; 213 /* If we're at level 2, the key of this resource is the name 215 name = &re->id; 219 /* If we're a 579 struct res_entry *re = NULL; local [all...] |
H A D | windres.c | 316 struct res_entry *re = NULL; 347 re = *pp; 350 re = (struct res_entry *) res_alloc (sizeof *re); 351 re->next = NULL; 352 re->id = ids[i]; 355 re->subdir = 1; 356 re->u.dir = NULL; 360 re->subdir = 0; 361 re 313 struct res_entry *re = NULL; local 439 struct res_entry *re; local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/example/ |
H A D | unbuffer | 14 expect -timeout 1 -re .+
|
H A D | xrlogin | 17 expect eof exit -re $prompt
|
H A D | cryptdir | 21 expect -re "(.*)\n" 27 expect -re "(.*)\n"
|
H A D | decryptdir | 21 expect -re "(.*)\n" 27 expect -re "(.*)\n"
|
H A D | gethostbyaddr | 117 -re "\\*\\*\\* (\[^\r]*)\r" { 121 } -re "Address:.*Address: (\[^\r]*)\r" { 173 } -re "\\*\\*\\* (\[^\r]*)\r" { 175 } -re "name = (\[^\r]*)\r" { 194 -re $bad_telnet_responses { 198 } -re "\n220 (\[^\\. ]*).?(\[^ ]*)" { 222 -re $bad_telnet_responses { 240 } -re "net\r\n(\[^\r]*)\r" { 246 } -re "net\r\n(\[^\r]*)\r" { 274 -re [all...] |
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/tests/ |
H A D | quoting.sh | 306 re='@(?*)/@(?*)/@(?*)' 307 [[ ${subject/${re}/\3} != words ]] && err_exit 'string replacement with \3 not working' 308 [[ ${subject/${re}/'\3'} != '\3' ]] && err_exit 'string replacement with '"'\3'"' not working' 309 [[ ${subject/${re}/"\\3"} != '\3' ]] && err_exit 'string replacement with "\\3" not working' 310 [[ ${subject/${re}/"\3"} != '\3' ]] && err_exit 'string replacement with "\3" not working' 312 [[ ${subject/${re}/${string}} != words ]] && err_exit 'string replacement with $string not working with string=\3' 313 [[ $(print -r "${subject/${re}/${string}}") != words ]] && err_exit 'string replacement with $string not working with string=\3 using print' 314 [[ ${subject/${re}/"${string}"} != '\3' ]] && err_exit 'string replacement with "$string" not working with string=\3' 315 [[ $(print -r "${subject/${re}/"${string}"}") != '\3' ]] && err_exit 'string replacement with "$string" not working with string=\3 using print' 317 [[ ${subject/${re}/ [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/regex/ |
H A D | regnexec.c | 237 #define matchpush(e,x) ((x)->re.group.number?_matchpush(e,x):0) 238 #define matchcopy(e,x) do if ((x)->re.group.number) { Match_frame_t* fp = (void*)stkframe(stkstd)->data; memcpy(fp->match, fp->save, fp->size); } while (0) 239 #define matchpop(e,x) do if ((x)->re.group.number) { Match_frame_t* fp = (void*)stkframe(stkstd)->data; memcpy(fp->match, fp->save, fp->size); stkpop(stkstd); } while (0) 256 if (rex->re.group.number <= 0 || (num = rex->re.group.last - rex->re.group.number + 1) <= 0) 264 f->match = m = env->match + rex->re.group.number; 408 DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep %s %d %d %d %d `%-.*s'\n", __LINE__, debug_flag, rexname(rex->re.group.expr.rex), rex->re.group.number, rex->lo, n, rex->hi, env->end - s, s)),(0)); 431 catcher.re [all...] |
H A D | regrexec.c | 64 mid = (len < e->re.bm.right) ? 0 : (len - e->re.bm.right); 65 skip = e->re.bm.skip; 66 fail = e->re.bm.fail; 67 mask = e->re.bm.mask; 68 complete = e->re.bm.complete && !nmatch; 69 exactlen = e->re.bm.size; 70 leftlen = e->re.bm.left + exactlen; 71 rightlen = exactlen + e->re.bm.right;
|
/macosx-10.10.1/pcre-7/pcre/ |
H A D | pcre_scanner.h | 73 // Return true iff the start of the remaining input matches "re" 74 bool LookingAt(const RE& re) const; 77 // a. the start of the remaining input matches "re", 82 bool Consume(const RE& re, 101 // You can pass NULL for "re" if you do not want any data to be skipped. 102 void Skip(const char* re); // DEPRECATED; does *not* repeat 103 void SetSkipExpression(const char* re);
|
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/ |
H A D | tclRegexp.h | 37 regex_t re; /* Compiled re, includes number of member in struct:TclRegexp
|
H A D | tclRegexp.c | 98 Tcl_RegExp re, CONST Tcl_UniChar *uniString, 175 Tcl_RegExpExec(interp, re, string, start) 177 Tcl_RegExp re; /* Compiled regular expression; must have 180 CONST char *string; /* String against which to match re. */ 186 TclRegexp *regexp = (TclRegexp *)re; 215 result = RegExpExecUniChar(interp, re, ustr, numChars, 243 Tcl_RegExpRange(re, index, startPtr, endPtr) 244 Tcl_RegExp re; /* Compiled regular expression that has 254 TclRegexp *regexpPtr = (TclRegexp *) re; 257 if ((size_t) index > regexpPtr->re 405 Tcl_RegExp re; local 495 Tcl_RegExp re; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/core/ |
H A D | syntax_checker.py | 14 import re 16 tabs_search_rex = re.compile("^\s*\t+",re.MULTILINE|re.DOTALL)
|
/macosx-10.10.1/zsh-61/zsh/Src/Modules/ |
H A D | regex.c | 40 zregex_regerrwarn(int r, regex_t *re, char *msg) argument 45 errbufsz = regerror(r, re, NULL, 0); 47 regerror(r, re, errbuf, errbufsz); 56 regex_t re; local 77 r = regcomp(&re, rhre, rcflags); 79 zregex_regerrwarn(r, &re, "failed to compile regex"); 82 /* re.re_nsub is number of parenthesized groups, we also need 85 if ((int)re.re_nsub < 0) { 87 "negative subpattern count %d", (int)re.re_nsub); 90 matchessz = (re [all...] |
/macosx-10.10.1/dtrace-147/DTTk/Bin/ |
H A D | vmstat.d | 19 * re page reclaims Kbytes 65 pi = 0; po = 0; re = 0; sr = 0; mf = 0; fr = 0; 78 "w", "swap", "free", "re", "mf", "pi", "po", "fr", "sr", 88 vminfo:::pgrec { re += arg0; } 122 re *= `_pagesize / 1024; 131 this->w, this->swap, this->free, re, mf, pi, po, fr, sr, 135 pi = 0; po = 0; re = 0; sr = 0; mf = 0; fr = 0;
|
/macosx-10.10.1/dtrace-147/DTTk/Mem/ |
H A D | vmstat.d | 19 * re page reclaims Kbytes 65 pi = 0; po = 0; re = 0; sr = 0; mf = 0; fr = 0; 78 "w", "swap", "free", "re", "mf", "pi", "po", "fr", "sr", 88 vminfo:::pgrec { re += arg0; } 122 re *= `_pagesize / 1024; 131 this->w, this->swap, this->free, re, mf, pi, po, fr, sr, 135 pi = 0; po = 0; re = 0; sr = 0; mf = 0; fr = 0;
|
/macosx-10.10.1/ruby-106/ruby/ |
H A D | re.c | 3 re.c - 13 #include "ruby/re.h" 327 rb_reg_check(VALUE re) argument 329 if (!RREGEXP(re)->ptr || !RREGEXP_SRC(re) || !RREGEXP_SRC_PTR(re)) { 425 rb_reg_desc(const char *s, long len, VALUE re) argument 427 rb_encoding *enc = rb_enc_get(re); 432 if (re && rb_enc_asciicompat(enc)) { 433 rb_enc_copy(str, re); 468 rb_reg_source(VALUE re) argument 491 rb_reg_inspect(VALUE re) argument 521 rb_reg_to_s(VALUE re) argument 606 rb_reg_raise(const char *s, long len, const char *err, VALUE re) argument 662 rb_reg_casefold_p(VALUE re) argument 694 rb_reg_options_m(VALUE re) argument 726 rb_reg_names(VALUE re) argument 773 rb_reg_named_captures(VALUE re) argument 1224 rb_reg_fixed_encoding_p(VALUE re) argument 1238 reg_enc_error(VALUE re, VALUE str) argument 1247 rb_reg_prepare_enc(VALUE re, VALUE str, int warn) argument 1282 rb_reg_prepare_re(VALUE re, VALUE str) argument 1321 rb_reg_adjust_startpos(VALUE re, VALUE str, long pos, int reverse) argument 1352 rb_reg_search(VALUE re, VALUE str, long pos, int reverse) argument 1411 rb_reg_raise(RREGEXP_SRC_PTR(re), RREGEXP_SRC_LEN(re), err, re); local 2389 struct RRegexp *re = RREGEXP(obj); local 2493 rb_reg_init_str(VALUE re, VALUE s, int options) argument 2513 VALUE re = rb_reg_alloc(); local 2532 VALUE re = rb_reg_alloc(); local 2567 rb_reg_hash(VALUE re) argument 2574 reg_hash(VALUE re) argument 2675 reg_match_pos(VALUE re, VALUE *strp, long pos) argument 2746 rb_reg_match(VALUE re, VALUE str) argument 2776 rb_reg_eqq(VALUE re, VALUE str) argument 2805 rb_reg_match2(VALUE re) argument 2853 rb_reg_match_m(int argc, VALUE *argv, VALUE re) argument 2922 VALUE re = argv[0]; local 3083 rb_reg_options(VALUE re) argument 3095 rb_check_regexp_type(VALUE re) argument 3118 rb_reg_s_try_convert(VALUE dummy, VALUE re) argument 3135 VALUE re = rb_check_regexp_type(arg); local 3268 rb_reg_init_copy(VALUE copy, VALUE re) argument [all...] |
/macosx-10.10.1/ICU-531.30/icuSources/tools/ |
H A D | icu-svnprops-check.py | 27 import re 100 if re.match("\s*(#.*)?$", propline): # Match comment and blank lines 102 if re.match("\s*\[auto-props\]", propline): # Match the [auto-props] line. 104 if not re.match("\s*[^\s]+\s*=", propline): # minimal syntax check for <file-type> = 120 string_proplist = re.split("(?<!;);(?!;)", string_proplist) 221 if re.match(file_pattern, f):
|