/ndk/sources/third_party/googletest/googletest/test/ |
gtest-port_test.cc | 410 // Defines StringTypes as the list of all string types that class RE 421 // Tests RE's implicit constructors. 423 const RE empty(TypeParam("")); 426 const RE simple(TypeParam("hello")); 429 const RE normal(TypeParam(".*(\\w+)")); 433 // Tests that RE's constructors reject invalid regular expressions. 436 const RE invalid(TypeParam("?")); 440 // Tests RE::FullMatch(). 442 const RE empty(TypeParam("")); 443 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)) [all...] |
/external/autotest/site_utils/ |
generate_test_report | 19 import re namespace 134 match = re.search(r'^(.+){%s}=(.+)$' % keyword, line) 165 regex = re.compile( 167 chrome_regex = re.compile(r'^supplied_[cC]hrome|^chrome$') 214 info_regex = re.compile(r'^(%s)\s*[|=]\s*(.*)' % 248 matches = re.findall(match_filter, status_raw, re.MULTILINE) 275 match = re.match(r'experimental=(.+)', line) 331 failure = re.search(r'%s' % failure_tags, status_raw) 332 warning = re.search(r'%s' % warning_tag, status_raw) and not failur [all...] |
/external/autotest/client/site_tests/firmware_TouchMTB/ |
firmware_utils.py | 9 import re namespace 28 geometry_pattern = re.compile('\s*-geometry\s*(\d+)x(\d+)+.*', re.I) 60 board = re.search('(\D+)\d*', board, re.I).group(1) 144 result = re.search('-(%s[^-]+?)-' % conf.fw_prefix, filename) 147 result = re.search('(\d{8}_\d{6})[-.]', filename) 268 be discarded because the user chooses to re-perform the gesture
|
/external/autotest/client/site_tests/graphics_Idle/ |
graphics_Idle.py | 5 import logging, os, re, struct, time namespace 128 match = re.search(r'Current RC state: (.*)', line) 162 match = re.search(r'CAGF: (.*)MHz', line) 167 match = re.search(r'current GPU freq: (.*) MHz', line) 266 if re.search('FBC enabled', line): 295 match = re.search(r'Performance_Counter: (.*)', line) 324 if re.search('Total 0 objects', line):
|
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/ |
video_VideoDecodeMemoryUsage.py | 7 import re namespace 62 MEMINFO_RE = re.compile('^(\w+):\s+(\d+)', re.MULTILINE) 81 GEM_OBJECTS_RE = re.compile('(\d+)\s+objects,\s+(\d+)\s+bytes') 355 s = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', class_name) 356 s = re.sub('([a-z0-9])([A-Z])', r'\1_\2', s).lower() 361 m = re.match('.*/(\w+)-.*\.(\w+)', videos[0])
|
/external/pcre/dist/ |
pcrecpp.h | 36 // C++ interface to the pcre regular-expression library. RE supports 64 // pcrecpp::RE re("h.*o"); 65 // re.FullMatch("hello"); 68 // pcrecpp::RE re("e"); 69 // !re.FullMatch("hello"); 71 // Example: creating a temporary RE object: 72 // pcrecpp::RE("h.*o").FullMatch("hello"); 77 // You can, as in the different examples above, store the RE objec [all...] |
/external/v8/tools/release/ |
git_recipes.py | 29 import re namespace 31 SHA1_RE = re.compile('^[a-fA-F0-9]{40}$') 32 ROLL_DEPS_GIT_SVN_ID_RE = re.compile('^git-svn-id: .*@([0-9]+) .*$') 35 COMMIT_FOOTER_ENTRY_RE = re.compile(r'([^:]+):\s+(.+)') 41 COMMIT_POSITION_RE = re.compile(r'(.+)@\{#(\d+)\}') 48 GIT_SVN_ID_RE = re.compile(r'[^@]+@(\d+)\s+(?:[a-zA-Z0-9\-]+)') 160 match = re.match(r"^## (.+)", line)
|
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 143 } catch (RemoteException re) { 346 } catch (RemoteException re) { 347 throw new IllegalStateException("Error while registering UiTestAutomationService.", re); 359 } catch (RemoteException re) { 361 re); 372 } catch (RemoteException re) { 388 } catch (RemoteException re) {
|
/prebuilts/tools/common/m2/repository/org/antlr/ST4/4.0.8/ |
ST4-4.0.8.jar | |
/prebuilts/tools/common/offline-m2/org/antlr/ST4/4.0.8/ |
ST4-4.0.8.jar | |
/external/chromium-trace/catapult/systrace/systrace/agents/ |
atrace_agent.py | 6 import re namespace 226 if re.match(TRACE_START_REGEXP, current_line): 239 current_line = re.sub(ADB_IGNORE_REGEXP, '', current_line) 255 current_line = re.sub(ADB_IGNORE_REGEXP, '', current_line) 543 result = re.match('^/proc/([0-9]+)/task/([0-9]+)', line) 608 trace_data = re.sub(r'^\s*(\S+)-(\d+)', repl, trace_data, 609 flags=re.MULTILINE) 633 trace_data = re.sub(r'^\s*(\S+)-(\d+)\s+(\(\S+\))', repl, trace_data, 634 flags=re.MULTILINE) 657 buffer_start_re = re.compile(r'^#+ CPU \d+ buffer started', re.MULTILINE [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_compare.py | 5 import sys, os, re namespace 222 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S) 240 re.compile('(^TypeError:.* return an int.*){2}', re.M|re.S) 405 re.compile('(^RuntimeError:.* naughty.*){2}', re.M|re.S [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
warnings.py | 57 import re namespace 67 item = (action, re.compile(message, re.I), category, 68 re.compile(module), lineno) 112 import re namespace 121 message = re.escape(message) 123 module = re.escape(module) 149 import re namespace 152 if re.match("^[a-zA-Z0-9_]+$", category):
|
/external/autotest/client/tests/kvm/tests/ |
cdrom.py | 1 import logging, re, time, os namespace 47 device = re.findall("(ide\d+-cd\d+): .*", blocks)[0] 51 file = re.findall("ide\d+-cd\d+: .*file=(\S*) ", blocks)[0] 58 device = re.findall("(ide\d+-cd\d+)", d)[0] 109 cdrom_dev_list = re.findall("/dev/cdrom-\w+|/dev/cdrom\d*", output)
|
/external/autotest/client/virt/tests/ |
ethtool.py | 1 import logging, re namespace 38 return re.findall("%s: (.*)" % feature_pattern.get(f_type), o)[0] 83 guest_result = re.findall("\w+", o)[0] 121 original_tcp_ports = re.findall("tcp.*:(\d+).*%s" % guest_ip, 171 return (status == "on") ^ (len([i for i in re.findall(
|
/external/autotest/server/hosts/ |
ssh_host.py | 13 import re, logging namespace 84 # TODO(jrbarnette): crbug.com/484726 - When we're in an SSP 101 re.search(r'^ssh: .*: Name or service not known', 122 if re.search(r'^ssh: connect to host .* port .*: ' 261 err_re = re.compile (regexp) 270 ok_re = re.compile (regexp)
|
/external/autotest/site_utils/deployment/ |
commandline.py | 26 import re namespace 56 (re.compile(r'^R\d+-\d+\.\d+\.\d+$'), None), 57 (re.compile(r'^\d+\.\d+\.\d+$'), 'LATEST-%s'), 58 (re.compile(r'^\d+$'), 'LATEST-%s.0.0'), 68 re.compile(r'chromeos\d+-row\d+-rack\d+-host\d+') 116 tuple is an RE describing a valid user input. The second
|
/external/chromium-trace/catapult/devil/devil/android/ |
logcat_monitor.py | 10 import re namespace 61 and |failure_regex| (if provided). Note that this calls re.search on each 62 logcat line, not re.match, so the provided regular expressions don't have 88 success_regex = re.compile(success_regex) 90 failure_regex = re.compile(failure_regex) 145 threadtime_re = re.compile( 151 m = re.match(threadtime_re, line)
|
/external/chromium-trace/catapult/perf_insights/perf_insights/ |
corpus_query.py | 9 import re namespace 60 m = re.match(r'([a-zA-Z0-9_]+)$', s) 65 m = re.match(r'\(.+\)$', s) 71 m = re.match(r'Date\((.+)\)$', s) 209 m = re.match(r'MAX_TRACE_HANDLES\s*=\s*(\d+)', expr)
|