Searched refs:re (Results 501 - 525 of 1591) sorted by relevance

<<21222324252627282930>>

/external/chromium_org/tools/android/memdump/
H A Dmemsymbols.py10 import re namespace
50 MAP_RX = re.compile(
102 NM_RX = re.compile(r'^([0-9a-f]+)\s+.*$')
/external/chromium_org/tools/cr/cr/actions/
H A Dadb.py7 import re namespace
29 pattern = re.compile(r'\S+\s+(\d+)\s+.*{CR_PROCESS}')
31 match = re.match(pattern, line)
/external/chromium_org/tools/git/
H A Dmffr.py21 import re namespace
39 Once files are found, |re.sub| is run to replace |original| with
53 posix_ere_original = re.sub(r"\\s", "[[:space:]]", original)
66 contents = re.sub(original, replacement, original_contents)
/external/chromium_org/tools/gyp/pylib/gyp/
H A Deasy_xml.py5 import re namespace
145 _xml_escape_re = re.compile(
146 "(%s)" % "|".join(map(re.escape, _xml_escape_map.keys())))
/external/chromium_org/tools/metrics/histograms/
H A Dupdate_policies.py12 import re namespace
68 text = re.sub(r'\$\d+', '', text) # Remove $1-like substitutions.
69 text = re.sub(r'<[^>]+>', '', text) # Remove XML tags.
/external/chromium_org/tools/resources/
H A Dfind_unused_resources.py22 import re namespace
94 pattern = re.compile(
98 re.VERBOSE)
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dios_browser_finder.py8 import re namespace
78 if line and re.match('\s*(iPod|iPhone|iPad):', line):
118 match_browsers = re.search(browser_pattern, res)
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Dposix_platform_backend.py8 import re namespace
58 ps_line_re = re.compile(
76 application_re = re.compile(
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dregexp-sticky.js30 var re = /foo.bar/; variable
32 assertTrue(!!"foo*bar".match(re));
33 assertTrue(!!"..foo*bar".match(re));
/external/lldb/test/lang/objc/foundation/
H A DTestFoundationDisassembly.py30 match = re.search(" (/.*/Foundation.framework/.*)$", line)
43 codeRE = re.compile(r"""
48 """, re.VERBOSE)
/external/lldb/utils/test/
H A Drun-dis.py9 import re namespace
21 # And the re-compiled regular expression object.
31 mach_o = re.compile('\sMach-O.+binary')
45 # We're not interested in .h file.
112 path_regexp = re.compile(path_pattern)
/external/llvm/utils/release/
H A DfindRegressions-nightly.py2 import re, string, sys, os, time namespace
17 d = re.sub(r',\d+:\d','', d)
19 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
/external/llvm/utils/unittest/googletest/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/mesa3d/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/nanopb-c/tests/site_scons/
H A Dsite_init.py3 import re namespace
88 if pattern.strip() and not re.search(pattern.strip(), data, re.MULTILINE):
/external/protobuf/gtest/src/
H A Dgtest-port.cc117 // Returns true iff regular expression re matches the entire str.
118 bool RE::FullMatch(const char* str, const RE& re) { argument
119 if (!re.is_valid_) return false;
122 return regexec(&re.full_regex_, str, 1, &match, 0) == 0;
125 // Returns true iff regular expression re matches a substring of str
127 bool RE::PartialMatch(const char* str, const RE& re) { argument
128 if (!re.is_valid_) return false;
131 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0;
369 // Returns true iff regular expression re matches the entire str.
370 bool RE::FullMatch(const char* str, const RE& re) { argument
376 PartialMatch(const char* str, const RE& re) argument
[all...]
/external/qemu/
H A Doffset_layout.py3 import re namespace
9 _RE_LINE = re.compile("^\s*(?P<keyword>[\w-]+)\s+{\s*$")
10 _RE_XY = re.compile("^(?P<start>\s*)(?P<xy>[x|y]\s+)(?P<num>\d+)(?P<end>\s*)$")
/external/chromium_org/third_party/jinja2/
H A Dlexer.py17 import re namespace
32 whitespace_re = re.compile(r'\s+', re.U)
33 string_re = re.compile(r"('([^'\\]*(?:\\.[^'\\]*)*)'"
34 r'|"([^"\\]*(?:\\.[^"\\]*)*)")', re.S)
35 integer_re = re.compile(r'\d+')
42 name_re = re.compile(r'\b[a-zA-Z_][a-zA-Z0-9_]*\b')
45 name_re = re.compile(r'[%s][%s]*' % (_stringdefs.xid_start,
48 float_re = re.compile(r'(?<!\.)\d+\.\d+')
49 newline_re = re
[all...]
/external/doclava/src/com/google/doclava/parser/
H A DJavaParser.java123 * type and then move on to decide whether we're dealing with a field
631 catch (RecognitionException re) {
632 reportError(re);
633 recover(input,re);
682 catch (RecognitionException re) {
683 reportError(re);
684 recover(input,re);
988 catch (RecognitionException re) {
989 reportError(re);
990 recover(input,re);
[all...]
/external/pcre/dist/
H A Dpcre_study.c69 re compiled pattern block
82 find_minlength(const REAL_PCRE *re, const pcre_uchar *code, argument
133 d = find_minlength(re, cc, startcode, options, recurse_depth);
388 pcre_uchar *slot = (pcre_uchar *)re +
389 re->name_table_offset + GET2(cc, 1) * re->name_entry_size;
404 int dd = find_minlength(re, cs, startcode, options, recurse_depth);
407 slot += re->name_entry_size;
428 d = find_minlength(re, cs, startcode, options, recurse_depth);
481 branchlength += find_minlength(re, c
1427 const REAL_PCRE *re = (const REAL_PCRE *)external_re; local
[all...]
/external/chromium_org/base/android/jni_generator/
H A Djni_generator.py13 import re namespace
192 re_import = re.compile(r'import.*?(?P<class>\S*?);')
193 for match in re.finditer(re_import, contents):
196 re_inner = re.compile(r'(class|interface)\s+?(?P<name>\w+?)\W')
197 for match in re.finditer(re_inner, contents):
203 re_additional_imports = re.compile(
205 for match in re.finditer(re_additional_imports, contents):
384 re_jni_namespace = re.compile('.*?@JNINamespace\("(.*?)"\)')
385 m = re.findall(re_jni_namespace, contents)
392 re_package = re
[all...]
/external/aac/libFDK/include/
H A Dcplx_mul.h132 cplxMultDiv2(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im);
190 cplxMultDiv2(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im);
235 cplxMult(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im);
262 cplxMult(c_Re, c_Im, a_Re, a_Im, w.v.re, w.v.im);
/external/aac/libFDK/src/mips/
H A Dfft_rad2_mips.cpp127 x[2*i] = dout[i].re<<1;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
H A DTreeRewriteParser.m301 @catch (ANTLRRecognitionException *re) {
302 [self reportError:re];
303 [self recover:input Exception:re];
305 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re];
366 @catch (ANTLRRecognitionException *re) {
367 [self reportError:re];
368 [self recover:input Exception:re];
370 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re];
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt032subrulePredict.py13 def recover(self, input, re):

Completed in 901 milliseconds

<<21222324252627282930>>