HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 326 - 350 of 3259) sorted by null

<<11121314151617181920>>

  /external/chromium-trace/catapult/third_party/Paste/paste/cowbell/
__init__.py 3 import re namespace
84 end_head = re.search(r'</head>', body, re.I)
91 end_body = re.search(r'</body>', body, re.I)
  /external/chromium-trace/catapult/third_party/webapp2/tests/
extras_security_test.py 2 import re namespace
17 self.assertTrue(re.match(r'^\w{16}$', token) is not None)
20 self.assertTrue(re.match(r'^\w{32}$', token) is not None)
23 self.assertTrue(re.match(r'^\w{64}$', token) is not None)
26 self.assertTrue(re.match(r'^\w{128}$', token) is not None)
  /external/skia/
PRESUBMIT.py 16 import re namespace
105 comment_block_start_pattern = re.compile('^\s*\/\*.*$')
106 comment_block_middle_pattern = re.compile('^\s+\*.*')
107 comment_block_end_pattern = re.compile('^\s+\*\/.*$')
108 single_line_comment_pattern = re.compile('^\s*//.*$')
115 empty_line_pattern = re.compile('^\s*$')
156 if not re.search(copyright_pattern, contents):
260 email_fnmatches = re.findall('<(.*)>', authors_content)
306 if re.match(REVERT_CL_SUBJECT_PREFIX, issue_properties['subject'], re.I)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-254.js 31 var re = /x/g; variable
33 assertEquals(0, re.lastIndex, "Global, initial lastIndex");
35 assertTrue(re.test("x"), "Global, test 1");
36 assertEquals(1, re.lastIndex, "Global, lastIndex after test 1");
37 assertFalse(re.test("x"), "Global, test 2");
38 assertEquals(0, re.lastIndex, "Global, lastIndex after test 2");
40 assertEquals(["x"], re.exec("x"), "Global, exec 1");
41 assertEquals(1, re.lastIndex, "Global, lastIndex after exec 1");
42 assertEquals(null, re.exec("x"), "Global, exec 2");
43 assertEquals(0, re.lastIndex, "Global, lastIndex after exec 2")
    [all...]
  /external/v8/test/mjsunit/
