/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/scm/ |
commitmessage.py | 30 import re namespace 36 if re.match("^\s*$", line): 58 line = re.sub("^(\s*)<.+> ", "\1", line)
|
/external/chromium_org/tools/grit/grit/ |
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)
|
lazy_re.py | 12 import re namespace 30 self._lazy_re = re.compile(*self._stash_args, **self._stash_kwargs) 42 re.RegexObject (via re.compile) with the same arguments passed to
|
/external/chromium_org/tools/gyp/test/mac/ |
gyptest-installname.py | 14 import re namespace 27 r = re.compile(r'cmd LC_ID_DYLIB.*?name (.*?) \(offset \d+\)', re.DOTALL)
|
gyptest-rpath.py | 14 import re namespace 27 r = re.compile(r'cmd LC_RPATH.*?path (.*?) \(offset \d+\)', re.DOTALL)
|
/external/chromium_org/v8/tools/ |
run-valgrind.py | 35 import re namespace 60 LEAK_LINE_MATCHER = re.compile(LEAK_RE) 61 LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")
|
/external/libvpx/libvpx/third_party/googletest/src/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)
|
/external/v8/tools/ |
run-valgrind.py | 35 import re namespace 60 LEAK_LINE_MATCHER = re.compile(LEAK_RE) 61 LEAK_OKAY_MATCHER = re.compile(r"lost: 0 bytes in 0 blocks")
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
bug-regex15.c | 20 regex_t re; local 37 reerr = regcomp (&re, "^6?3?[25]?5?[14]*[25]*[69]*+[58]*87?4?$", 42 regerror (reerr, &re, buf, sizeof buf);
|
bug-regex11.c | 98 regex_t re; local 109 n = regcomp (&re, tests[i].pattern, tests[i].flags); 113 regerror (n, &re, buf, sizeof (buf)); 119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0)) 123 regfree (&re); 139 regfree (&re);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/performance_tests/ |
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>.*)') 174 for line in re.split('\n', output.text): 229 re.compile(r'^Unknown option:'), 230 re.compile(r'^\[WARNING:proxy_service.cc'), 231 re.compile(r'^\[INFO:') [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/ |
TParser.m | 201 @catch (ANTLRRecognitionException *re) { 202 [self reportError:re]; 203 [self recover:input Exception:re]; 266 @catch (ANTLRRecognitionException *re) { 267 [self reportError:re]; 268 [self recover:input Exception:re]; 303 @catch (ANTLRRecognitionException *re) { 304 [self reportError:re]; 305 [self recover:input Exception:re]; 340 @catch (ANTLRRecognitionException *re) { [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
parse_test.cc | 203 Regexp** re = new Regexp*[ntests]; local 210 re[i] = Regexp::Parse(tests[i].regexp, f, &status); 211 CHECK(re[i] != NULL) << " " << tests[i].regexp << " " 213 string s = re[i]->Dump(); 221 RegexpEqualTestingOnly(re[i], re[j])) 227 re[i]->Decref(); 228 delete[] re; 367 Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); local 368 CHECK(re) << " " << only_posix[i] 374 Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); local 388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); local 420 Regexp* re; local [all...] |
/external/llvm/utils/lint/ |
cpp_lint.py | 10 import re namespace 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 <(.*)>')
|
/external/regex-re2/re2/testing/ |
parse_test.cc | 203 Regexp** re = new Regexp*[ntests]; local 210 re[i] = Regexp::Parse(tests[i].regexp, f, &status); 211 CHECK(re[i] != NULL) << " " << tests[i].regexp << " " 213 string s = re[i]->Dump(); 221 RegexpEqualTestingOnly(re[i], re[j])) 227 re[i]->Decref(); 228 delete[] re; 367 Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); local 368 CHECK(re) << " " << only_posix[i] 374 Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); local 388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); local 420 Regexp* re; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
check_injected_webgl_calls_info.py | 30 import re namespace 40 source = re.sub(r"//.*\n", "", source) # Remove line comments 41 source = re.sub(r"\s+", " ", source) # Line breaks to spaces, collapse spaces 42 source = re.sub(r"/\*.*?\*/", "", source) # Remove block comments 43 source = re.sub(r"\[.*?\]", "", source) # Remove method parameters and array type suffixes 44 source = re.sub(r"\?", "", source) # Remove optional type suffixes 50 match = re.match(r"^\s*(\w[\w\s]*)\s+(\w+)\s*\(([^()]*)\)", line) 61 match = re.match(r"^\s*(\w[\w\s]*)\s+(\w+)\s*$", argument)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
webkitunittest.py | 31 import re namespace 48 self.assertTrue(re.match(regex_message, exception.__str__()),
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
jsonchecker.py | 26 import re namespace 46 match = re.search(r': line (?P<line>\d+) column \d+', str(error))
|
/external/chromium_org/v8/test/webkit/fast/regex/ |
constructor.js | 26 var re = /abc/; variable 28 shouldBeTrue("re === RegExp(re)"); 29 shouldBeTrue("re !== new RegExp(re)"); 30 shouldThrow("re === RegExp(re,'i')"); 31 shouldThrow("re !== new RegExp(re,'i')");
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
RemotePrintDocumentAdapter.java | 62 } catch (RemoteException re) { 63 Log.e(LOG_TAG, "Error calling start()", re); 74 } catch (RemoteException re) { 75 Log.e(LOG_TAG, "Error calling layout()", re); 115 } catch (RemoteException re) { 116 Log.e(LOG_TAG, "Error calling write()", re); 136 } catch (RemoteException re) { 137 Log.e(LOG_TAG, "Error calling finish()", re);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
reperf.py | 1 import re namespace 6 p = re.compile(r"([\13\14])")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
reperf.py | 1 import re namespace 6 p = re.compile(r"([\13\14])")
|
/art/tools/ |
generate-operator-out.py | 21 import re namespace 26 _ENUM_START_RE = re.compile(r'\benum\b\s+(\S+)\s+\{') 27 _ENUM_VALUE_RE = re.compile(r'([A-Za-z0-9_]+)(.*)') 28 _ENUM_END_RE = re.compile(r'^\s*\};$') 63 m = re.compile(r'^namespace (\S+) \{').search(raw_line) 67 m = re.compile(r'^\}\s+// namespace').search(raw_line) 73 m = re.compile(r'^(?:class|struct)(?: MANAGED)? (\S+).* \{').search(raw_line) 77 m = re.compile(r'^\};').search(raw_line) 95 m_comment = re.compile(r'// <<(.*?)>>').search(raw_line) 99 line = re.sub(r'//.*', '', raw_line [all...] |