/external/v8/test/mjsunit/regress/ |
regress-254.js | 46 var re2 = /x/; variable 48 assertEquals(0, re2.lastIndex, "Non-global, initial lastIndex"); 50 assertTrue(re2.test("x"), "Non-global, test 1"); 51 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 1"); 52 assertTrue(re2.test("x"), "Non-global, test 2"); 53 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after test 2"); 55 assertEquals(["x"], re2.exec("x"), "Non-global, exec 1"); 56 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 1"); 57 assertEquals(["x"], re2.exec("x"), "Non-global, exec 2"); 58 assertEquals(0, re2.lastIndex, "Non-global, lastIndex after exec 2") [all...] |
regress-603.js | 43 var re2 = /d../; variable 45 Function.prototype.call.call(re2, null, 'abcdefghijklm') + 'z';
|
/external/regex-re2/util/ |
valgrind.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 8 namespace re2 { namespace 24 } // namespace re2
|
random.h | 1 // Copyright 2005-2009 The RE2 Authors. All Rights Reserved. 12 namespace re2 { namespace 27 } // namespace re2
|
random.cc | 1 // Copyright 2005-2009 The RE2 Authors. All Rights Reserved. 9 namespace re2 { namespace 34 } // namespace re2
|
hash.cc | 1 // Modified by Russ Cox to add "namespace re2". 135 namespace re2 { namespace 231 } // namespace re2
|
test.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 24 namespace re2 { namespace 30 } // namespace re2
|
utf.h | 15 * in name space re2. 22 namespace re2 { namespace 41 } // namespace re2
|
arena.cc | 1 // Copyright 2000 The RE2 Authors. All Rights Reserved. 7 namespace re2 { namespace 168 } // namespace re2
|
sparse_array_test.cc | 1 // Copyright 2006 The RE2 Authors. All Rights Reserved. 10 namespace re2 { namespace 150 } // namespace re2
|
stringprintf.cc | 1 // Copyright 2002 The RE2 Authors. All Rights Reserved. 7 namespace re2 { namespace 78 } // namespace re2
|
strutil.cc | 1 // Copyright 1999-2005 The RE2 Authors. All Rights Reserved. 6 #include "re2/stringpiece.h" 8 namespace re2 { namespace 97 } // namespace re2
|
arena.h | 1 // Copyright 2000 The RE2 Authors. All Rights Reserved. 25 namespace re2 { namespace 94 } // namespace re2 97 re2::AllocateInArenaType /* unused */, 98 re2::UnsafeArena *arena) {
|
/external/regex-re2/re2/ |
unicode_casefold.cc | 5 #include "re2/unicode_casefold.h" 7 namespace re2 { namespace 467 } // namespace re2
|
variadic_function.h | 1 // Copyright 2010 The RE2 Authors. All Rights Reserved. 8 namespace re2 { namespace 344 } // namespace re2
|
filtered_re2.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 5 // The class FilteredRE2 is used as a wrapper to multiple RE2 regexps. 25 #include "re2/re2.h" 27 namespace re2 { namespace 37 // Uses RE2 constructor to create a RE2 object (re). Returns 40 RE2::ErrorCode Add(const StringPiece& pattern, 41 const RE2::Options& options, 75 // Get the individual RE2 objects. Useful for testing [all...] |
mimics_pcre.cc | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 26 #include "re2/regexp.h" 27 #include "re2/walker-inl.h" 29 namespace re2 { namespace 185 } // namespace re2
|
set.h | 1 // Copyright 2010 The RE2 Authors. All Rights Reserved. 11 #include "re2/re2.h" 13 namespace re2 { namespace 16 // An RE2::Set represents a collection of regexps that can 18 class RE2::Set { 20 Set(const RE2::Options& options, RE2::Anchor anchor); 23 // Add adds regexp pattern to the set, interpreted using the RE2 options. 24 // (The RE2 constructor's default options parameter is RE2::UTF8. [all...] |
unicode_casefold.h | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 44 namespace re2 { namespace 73 } // namespace re2
|
filtered_re2.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 7 #include "re2/filtered_re2.h" 8 #include "re2/prefilter.h" 9 #include "re2/prefilter_tree.h" 11 namespace re2 { namespace 24 RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, 25 const RE2::Options& options, int* id) { 26 RE2* re = new RE2(pattern, options); 27 RE2::ErrorCode code = re->error_code() [all...] |
prefilter_tree.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 22 namespace re2 { namespace
|
unicode_groups.h | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 23 namespace re2 { namespace 62 } // namespace re2
|
prefilter.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 14 namespace re2 { namespace 16 class RE2; 49 // Given a RE2, return a Prefilter. The caller takes ownership of 52 static Prefilter* FromRE2(const RE2* re2); 103 } // namespace re2
|
perl_groups.cc | 4 #include "re2/unicode_groups.h" 6 namespace re2 { namespace 119 } // namespace re2
|
simplify.cc | 1 // Copyright 2006 The RE2 Authors. All Rights Reserved. 10 #include "re2/regexp.h" 11 #include "re2/walker-inl.h" 13 namespace re2 { namespace 118 // Creates a concatenation of two Regexp, consuming refs to re1 and re2. 120 static Regexp* Concat2(Regexp* re1, Regexp* re2, Regexp::ParseFlags flags); 295 // Creates a concatenation of two Regexp, consuming refs to re1 and re2. 297 Regexp* SimplifyWalker::Concat2(Regexp* re1, Regexp* re2, 303 subs[1] = re2; 393 } // namespace re2 [all...] |