HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 176 - 200 of 1775) sorted by null

1 2 3 4 5 6 78 91011>>

  /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...]
testcfg.py 29 import re namespace
34 FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
35 FILES_PATTERN = re.compile(r"//\s+Files:(.*)")
36 SELF_SCRIPT_PATTERN = re.compile(r"//\s+Env: TEST_FILE_NAME")
61 flags_match = re.findall(FLAGS_PATTERN, source)
regexp-capture-3.js 28 function oneMatch(re) {
29 "abcd".replace(re, function() { });
57 function captureMatch(re) {
58 "abcd".replace(re, function() { });
100 var re = new RegExp(re_src);
109 OverrideCase(function() { return input.replace(re, "x"); });
111 OverrideCase(function() { return input.replace(re, ""); });
113 OverrideCase(function() { return input.match(re); });
115 OverrideCase(function() { return re.test(input); });
164 function NoHang(re) {
195 var re = "\\u0100*\\\\w"; variable
    [all...]
  /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(
  /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)
  /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 325 } catch (RemoteException re) {
326 Log.e(LOG_TAG, "Error during sending " + event + " ", re);
355 } catch (RemoteException re) {
356 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re);
401 } catch (RemoteException re) {
402 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re);
443 } catch (RemoteException re) {
444 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re);
586 } catch (RemoteException re) {
587 Log.e(LOG_TAG, "Error while adding an accessibility interaction connection. ", re);
    [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/python/darwin-x86/2.7.5/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...]
  /prebuilts/python/linux-x86/2.7.5/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...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
SimpleCTP.m 329 @catch (ANTLRRecognitionException *re) {
330 [self reportError:re];
331 [self recover:input Exception:re];
444 @catch (ANTLRRecognitionException *re) {
445 [self reportError:re];
446 [self recover:input Exception:re];
497 @catch (ANTLRRecognitionException *re) {
498 [self reportError:re];
499 [self recover:input Exception:re];
530 @catch (ANTLRRecognitionException *re) {
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
SimpleCTP.m 322 @catch (ANTLRRecognitionException *re) {
323 [self reportError:re];
324 [self recover:input Exception:re];
417 @catch (ANTLRRecognitionException *re) {
418 [self reportError:re];
419 [self recover:input Exception:re];
458 @catch (ANTLRRecognitionException *re) {
459 [self reportError:re];
460 [self recover:input Exception:re];
485 @catch (ANTLRRecognitionException *re) {
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file-parser.rb 229 rescue ANTLR3::Error::RecognitionError => re
230 report_error( re )
231 recover( re )
304 rescue ANTLR3::Error::RecognitionError => re
305 report_error( re )
306 recover( re )
390 rescue ANTLR3::Error::RecognitionError => re
391 report_error( re )
392 recover( re )
465 rescue ANTLR3::Error::RecognitionError => re
    [all...]
  /frameworks/base/core/java/android/printservice/
PrinterDiscoverySession.java 116 } catch (RemoteException re) {
117 Log.e(LOG_TAG, "Error sending added printers", re);
192 } catch (RemoteException re) {
193 Log.e(LOG_TAG, "Error sending added printers", re);
253 } catch (RemoteException re) {
254 Log.e(LOG_TAG, "Error sending removed printers", re);
295 } catch (RemoteException re) {
296 Log.e(LOG_TAG, "Error sending added printers", re);
315 } catch (RemoteException re) {
316 Log.e(LOG_TAG, "Error sending removed printers", re);
    [all...]
  /frameworks/base/core/java/android/app/admin/
DevicePolicyManager.java 401 * device admin is already installed on the device, it will only be re-downloaded from
517 * If the initializer is already installed on the device, it will only be re-downloaded from
    [all...]
  /external/pcre/dist/
pcrecpp_unittest.cc 47 using pcrecpp::RE;
71 RE pattern("ruby:\\d+");
80 RE pattern("ruby:(\\d+)");
94 RE line_matcher(".*\n");
116 RE newre(buf);
133 CHECK(RE("([0-9a-fA-F]+)[uUlL]*").FullMatch(#value, Hex(&v))); \
135 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0x" #value, CRadix(&v))); \
159 CHECK(RE("([0-7]+)[uUlL]*").FullMatch(#value, Octal(&v))); \
161 CHECK(RE("([0-9a-fA-FxX]+)[uUlL]*").FullMatch("0" #value, CRadix(&v))); \
185 CHECK(RE("(-?[0-9]+)[uUlL]*").FullMatch(#value, &v));
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
LangParser.m 299 @catch (ANTLRRecognitionException *re) {
300 [self reportError:re];
301 [self recover:input Exception:re];
303 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re];
425 @catch (ANTLRRecognitionException *re) {
426 [self reportError:re];
427 [self recover:input Exception:re];
429 retval.tree = (ANTLRCommonTree *)[treeAdaptor errorNode:input From:retval.start To:[input LT:-1] Exception:re];
498 @catch (ANTLRRecognitionException *re) {
499 [self reportError:re];
    [all...]
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
prints.py 21 import re namespace
132 _body_re = re.compile(r'<body[^>]*>', re.I)
133 _explicit_re = re.compile(r'<pre\s*[^>]*id="paste-debug-prints".*?>',
134 re.I+re.S)
  /external/google-breakpad/src/testing/gtest/test/
gtest_xml_test_utils.py 36 import re namespace
168 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$',
172 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value)
180 message.value = re.sub(source_line_pat, '\\1*\n', message.value)
184 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue)
186 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
  /external/gtest/test/
gtest_xml_test_utils.py 36 import re namespace
172 timestamp.value = re.sub(r'^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d$',
176 time.value = re.sub(r'^\d+(\.\d+)?$', '*', time.value)
184 message.value = re.sub(source_line_pat, '\\1*\n', message.value)
188 cdata = re.sub(source_line_pat, '\\1*\n', child.nodeValue)
190 child.nodeValue = re.sub(r'\nStack trace:\n(.|\n)*',
  /external/icu/icu4c/source/tools/
icu-svnprops-check.py 27 import re namespace
100 if re.match("\s*(#.*)?$", propline): # Match comment and blank lines
102 if re.match("\s*\[auto-props\]", propline): # Match the [auto-props] line.
104 if not re.match("\s*[^\s]+\s*=", propline): # minimal syntax check for <file-type> =
120 string_proplist = re.split("(?<!;);(?!;)", string_proplist)
221 if re.match(file_pattern, f):

Completed in 979 milliseconds

1 2 3 4 5 6 78 91011>>