Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 116) sorted by relevance

12345

/system/sepolicy/tests/
Dmini_parser.py2 import re
27 m = re.match(r"(\d+\.\d+).+\.cil", fn)
81 m = re.match(r"type\s+(.+)", stmt)
86 m = re.match(r"expandtypeattribute\s+\((.+)\)\s+(true|false)", stmt)
91 m = re.match(r"typeattribute\s+(.+)", stmt)
96 m = re.match(r"typeattributeset\s+(.+?)\s+\((.+?)\)", stmt, flags = re.M |re.S)
111 pub = re.match(r"(\w+)_\d+_\d+", ta)
117 if re.match(r"type\s+.+", stmt):
119 elif re.match(r"typeattribute\s+.+", stmt):
121 elif re.match(r"typeattributeset\s+.+", stmt):
[all …]
Dcombine_maps.py32 import re
44 m = re.match(r"(\w+)_\d+_\d+", top_ta)
Dcheck_prop_prefix.py18 import re
23 line_regex = re.compile(r'^(\S+)\s+u:object_r:([^:]+):s0.*$')
/system/core/init/
Dhost_builtin_map.py9 import re
17 CHECK_REGEX = re.compile(r'.+check_(\S+)\(.+')
36 DO_REGEX = re.compile(r'.+do_([^\}]+).+')
37 FUNCTION_REGEX = re.compile(r'(do_[^\}]+)')
/system/update_engine/
Dprotobuflint.py21 import re
36 p = re.compile(r"^[+]?\s*required .*$", re.M)
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py25 import re
138 self.re_log_start = re.compile(LOG_START_PATTERN)
139 self.re_log_end = re.compile(LOG_END_PATTERN)
142 self.event_patterns = {key: re.compile(pattern)
144 self.timing_patterns = {key: re.compile(pattern)
146 self.shutdown_event_patterns = {key: re.compile(pattern)
154 self.re_time_dmesg = re.compile(TIME_DMESG)
155 self.re_time_logcat = re.compile(TIME_LOGCAT)
156 self.re_native_crash_start = re.compile(NATIVE_CRASH_START_PATTERN)
157 self.re_native_crash = re.compile(NATIVE_CRASH_PATTERN)
[all …]
/system/sepolicy/tools/
Dpost_process_mac_perms29 import re
53 results = re.findall(PEM_CERT_RE, pem_string, re.DOTALL)
76 policy_certs = re.findall(cert_pattern, f.read())
/system/ca-certificates/google/
Dextract_from_pem.py19 import re
57 return ':'.join(re.findall(r'..', x509.get_fingerprint('sha1').zfill(40)))
75 pem_certs = re.findall(pattern, pem_file.read())
/system/extras/perf2cfg/perf2cfg/
Dparse.py16 import re
104 return re.findall(r'\"([^\"]+)\"', parts[1])
/system/bt/build/toolchain/clang/
Dget_clang_suffix.py3 import re
22 clang_version_match = re.search(CLANG_VERSION_REGEX, clang_version_out)
/system/extras/boottime_tools/io_analysis/
Dcheck_verity.py21 import re
80 self.re = re.compile(RE_VERITY)
83 match = self.re.match(line)
Dcheck_io_trace.py21 import re
61 self.re_block_queue = re.compile(RE_BLOCK_BIO_QUEUE)
184 prog = re.compile(RE_BLOCK)
/system/bt/gd/cert/
Dos_utils.py20 import re
93 HOST_CRASH_LINE_REGEX = re.compile(r"^.* - crash_callback: (?P<line>.*)$")
95 ASAN_OUTPUT_START_REGEX = re.compile(r"^==.*AddressSanitizer.*$")
Dasync_subprocess_logger.py20 import re
81 tagLength = len(re.sub('[^\w\s]', '', loggableTag))
Dlogging_client_interceptor.py18 import re
67 tagLength = len(re.sub('[^\w\s]', '', self.inLogTag)) + 11
/system/media/camera/docs/
Dmetadata_helpers.py22 import re
534 match = re.search(r'<.*>', local_typedef)
610 if re.match("\d", what):
645 return bool(re.match('0x[a-f0-9]+$', instr, re.IGNORECASE))
1148 text = re.sub(r'src="([^"]*)"', 'src="' + img_src_prefix + r'\1"', text)
1239 text = re.sub(tag_match, filter_sub, text)
1264 text = re.sub(tag_match, filter_sub, text)
1265 text = re.sub(tag_match_2, filter_sub_2, text)
1306 text = re.sub(tag_match, filter_sub, text)
1472 new_word = re.sub(r"([a-z])([A-Z])", r"\1<wbr>\2", words)
[all …]
/system/bt/test/
DREADME.md12 ## After you're done
80 Probably not. See [After you're done](#After-you're-done)
/system/core/toolbox/
Dgenerate-input.h-labels.py21 import re
39 r = re.compile(r'#define\s+(\S+)\s+((?:0x)?\d+)')
/system/media/audio_utils/tests/
Dmetadata_tests_c.c38 float re; in main()
/system/memory/lmkd/
Dlmkd.rc18 # setting persist.device_config.* property either triggers immediate lmkd re-initialization
19 # if the device finished booting or sets lmkd.reinit=0 to re-initialize lmkd after boot completes
/system/sepolicy/prebuilts/api/26.0/public/
Dperformanced.te10 # Access /proc to validate we're only affecting threads in the same thread group.
/system/sepolicy/prebuilts/api/27.0/public/
Dperformanced.te15 # Access /proc to validate we're only affecting threads in the same thread group.
/system/vold/bench/
Dbenchgen.py29 import re, sys, collections, traceback, argparse
110 re_event = re.compile(r"^([\d\.]+) (.+?)\((.+?)\) = (.+?)$")
111 re_arg = re.compile(r'''((?:[^,"']|"[^"]*"|'[^']*')+)''')
/system/extras/boottime_tools/bootio/
DREADME.md20 forget to delete it when you're done collecting data.
/system/sepolicy/prebuilts/api/29.0/private/
Dart_apex_postinstall.te13 # We're deleting the old /data/dalvik-cache/* and move the new ones

12345