/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
smtplib.py | 45 import re namespace 61 OLDSTYLE_AUTH = re.compile(r"auth=(.*)", re.I) 165 return re.sub(r'(?m)^\.', '..', 166 re.sub(r'(?:\r\n|\n|\r(?!\n))', CRLF, data)) 438 m = re.match(r'(?P<feature>[A-Za-z0-9][A-Za-z0-9\-]*) ?', each)
|
/system/bt/doc/ |
power_management.md | 174 `prev_low` field is set, calls `bta_dm_pm_ssr` to re-send SSR params, 175 stops all timers for the device, and then re-calls `bta_dm_pm_set_mode` 176 with timeout set to FALSE to re-attempt with a second action (if the 177 previous PARK or SNIFF failed, otherwise it'll re-attempt the first
|
/system/extras/simpleperf/runtest/ |
runtest.py | 28 import re namespace 348 assert re.search(r'^Children\s+Self\s+Command.+Symbol$', title_line) 350 assert re.search(r'^Overhead\s+Command.+Symbol$', title_line) 367 m = re.search(r'^([\d\.]+)%\s+([\d\.]+)%\s+(\S+).*\s+(\S+)$', line) 375 m = re.search(r'^([\d\.]+)%\s+(\S+).*\s+(\S+)$', line) 406 m = re.search(r'^[\d\.]+%[-\s]+(.+)$', line)
|
/art/test/031-class-attributes/src/ |
ClassAttrs.java | 140 } catch (RuntimeException re) { 141 System.err.println("FAILED: " + re); 142 re.printStackTrace(); 337 // Sort types alphabetically so they're always printed in the same order.
|
/external/autotest/client/site_tests/network_3GRecoverFromGobiDesync/ |
network_3GRecoverFromGobiDesync.py | 11 import re namespace 40 # re-raise them. 51 """Returns a wrapper that calls f and saves exceptions for re-raising.""" 82 # We want to see all of these events before we're done 90 self.udev_qcqmi = re.compile( 228 StartDataSession. If we're not also disabling at the same time,
|
/external/autotest/client/site_tests/network_EthernetStressPlug/ |
network_EthernetStressPlug.py | 10 import re namespace 316 'Speed': re.search('(\d*)', speed_duplex[0]).groups()[0], 396 speed = re.search('^\s*(\d*)', current_line[2])
|
/external/autotest/client/site_tests/platform_BootPerf/ |
platform_BootPerf.py | 8 import re namespace 239 times_re = re.compile(r'LF=(\d+),(\d+) LK=(\d+),(\d+)') 240 match = re.findall(times_re, item) 306 # possibilities and pick the first one we find. We're not 307 # looking for 3G here, so we're not guaranteed to find any
|
/external/autotest/client/site_tests/video_VDAPerf/ |
video_VDAPerf.py | 9 import re namespace 48 RE_FRAME_DELIVERY_TIME = re.compile('frame \d+: (\d+) us') 49 RE_DECODE_TIME_MEDIAN = re.compile('Decode time median: (\d+)')
|
/external/autotest/site_utils/suite_scheduler/ |
manifest_versions_unittest.py | 14 import re namespace 251 rgx = re.compile( 261 rgx = re.compile(
|
/external/autotest/utils/ |
run_pylint.py | 16 import re namespace 105 they're not referenced anywhere in the code. To overcome this we need 141 @param node: node of the ast we're currently checking. 161 @param node: the node we're visiting. 170 @param node: node of the ast we're currently checking. 174 # module they're in, and a frame, which is the context 200 @param node_type: type of the node we're currently checking. 201 @param node: node of the ast we're currently checking. 217 line = re.search(arg_docstring_rgx, node.doc) 264 Invokes pylint on files after confirming that they're not black listed [all...] |
/external/chromium-trace/catapult/catapult_build/ |
run_dev_server_tests.py | 10 import re namespace 225 port = re.search( 255 if re.match(r'\d+\.\d+\.\d+\.\d+', path):
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
migrate_test_names.py | 10 * Re-parent all Test and Row entities from the old Test to the new Test. 19 import re namespace 209 elif re.search(_BRACKETS_REGEX, new_part): 244 substring_to_remove = re.search(_BRACKETS_REGEX, new_part).group(1) 292 # Try to re-parent children test first. If this does not complete in one
|
utils.py | 12 import re namespace 149 pattern_part = re.escape(pattern_part) 152 re_pattern = re.compile('^' + pattern_part.replace('\\*', '.*') + '$')
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
perf_profiler.py | 7 import re namespace 252 function = re.sub('<.*>', '', function) # Strip template params. 253 function = re.sub('[(].*[)]', '', function) # Strip function params.
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
lint.py | 112 import re namespace 117 header_re = re.compile(r'^[a-zA-Z][a-zA-Z0-9\-_]*$') 118 bad_header_value_re = re.compile(r'[\000-\037]')
|
urlmap.py | 7 import re namespace 106 norm_url_re = re.compile('//+') 107 domain_url_re = re.compile('^(http|https)://')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/ |
launch_instance | 35 import re, os namespace 53 if not re.match("^([a-zA-Z0-9]*:\/\/)(.*)", file_url): 61 match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line) 98 match = re.match("^#import[\s\t]*([^\s^\t]*)[\s\t]*$", line) 197 if not re.match("^([a-zA-Z0-9]*:\/\/)(.*)", scr_url):
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
test_treewalkers.py | 142 import re namespace 143 attrlist = re.compile(r"^(\s+)\w+=.*(\n\1\w+=.*)+", re.M)
|
/external/fonttools/Lib/fontTools/ |
ttx.py | 76 import re namespace 84 numberAddedRE = re.compile("#\d+$") 85 opentypeheaderRE = re.compile('''sfntVersion=['"]OTTO["']''')
|
/external/google-breakpad/src/testing/gtest/test/ |
gtest_xml_output_unittest.py | 39 import re namespace 176 match = re.match(r'(\d+)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)', date_time_str) 178 re.match,
|
/external/google-breakpad/src/testing/scripts/ |
gmock_doctor.py | 36 import re namespace 140 r = re.compile(regex) 160 if re.search(regex, msg): 241 to re-arrange the order of actions in a DoAll(), if you are using one?""" 571 msg = re.sub(r'\x1b\[[^m]*m', '', msg) # Strips all color formatting. 574 msg = re.sub(r'(\xe2\x80\x98|\xe2\x80\x99)', "'", msg)
|
/external/gtest/test/ |
gtest_xml_output_unittest.py | 39 import re namespace 186 match = re.match(r'(\d+)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)', date_time_str) 188 re.match,
|
/external/guava/guava-tests/test/com/google/common/base/ |
ThrowablesTest.java | 101 // we're keeping it the same in each test 498 RuntimeException re = new RuntimeException(iae); local 499 IllegalStateException ex = new IllegalStateException(re); 501 assertEquals(asList(ex, re, iae, fnfe), Throwables.getCausalChain(ex));
|
/external/llvm/utils/lit/lit/ |
ProgressBar.py | 6 import sys, re, time namespace 151 return re.sub(r'\$<\d+>[/*]?', '', cap) 159 return re.sub(r'\$\$|\${\w+}', self._render_sub, template)
|
/external/v8/tools/release/ |
push_to_candidates.py | 127 match = re.search(r"^Review URL: https://codereview\.chromium\.org/(\d+)$", 128 body, flags=re.M) 177 "entry, then edit its contents to your liking. When you're done, " 218 text = re.sub(r"^%s: " % self["date"], "", text.rstrip())
|