/external/regex-re2/re2/ |
parse.cc | 61 bool PushRegexp(Regexp* re); 181 for (Regexp* re = stacktop_; re != NULL; re = next) { 182 next = re->down_; 183 re->down_ = NULL; 184 if (re->op() == kLeftParen) 185 delete re->name_; 186 re->Decref(); 193 Regexp* Regexp::ParseState::FinishRegexp(Regexp* re) { 372 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); local 441 Regexp* re = new Regexp(op, flags_); local 458 Regexp* re = new Regexp(op, fl); local 485 Regexp* re = new Regexp(kRegexpRepeat, fl); local 505 Regexp* re = new Regexp(kLeftParen, flags_); local 514 Regexp* re = new Regexp(kLeftParen, flags_); local 610 Regexp* re = r2; local 630 Regexp* re = stacktop_; local 955 Regexp* re = sub[j]; local 1032 Regexp* re = ConcatOrAlternate(op, subs, n, flags_, true); local 1045 Regexp* re = new Regexp(kRegexpEmptyMatch, flags_); local 1667 Regexp* re = new Regexp(kRegexpCharClass, flags_ & ~FoldCase); local 2035 Regexp* re; local 2163 Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); local 2181 Regexp* re = new Regexp(kRegexpCharClass, ps.flags() & ~FoldCase); local [all...] |
regexp.cc | 121 Regexp* re = stack; local 122 stack = re->down_; 123 if (re->ref_ != 0) 124 LOG(DFATAL) << "Bad reference count " << re->ref_; 125 if (re->nsub_ > 0) { 126 Regexp** subs = re->sub(); 127 for (int i = 0; i < re->nsub_; i++) { 140 if (re->nsub_ > 1) 142 re->nsub_ = 0; 144 delete re; 166 Regexp* re = new Regexp(kRegexpHaveMatch, flags); local 211 Regexp* re = sub[0]; local 221 Regexp* re = new Regexp(op, flags); local 233 Regexp* re = new Regexp(op, flags); local 256 Regexp* re = new Regexp(kRegexpCapture, flags); local 264 Regexp* re = new Regexp(kRegexpRepeat, flags); local 273 Regexp* re = new Regexp(kRegexpLiteral, flags); local 290 Regexp* re = new Regexp(kRegexpCharClass, flags); local [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
changelog.py | 28 import re namespace 49 if re.search("Unreviewed", line, re.IGNORECASE): 51 if re.search("build", line, re.IGNORECASE) and re.search("fix", line, re.IGNORECASE):
|
/external/llvm/test/MC/MachO/ |
x86_32-optimal_nop.s | 21 # nopl (%[re]ax) 31 # nopl 0(%[re]ax) 40 # nopl 0(%[re]ax,%[re]ax,1) 48 # nopw 0(%[re]ax,%[re]ax,1) 55 # nopl 0L(%[re]ax) 69 # nopl 0L(%[re]ax,%[re]ax,1) 82 # nopw 0L(%[re]ax,%[re]ax,1 [all...] |
/external/chromium/testing/gtest/test/ |
gtest_output_test.py | 44 import re namespace 101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output) 108 return re.sub(r'Stack trace:(.|\n)*?\n\n', 116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 122 return re.sub(r'\(\d+ ms', '(? ms', output) 136 return re.sub(r'unsigned int', 'unsigned', test_output) 144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output) 146 test_output = re.sub(r': Failure\n', r': error: ', test_output) 148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output) 156 output = re.sub(r'\d+ tests?, listed below' [all...] |
/external/gtest/test/ |
gtest_output_test.py | 44 import re namespace 101 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output) 108 return re.sub(r'Stack trace:(.|\n)*?\n\n', 116 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 122 return re.sub(r'\(\d+ ms', '(? ms', output) 136 return re.sub(r'unsigned int', 'unsigned', test_output) 144 test_output = re.sub('\x1b\\[(0;3\d)?m', '', test_output) 146 test_output = re.sub(r': Failure\n', r': error: ', test_output) 148 test_output = re.sub(r'((\w|\.)+)\((\d+)\):', r'\1:\3:', test_output) 156 output = re.sub(r'\d+ tests?, listed below' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-119909.js | 81 var re = new RegExp(pattern); 83 var res = strOriginal.search(re); 84 res = strOriginal.match(re); 85 res = strOriginal.replace(re, strReplace);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
regress-104375.js | 44 var re = /(uid=)(\d+)/; variable 48 actual = str.replace (re, "$1" + 15); 54 actual = str.replace (re, "$1" + '15'); 60 actual = str.replace (re, "$1" + 'A15');
|
/frameworks/compile/libbcc/tools/build/ |
gen-config-from-mk.py | 3 import re namespace 7 conf_patt = re.compile('# Configurations') 8 split_patt = re.compile('#={69}') 9 var_patt = re.compile('libbcc_([A-Z_]+)\\s*:=\\s*([01])')
|
/external/llvm/utils/ |
DSAclean.py | 11 import re namespace 23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
|
DSAextract.py | 28 import re namespace 49 regexp_list.append(re.compile(name)) 52 nodeexp = re.compile('Node') 54 arrowexp = re.compile('->') 68 node_set |= set([re.split('\s+',buffer,2)[1]]) 105 node = re.split('\s+', buffer,2)[1]
|
/external/webkit/Source/WebKit/chromium/src/ |
WebRegularExpression.cpp | 48 RegularExpression* re = new RegularExpression(pattern, sensitivity); local 49 m_private = static_cast<WebRegularExpressionPrivate*>(re);
|
/external/webkit/Tools/Scripts/webkitpy/tool/ |
grammar.py | 30 import re namespace 35 if re.search("h$", noun):
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
simple_form.js | 24 Description: 'Tests regular expressions using simple form: re(...)' 53 var re = /[0-9]{3}/; 55 "re('23 2 34 678 9 09')", 56 String(["678"]), String(re('23 2 34 678 9 09'))); 58 re = /3.{4}8/; 60 "re('23 2 34 678 9 09')", 61 String(["34 678"]), String(re('23 2 34 678 9 09'))); 67 re =/3.{4}8/; 69 "(re('23 2 34 678 9 09').length", 70 1, (re('23 2 34 678 9 09')).length) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
match-004.js | 46 re = /0./; 51 AddRegExpCases( re, 52 "re = " + re , 59 re.lastIndex = 0; 60 AddRegExpCases( re, 61 "re = " + re +" [lastIndex is " + re.lastIndex+"]", 68 re.lastIndex = s.length [all...] |
match-002.js | 57 re = /([\d]{5})([-\ ]?[\d]{4})?$/; 58 re.lastIndex = 0; 62 AddRegExpCases( re, 63 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex =0", 69 re.lastIndex = s.length; 71 AddRegExpCases( re, 72 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " + 78 re.lastIndex = s.lastIndexOf("0") [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
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/ |
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/v8/test/mjsunit/regress/ |
regress-52801.js | 39 var re = /a/g; variable 45 re.test(str); 46 assertEquals(5, re.lastIndex); 48 re.lastIndex = 0; 49 re.test(str); 50 assertEquals(5, re.lastIndex); // Fails if caching. 52 re.lastIndex = 0; 53 re.test(str); 54 assertEquals(5, re.lastIndex); // Fails if caching. 58 re = /a/g [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/steps/ |
validatereviewer.py | 30 import re namespace 44 if re.search("unreviewed", changelog_entry.contents(), re.IGNORECASE): 46 if re.search("rubber[ -]stamp", changelog_entry.contents(), re.IGNORECASE):
|
/external/opencv/cxcore/src/ |
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 - w.im*w1.im [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/ |
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/chromium/testing/gtest/xcode/Scripts/ |
versiongenerate.py | 53 import re namespace 75 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)", 76 re.DOTALL)
|
/external/protobuf/gtest/test/ |
gtest_output_test.py | 44 import re namespace 102 return re.sub(r'.*[/\\](.+)(\:\d+|\(\d+\))\: ', r'\1:#: ', test_output) 109 return re.sub(r'Stack trace:(.|\n)*?\n\n', 117 return re.sub(r'Stack trace:(.|\n)*?\n\n', '', output) 123 return re.sub(r'\(\d+ ms', '(? ms', output) 129 output = re.sub(r'\d+ tests, listed below', 131 output = re.sub(r'\d+ FAILED TESTS', 133 output = re.sub(r'\d+ tests from \d+ test cases', 135 output = re.sub(r'\d+ tests from ([a-zA-Z_])', 137 return re.sub(r'\d+ tests\.', '? tests.', output [all...] |
/external/protobuf/gtest/xcode/Scripts/ |
versiongenerate.py | 24 import re namespace 46 version_expression = re.compile(r"AC_INIT\(.*?\[(\d+)\.(\d+)\.(\d+)\].*?\)", 47 re.DOTALL)
|