Searched refs:re (Results 1 – 25 of 116) sorted by relevance
12345
/system/sepolicy/tests/ |
D | mini_parser.py | 2 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 …]
|
D | combine_maps.py | 32 import re 44 m = re.match(r"(\w+)_\d+_\d+", top_ta)
|
D | check_prop_prefix.py | 18 import re 23 line_regex = re.compile(r'^(\S+)\s+u:object_r:([^:]+):s0.*$')
|
/system/core/init/ |
D | host_builtin_map.py | 9 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/ |
D | protobuflint.py | 21 import re 36 p = re.compile(r"^[+]?\s*required .*$", re.M)
|
/system/extras/boottime_tools/bootanalyze/ |
D | bugreport_anayze.py | 25 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/ |
D | post_process_mac_perms | 29 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/ |
D | extract_from_pem.py | 19 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/ |
D | parse.py | 16 import re 104 return re.findall(r'\"([^\"]+)\"', parts[1])
|
/system/bt/build/toolchain/clang/ |
D | get_clang_suffix.py | 3 import re 22 clang_version_match = re.search(CLANG_VERSION_REGEX, clang_version_out)
|
/system/extras/boottime_tools/io_analysis/ |
D | check_verity.py | 21 import re 80 self.re = re.compile(RE_VERITY) 83 match = self.re.match(line)
|
D | check_io_trace.py | 21 import re 61 self.re_block_queue = re.compile(RE_BLOCK_BIO_QUEUE) 184 prog = re.compile(RE_BLOCK)
|
/system/bt/gd/cert/ |
D | os_utils.py | 20 import re 93 HOST_CRASH_LINE_REGEX = re.compile(r"^.* - crash_callback: (?P<line>.*)$") 95 ASAN_OUTPUT_START_REGEX = re.compile(r"^==.*AddressSanitizer.*$")
|
D | async_subprocess_logger.py | 20 import re 81 tagLength = len(re.sub('[^\w\s]', '', loggableTag))
|
D | logging_client_interceptor.py | 18 import re 67 tagLength = len(re.sub('[^\w\s]', '', self.inLogTag)) + 11
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 22 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/ |
D | README.md | 12 ## After you're done 80 Probably not. See [After you're done](#After-you're-done)
|
/system/core/toolbox/ |
D | generate-input.h-labels.py | 21 import re 39 r = re.compile(r'#define\s+(\S+)\s+((?:0x)?\d+)')
|
/system/media/audio_utils/tests/ |
D | metadata_tests_c.c | 38 float re; in main()
|
/system/memory/lmkd/ |
D | lmkd.rc | 18 # 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/ |
D | performanced.te | 10 # Access /proc to validate we're only affecting threads in the same thread group.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | performanced.te | 15 # Access /proc to validate we're only affecting threads in the same thread group.
|
/system/vold/bench/ |
D | benchgen.py | 29 import re, sys, collections, traceback, argparse 110 re_event = re.compile(r"^([\d\.]+) (.+?)\((.+?)\) = (.+?)$") 111 re_arg = re.compile(r'''((?:[^,"']|"[^"]*"|'[^']*')+)''')
|
/system/extras/boottime_tools/bootio/ |
D | README.md | 20 forget to delete it when you're done collecting data.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | art_apex_postinstall.te | 13 # We're deleting the old /data/dalvik-cache/* and move the new ones
|
12345