Searched refs:re (Results 476 - 500 of 1591) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/v8/test/message/
H A Dtestcfg.py30 import re namespace
37 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
62 flags_match = re.findall(FLAGS_PATTERN, source)
102 pattern = re.escape(expected.rstrip() % env)
105 if not re.match(pattern, actual):
/external/chromium_org/v8/test/webkit/
H A Dtestcfg.py30 import re namespace
35 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
36 FILES_PATTERN = re.compile(r"//\s+Files:(.*)")
37 SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME")
66 flags_match = re.findall(FLAGS_PATTERN, source)
/external/fonttools/Lib/fontTools/misc/
H A Dsstruct.py53 import re namespace
112 _elementRE = re.compile(
123 _extraRE = re.compile("\s*([x@=<>!])\s*(#.*)?$")
126 _emptyRE = re.compile("\s*(#.*)?$")
139 lines = re.split("[\n;]", fmt)
/external/fonttools/Tools/fontTools/misc/
H A Dsstruct.py53 import re namespace
112 _elementRE = re.compile(
123 _extraRE = re.compile("\s*([x@=<>!])\s*(#.*)?$")
126 _emptyRE = re.compile("\s*(#.*)?$")
139 lines = re.split("[\n;]", fmt)
/external/libopus/celt/tests/
H A Dtest_unit_mdct.c65 double re = cos(phase); local
67 re /= nfft/4;
69 ansr += in[k] * re;
95 double re = cos(phase); local
97 /*re *= 2;*/
99 ansr += in[k] * re;
/external/qemu/
H A Dgen-charmap.py8 import sys, os, string, re namespace
41 re_mapname = re.compile( r".*/(\w+).kcm" )
42 re_start = re.compile( r"(\w+)\s*(.*)" )
43 re_char = re.compile( r"('.')\s*(.*)" )
44 re_hex = re.compile( r"(0x\w+)\s*(.*)" )
/external/chromium_org/v8/tools/push-to-trunk/
H A Dcommon_includes.py36 import re namespace
77 return re.sub(rexp, replacement, text, flags=re.MULTILINE)
82 line = re.sub(r"\t", r" ", line.strip())
108 if not re.search(log_exp, body, flags=re.I | re.M):
119 raw_title = re.sub(r"(\.|\?|!)$", "", title)
140 ref = re.match(r"^BUG[ \t]*=[ \t]*(.+)$", text.strip())
145 match = re
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DCodeGeneratorInstrumentation.py31 import re namespace
178 match = re.match(pattern, source)
185 source = re.sub("//.*", "", source) # Remove line comments
186 source = re.sub("/\*(.|\n)*?\*/", "", source, re.MULTILINE) # Remove block comments
187 source = re.sub("\]\s*?\n\s*", "] ", source) # Merge the method annotation with the next line
210 line = re.sub("\s{2,}", " ", line).strip() # Collapse whitespace
239 match = re.match("(\[[\w|,|=|\s]*\])?\s?(\w*\*?) (\w*)\((.*)\)\s?;", source)
246 options_str = re.sub("\s", "", match.group(1)[1:-1])
396 if re
[all...]
/external/markdown/markdown/
H A Dblockprocessors.py15 import re namespace
116 INDENT_RE = re.compile(r'^(([ ]{%s})+)'% markdown.TAB_LENGTH)
167 # We're in a tightlist - so we already are at correct parent.
170 # We're in a looselist - so we need to find parent.
180 # No more child levels. If we're short of indent_level,
219 RE = re.compile(r'(^|\n)[ ]{0,3}>[ ]?(.*)')
259 RE = re.compile(r'^[ ]{0,3}\d+\.[ ]+(.*)')
261 CHILD_RE = re.compile(r'^[ ]{0,3}((\d+\.)|[*+-])[ ]+(.*)')
263 INDENT_RE = re.compile(r'^[ ]{4,7}((\d+\.)|[*+-])[ ]+.*')
327 RE = re
[all...]
/external/chromium_org/testing/gtest/scripts/
H A Dpump.py68 import re namespace
73 (re.compile(r'\$var\s+'), '$var'),
74 (re.compile(r'\$elif\s+'), '$elif'),
75 (re.compile(r'\$else\s+'), '$else'),
76 (re.compile(r'\$for\s+'), '$for'),
77 (re.compile(r'\$if\s+'), '$if'),
78 (re.compile(r'\$range\s+'), '$range'),
79 (re.compile(r'\$[_A-Za-z]\w*'), '$id'),
80 (re.compile(r'\$\(\$\)'), '$($)'),
81 (re
[all...]
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/
H A Djs_checker.py27 match = self.input_api.re.search(regex, line)
46 if self.input_api.re.search(r'\*\s+@const', line):
129 def __init__(self, re):
131 self.re = re
153 self.re.search("</?(include|if)", error.token.line))
191 error_handler = ErrorHandlerImpl(self.input_api.re)
/external/chromium_org/build/android/pylib/gtest/
H A Dtest_runner.py7 import re namespace
90 re_run = re.compile('\[ RUN \] ?(.*)\r\n')
91 re_fail = re.compile('\[ FAILED \] ?(.*)\r\n')
92 re_ok = re.compile('\[ OK \] ?(.*?) .*\r\n')
95 re_passed = re.compile('\[ PASSED \] ?(.*)\r\n')
96 re_runner_fail = re.compile('\[ RUNNER_FAILED \] ?(.*)\r\n')
99 re_crash = re.compile('\[ CRASHED \](.*)\r\n')
130 # We're here because either the device went offline, or the test harness
/external/chromium_org/chrome/browser/web_dev_style/
H A Djs_checker.py21 self.input_api.re, line_number, line, regex, message)
30 if self.input_api.re.search(r'\*\s+@const', line):
140 def __init__(self, re):
142 self.re = re
164 self.re.search("</?(include|if)", error.token.line))
184 error_handler = ErrorHandlerImpl(self.input_api.re)
/external/chromium_org/chrome/common/extensions/
H A DPRESUBMIT.py12 import re namespace
44 s1 = re.sub('([a-z])([A-Z])', r'\1_\2', name)
45 s2 = re.sub('([A-Z]+)([A-Z][a-z])', r'\1_\2', s1)
89 ids_re = re.compile('<h[23].*id=.*?>')
90 headings_re = re.compile('<h[23].*?>')
98 if (len(re.findall(headings_re, contents)) !=
99 len(re.findall(ids_re, contents))):
/external/chromium_org/tools/grit/grit/format/
H A Dhtml_inline.py14 import re namespace
44 re.DOTALL)
47 re.DOTALL)
50 re.MULTILINE)
54 re.MULTILINE)
287 return re.sub('(content|background|[\w-]*-image):[^;]*' +
298 return re.sub('url\((?P<quote>"|\'|)(?P<filename>[^"\'()]*)(?P=quote)\)',
306 return re.sub('@import\s+url\((?P<quote>"|\'|)(?P<filename>[^"\'()]*)' +
316 # InlineScript, InlineCSSFile and InlineIncludeFiles on text we're eventually
323 flat_text = re
[all...]
/external/chromium_org/build/android/
H A Dasan_symbolize.py11 import re namespace
23 _RE_ASAN = re.compile(r'(.*?)(#\S*?) (\S*?) \((.*?)\+(.*?)\)')
26 m = re.match(_RE_ASAN, line)
/external/chromium_org/build/android/pylib/
H A Dports.py12 import re namespace
98 re_port = re.compile(port_info, re.MULTILINE)
/external/chromium_org/chrome/browser/metrics/variations/
H A Dgenerate_resources_map.py10 import re namespace
14 RESOURCE_EXTRACT_REGEX = re.compile('^#define (\S*) (\d*)$', re.MULTILINE)
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Daggregate_generated_bindings.py53 import re namespace
59 CONDITIONAL_PATTERN = re.compile(
70 re.MULTILINE)
/external/chromium_org/third_party/WebKit/Source/devtools/
H A DPRESUBMIT.py36 import re namespace
85 invalid_hash_file_names = [re.sub(".*/", "", file_path) for file_path in invalid_hash_file_paths]
110 invalid_hash_file_names = [re.sub(".*/", "", file_path) for file_path in invalid_hash_file_paths]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dsampstat28 import re namespace
72 decimalNumberPattern = re.compile(r"\d+\.?\d*")
74 match = re.search(decimalNumberPattern, line)
/external/chromium_org/third_party/closure_compiler/
H A Dprocessor.py8 import re namespace
85 match = re.search(self._INCLUDE_REG, current_line[2])
93 self._lines[i] = line[:2] + (re.sub(self._IF_TAGS_REG, "", line[2]),)
/external/chromium_org/third_party/markdown/extensions/
H A Ddef_list.py58 import re namespace
64 RE = re.compile(r'(^|\n)[ ]{0,3}:[ ]{1,3}(.*?)(\n|$)')
65 NO_INDENT_RE = re.compile(r'^[ ]{0,3}[^ :]')
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-port.cc127 // Returns true iff regular expression re matches the entire str.
128 bool RE::FullMatch(const char* str, const RE& re) { argument
129 if (!re.is_valid_) return false;
132 return regexec(&re.full_regex_, str, 1, &match, 0) == 0;
135 // Returns true iff regular expression re matches a substring of str
137 bool RE::PartialMatch(const char* str, const RE& re) { argument
138 if (!re.is_valid_) return false;
141 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0;
380 // Returns true iff regular expression re matches the entire str.
381 bool RE::FullMatch(const char* str, const RE& re) { argument
387 PartialMatch(const char* str, const RE& re) argument
[all...]
/external/chromium_org/tools/android/
H A Dfind_unused_resources.py9 import re namespace
56 type_regex = '|'.join(map(re.escape, resource_types))
68 matches = re.finditer(pattern, grep_out)

Completed in 2849 milliseconds

<<11121314151617181920>>