HomeSort by relevance Sort by last modified time
    Searched defs:re (Results 251 - 275 of 399) sorted by null

<<111213141516

  /external/v8/tools/
js2c.py 34 import os, re, sys, string namespace
56 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
57 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
58 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
97 EVAL_PATTERN = re.compile(r'\beval\s*\(')
98 WITH_PATTERN = re.compile(r'\bwith\s*\(')
176 CONST_PATTERN = re.compile(r'^const\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$')
177 MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\s*([^;]*);$'
    [all...]
  /external/webkit/Source/WebKit2/Scripts/webkit2/
messages.py 25 import re namespace
71 match = re.search(r'messages -> ([A-Za-z_0-9]+) {', line)
84 match = re.search(r'([A-Za-z_0-9]+)\((.*?)\)(?:(?:\s+->\s+)\((.*?)\)(?:\s+(.*))?)?', line)
411 match = re.search(r'Vector<(.+)>', type)
436 match = re.search(r'Vector<(.+)>', type)
  /external/webkit/Tools/Scripts/
check-inspector-strings 33 import re namespace
69 line_strings = re.findall(pattern, line)
84 match = re.match(r"localizedStrings\[\"((?:[^\"\\]|\\.)*?)\"", line)
validate-committer-lists 36 import re namespace
163 line_regexp = re.compile("^(?P<author>.+)@\S+ (?P<timestamp>\d+)$")
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
changelog.py 34 import re namespace
55 match = re.match(self.date_line_regexp, self._contents, re.MULTILINE)
63 match = re.search("^\s+Reviewed by (?P<reviewer>.*?)[\.,]?\s*$", self._contents, re.MULTILINE) # Discard everything after the first period
106 date_line_regexp = re.compile(ChangeLogEntry.date_line_regexp)
107 rolled_over_regexp = re.compile(ChangeLogEntry.rolled_over_regexp)
151 reviewed_by_regexp = re.compile(
154 # inplace=1 creates a backup file and re-directs stdout to the file
170 # inplace=1 creates a backup file and re-directs stdout to the fil
    [all...]
  /external/webkit/Tools/wx/build/
settings.py 29 import re namespace
  /frameworks/base/tools/orientationplot/
orientationplot.py 26 import re namespace
  /frameworks/base/tools/velocityplot/
velocityplot.py 30 import re namespace
  /frameworks/native/opengl/libs/GLES_trace/tools/
genapi.py 38 import re namespace
296 m = re.search(self.API_ENTRY_REGEX, apientry)
305 m = re.search(self.API_ENTRY_REGEX, apientry)
313 m = re.search(self.CALL_GL_API_REGEX, callsite)
  /ndk/sources/cxx-stl/stlport/src/
complex.cpp 168 _Tp re = z._M_re; local
170 _Tp mag = ::hypot(re, im);
175 } else if (re > 0.f) {
176 result._M_re = ::sqrt(0.5f * (mag + re));
179 result._M_im = ::sqrt(0.5f * (mag - re));
  /ndk/sources/host-tools/nawk-20071023/
awkgram.y 65 %type <p> pas pattern ppattern plist pplist patlist prarg term re
215 | re
248 | re
280 re: label
283 | NOT re { $$ = op1(NOT, notnull($2)); }
  /packages/providers/CalendarProvider/
maketests.py 13 import sys, urllib, re namespace
35 DTSTART_TZID = re.compile("DTSTART;TZID=(.*):(.*)")
36 DTSTART = re.compile("DTSTART:(.*)")
37 DURATION = re.compile("DURATION:(.*)")
38 RRULE = re.compile("RRULE:(.*)")
39 TIME = re.compile("(....)-(..)-(..)T(..):(..):(..)....([+-])(..):(..)")
40 TIMEZ = re.compile("(....)-(..)-(..)T(..):(..):(..)....Z")
  /cts/suite/audio_quality/lib/src/task/
TaskCase.cpp 111 typename std::map<android::String8, T>& map, const char* re)
114 if (regcomp(&regex, re, REG_EXTENDED | REG_NOSUB) != 0) {
167 std::list<TaskCase::BufferPair>* TaskCase::findAllBuffers(const android::String8& re)
170 if (!translateVarName(re, translated)) {
205 std::list<TaskCase::ValuePair>* TaskCase::findAllValues(const android::String8& re)
208 if (!translateVarName(re, translated)) {
229 std::list<TaskCase::IndexPair>* TaskCase::findAllIndices(const android::String8& re)
232 if (!translateVarName(re, translated)) {
243 regex_t re; local
246 if (regcomp(&re, "[a-z0-9_]*[$]([a-z0-9]+)[_]*", REG_EXTENDED) != 0)
    [all...]
  /dalvik/vm/compiler/template/
gen-template.py 22 import sys, string, re, time namespace
155 opcode_re = re.compile(r"^JIT_TEMPLATE\((\w+)\)", re.DOTALL)
  /dalvik/vm/mterp/
gen-mterp.py 22 import sys, string, re, time namespace
248 opcode_re = re.compile(r"^\s*H\(OP_(\w+)\),.*", re.DOTALL)
  /development/scripts/app_engine_server/
memcache_zipserve.py 35 import re namespace
312 # Note: re.search adds an implied '^' to the beginning of the regex
316 if re.match(redirect[self.REDIRECT_SRC], uri):
318 redirect_uri = re.sub('^' + redirect[self.REDIRECT_SRC],
522 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/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
ecmalintrules.py 24 import re namespace
73 MISSING_PARAMETER_SPACE = re.compile(r',\S')
75 EXTRA_SPACE = re.compile('(\(\s|\s\))')
77 ENDS_WITH_SPACE = re.compile('\s$')
79 ILLEGAL_TAB = re.compile(r'\t')
82 TYPE_SPLIT = re.compile(r'[,<>()]')
85 AUTHOR_SPEC = re.compile(r'(\s*)[^\s]+@[^(\s]+(\s*)\(.+\)')
    [all...]
javascripttokenizer.py 23 import re namespace
65 NUMBER = re.compile(r"""
67 """ % (HEX_LITERAL, DECIMAL_LITERAL), re.VERBOSE)
74 SINGLE_QUOTE = re.compile(r"'")
75 SINGLE_QUOTE_TEXT = re.compile(r"([^'\\]|\\(.|$))+")
76 DOUBLE_QUOTE = re.compile(r'"')
77 DOUBLE_QUOTE_TEXT = re.compile(r'([^"\\]|\\(.|$))+')
79 START_SINGLE_LINE_COMMENT = re.compile(r'//')
80 END_OF_LINE_SINGLE_LINE_COMMENT = re.compile(r'//$')
82 START_DOC_COMMENT = re.compile(r'/\*\*'
    [all...]
  /external/chromium-trace/trace-viewer/third_party/python_gflags/
gflags2man.py 52 import re namespace
146 module_py_re = re.compile(r'(\S.+):$')
149 flag_py_re = re.compile(r'\s+(-\S+):\s+(.*)$')
151 flag_default_py_re = re.compile(r'\s+\(default:\s+\'(.*)\'\)$')
153 flag_tips_py_re = re.compile(r'\s+\((.*)\)$')
157 module_c_re = re.compile(r'\s+Flags from (\S.+):$')
160 flag_c_re = re.compile(r'\s+(-\S+)\s+(.*)$')
164 module_java_re = re.compile(r'\s+Flags for (\S.+):$')
167 flag_java_re = re.compile(r'\s+(-\S+)\s+(.*)$')
202 # Re-direct stdin to /dev/null to encourage programs tha
    [all...]

Completed in 980 milliseconds

<<111213141516