/toolchain/binutils/binutils-2.25/gas/testsuite/gas/h8300/ |
t05_cmp.exp | 30 -re ".* 7 0000 7C350120" { set x [expr $x+1]; exp_continue; } 31 -re ".* 8 0004 7C353120" { set x [expr $x+1]; exp_continue; } 32 -re ".* 9 0008 7C35B120" { set x [expr $x+1]; exp_continue; } 33 -re ".* 10 000c 7C358120" { set x [expr $x+1]; exp_continue; } 34 -re ".* 11 0010 7C35A120" { set x [expr $x+1]; exp_continue; } 35 -re ".* 12 0014 7C359120" { set x [expr $x+1]; exp_continue; } 36 -re ".* 13 0018 7C35C120" { set x [expr $x+1]; exp_continue; } 37 -re ".* 13 9ABC" { set x [expr $x+1]; exp_continue; } 38 -re ".* 14 001e 7C35C920" { set x [expr $x+1]; exp_continue; } 39 -re ".* 14 9ABCDEF0" { set x [expr $x+1]; exp_continue; [all...] |
t02_mova.exp | 30 -re ".* 7 0000 78B87A89" { set x [expr $x+1]; exp_continue; } 31 -re ".* 7 1234" { set x [expr $x+1]; exp_continue; } 32 -re ".* 8 0006 78397A99" { set x [expr $x+1]; exp_continue; } 33 -re ".* 8 1234" { set x [expr $x+1]; exp_continue; } 34 -re ".* 9 000c 78B87AA9" { set x [expr $x+1]; exp_continue; } 35 -re ".* 9 1234" { set x [expr $x+1]; exp_continue; } 36 -re ".* 10 0012 78397AB9" { set x [expr $x+1]; exp_continue; } 37 -re ".* 10 1234" { set x [expr $x+1]; exp_continue; } 38 -re ".* 11 0018 78B87AC9" { set x [expr $x+1]; exp_continue; } 39 -re ".* 11 1234" { set x [expr $x+1]; exp_continue; [all...] |
t01_mov.exp | 30 -re ".* 7 0000 F312" { set x [expr $x+1]; exp_continue; } 31 -re ".* 8 0002 017D0312" { set x [expr $x+1]; exp_continue; } 32 -re ".* 9 0006 017D1312" { set x [expr $x+1]; exp_continue; } 33 -re ".* 10 000a 017DB312" { set x [expr $x+1]; exp_continue; } 34 -re ".* 11 000e 017D8312" { set x [expr $x+1]; exp_continue; } 35 -re ".* 12 0012 017DA312" { set x [expr $x+1]; exp_continue; } 36 -re ".* 13 0016 017D9312" { set x [expr $x+1]; exp_continue; } 37 -re ".* 14 001a 017DC312" { set x [expr $x+1]; exp_continue; } 38 -re ".* 14 1234" { set x [expr $x+1]; exp_continue; } 39 -re ".* 15 0020 017DCB12" { set x [expr $x+1]; exp_continue; [all...] |
t06_ari2.exp | 30 -re ".* 7 0000 9112" { set x [expr $x+1]; exp_continue; } 31 -re ".* 8 0002 7D109012" { set x [expr $x+1]; exp_continue; } 32 -re ".* 9 0006 01766C18" { set x [expr $x+1]; exp_continue; } 33 -re ".* 9 9012" { set x [expr $x+1]; exp_continue; } 34 -re ".* 10 " { 46 -re ".* 11 000c 0E31" { set x [expr $x+1]; exp_continue; } 47 -re ".* 12 000e 7D100E30" { set x [expr $x+1]; exp_continue; } 48 -re ".* 13 0012 01766C18" { set x [expr $x+1]; exp_continue; } 49 -re ".* 13 0E30" { set x [expr $x+1]; exp_continue; } 50 -re ".* 14 " [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldRuntimeExceptionTest.java | 27 RuntimeException re = new RuntimeException(message, npe); local 28 assertEquals(message, re.getMessage()); 29 assertEquals(npe, re.getCause()); 31 re = new RuntimeException(null, npe); 32 assertNull(re.getMessage()); 34 re = new RuntimeException(message, null); 35 assertNull(re.getCause()); 40 RuntimeException re = new RuntimeException(npe); local 41 assertEquals(npe, re.getCause()); 43 re = new RuntimeException((Throwable) null) [all...] |
/external/regex-re2/re2/testing/ |
dump.cc | 57 static void DumpRegexpAppending(Regexp* re, string* s) { 58 if (re->op() < 0 || re->op() >= arraysize(kOpcodeNames)) { 59 StringAppendF(s, "op%d", re->op()); 61 switch (re->op()) { 68 if (re->parse_flags() & Regexp::NonGreedy) 72 s->append(kOpcodeNames[re->op()]); 73 if (re->op() == kRegexpLiteral && (re->parse_flags() & Regexp::FoldCase)) { 74 Rune r = re->rune() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re.search('x', 'aaa'), None [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re.search('x', 'aaa'), None [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re.search('x', 'aaa'), None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_re.py | 3 import re namespace 4 from re import Scanner 12 # Misc tests from Tim Peters' re.doc 15 # what you're doing. Some of these tests were carefully modeled to 24 x = re.compile('ab+c') 29 self.assertEqual(re.search('x*', 'axx').span(0), (0, 0)) 30 self.assertEqual(re.search('x*', 'axx').span(), (0, 0)) 31 self.assertEqual(re.search('x+', 'axx').span(0), (1, 3)) 32 self.assertEqual(re.search('x+', 'axx').span(), (1, 3)) 33 self.assertEqual(re.search('x', 'aaa'), None [all...] |
/external/protobuf/vsprojects/ |
convert2008to2005.sh | 11 sed -i -re 's/Format Version 10.00/Format Version 9.00/g; 17 sed -i -re 's/Version="9.00"/Version="8.00"/g;' $file
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/xc16x/ |
xc16x.exp | 30 -re " +\[0-9\]+ 0000 0001\[^\n\]*\n" { set x [expr $x+1] } 31 -re " +\[0-9\]+ 0002 0809\[^\n\]*\n" { set x [expr $x+1] } 32 -re " +\[0-9\]+ 0004 080D\[^\n\]*\n" { set x [expr $x+1] } 33 -re " +\[0-9\]+ 0006 0803\[^\n\]*\n" { set x [expr $x+1] } 34 -re " +\[0-9\]+ 0008 06F0D204\[^\n\]*\n" { set x [expr $x+1] } 35 -re " +\[0-9\]+ 000c 02F0EDFF\[^\n\]*\n" { set x [expr $x+1] } 36 -re " +\[0-9\]+ 0010 04F0EDFF\[^\n\]*\n" { set x [expr $x+1] } 60 -re " +\[0-9\]+ 0000 0102\[^\n\]*\n" { set x [expr $x+1] } 61 -re " +\[0-9\]+ 0002 0909\[^\n\]*\n" { set x [expr $x+1] } 62 -re " +\[0-9\]+ 0004 090D\[^\n\]*\n" { set x [expr $x+1] [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/hppa/reloc/ |
reloc.exp | 36 -re "^0+\[^\n\]*DIR21L\[^\n\]*\n" { set x 1 } 37 -re "^0+4\[^\n\]*DIR17R\[^\n\]*\n" { set x 1 } 38 -re "\[^\n\]*\n" { } 48 -re "^0+4\[^\n\]*ABS_CALL\[^\n\]*\n" { set x 1 } 49 -re "\[^\n\]*\n" { } 82 -re "^0+4\[^\n\]*PLABEL\[^\n\]*foo\[^\n\]*\n" 84 -re "^0+14\[^\n\]*PCREL\[^\n\]*foo\[^\n\]*\n" 86 -re "\[^\n\]*\n" { } 110 -re "^0+4\[^\n\]*DLT\[^\n\]*L.C0000\[^\n\]*\n" 112 -re "^0+1c\[^\n\]*DLT\[^\n\]*L.C0000\[^\n\]*\n [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/sparc-solaris/ |
addend.exp | 34 -re "08 R_SPARC_WDISP22 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x1 } 35 -re "0c R_SPARC_WDISP22 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x2 } 36 -re "10 R_SPARC_WDISP22 +foo1\[^\n\]*\n" { incr x3 } 37 -re "14 R_SPARC_WDISP22 +foo1\[^\n\]*\n" { incr x4 } 38 -re "1c R_SPARC_32 +foo1\[^\n\]*\n" { incr x5 } 39 -re "20 R_SPARC_32 +foo1\[+\]+0x0+04\[^\n\]*\n" { incr x6 } 40 -re "\[^\n\]*\n" { }
|
/external/v8/test/mjsunit/ |
regexp.js | 39 var re = new RegExp(s); 40 assertEquals(s.match(re).length, 1); 41 assertEquals(s.match(re)[0], String.fromCharCode(0)); 45 re = /^./gm; // any non-newline character at the beginning of a line 46 var result = s.match(re); 55 re = /.$/gm; // any non-newline character at the end of a line 56 result = s.match(re); 65 re = /^[^]/gm; // *any* character at the beginning of a line 66 result = s.match(re); 76 re = /[^]$/gm; // *any* character at the end of a lin [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ |
template | 53 -re "^ +\[0-9\]+ 0000 00000000\[^\n\]*\n" { set x 1 } 54 -re "^ +3\[ \t\]+/. Looking for C comments. ./\r\n" { set x 1 } 55 -re "\[^\n\]*\n" { }
|
/external/pcre/dist/ |
pcre_fullinfo.c | 82 const REAL_PCRE *re = (const REAL_PCRE *)argument_re; local 85 if (re == NULL || where == NULL) return PCRE_ERROR_NULL; 95 if (re->magic_number != MAGIC_NUMBER) 96 return re->magic_number == REVERSED_MAGIC_NUMBER? 101 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; 106 *((unsigned long int *)where) = re->options & PUBLIC_COMPILE_OPTIONS; 110 *((size_t *)where) = re->size; 130 *((int *)where) = re->top_bracket; 134 *((int *)where) = re->top_backref; 139 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char [all...] |
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
script_injector.py | 20 import re namespace 23 DOCTYPE_RE = re.compile(r'^.{,256}?(<!--.*-->)?.{,256}?<!doctype html>', 24 re.IGNORECASE | re.DOTALL) 25 HTML_RE = re.compile(r'^.{,256}?(<!--.*-->)?.{,256}?<html.*?>', 26 re.IGNORECASE | re.DOTALL) 27 HEAD_RE = re.compile(r'^.{,256}?(<!--.*-->)?.{,256}?<head.*?>', 28 re.IGNORECASE | re.DOTALL [all...] |
/external/regex-re2/re2/ |
mimics_pcre.cc | 31 // Returns whether re might match an empty string. 32 static bool CanBeEmptyString(Regexp *re); 40 bool PostVisit(Regexp* re, bool parent_arg, bool pre_arg, bool* child_args, 43 bool ShortVisit(Regexp* re, bool a) { 50 // Called after visiting each of re's children and accumulating 53 bool PCREWalker::PostVisit(Regexp* re, bool parent_arg, bool pre_arg, 61 switch (re->op()) { 66 if (CanBeEmptyString(re->sub()[0])) 70 if (re->max() == -1 && CanBeEmptyString(re->sub()[0]) [all...] |
simplify.cc | 5 // Rewrite POSIX and other features in re 21 Regexp* re = Parse(src, flags, status); local 22 if (re == NULL) 24 Regexp* sre = re->Simplify(); 25 re->Decref(); 106 virtual Regexp* PreVisit(Regexp* re, Regexp* parent_arg, bool* stop); 107 virtual Regexp* PostVisit(Regexp* re, 111 virtual Regexp* Copy(Regexp* re); 112 virtual Regexp* ShortVisit(Regexp* re, Regexp* parent_arg); 122 // Simplifies the expression re{min,max} in terms of *, +, and ? 299 Regexp* re = new Regexp(kRegexpConcat, parse_flags); local [all...] |
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
basic.fail.cpp | 32 std::regex re{"*"}; 33 std::regex_match(std::string("abcde"), m, re);
|
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
basic.fail.cpp | 32 std::regex re{"*"}; 33 std::regex_search(std::string("abcde"), m, re);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.match/ |
basic.fail.cpp | 34 std::regex re{"*"}; 35 std::regex_match(std::string("abcde"), m, re);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.search/ |
basic.fail.cpp | 34 std::regex re{"*"}; 35 std::regex_search(std::string("abcde"), m, re);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ieee-fp/ |
x930509a.exp | 26 -re " 00 ?00 ?80 ?00\[ \]+.single" { pass $testname; set x 1 } 27 -re " 00 ?80 ?00 ?00\[ \]+.single" { pass $testname; set x 1 } 28 -re ".single" { fail $testname; set x 1 } 29 -re "\[^\n\]*\n" { }
|