string-slices-regexp.js 34 var re = /^(((N({)?)|(R)|(U)|(V)|(B)|(H)|(n((n)|(r)|(v)|(h))?)|(r(r)?)|(v)|(b((n)|(b))?)|(h))|((Y)|(A)|(E)|(o(u)?)|(p(u)?)|(q(u)?)|(s)|(t)|(u)|(w)|(x(u)?)|(y)|(z)|(a((T)|(A)|(L))?)|(c)|(e)|(f(u)?)|(g(u)?)|(i)|(j)|(l)|(m(u)?)))+/; variable
35 var r = new RegExp(re)
40 var re = /x/; variable
41 assertEquals("a.yb", "_axyb_".slice(1,-1).replace(re, "."));
42 re.compile("y");
43 assertEquals("ax.b", "_axyb_".slice(1,-1).replace(re, "."));
44 re.compile("(x)");
45 assertEquals(["x", "x"], re.exec("_axyb_".slice(1,-1)));
46 re.compile("(y)");
47 assertEquals(["y", "y"], re.exec("_axyb_".slice(1,-1)))
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/
versionpredicate.py 3 import re namespace
8 re_validPackage = re.compile(r"(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)")
11 re_paren = re.compile(r"^\s*\((.*)\)\s*$") # (list) inside of parentheses
12 re_splitComparison = re.compile(r"^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$")
155 _provision_rx = re.compile(
  /prebuilts/gdb/linux-x86/lib/python2.7/distutils/
versionpredicate.py 3 import re namespace
8 re_validPackage = re.compile(r"(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)")
11 re_paren = re.compile(r"^\s*\((.*)\)\s*$") # (list) inside of parentheses
12 re_splitComparison = re.compile(r"^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$")
155 _provision_rx = re.compile(
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
versionpredicate.py 3 import re namespace
8 re_validPackage = re.compile(r"(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)")
11 re_paren = re.compile(r"^\s*\((.*)\)\s*$") # (list) inside of parentheses
12 re_splitComparison = re.compile(r"^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$")
155 _provision_rx = re.compile(
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
versionpredicate.py 3 import re namespace
8 re_validPackage = re.compile(r"(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)")
11 re_paren = re.compile(r"^\s*\((.*)\)\s*$") # (list) inside of parentheses
12 re_splitComparison = re.compile(r"^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$")
155 _provision_rx = re.compile(
  /external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
sanitizer.py 3 import re namespace
11 content_type_rgx = re.compile(r'''
22 re.VERBOSE)
206 val_unescaped = re.sub("[`\000-\040\177-\240\s]+", '',
223 attrs[attr] = re.sub(r'url\s*\(\s*[^#\s][^)]+?\)',
227 'xlink:href' in attrs and re.search('^\s*[^#\s].*',
256 style = re.compile('url\s*\(\s*[^\s)]+?\s*\)\s*').sub(' ', style)
259 if not re.match("""^([:,;#%.\sa-zA-Z0-9!]|\w-\w|'[\s\w]+'|"[\s\w]+"|\([\d,\s]+\))*$""", style):
261 if not re.match("^\s*([-\w]+\s*:[^:;]*(;\s*|$))*$", style):
265 for prop, value in re.findall("([-\w]+)\s*:\s*([^:;]*)", style)
    [all...]
  /art/tools/
analyze-init-failures.py 22 import re namespace
27 _CLASS_RE = re.compile(r'^L(.*);$')
28 _ERROR_LINE_RE = re.compile(r'^dalvik.system.TransactionAbortError: (.*)')
29 _STACK_LINE_RE = re.compile(r'^\s*at\s[^\s]*\s([^\s]*)')
109 failed_clazz_norm = re.sub(r"^L", "", failed_clazz)
110 failed_clazz_norm = re.sub(r";$", "", failed_clazz_norm)
111 failed_clazz_norm = re.sub(r"/", "", failed_clazz_norm)
  /development/testrunner/
am_instrument_parser.py 21 import re namespace
43 re_status_code = re.compile(r'INSTRUMENTATION_STATUS_CODE: (?P<status_code>-?\d)$')
83 re_result = re.compile(r'INSTRUMENTATION_RESULT: ([^=]+)=(.*)$')
84 re_code = re.compile(r'INSTRUMENTATION_CODE: (\-?\d)$')
140 re_status_code = re.search(r'INSTRUMENTATION_STATUS_CODE: '
142 re_fields = re.compile(r'INSTRUMENTATION_STATUS: '
143 '(?P<key>[\w.]+)=(?P<value>.*?)(?=\nINSTRUMENTATION_STATUS)', re.DOTALL)
  /external/autotest/client/bin/
harness_ABAT.py 9 import os, harness, time, re namespace
12 disks = re.compile(r'^\s*DATS_FREE_DISKS\s*=(.*\S)\s*$')
13 parts = re.compile(r'^\s*DATS_FREE_PARTITIONS\s*=(.*\S)\s*$')
14 modules = re.compile(r'^\s*INITRD_MODULES\s*=(.*\S)\s*$')
74 root = re.compile(r'^\S*(/dev/\S+).*\s/\s*$')
103 args = re.sub(r'autobench_args:.*', '', args)
104 args = re.sub(r'root=\S*', '', args)
  /external/autotest/client/site_tests/hardware_TouchScreenPowerCycles/
hardware_TouchScreenPowerCycles.py 7 import re namespace
61 touch_screen_pattern = re.compile('name=.+%s' % 'Touchscreen', re.I)
62 event_pattern = re.compile('handlers=.*event(\d+)', re.I)
100 result = re.search('E:\s*(\d+(\.\d*)?|\.\d+)', event)
112 touch_pattern = re.compile('^E:.*\s*0003\s*0039\s*\d+')
  /external/autotest/client/tests/npb/
npb.py 1 import os, shutil, logging, re namespace
69 m = re.search('Total threads\s*=\s*(.*)\n', itest.stdout)
72 ts = re.search('Time in seconds\s*=\s*(.*)\n', itest.stdout)
73 mt = re.search('Mop/s total\s*=\s*(.*)\n', itest.stdout)
74 mp = re.search('Mop/s/thread\s*=\s*(.*)\n', itest.stdout)
102 m = re.search('Time in seconds\s*=\s*(.*)\n', itest.stdout)
116 m = re.search('Time in seconds\s*=\s*(.*)\n', itest_single.stdout)
  /external/autotest/server/cros/chaos_lib/
chaos_log_analyzer.py 6 import re namespace
28 search_regex = re.compile(search_pattern)
41 timestamp_re = re.compile(self.LOG_TIMESTAMP_TIMESTAMP_RE)
60 start_re = re.compile(start_pattern)
66 stop_re = re.compile(stop_pattern)
68 end_re = re.compile(end_pattern)
70 match_re = re.compile(match_pattern)
  /external/chromium-trace/catapult/dashboard/dashboard/
new_points_test.py 6 import re namespace
76 self.assertEqual(21, len(re.findall(r'<tr>', response.body)))
84 self.assertEqual(11, len(re.findall(r'<tr>', response.body)))
92 self.assertEqual(1, len(re.findall(r'<tr>', response.body)))
103 self.assertEqual(51, len(re.findall(r'<tr>', response.body)))
112 self.assertEqual(1, len(re.findall(r'<tr>', response.body)))
128 self.assertEqual(13, len(re.findall(r'<tr>', response.body)))
  /external/v8/test/message/
testcfg.py 30 import re namespace
37 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
39 MODULE_PATTERN = re.compile(r"^// MODULE$", flags=re.MULTILINE)
69 flags_match = re.findall(FLAGS_PATTERN, source)
114 pattern = re.escape(expected.rstrip() % env)
117 if not re.match(pattern, actual):
  /packages/providers/CalendarProvider/
maketests.py 13 import sys, urllib, re namespace
35 DTSTART_TZID = re.compile("DTSTART;TZID=(.*):(.*)")
36 DTSTART = re.compile("DTSTART:(.*)")
37 DURATION = re.compile("DURATION:(.*)")
38 RRULE = re.compile("RRULE:(.*)")
39 TIME = re.compile("(....)-(..)-(..)T(..):(..):(..)....([+-])(..):(..)")
40 TIMEZ = re.compile("(....)-(..)-(..)T(..):(..):(..)....Z")
  /frameworks/base/core/java/android/view/accessibility/
AccessibilityManager.java 313 // If we're not running on the thread with the main looper, it's possible for
335 } catch (RemoteException re) {
336 Log.e(LOG_TAG, "Error during sending " + event + " ", re);
365 } catch (RemoteException re) {
366 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re);
411 } catch (RemoteException re) {
412 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re);
453 } catch (RemoteException re) {
454 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re);
596 } catch (RemoteException re) {
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/pgen2/
conv.py 30 import re namespace
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$",
139 mo = re.match(r"\s+{(\d+), (\d+)},$", line)
147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line)
154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line)
168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line)
173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$',
184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line)
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/pgen2/
conv.py 30 import re namespace
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$",
139 mo = re.match(r"\s+{(\d+), (\d+)},$", line)
147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line)
154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line)
168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line)
173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$',
184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line)
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
conv.py 30 import re namespace
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$",
139 mo = re.match(r"\s+{(\d+), (\d+)},$", line)
147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line)
154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line)
168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line)
173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$',
184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line)
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/
conv.py 30 import re namespace
71 mo = re.match(r"^#define\s+(\w+)\s+(\d+)$", line)
132 mo = re.match(r"static arc arcs_(\d+)_(\d+)\[(\d+)\] = {$",
139 mo = re.match(r"\s+{(\d+), (\d+)},$", line)
147 mo = re.match(r"static state states_(\d+)\[(\d+)\] = {$", line)
154 mo = re.match(r"\s+{(\d+), arcs_(\d+)_(\d+)},$", line)
168 mo = re.match(r"static dfa dfas\[(\d+)\] = {$", line)
173 mo = re.match(r'\s+{(\d+), "(\w+)", (\d+), (\d+), states_(\d+),$',
184 mo = re.match(r'\s+("(?:\\\d\d\d)*")},$', line)
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
mimify.py 30 import re namespace
38 qp = re.compile('^content-transfer-encoding:\\s*quoted-printable', re.I)
39 base64_re = re.compile('^content-transfer-encoding:\\s*base64', re.I)
40 mp = re.compile('^content-type:.*multipart/.*boundary="?([^;"\n]*)', re.I|re.S)
41 chrset = re.compile('^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)', re.I|re.S
    [all...]

Completed in 935 milliseconds

<<11121314151617181920>>