/external/autotest/client/tests/kvm/tests/ |
physical_resources_check.py | 1 import re, string, logging namespace 59 device_found = re.findall(regexp, o) 152 found_mac_addresses = re.findall("macaddr=(\S+)", o)
|
/external/autotest/client/tests/lsb_dtk/ |
lsb_dtk.py | 1 import os, glob, re, logging namespace 83 pkg_pattern = re.compile('[A-Za-z0-9_.-]*[.][r][p][m]') 90 line = re.findall(pkg_pattern, line)[0]
|
/external/autotest/client/tests/sysbench/ |
sysbench.py | 1 import os, time, re, pwd namespace 157 threads_re = re.search('Number of threads: (\d+)', line) 161 tps_re = re.search('transactions:\s+\d+\s+\((\S+) per sec.\)', line)
|
/external/autotest/client/virt/tests/ |
vlan.py | 1 import logging, time, re namespace 74 digest_receive = re.findall(r'(\w+)', output)[0] 100 digest_origin.append(re.findall(r'(\w+)', output)[0])
|
/external/autotest/server/cros/faft/utils/ |
faft_checkers.py | 5 import re namespace 52 matched = re.match(pattern, line.strip()) 263 pattern = re.compile("Firmware copy: (.*)")
|
/external/autotest/server/hosts/ |
moblab_host.py | 7 import re namespace 164 ip = re.match('lease (?P<ip>.*) {', lease).groups('ip') 189 match = re.match(SUBNET_DUT_SEARCH_RE, line)
|
testbed.py | 8 import re namespace 185 match = re.match(_IMAGE_NAME_PATTERN, image) 255 match = re.match(adb_host.BUILD_REGEX, build)
|
/external/autotest/server/ |
site_crashcollect.py | 7 import re namespace 130 @param host A host object of the device we're to pull crashes from. 233 pkg_re = re.compile('@@@ (.*) @@@') 234 path_re = re.compile('^([0-7]{3,}) (.)')
|
/external/autotest/server/site_tests/kernel_MemoryRamoop/ |
kernel_MemoryRamoop.py | 5 import logging, random, re, string, traceback namespace 153 matcher = re.compile(pattern) 196 if re.match(sig_pattern, line):
|
/external/autotest/tko/ |
display.py | 1 import os, re, string, sys namespace 344 name = re.sub('_', '<br>', group.name) 345 if re.search('/', name):
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
testing_common.py | 11 import re namespace 121 match = re.search(var_name + r'\s*=\s*(.+);\s*$', contents, 122 re.MULTILINE)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/ |
android_device.py | 6 import re namespace 162 if re.search(re.escape('????????????\tno permissions'), stdout) != None:
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
sysfs_power_monitor.py | 8 import re namespace 60 lambda x: re.match(r'^cpu[0-9]+', x), 108 stats[cpu] = re.sub('\n\n+', '\n', output)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
android_profiling_helper_unittest.py | 7 import re namespace 26 lib = re.match(r'.*\s(/.*[.]so)$', map_line) 189 is_unstripped = re.compile(r'^/data/app(-lib)?/.*\.so$')
|
/external/chromium-trace/catapult/telemetry/telemetry/wpr/ |
archive_info.py | 8 import re namespace 156 # Don't fail if we're unable to delete some of the files. 196 match = re.match(r'(?P<BASE>.*)_(?P<NUMBER>[0-9]+)\.wpr', wpr_file) 205 # If we're creating a completely new info file, use the base name of the 212 """For modifying the metadata when we're going to record a new archive."""
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
list_ports_windows.py | 2 import re namespace 206 m = re.search(r'VID_([0-9a-f]{4})&PID_([0-9a-f]{4})(\\(\w+))?', szHardwareID_str, re.I)
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
cachecontrol.py | 4 import re namespace 60 token_re = re.compile( 62 need_quote_re = re.compile(r'[^a-zA-Z0-9._-]')
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
templite.py | 13 import re namespace 152 tokens = re.split(r"(?s)({{.*?}}|{%.*?%}|{#.*?#})", text) 246 if not re.match(r"[_a-zA-Z][_a-zA-Z0-9]*$", name):
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_acl.py | 19 import re namespace 113 acl_string = re.sub(r'"role"', r'"role" \n', acl_string) 114 acl_string = re.sub(r'"entity"', r'\n "entity"', acl_string) 212 return re.sub(r'\s*', '', json_text) 358 return re.compile(template_regex, flags=re.DOTALL) 366 return re.compile(template_regex, flags=re.DOTALL) 462 all_auth_regex = re.compile( 464 flags=re.DOTALL [all...] |
test_defacl.py | 19 import re namespace 40 return re.compile(template_regex, flags=re.DOTALL)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
test_storage_uri.py | 27 import re namespace 82 acl_string = re.sub(r"</Entries>", 87 acl_no_owner_string = re.sub(r"<Owner>.*</Owner>", "", acl_string)
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
test_tokenizer.py | 5 import re namespace 127 _surrogateRe = re.compile(r"\\u([0-9A-Fa-f]{4})(?:\\u([0-9A-Fa-f]{4}))?") 198 _capitalizeRe = re.compile(r"\W+(\w)").sub
|
/external/markdown/markdown/extensions/ |
footnotes.py | 26 import re, markdown namespace 31 DEF_RE = re.compile(r'(\ ?\ ?\ ?)\[\^([^\]]*)\]:\s*(.*)') 32 TABBED_RE = re.compile(r'((\t)|( ))(.*)')
|
/external/markdown/markdown/ |
preprocessors.py | 10 import re namespace 194 RE = re.compile(r'^(\ ?\ ?\ ?)\[([^\]]*)\]:\s*([^ ]*)(.*)$', re.DOTALL) 199 m = self.RE.match(line)
|
/external/mesa3d/scons/ |
custom.py | 35 import re namespace 98 import_re = re.compile(r'^import\s+(\S+)$', re.M) 128 # We're generating code using Python scripts, so we have to be
|