/external/autotest/client/tests/bonnie/ |
bonnie.py | 1 import os, re namespace 59 strip_plus = lambda s: re.sub(r"^\++$", "0", s)
|
/external/autotest/client/tests/kvm/tests/ |
balloon_check.py | 1 import re, logging, random, time namespace 31 return int(re.findall("\d+", output)[0]), fail
|
trans_hugepage_defrag.py | 1 import logging, time, commands, os, string, re namespace 24 output = re.split('\s+', line)[1]
|
/external/autotest/client/tests/qemu_iotests/ |
qemu_iotests.py | 1 import os, re, logging namespace 84 failed_cases = re.findall("Failures: (\d+)", str(e))
|
/external/autotest/client/tests/tracing_microbenchmark/ |
tracing_microbenchmark.py | 2 import re namespace 44 result_re = re.compile(r'(?P<calls>\d+) calls '
|
/external/autotest/client/tools/ |
html_report.py | 10 import os, sys, re, getopt, time, datetime, commands namespace 300 { re:/(\d{2,4})-(\d{1,2})-(\d{1,2})/ , f:function(x){ return (new Date(sort.date.fixYear(x[1]),+x[2],+x[3])).getTime(); } } 302 ,{ re:/(\d{1,2})[\/-](\d{1,2})[\/-](\d{2,4})/ , f:function(x){ return (new Date(sort.date.fixYear(x[3]),+x[1],+x[2])).getTime(); } } 304 ,{ re:/(.*\d{4}.*\d+:\d+\d+.*)/, f:function(x){ var d=new Date(x[1]); if(d){return d.getTime();} } } 309 if (m=val.match(f[i].re)) { 516 * re-write itself the first time it is called. 523 // Define the new function, overwrite the one we're running now, and then run the new one 705 // Loop through all THEADs and remove sorted class names, then re-add them for the col 766 // If paging is enabled on the table, then we need to re-page because the order of rows has changed! 771 // Re-stripe if a class name was supplie [all...] |
/external/autotest/contrib/ |
dhcp_failed_machines.py | 13 If you're lucky, there might still be a copy of this script already on the dhcp 20 import re namespace 40 rgx = re.compile(
|
/external/autotest/scheduler/ |
email_manager.py | 6 import re namespace 38 to_list = [x for x in re.split('\s|,|;|:', to_string) if x]
|
/external/autotest/server/site_tests/firmware_ECHash/ |
firmware_ECHash.py | 6 import re namespace 42 pattern = re.compile('hash: ([0-9a-f]{64})')
|
/external/autotest/server/site_tests/firmware_TypeCProbeUSB3/ |
firmware_TypeCProbeUSB3.py | 8 import re namespace 32 return re.search(self.RE_SUPERSPEED_DEVICE, lsusb_line)
|
/external/autotest/server/site_tests/platform_HWwatchdog/ |
platform_HWwatchdog.py | 9 import logging, re namespace 70 secs = re.findall(r'HW watchdog interval is (\d*) seconds', output)[0]
|
/external/autotest/server/site_tests/power_ChargeStatus/ |
power_ChargeStatus.py | 5 import re namespace 26 match = re.search("^(\w+)=(.+)", arg)
|
/external/autotest/site_utils/autoupdate/ |
test_image.py | 8 import re namespace 49 board = re.sub('-he$', '_he', board) 71 @param pattern: a regexp pattern to match (feeds into re.match).
|
/external/autotest/tko/ |
status_lib.py | 1 import collections, re namespace 26 return re.sub('|'.join(blacklist), '', raw_line)
|
/external/chromium-trace/catapult/ |
PRESUBMIT.py | 10 import re namespace 54 if input_api.change.BUG is None or re.match(
|
/external/chromium-trace/catapult/catapult_build/ |
html_checks.py | 9 import re namespace 24 return not any(re.match(pattern, path) for pattern in excluded_paths)
|
/external/chromium-trace/catapult/perf_insights/perf_insights/endpoints/ |
upload.py | 8 import re namespace 71 if re.match('^[a-zA-Z0-9-,]+$', tags_string):
|
/external/chromium-trace/catapult/telemetry/telemetry/story/ |
story.py | 5 import re namespace 95 return re.sub('[^a-zA-Z0-9]', '_', self.display_name)
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
files.py | 11 import re namespace 85 return re.sub(r"[\\/.:]", "_", name) 252 self.re = re.compile(join_regex(fnpats)) 263 return self.re.match(fpath) is not None 268 sep_match = re.search(r"[\\/]", s) 323 regex = re.compile(r"(?i)" + regex_pat) 374 # We're only interested in files that look like reasonable Python 377 if re.match(r"^[^.#~!$@%^&*()+=,]+\.pyw?$", filename):
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
cat.py | 20 import re namespace 127 range_matcher = re.compile(
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mturk/ |
notification.py | 33 import re namespace 44 EVENT_RE = re.compile(EVENT_PATTERN)
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
style_sheet.py | 7 import re namespace 62 return re.sub('url\((?P<quote>"|\'|)(?P<url>[^"\'()]*)(?P=quote)\)', 73 matches = re.findall(
|
/external/deqp/scripts/ |
check_resolution_list.py | 23 import re namespace 63 return re.match('^[1-9][0-9]*x[1-9][0-9]*$', res) != None
|
/external/mesa3d/src/glsl/tests/ |
sexps.py | 30 import re namespace 49 sexp_token_regexp = re.compile(
|
/external/opencv3/3rdparty/jinja2/ |
tests.py | 11 import re namespace 16 number_re = re.compile(r'^-?\d+(\.\d+)?$')
|