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

1234567891011>>

/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
H A Dcamel_case.py5 import re namespace
15 return re.sub('(?!^)([A-Z]+)', r'_\1', obj).lower()
/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/autotest/client/cros/
H A Dtty.py10 import re namespace
16 if re.search(
H A Dtpm_dam.py14 import os, re namespace
54 match = re.search(r'Manufacturer: (0x[0-9A-Fa-f]*)', caps)
/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;
H A Dposix_regex.cpp5 regex_t re; local
6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
11 regfree(&re);
/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;
H A Dposix_regex.cpp5 regex_t re; local
6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
11 regfree(&re);
/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/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)
/external/llvm/utils/
H A DDSAclean.py11 import re namespace
23 if re.compile("label(\s*)=(\s*)\"\s%tmp(.\w*)*(\s*)\"").search(buffer):
/external/ltp/testcases/realtime/func/pi-tests/
H A Dparse-testpi1.py30 import re namespace
36 exp1= re.compile("pthread pol 0 pri 0")
37 exp2= re.compile(r'^Noise Thread')
38 exp3=re.compile("[1-9]\d{2,3}")
H A Dparse-testpi2.py31 import re namespace
37 exp1= re.compile("pthread pol 2 pri 10")
38 exp2= re.compile(r'^Noise Thread')
39 exp3=re.compile("[1-9]\d{2,3}")
/external/mesa3d/src/glsl/tests/
H A Dsexps.py30 import re namespace
49 sexp_token_regexp = re.compile(
/external/skia/infra/bots/recipe_modules/ct/
H A Dapi.py8 import re namespace

Completed in 560 milliseconds

1234567891011>>