/external/chromium_org/tools/telemetry/third_party/pyserial/serial/tools/ |
H A D | list_ports_linux.py | 14 import re namespace 55 m = re.search(regexp, text) 58 m = re.search(regexp, text.decode('ascii', 'replace'))
|
/external/clang/www/ |
H A D | make_cxx_dr_status | 2 import sys, os, re namespace 34 status_re = re.compile(r'\bdr([0-9]+): (.*)') 41 for match in re.finditer(status_re, file(test_cpp, 'r').read()):
|
/external/gtest/src/ |
H A D | gtest-port.cc | 153 // Returns true iff regular expression re matches the entire str. 154 bool RE::FullMatch(const char* str, const RE& re) { argument 155 if (!re.is_valid_) return false; 158 return regexec(&re.full_regex_, str, 1, &match, 0) == 0; 161 // Returns true iff regular expression re matches a substring of str 163 bool RE::PartialMatch(const char* str, const RE& re) { argument 164 if (!re.is_valid_) return false; 167 return regexec(&re.partial_regex_, str, 1, &match, 0) == 0; 406 // Returns true iff regular expression re matches the entire str. 407 bool RE::FullMatch(const char* str, const RE& re) { argument 413 PartialMatch(const char* str, const RE& re) argument [all...] |
/external/gtest/test/ |
H A D | gtest_xml_output_unittest.py | 39 import re namespace 186 match = re.match(r'(\d+)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)', date_time_str) 188 re.match,
|
/external/harfbuzz_ng/test/shaping/ |
H A D | hb_test_tools.py | 3 import sys, os, re, difflib, unicodedata, errno, cgi namespace 69 diff_regex = re.compile ('([a-za-z0-9_]*)([^a-za-z0-9_]?)') 412 s = re.sub (r"0[xX]", " ", s) 413 s = re.sub (r"[<+>,;&#\\xXuU\n ]", " ", s) 440 s = re.sub (".* LETTER ", "", s) 441 s = re.sub (".* VOWEL SIGN (.*)", r"\1-MATRA", s) 442 s = re.sub (".* SIGN ", "", s) 443 s = re.sub (".* COMBINING ", "", s) 444 if re.match (".* VIRAMA", s): 452 s = re [all...] |
/external/libvpx/libvpx/tools/ |
H A D | diff.py | 14 import re namespace 77 """Walk a file-like object, yielding DiffHunks as they're parsed.""" 79 file_regex = re.compile(r"(\+\+\+|---) (\S+)") 80 range_regex = re.compile(r"@@ -(\d+)(,(\d+))? \+(\d+)(,(\d+))?")
|
/external/llvm/utils/release/ |
H A D | findRegressions-simple.py | 2 import re, string, sys, os, time, math namespace 13 d = re.sub(r',\d+:\d', '', d) 15 r = re.findall(r'TEST-(PASS|FAIL|RESULT.*?):\s+(.*?)\s+(.*?)\r*\n', d)
|
/external/ltrace/ |
H A D | filter.c | 112 re_match_or_error(regex_t *re, const char *name, const char *what) argument 114 int status = regexec(re, name, 0, NULL, 0); 121 regerror(status, re, buf, sizeof buf);
|
/external/markdown/markdown/extensions/ |
H A D | codehilite.py | 143 import re namespace 150 c = re.compile(r''' 154 ''', re.VERBOSE)
|
/external/protobuf/gtest/scripts/ |
H A D | fuse_gtest_files.py | 62 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/skia/tools/ |
H A D | misc_utils.py | 11 import re namespace 175 pattern: (string) to be passed to re.compile 181 pattern_object = re.compile(pattern) 194 pattern: (string) to be passed to re.compile 200 match = re.search(pattern, input_string) 211 pattern: (string) to be passed to re.compile
|
H A D | svn.py | 10 import re namespace 150 status_regex = re.compile(status_regex_string, re.MULTILINE)
|
H A D | test_gpuveto.py | 13 import re namespace 106 matches = re.findall('[\d]+\.[\d]+', output) 121 matches = re.findall('[\d]+\.[\d]+', output)
|
/external/vixl/tools/ |
H A D | presubmit.py | 32 import re namespace 199 CPP_EXT_REGEXP = re.compile('\.(cc|h)$') 200 SIM_TRACES_REGEXP = re.compile('test-simulator-traces-a64\.h$')
|
/external/chromium_org/build/android/pylib/linker/ |
H A D | test_case.py | 27 Host-driven tests have also been tried, but since they're really 40 import re namespace 60 _RE_LINKER_BROWSER_CONFIG = re.compile( 63 re.MULTILINE | re.DOTALL) 73 re_status_line = re.compile(r'(BROWSER|RENDERER)_LINKER_TEST: (FAIL|SUCCESS)') 76 re_library_address = re.compile(
|
/external/chromium_org/third_party/WebKit/ |
H A D | PRESUBMIT.py | 18 pattern = input_api.re.compile('^(?:<<<<<<<|>>>>>>>) |^=======$') 239 os_macro_re = input_api.re.compile(r'^\s*#(el)?if.*\bOS_') 253 printf_re = input_api.re.compile(r'^\s*printf\(') 269 serve_async_requests_re = input_api.re.compile( 285 pattern = input_api.re.compile('^FAIL') 312 pattern = input_api.re.compile('Invalid name for preference: (.+)')
|
/external/chromium_org/third_party/simplejson/ |
H A D | decoder.py | 3 import re namespace 18 FLAGS = re.VERBOSE | re.MULTILINE | re.DOTALL 88 STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS) 177 WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | cyrillic.js | 189 var re = new RegExp(mixed, flag); 192 assertEquals(expected, re.test("A" + suffix), 58 + flag + f); 193 assertTrue(re.test("a" + suffix), 59 + flag + f); 194 assertTrue(re.test("~" + suffix), 60 + flag + f); 195 assertTrue(re.test(cyrillic.MIDDLE), 61 + flag + f); 196 assertEquals(ignore_case || full, re.test(cyrillic.middle), 62 + flag + f);
|
/external/chromium_org/v8/tools/push-to-trunk/ |
H A D | push_to_trunk.py | 38 PUSH_MESSAGE_RE = re.compile(r".* \(based on bleeding_edge revision r(\d+)\)$") 107 # TODO(machenbach): Do we need a check to make sure we're not pushing a 148 "changes. When you're done, save the file and exit your " 179 match = re.search(r"^Review URL: https://codereview\.chromium\.org/(\d+)$", 180 body, flags=re.M) 229 "entry, then edit its contents to your liking. When you're done, " 269 text = re.sub(r"^%s: " % self["date"], "", text.rstrip()) 356 result = filter(lambda x: re.search(r"^Committed r[0-9]+", x), 359 self["trunk_revision"] = re.sub(r"^Committed r([0-9]+)", r"\1",result[0])
|
/external/fonttools/Lib/fontTools/ |
H A D | afmLib.py | 9 import re namespace 12 identifierRE = re.compile("^([A-Za-z]+).*") 15 charRE = re.compile( 33 kernRE = re.compile( 44 compositeRE = re.compile( 50 componentRE = re.compile(
|
/external/fonttools/Tools/fontTools/ |
H A D | afmLib.py | 9 import re namespace 12 identifierRE = re.compile("^([A-Za-z]+).*") 15 charRE = re.compile( 33 kernRE = re.compile( 44 compositeRE = re.compile( 50 componentRE = re.compile(
|
/external/aac/libFDK/include/ |
H A D | FDK_trigFcts.h | 184 sl = (LONG)tmp.v.re; 190 cl = (LONG)tmp.v.re;
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t010lexer.py | 16 def reportError(self, re): 18 raise re
|
H A D | t011lexer.py | 16 def reportError(self, re): 18 raise re
|
H A D | t012lexerXML.py | 21 def reportError(self, re): 23 raise re
|