/external/libxml2/python/tests/ |
H A D | regexp.py | 7 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 D | infinite_loop_re.py | 7 import re namespace 8 starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('
|
/external/autotest/client/cros/ |
H A D | tty.py | 10 import re namespace 16 if re.search(
|
/external/autotest/utils/ |
H A D | gslib.py | 10 import re namespace 24 return re.sub(_INVALID_GS_PATTERN,
|
/external/google-benchmark/cmake/ |
H A D | gnu_posix_regex.cpp | 5 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 D | std_regex.cpp | 5 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 D | gnu_posix_regex.cpp | 5 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 D | std_regex.cpp | 5 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 D | match.py | 14 import re namespace 35 regex = re.compile(regex_str)
|
/external/llvm/utils/llvm-build/llvmbuild/ |
H A D | configutil.py | 5 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 D | sortingtest.py | 26 import re namespace 30 prog = re.compile('^(.*)=([-+]?[0-9]+)')
|
/external/python/cpython2/Demo/scripts/ |
H A D | find-uname.py | 21 import re namespace 31 pat = re.compile(arg, re.I)
|
/external/python/cpython2/Lib/ |
H A D | sre.py | 2 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 D | reperf.py | 1 import re namespace 6 p = re.compile(r"([\13\14])")
|
/external/python/cpython2/Tools/scripts/ |
H A D | combinerefs.py | 72 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 D | fixps.py | 7 import re namespace 18 if not re.match('^#! */usr/local/bin/python', line): 24 line = re.sub('/usr/local/bin/python',
|
H A D | lfcr.py | 5 import sys, re, os namespace 16 newdata = re.sub("\r?\n", "\r\n", data)
|
/external/skia/infra/bots/recipe_modules/core/resources/ |
H A D | binary_size_utils.py | 11 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 D | flutter_flavor.py | 5 import re namespace
|
H A D | pdfium_flavor.py | 5 import re namespace
|
/external/skia/tools/ |
H A D | misc_utils.py | 10 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 D | gc_nvp_common.py | 11 import re namespace 15 for (name, value) in re.findall(r"([._\w]+)=([-\w]+(?:\.[0-9]+)?)", s):
|
/external/vixl/tools/ |
H A D | known_test_failures.py | 27 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 D | t060leftrecursion.py | 2 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 D | mini_color.py | 9 import re namespace 28 cstring = re.sub(bgn_sym, CODE[color] + bgn_sym, string) 29 cstring = re.sub(end_sym, end_sym + NORMAL, cstring)
|