/external/llvm/utils/ |
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/regex-re2/re2/testing/ |
simplify_test.cc | 145 Regexp* re = Regexp::Parse(tests[i].regexp, local 149 CHECK(re != NULL) << " " << tests[i].regexp << " " << status.Text(); 150 Regexp* sre = re->Simplify(); 155 CHECK(re == sre) << " " << tests[i].regexp 156 << " " << re->ToString() << " " << sre->ToString(); 162 re->Decref();
|
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();
|
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/Source/core/scripts/ |
make-file-arrays.py | 33 import re namespace 39 result = re.match(r"([\w\d_]+)\.([\w\d_]+)", os.path.basename(file_name)) 51 result = re.match(r".*\.([^.]+)", file_name) 56 multi_line_comment = re.compile(r"/\*.*?\*/", re.MULTILINE | re.DOTALL) 57 single_line_comment = re.compile(r"//.*$", re.MULTILINE) 58 repeating_space = re.compile(r"[ \t]+", re.MULTILINE [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
cmake.py | 27 import re namespace 100 if re.match('(^|\ +)#', line_content): 105 if re.search('\(\ +', l): 109 if re.search('\ +\)', l) and not re.search('^\ +\)$', l): 130 if re.search('(^|\ +)' + t.lower() + '\ +\(', line_content): 138 if re.search('(^|\ +)' + t.lower() + '(\(|\ \ +\()', line_content): 143 if re.search('(^|\ +)' + cmd + '\ *\(', line_content, flags=re.IGNORECASE) and \ 144 (not re.search('(^|\ +)' + cmd.lower() + '\ *\(', line_content)) [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleProfiling.java | 47 * Register for the messages we're interested in. 116 } catch (RuntimeException re) { 117 return createFailChunk(1, re.getMessage()); 130 } catch (RuntimeException re) { 132 + re.getMessage()); 157 } catch (RuntimeException re) { 158 return createFailChunk(1, re.getMessage()); 175 } catch (RuntimeException re) { 177 + re.getMessage()); 178 return createFailChunk(1, re.getMessage()) [all...] |
/external/chromium_org/third_party/re2/re2/ |
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 [all...] |
/external/regex-re2/re2/ |
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 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
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) : re [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/chromium_org/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/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/chromium_org/third_party/re2/re2/testing/ |
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();
|
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/tools/telemetry/telemetry/page/ |
page_filter.py | 5 import re namespace 13 self._page_regex = re.compile(options.page_filter) 14 except re.error: 21 self._page_exclude_regex = re.compile(options.page_filter_exclude) 22 except re.error:
|
/external/chromium_org/chrome/browser/resources/web_dev_style/ |
css_checker.py | 10 we're checking against here. 23 re = self.input_api.re 35 at_reg = re.compile(r""" 39 re.DOTALL | re.VERBOSE) 43 return re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', s) 46 grit_reg = re.compile(r"" [all...] |
/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/bison/build-aux/ |
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/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/chromium_org/build/win/importlibs/ |
filter_export_list.py | 9 import re namespace 13 _EXPORT_RE = re.compile(r""" 17 \s+(?P<name>[^ ]+) # And finally the name we're really after. 18 """, re.VERBOSE)
|
/external/chromium_org/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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
deps.py | 33 import re namespace 46 pattern = re.compile(self._variable_regexp % name) 53 pattern = re.compile(self._variable_regexp % name) 55 # inplace=1 creates a backup file and re-directs stdout to the file
|