HomeSort by relevance Sort by last modified time
    Searched refs:re (Results 126 - 150 of 942) sorted by null

1 2 3 4 56 7 8 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...]
  /frameworks/base/tests/DumpRenderTree2/assets/
run_layout_tests.py 15 import re namespace
50 if re.search("^INSTRUMENTATION_STATUS_CODE: -1", stdoutdata, re.MULTILINE) != None:
53 if re.search("^OK \([0-9]+ tests?\)", stdoutdata, re.MULTILINE) == None:
  /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)
android_build.py 22 import re namespace
67 host_os = re.search("HOST_OS=(\w+)", config).group(1)
68 host_arch = re.search("HOST_ARCH=(\w+)", config).group(1)
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
regress-85721.js 53 var re = ''; variable
81 re = /<sql:connection id="([^\r\n]*?)">\s*<sql:url>\s*([^\r\n]*?)\s*<\/sql:url>\s*<sql:driver>\s*([^\r\n]*?)\s*<\/sql:driver>\s*(\s*<sql:userId>\s*([^\r\n]*?)\s*<\/sql:userId>\s*)?\s*(\s*<sql:password>\s*([^\r\n]*?)\s*<\/sql:password>\s*)?\s*<\/sql:connection>/;
89 var result = re.exec(str);
97 testRegExp([status], [re], [str], [result], [expect]);
254 re = new RegExp($mailbox, "g");
263 var result = re.exec(str);
271 testRegExp([status], [re], [str], [result], [expect]);
  /frameworks/base/core/java/android/app/
UiAutomationConnection.java 123 } catch (RemoteException re) {
175 } catch (RemoteException re) {
176 throw new IllegalStateException("Error while registering UiTestAutomationService.", re);
188 } catch (RemoteException re) {
190 re);
201 } catch (RemoteException re) {
217 } catch (RemoteException re) {
  /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")
  /external/v8/tools/
js2c.py 34 import os, re, sys, string namespace
56 lines = re.sub(r'//.*\n', '\n', lines) # end-of-line comments
57 lines = re.sub(re.compile(r'/\*.*?\*/', re.DOTALL), '', lines) # comments.
58 lines = re.sub(r'\s+\n+', '\n', lines) # trailing whitespace
97 EVAL_PATTERN = re.compile(r'\beval\s*\(')
98 WITH_PATTERN = re.compile(r'\bwith\s*\(')
176 CONST_PATTERN = re.compile(r'^const\s+([a-zA-Z0-9_]+)\s*=\s*([^;]*);$')
177 MACRO_PATTERN = re.compile(r'^macro\s+([a-zA-Z0-9_]+)\s*\(([^)]*)\)\s*=\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...]
  /external/chromium/build/mac/
strip_save_dsym 33 import re namespace
57 type_match = re.match("^%s (.*)$" % macho_types_re, type_line)
62 type_match = re.match("^Mach-O universal binary with (.*) architectures$",
67 arch_match = re.match(
108 if re.match("^Load command .*$", otool_line):
111 if re.match("^ cmd LC_UUID$", otool_line):
116 if re.match("^ cmdsize 24$", otool_line):
130 new_uuid_match = re.match("^ {3,4}uuid (.{8}-.{4}-.{4}-.{4}-.{12})$",
138 old_uuid_match = re.match("^ uuid 0x(..) 0x(..) 0x(..) 0x(..) "
150 old_uuid_match = re.match("^ 0x(..) 0x(..) 0x(..) 0x(..)
    [all...]
  /external/webkit/Tools/gdb/
webkit.py 39 import re namespace
254 (re.compile("^WTF::Vector<.*>$"), WTFVectorPrinter),
255 (re.compile("^WTF::AtomicString$"), WTFAtomicStringPrinter),
256 (re.compile("^WTF::CString$"), WTFCStringPrinter),
257 (re.compile("^WTF::String$"), WTFStringPrinter),
258 (re.compile("^WebCore::KURLGooglePrivate$"), WebCoreKURLGooglePrivatePrinter),
259 (re.compile("^WebCore::QualifiedName$"), WebCoreQualifiedNamePrinter),
260 (re.compile("^JSC::UString$"), JSCUStringPrinter),
261 (re.compile("^JSC::Identifier$"), JSCIdentifierPrinter),
262 (re.compile("^JSC::JSString$"), JSCJSStringPrinter)
    [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/icu4c/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):
  /external/regex-re2/re2/
prefilter.cc 236 // set of strings that match this RE, then is_exact_
492 Regexp* re, Info* parent_arg,
497 Regexp* re,
506 Prefilter::Info* Prefilter::BuildInfo(Regexp* re) {
508 LOG(INFO) << "BuildPrefilter::Info: " << re->ToString();
511 bool latin1 = re->parse_flags() & Regexp::Latin1;
513 Prefilter::Info* info = w.WalkExponential(re, NULL, 100000);
524 Regexp* re, Prefilter::Info* parent_arg) {
529 // Assumes re is simplified.
531 Regexp* re, Prefilter::Info* parent_arg
    [all...]
  /external/regex-re2/re2/testing/
exhaustive_tester.cc 59 static void PrintResult(const RE2& re, const StringPiece& input, RE2::Anchor anchor, StringPiece *m, int n) {
60 if (!re.Match(input, 0, input.size(), anchor, m, n)) {
102 RE2 re(regexp);
106 int ngroup = re.NumberOfCapturingGroups()+1;
112 PrintResult(re, input, RE2::ANCHOR_BOTH, group, ngroup);
114 PrintResult(re, input, RE2::UNANCHORED, group, ngroup);
  /external/webkit/Tools/Scripts/webkitpy/common/net/
testoutputset.py 27 import re namespace
68 name_matcher = re.compile(name)
69 actual_matcher = re.compile(r'-actual\.')
70 expected_matcher = re.compile(r'-expected\.')
97 checksum_file_name = re.sub('\.png', '.checksum', image_file.name())
104 if re.search(r'\.x?html', name):
  /ndk/sources/host-tools/sed-4.2.1/testsuite/
tst-boost.c 88 regex_t re; local
176 n = regcomp (&re, pattern, flags);
182 regerror (n, &re, buf, sizeof (buf));
191 regfree (&re);
197 if (regexec (&re, string, 20, rm, eflags))
206 regfree (&re);
  /bionic/libc/tools/
genserv.py 4 import sys, os, string, re namespace
14 re_service = re.compile(r"([\d\w\-_]+)\s+(\d+)/(tcp|udp)(.*)")
15 re_alias = re.compile(r"([\d\w\-_]+)(.*)")
  /build/tools/
filter-product-graph.py 4 import re namespace
32 (dependency, re.compile(r'"(.*)"\s*->\s*"(.*)"')),
33 (info, re.compile(r'"(.*)"(\s*\[.*\])')),
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/
filter.rb 42 rescue ANTLR3::Error::RecognitionError => re
44 report_error( re )
45 recover( re )
  /external/chromium/googleurl/
PRESUBMIT_unittest.py 12 import re namespace
19 self.re = re
  /external/protobuf/gtest/test/
gtest_help_test.py 43 import re namespace
55 HELP_REGEX = re.compile(
67 re.DOTALL)

Completed in 1912 milliseconds

1 2 3 4 56 7 8 91011>>