/development/scripts/app_engine_server/ |
memcache_zipserve.py | 34 import re namespace 311 # Note: re.search adds an implied '^' to the beginning of the regex 315 if re.match(redirect[self.REDIRECT_SRC], uri): 317 redirect_uri = re.sub('^' + redirect[self.REDIRECT_SRC], 521 file_path: the file that we're looking for
|
/external/antlr/antlr-3.4/runtime/Python/ |
xmlrunner.py | 11 import re namespace 236 got = re.sub(r'time="\d+\.\d+"', 'time="0.000"', got) 239 got = re.sub(r'(?s)<failure (.*?)>.*?</failure>', r'<failure \1>Foobar</failure>', got) 240 got = re.sub(r'(?s)<error (.*?)>.*?</error>', r'<error \1>Foobar</error>', got)
|
/external/chromium/chrome/common/extensions/docs/build/ |
directory.py | 11 import re namespace 350 placeholder_pattern = re.compile('\$(\w*)\$')
|
/external/chromium/net/tools/testserver/ |
xmppserver.py | 15 import re namespace 108 _stream_re = re.compile(r'^(<stream:stream [^>]*>)\s*') 111 _empty_element_re = re.compile(r'^(<[^>]*/>)\s*') 115 _non_empty_element_re = re.compile(r'^(<([^ >]*)[^>]*>.*?</\2>)\s*')
|
/external/chromium/testing/gmock/scripts/ |
upload.py | 41 import re namespace 224 # This is a dummy value to allow us to identify when we're successful. 727 match = re.match(r"(\d+)(:(\d+))?", self.options.revision) 834 return re.sub(r"\$(%s):(:?)([^\$]+)\$" % '|'.join(keywords), repl, content) [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | 41 import re namespace 224 # This is a dummy value to allow us to identify when we're successful. 727 match = re.match(r"(\d+)(:(\d+))?", self.options.revision) 834 return re.sub(r"\$(%s):(:?)([^\$]+)\$" % '|'.join(keywords), repl, content) [all...] |
/external/chromium/testing/gtest/test/ |
gtest_filter_unittest.py | 46 import re namespace 103 PARAM_TEST_REGEX = re.compile(r'/ParamTest') 106 TEST_CASE_REGEX = re.compile(r'^\[\-+\] \d+ tests? from (\w+(/\w+)?)') 109 TEST_REGEX = re.compile(r'^\[\s*RUN\s*\].*\.(\w+(/\w+)?)')
|
/external/gtest/test/ |
gtest_filter_unittest.py | 46 import re namespace 103 PARAM_TEST_REGEX = re.compile(r'/ParamTest') 106 TEST_CASE_REGEX = re.compile(r'^\[\-+\] \d+ tests? from (\w+(/\w+)?)') 109 TEST_REGEX = re.compile(r'^\[\s*RUN\s*\].*\.(\w+(/\w+)?)')
|
/external/iproute2/tc/ |
tc_util.c | 516 struct gnet_stats_rate_est re = {0}; local 517 memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re))); 519 prefix, sprint_rate(re.bps, b1), re.pps);
|
/external/llvm/utils/lit/lit/ |
main.py | 9 import math, os, platform, random, re, sys, time, threading, traceback namespace 552 rex = re.compile(opts.filter)
|
/external/markdown/markdown/ |
__init__.py | 45 import re namespace 70 BLOCK_LEVEL_ELEMENTS = re.compile("p|div|h[1-6]|blockquote|pre|table|dl|ol|ul" 382 source = re.sub(r'\n\s+\n', '\n\n', source)
|
inlinepatterns.py | 45 import re namespace 102 ATTR_RE = re.compile("\{@([^\}]*)=([^\}]*)}") # {@id=123} 129 self.compiled_re = re.compile("^(.*?)%s(.*?)$" % pattern, re.DOTALL) 147 * m: A re match object containing a match of the pattern.
|
/external/protobuf/gtest/test/ |
gtest_filter_unittest.py | 46 import re namespace 72 PARAM_TEST_REGEX = re.compile(r'/ParamTest') 75 TEST_CASE_REGEX = re.compile(r'^\[\-+\] \d+ tests? from (\w+(/\w+)?)') 78 TEST_REGEX = re.compile(r'^\[\s*RUN\s*\].*\.(\w+(/\w+)?)')
|
/external/protobuf/python/google/protobuf/ |
text_format.py | 36 import re namespace 302 _WHITESPACE = re.compile('(\\s|(#.*$))+', re.MULTILINE) 303 _TOKEN = re.compile( 308 _IDENTIFIER = re.compile('\w+') 313 _FLOAT_INFINITY = re.compile('-?inf(inity)?f?', re.IGNORECASE) 314 _FLOAT_NAN = re.compile("nanf?", re.IGNORECASE) 351 match = re.match(self._WHITESPACE, self._current_line [all...] |
/external/v8/tools/ |
gc-nvp-trace-processor.py | 41 import sys, types, re, subprocess, math namespace 50 for (name, value) in re.findall(r"(\w+)=([-\w]+)", s): 71 for m in re.finditer(r"$(\w+)", script):
|
presubmit.py | 42 import re namespace 105 LINT_OUTPUT_PATTERN = re.compile(r'^.+[:(]\d+[:)]|^Done processing') 261 COPYRIGHT_HEADER_PATTERN = re.compile(
|
stats-viewer.py | 34 in a window, re-reading and re-displaying with regular intervals. 40 import re namespace 108 for m in re.finditer(r"/dev/shm/\S*", maps_file.read()): 462 parser = optparse.OptionParser("usage: %prog [--filter=re] " 472 Main(args[0], re.compile(options.filter))
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
regress-103087.js | 35 var re = ''; variable 131 re = new RegExp(rePatterns[i]); 134 re.exec(str); 138 re.exec(lc); 142 re.exec(rc);
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_mock.py | 31 import re namespace 164 return re.sub(re.escape(os.path.sep), self.sep, os.path.join(*comps)) 237 return re.sub(re.escape(os.path.sep), self.sep, os.path.normpath(path))
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
chromium.py | 34 import re namespace 71 you're looking for (e.g., "HTTP Server"). Used for error logging. 493 if (not re.search("^file:///[a-z]:", uri) or 510 # FIXME: Add support for audio when we're ready.
|
webkit.py | 37 import re namespace 144 m = re.match('Content-Length: (\d+)', output) 157 m = re.match('diff: (.+)% (passed|failed)', output) 267 # This script doesn't know how to do that yet, so pretend they're
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
rebaseline_chromium_webkit_tests.py | 49 import re namespace 284 revisions = re.findall(self.REVISION_REGEX, content) 768 """Return a port object for the platform we're running on.""" [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
upload.py | 32 import re namespace 70 # NOTE: This was designed to be generic, but right now we're only processing patches from the pending-commit list, so only r+ matters. 113 bug_closed_explanation = " If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again)." 372 match = re.search("^r(?P<svn_revision>\d+) \|", commit_log, re.MULTILINE) 392 if re.match("^r[0-9]+$", svn_revision, re.IGNORECASE): 394 if not re.match("^[0-9]+$", svn_revision):
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-rxspencer.c | 217 regex_t re; local 221 n = regcomp (&re, pattern, cflags); 251 regerror (n, &re, buf, sizeof (buf)); 258 regfree (&re); 271 if (regexec (&re, string, 10, rm, eflags)) 273 regfree (&re); 280 regfree (&re);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/include/ |
mpc.h | 100 mpfr_t re; member in struct:__anon23745 234 #define mpc_realref(x) ((x)->re)
|