/external/chromium_org/tools/grit/grit/gather/ |
H A D | rc.py | 10 import re namespace 78 first_line_re = re.compile(r'\s*' + self.extkey + r'\b') 145 ''', re.MULTILINE | re.VERBOSE) 197 ''', re.MULTILINE | re.VERBOSE) 262 ''', re.MULTILINE | re.VERBOSE) 282 ''', re.MULTILINE | re [all...] |
/external/chromium_org/third_party/re2/re2/ |
H A D | regexp.cc | 132 Regexp* re = stack; local 133 stack = re->down_; 134 if (re->ref_ != 0) 135 LOG(DFATAL) << "Bad reference count " << re->ref_; 136 if (re->nsub_ > 0) { 137 Regexp** subs = re->sub(); 138 for (int i = 0; i < re->nsub_; i++) { 151 if (re->nsub_ > 1) 153 re->nsub_ = 0; 155 delete re; 177 Regexp* re = new Regexp(kRegexpHaveMatch, flags); local 222 Regexp* re = sub[0]; local 232 Regexp* re = new Regexp(op, flags); local 244 Regexp* re = new Regexp(op, flags); local 267 Regexp* re = new Regexp(kRegexpCapture, flags); local 275 Regexp* re = new Regexp(kRegexpRepeat, flags); local 284 Regexp* re = new Regexp(kRegexpLiteral, flags); local 301 Regexp* re = new Regexp(kRegexpCharClass, flags); local 507 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 512 ShortVisit(Regexp* re, Ignored ignored) argument 541 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 556 ShortVisit(Regexp* re, Ignored ignored) argument 585 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 596 ShortVisit(Regexp* re, Ignored ignored) argument [all...] |
/external/regex-re2/re2/ |
H A D | regexp.cc | 132 Regexp* re = stack; local 133 stack = re->down_; 134 if (re->ref_ != 0) 135 LOG(DFATAL) << "Bad reference count " << re->ref_; 136 if (re->nsub_ > 0) { 137 Regexp** subs = re->sub(); 138 for (int i = 0; i < re->nsub_; i++) { 151 if (re->nsub_ > 1) 153 re->nsub_ = 0; 155 delete re; 177 Regexp* re = new Regexp(kRegexpHaveMatch, flags); local 222 Regexp* re = sub[0]; local 232 Regexp* re = new Regexp(op, flags); local 244 Regexp* re = new Regexp(op, flags); local 267 Regexp* re = new Regexp(kRegexpCapture, flags); local 275 Regexp* re = new Regexp(kRegexpRepeat, flags); local 284 Regexp* re = new Regexp(kRegexpLiteral, flags); local 301 Regexp* re = new Regexp(kRegexpCharClass, flags); local 507 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 512 ShortVisit(Regexp* re, Ignored ignored) argument 541 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 556 ShortVisit(Regexp* re, Ignored ignored) argument 585 PreVisit(Regexp* re, Ignored ignored, bool* stop) argument 596 ShortVisit(Regexp* re, Ignored ignored) argument [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | regexp-capture-3.js | 28 function oneMatch(re) { 29 "abcd".replace(re, function() { }); 57 function captureMatch(re) { 58 "abcd".replace(re, function() { }); 100 var re = new RegExp(re_src); 109 OverrideCase(function() { return input.replace(re, "x"); }); 111 OverrideCase(function() { return input.replace(re, ""); }); 113 OverrideCase(function() { return input.match(re); }); 115 OverrideCase(function() { return re.test(input); }); 164 function NoHang(re) { 195 var re = "\\u0100*\\\\w"; variable [all...] |
H A D | regexp-static.js | 29 var re = /((\d+)\.(\d+))/; variable 32 re.exec(s); 61 s.match(re); 80 s.replace(re, 'whocares'); 99 re.test(s); 120 re = /(.)/g; 122 assertEquals('abcd', 'abcd'.replace(re, f)); 139 var re = new RegExp(re_text); 140 assertTrue(re.test(haystack), "$" + i + " setup");
|
H A D | unicode-test.js | 3968 " Define HAVE_MREMAP to make realloc() use mremap() to re-allocate\n" + 4173 " zero (re)allocates a minimum-sized chunk.\n" + 4442 " future expected allocations without having to re-obtain memory\n" + 9116 var re = "([x"; 9123 re += "-" + c; 9126 re += c; 9131 re += "]+)"; 9132 var char_class = new RegExp(re, "g"); 9148 function dump_re(re) { 9150 for (var i = 0; i < re [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | parser.c | 40 RegExp *re, *look; local 54 re = parse_expr(); 58 if (sym->re) 60 sym->re = re; 66 re = parse_expr(); 67 if (!re) 78 re = RegExp_new_RuleOp(re, look, yylval.token, accept++); 80 spec = spec ? mkAlt(spec, re) [all...] |
/external/pcre/dist/ |
H A D | pcredemo.c | 48 pcre *re; local 99 re = pcre_compile( 108 if (re == NULL) 122 re, /* the compiled pattern */ 143 pcre_free(re); /* Release memory used for the compiled pattern */ 188 re, /* the compiled pattern */ 202 re, /* the compiled pattern */ 208 re, /* the compiled pattern */ 258 pcre_free(re); /* Release the memory used for the compiled pattern */ 266 (void)pcre_fullinfo(re, NUL [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
H A D | SimpleCTP.java | 100 catch (RecognitionException re) { 101 reportError(re); 102 recover(input,re); 192 catch (RecognitionException re) { 193 reportError(re); 194 recover(input,re); 229 catch (RecognitionException re) { 230 reportError(re); 231 recover(input,re); 252 catch (RecognitionException re) { [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
H A D | SimpleCTP.java | 100 catch (RecognitionException re) { 101 reportError(re); 102 recover(input,re); 192 catch (RecognitionException re) { 193 reportError(re); 194 recover(input,re); 229 catch (RecognitionException re) { 230 reportError(re); 231 recover(input,re); 252 catch (RecognitionException re) { [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | required_prefix_test.cc | 46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); local 47 CHECK(re) << " " << t.regexp; 51 CHECK_EQ(t.return_value, re->RequiredPrefix(&p, &f, &s)) 52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump(); 62 re->Decref();
|
H A D | dfa_test.cc | 45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 46 CHECK(re); 47 Prog* prog = re->CompileToProg(0); 55 re->Decref(); 60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 61 CHECK(re); 62 Prog* prog = re->CompileToProg(0); 81 re->Decref(); 96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 97 CHECK(re); 184 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local 266 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local 328 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); local [all...] |
/external/regex-re2/re2/testing/ |
H A D | required_prefix_test.cc | 46 Regexp* re = Regexp::Parse(t.regexp, flags, NULL); local 47 CHECK(re) << " " << t.regexp; 51 CHECK_EQ(t.return_value, re->RequiredPrefix(&p, &f, &s)) 52 << " " << t.regexp << " " << (j==0 ? "latin1" : "utf") << " " << re->Dump(); 62 re->Decref();
|
H A D | dfa_test.cc | 45 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 46 CHECK(re); 47 Prog* prog = re->CompileToProg(0); 55 re->Decref(); 60 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 61 CHECK(re); 62 Prog* prog = re->CompileToProg(0); 81 re->Decref(); 96 Regexp* re = Regexp::Parse(s.c_str(), Regexp::LikePerl, NULL); local 97 CHECK(re); 184 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local 266 Regexp* re = Regexp::Parse(StringPrintf("0[01]{%d}$", n), local 328 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
H A D | perftest.py | 34 import re namespace 102 return re.sub(r'\.\w+$', '', self.test_name()) 162 _description_regex = re.compile(r'^Description: (?P<description>.*)$', re.IGNORECASE) 163 _metrics_regex = re.compile(r'^(?P<metric>Time|Malloc|JS Heap):') 165 _score_regex = re.compile(r'^(?P<key>' + r'|'.join(_statistics_keys) + r')\s+(?P<value>([0-9\.]+(,\s+)?)+)\s*(?P<unit>.*)') 166 _console_regex = re.compile(r'^CONSOLE (MESSAGE|WARNING):') 175 for line in re.split('\n', output.text): 234 re.compile(r'^Unknown option:'), 235 re [all...] |
/external/opencv/cxcore/src/ |
H A D | cxdxt.cpp | 357 w.re = w1.re = icvDxtTab[m][0]; 364 w.re = w1.re = sqrt(1. - w1.im*w1.im); 372 wave[0].re = 1.; 377 wave[n].re = -1.; 384 wave[n0-i].re = w.re; 387 t = w.re*w1.re [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
H A D | utilities.py | 12 import re namespace 123 match = re.search(r'partial\s+interface\s+(\w+)\s*{', file_contents) 143 implements_matches = re.finditer(implements_re, file_contents, re.MULTILINE) 163 match = re.search(r'callback\s+interface\s+\w+\s*{', file_contents) 168 match = re.search(r'dictionary\s+\w+\s*{', file_contents) 173 match = re.search(r'interface\s+' 183 # re.compile needed b/c Python 2.6 doesn't support flags in re.sub 184 single_line_comment_re = re [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
H A D | CombinedParser.m | 163 @catch (ANTLRRecognitionException *re) { 164 [self reportError:re]; 165 [self recover:input Exception:re]; 190 @catch (ANTLRRecognitionException *re) { 191 [self reportError:re]; 192 [self recover:input Exception:re];
|
/external/bison/build-aux/ |
H A D | update-b4-copyright | 124 my $re = $old_re; 126 $re =~ s/\#BEFORE/\\G/; 127 if (!/$re/x) 140 my $re = $old_re; 141 $re =~ s/\#AFTER/\\G/; 142 if (!/$re/x)
|
/external/chromium_org/third_party/WebKit/Source/build/scripts/ |
H A D | name_utilities.py | 30 import re namespace 78 s1 = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name) 79 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).upper()
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | check_injected_script_source.py | 30 import re namespace 59 black_list_call_regex = re.compile(r"\bMath\.\w+\(|\.(toString|" + proto_functions + r")\(|[^\.]\b(" + global_functions + r")\(") 63 for match in re.finditer(black_list_call_regex, line):
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
H A D | sheriff_calendar.py | 5 import re namespace 18 VALID_EMAIL_REGEXP = re.compile(r'^[A-Za-z0-9\.&\'\+-/=_]+@[A-Za-z0-9\.-]+$') 29 match = re.match(r'document.write\(\'(.*)\'\)', sheriff_js)
|
/external/chromium_org/tools/grit/grit/ |
H A D | lazy_re_unittest.py | 14 import re namespace 29 rex = lazy_re.compile(flags=re.I, pattern='BiNgO') 33 rex = lazy_re.compile('BiNgO', flags=re.I)
|
/external/chromium_org/tools/gyp/test/mac/ |
H A D | gyptest-rpath.py | 14 import re namespace 27 r = re.compile(r'cmd LC_RPATH.*?path (.*?) \(offset \d+\)', re.DOTALL)
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/webdriver/ |
H A D | webdriver_ie_backend.py | 4 import re namespace 21 if re.search('SCODEF:\d+ CREDAT:\d+', cmd_line, re.IGNORECASE):
|