Searched defs:re (Results 126 - 150 of 285) sorted by relevance

1234567891011>>

/external/protobuf/gtest/scripts/
H A Dfuse_gtest_files.py62 import re namespace
71 INCLUDE_GTEST_FILE_REGEX = re.compile(r'^\s*#\s*include\s*<(gtest/.+)>')
74 INCLUDE_SRC_FILE_REGEX = re.compile(r'^\s*#\s*include\s*"(src/.+)"')
/external/qemu/android/tools/
H A Dgen-hw-config.py16 import sys, os, string, re namespace
45 * DO NOT EDIT IT. To re-generate it, use android/tools/gen-hw-config.py'
/external/regex-re2/re2/
H A Dfiltered_re2.cc26 RE2* re = new RE2(pattern, options); local
27 RE2::ErrorCode code = re->error_code();
29 if (!re->ok()) {
31 << re << " due to error " << re->error();
32 delete re;
35 re2_vec_.push_back(re);
H A Dset.cc38 re2::Regexp* re = Regexp::Parse(pattern, pf, &status); local
39 if (re == NULL) {
50 if (re->op() == kRegexpConcat) {
51 int nsub = re->nsub();
54 sub[i] = re->sub()[i]->Incref();
56 re->Decref();
57 re = re2::Regexp::Concat(sub, nsub + 1, pf);
61 sub[0] = re;
63 re = re2::Regexp::Concat(sub, 2, pf);
65 re_.push_back(re);
78 re2::Regexp* re = re2::Regexp::Alternate(const_cast<re2::Regexp**>(&re_[0]), local
[all...]
/external/v8/test/message/
H A Dtestcfg.py31 import re namespace
33 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
60 pattern = re.escape(line.rstrip() % env)
70 if not re.match(patterns[i], outlines[i]):
/external/webkit/Tools/Scripts/webkitpy/common/net/
H A Dcredentials.py34 import re namespace
74 match = re.search("%s\"(?P<value>.+)\"" % label,
76 re.MULTILINE)
H A Dtestoutput.py26 import re namespace
66 filename = re.sub('-expected\..*$', '', filename)
67 filename = re.sub('-actual\..*$', '', filename)
H A Dtestoutput_unittest.py26 import re namespace
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Duser.py32 import re namespace
51 _log.warn("If you're using MacPorts, try running:")
87 indices = [int(r) - 1 for r in re.split("\s*,\s*", response)]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/
H A Ddeduplicate_tests.py38 import re namespace
88 match = re.match(r'^(platform/.*?/)?(.*)', path)
139 match = re.match(r'^platform/(.*?)/', path)
179 filename: The test file we're trying to get a relative path to.
180 relative_to: The absolute path we're relative to.
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dapache_http_server.py39 import re namespace
145 drive_regexp = re.compile(r'([a-z]):[/\\]', re.IGNORECASE)
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
H A Ddecoder.py4 import re namespace
8 FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL
60 STRINGCHUNK = re.compile(r'(.*?)(["\\])', FLAGS)
116 WHITESPACE = re.compile(r'\s*', FLAGS)
H A Dencoder.py4 import re namespace
10 ESCAPE = re.compile(r'[\x00-\x19\\"\b\f\n\r\t]')
11 ESCAPE_ASCII = re.compile(r'([\\"/]|[^\ -~])')
/external/webkit/Tools/Scripts/webkitpy/tool/commands/
H A Drebaseline.py30 import re namespace
60 if re.match(regexp, builder_name):
/external/webkit/Tools/android/flex-2.5.4a/
H A Dparse.y365 rule : re2 re
420 | re2 re '$'
423 | re '$'
440 /* See the comment in the rule for "re2 re"
452 * "re2 re" above.
466 | re
484 re : re '|' series label
495 re2 : re '/'
664 | '(' re ')'
[all...]
/external/webkit/Tools/gdb/
H A Dwebkit.py39 import re namespace
254 (re.compile("^WTF::Vector<.*>$"), WTFVectorPrinter),
255 (re.compile("^WTF::AtomicString$"), WTFAtomicStringPrinter),
256 (re.compile("^WTF::CString$"), WTFCStringPrinter),
257 (re.compile("^WTF::String$"), WTFStringPrinter),
258 (re.compile("^WebCore::KURLGooglePrivate$"), WebCoreKURLGooglePrivatePrinter),
259 (re.compile("^WebCore::QualifiedName$"), WebCoreQualifiedNamePrinter),
260 (re.compile("^JSC::UString$"), JSCUStringPrinter),
261 (re.compile("^JSC::Identifier$"), JSCIdentifierPrinter),
262 (re
[all...]
/external/webkit/Tools/wx/build/
H A Dbuild_utils.py30 import re namespace
161 match = re.search('^\* (.*)', branches, re.MULTILINE)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DLexer.cs135 } catch (RecognitionException re) {
136 ReportError(re);
337 public virtual void Recover(RecognitionException re) { argument
339 //re.printStackTrace();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DLexer.java98 catch (MismatchedRangeException re) {
99 reportError(re);
102 catch (MismatchedTokenException re) {
103 reportError(re);
106 catch (RecognitionException re) {
107 reportError(re);
108 recover(re); // throw out current char and try again
329 public void recover(RecognitionException re) { argument
331 //re.printStackTrace();
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dtestbase.py7 import re namespace
200 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE)
366 m = re.match(r'\s*((lexer|parser|tree)\s+|)grammar\s+(\S+);', grammar, re.MULTILINE)
/external/chromium/net/tools/testserver/
H A Ddevice_management.py46 import re namespace
148 match = re.match('GoogleLogin auth=(\\w+)',
518 match = re.match('GoogleDMToken token=(\\w+)',
/external/chromium/testing/gmock/scripts/
H A Dgmock_doctor.py36 import re namespace
140 r = re.compile(regex)
160 if re.search(regex, msg):
241 to re-arrange the order of actions in a DoAll(), if you are using one?"""
560 msg = re.sub(r'\x1b\[[^m]*m', '', msg) # Strips all color formatting.
/external/chromium/testing/gtest/test/
H A Dgtest_output_test.py44 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
[all...]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Ddispatch.py37 import re namespace
47 _SOURCE_PATH_PATTERN = re.compile(r'(?i)_wsh\.py$')
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
H A Dhybi.py48 import re namespace
68 _SEC_WEBSOCKET_KEY_REGEX = re.compile('^[+/0-9A-Za-z]{21}[AQgw]==$')

Completed in 460 milliseconds

1234567891011>>