/external/autotest/client/site_tests/kernel_HdParm/ |
kernel_HdParm.py | 7 import logging, re namespace 24 match = re.search('(\d+\.\d+) MB\/sec', result) 27 match = re.search('(\d+\.\d+) MB\/sec', result)
|
/external/skia/tools/ |
misc_utils.py | 10 import re namespace 32 pattern: (string) to be passed to re.compile 38 pattern_object = re.compile(pattern) 51 pattern: (string) to be passed to re.compile 57 match = re.search(pattern, input_string)
|
/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-trace/catapult/tracing/tracing/ |
results_renderer.py | 7 import re namespace 21 m = re.search(_JSON_TAG % '(.*?)', results_html, re.MULTILINE 22 | re.DOTALL)
|
/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...] |
/ndk/sources/third_party/googletest/googletest/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/libyuv/files/ |
PRESUBMIT.py | 9 import re namespace 63 if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files):
|
/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/v8/build/android/gyp/ |
find_sun_tools_jar.py | 12 import re namespace 18 RT_JAR_FINDER = re.compile(r'\[Opened (.*)/jre/lib/rt.jar\]')
|
/external/v8/build/config/ios/ |
find_signing_identity.py | 7 import re namespace 24 exp = re.compile('[0-9]+\) ([A-F0-9]+) "([^"]*)"')
|
/external/v8/build/ |
detect_host_arch.py | 9 import re namespace 18 if re.match(r'i.86', host_arch) or host_arch == 'i86pc':
|
/external/v8/test/mjsunit/harmony/ |
regexp-property-binary.js | 7 function t(re, s) { assertTrue(re.test(s)); } 8 function f(re, s) { assertFalse(re.test(s)); }
|
/cts/tools/selinux/ |
SELinuxNeverallowTestGen.py | 3 import re namespace 17 no_comments = re.sub(r'#.+?$', r'', policy_str, flags = re.M) 19 return re.findall(r'(^neverallow\s.+?;)', no_comments, flags = re.M |re.S);
|
/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();
|
/external/v8/test/mjsunit/ |
regexp-stack-overflow.js | 7 var re = /\w/; variable 8 re.test("a"); // Trigger regexp compile. 14 return re.test("b");
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-548580.js | 6 var re = /(?=[d#.])/; 7 re.a = v; 8 return re;
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
build-local.py | 6 import re namespace 14 if re.match(pattern, line, re.I|re.M): 15 line = re.sub(pattern, newVal, line) 31 matchObj = re.match(r'\s*<version>(.*)</version>', line)
|
/libcore/ojluni/src/main/java/sun/misc/ |
RegexpPool.java | 49 * @param re The regular expression to add to the pool. 58 public void add(String re, Object ret) throws REException { 59 add(re, ret, false); 66 * @param re The regular expression to be replaced in the pool. 74 public void replace(String re, Object ret) { 76 add(re, ret, true); 84 * @param re The regular expression to be deleted from the pool. 88 public Object delete(String re) { 92 int len = re.length() - 1; 96 if (!re.startsWith("*") | 268 String re = null; field in class:RegexpNode [all...] |
/external/v8/tools/ |
jsmin.py | 47 import re namespace 68 m: The match object returned by re.search. 97 m: The match object returned by re.search. 105 return re.sub(r"\$\{([\w$%]+)\}", 115 if re.match("[\"'/]", matched_text): 117 m = re.match(r"var ", matched_text) 120 var_names = re.split(r",", var_names) 122 m = re.match(r"(function\b[^(]*)\((.*)\)\{$", matched_text) 126 args = re.split(r",", args) 185 m: The match object returned by re.search [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/h8300/ |
h8300.exp | 30 -re " +\[0-9\]+ 0000 8910\[^\n\]*\n" { set x [expr $x+1] } 31 -re " +\[0-9\]+ 0002 0819\[^\n\]*\n" { set x [expr $x+1] } 32 -re " +\[0-9\]+ 0004 0912\[^\n\]*\n" { set x [expr $x+1] } 33 -re " +\[0-9\]+ 0006 0B04\[^\n\]*\n" { set x [expr $x+1] } 34 -re " +\[0-9\]+ 0008 0B85\[^\n\]*\n" { set x [expr $x+1] } 35 -re " +\[0-9\]+ 000a 0E89\[^\n\]*\n" { set x [expr $x+1] } 36 -re " +\[0-9\]+ 000c 9210\[^\n\]*\n" { set x [expr $x+1] } 37 -re " +\[0-9\]+ 000e 1889\[^\n\]*\n" { set x [expr $x+1] } 38 -re " +\[0-9\]+ 0010 1901\[^\n\]*\n" { set x [expr $x+1] } 39 -re " +\[0-9\]+ 0012 1B04\[^\n\]*\n" { set x [expr $x+1] [all...] |
/external/pcre/dist/ |
pcre_scanner.cc | 73 void Scanner::SetSkipExpression(const char* re) { 75 if (re != NULL) { 76 skip_ = new RE(re); 87 void Scanner::Skip(const char* re) { 89 if (re != NULL) { 90 skip_ = new RE(re); 127 bool Scanner::LookingAt(const RE& re) const [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/xtensa/ |
all.exp | 28 -re ":4: Error:.*out of range" { set x1 1 } 43 -re "^.*2:.*entry" { set x1 1 } 58 -re "^.*2:.*entry" { set x1 1 } 74 -re "^.*0:.*loop" { set x1 1 } 89 -re "^.*2:.*loop" { set x1 1 }
|
/prebuilts/misc/common/swig/include/2.0.11/python/ |
pycomplex.swg | 55 double re = PyComplex_RealAsDouble(o); 57 if ((-FLT_MAX <= re && re <= FLT_MAX) && (-FLT_MAX <= im && im <= FLT_MAX)) { 58 if (val) *val = Constructor(%numeric_cast(re, float), 65 float re; 66 int res = SWIG_AddCast(SWIG_AsVal(float)(o, &re)); 68 if (val) *val = Constructor(re, 0.0);
|
/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...] |