Searched defs:re (Results 1 - 25 of 1390) sorted by relevance

1234567891011>>

/external/libxml2/python/tests/
H A Dregexp.py7 re = libxml2.regexpCompile("a|b") variable
8 if re.regexpExec("a") != 1:
11 if re.regexpExec("b") != 1:
14 if re.regexpExec("ab") != 0:
17 if re.regexpExec("") != 0:
20 if re.regexpIsDeterminist() != 1:
23 del re
/external/python/cpython2/Lib/test/crashers/
H A Dinfinite_loop_re.py7 import re namespace
8 starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('
/external/autotest/client/cros/
H A Dtty.py10 import re namespace
16 if re.search(
/external/autotest/utils/
H A Dgslib.py10 import re namespace
24 return re.sub(_INVALID_GS_PATTERN,
/external/google-benchmark/cmake/
H A Dgnu_posix_regex.cpp5 regex_t re; local
6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
H A Dstd_regex.cpp5 std::regex re; local
6 re = std::regex("^[a-z]+[0-9]+$",
8 return std::regex_search(str, re) ? 0 : -1;
/external/libcxx/utils/google-benchmark/cmake/
H A Dgnu_posix_regex.cpp5 regex_t re; local
6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
H A Dstd_regex.cpp5 std::regex re; local
6 re = std::regex("^[a-z]+[0-9]+$",
8 return std::regex_search(str, re) ? 0 : -1;
/external/libcxx/utils/libcxx/sym_check/
H A Dmatch.py14 import re namespace
35 regex = re.compile(regex_str)
/external/llvm/utils/llvm-build/llvmbuild/
H A Dconfigutil.py5 import re namespace
16 replacement), where the regex and replacement will be used as in 're.sub' to
35 regex = re.compile(regex_string)
/external/python/cpython2/Demo/comparisons/
H A Dsortingtest.py26 import re namespace
30 prog = re.compile('^(.*)=([-+]?[0-9]+)')
/external/python/cpython2/Demo/scripts/
H A Dfind-uname.py21 import re namespace
31 pat = re.compile(arg, re.I)
/external/python/cpython2/Lib/
H A Dsre.py2 It will be removed in the future. sre was moved to re in version 2.5.
6 warnings.warn("The sre module is deprecated, please import re.", namespace
9 from re import *
10 from re import __all__
13 from re import _compile
/external/python/cpython2/Lib/test/
H A Dreperf.py1 import re namespace
6 p = re.compile(r"([\13\14])")
/external/python/cpython2/Tools/scripts/
H A Dcombinerefs.py72 import re namespace
92 for line in read(fi, re.compile(r'^Remaining objects:$'), False):
95 crack = re.compile(r'([a-zA-Z\d]+) \[(\d+)\] (.*)')
99 for line in read(fi, re.compile(r'^Remaining object addresses:$'), False):
H A Dfixps.py7 import re namespace
18 if not re.match('^#! */usr/local/bin/python', line):
24 line = re.sub('/usr/local/bin/python',
H A Dlfcr.py5 import sys, re, os namespace
16 newdata = re.sub("\r?\n", "\r\n", data)
/external/skia/infra/bots/recipe_modules/core/resources/
H A Dbinary_size_utils.py11 import re namespace
28 sym_re = re.compile(r'^[0-9a-f]{8,} ' # address (8+ hex digits)
34 addr_re = re.compile(r'^[0-9a-f]{8,} (.) ([^\t]+)(?:\t.*)?$')
36 noaddr_re = re.compile(r'^ {8,} (.) (.*)$')
38 addr_only_re = re.compile(r'^[0-9a-f]{8,} (.)$')
/external/skia/infra/bots/recipe_modules/flavor/
H A Dflutter_flavor.py5 import re namespace
H A Dpdfium_flavor.py5 import re namespace
/external/skia/tools/
H A Dmisc_utils.py10 import re namespace
32 pattern: (string) to be passed to re.compile
38 pattern_object = re.compile(pattern)
51 pattern: (string) to be passed to re.compile
57 match = re.search(pattern, input_string)
/external/v8/tools/
H A Dgc_nvp_common.py11 import re namespace
15 for (name, value) in re.findall(r"([._\w]+)=([-\w]+(?:\.[0-9]+)?)", s):
/external/vixl/tools/
H A Dknown_test_failures.py27 import re namespace
37 version = re.search('^valgrind-([0-9]+)\.([0-9]+)\.([0-9]+)', output)
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt060leftrecursion.py2 import re namespace
23 # def recover(self, input, re):
44 # build_ast = re.search(r'output\s*=\s*AST', grammar)
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dmini_color.py9 import re namespace
28 cstring = re.sub(bgn_sym, CODE[color] + bgn_sym, string)
29 cstring = re.sub(end_sym, end_sym + NORMAL, cstring)

Completed in 664 milliseconds

1234567891011>>