/external/regex-re2/ |
Android.mk | 5 # Android makefile for the re2 regexp library. 19 re2/bitstate.cc \ 20 re2/compile.cc \ 21 re2/dfa.cc \ 22 re2/filtered_re2.cc \ 23 re2/mimics_pcre.cc \ 24 re2/nfa.cc \ 25 re2/onepass.cc \ 26 re2/parse.cc \ 27 re2/perl_groups.cc [all...] |
testinstall.cc | 1 #include <re2/re2.h> 2 #include <re2/filtered_re2.h> 5 using namespace re2; 10 f.Add("a.*b.*c", RE2::DefaultOptions, &id); 14 if(RE2::FullMatch("axbyc", "a.*b.*c")) {
|
Makefile | 1 # Copyright 2009 The RE2 Authors. All Rights Reserved. 47 re2/filtered_re2.h\ 48 re2/re2.h\ 49 re2/set.h\ 50 re2/stringpiece.h\ 51 re2/variadic_function.h\ 68 re2/filtered_re2.h\ 69 re2/prefilter.h\ 70 re2/prefilter_tree.h [all...] |
/external/regex-re2/util/ |
valgrind.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 8 namespace re2 { namespace 24 } // namespace re2
|
atomicops.h | 1 // Copyright 2006-2008 The RE2 Authors. All Rights Reserved. 49 re2::Mutex mu; 50 re2::MutexLock l(&mu);
|
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) {
|
random.h | 1 // Copyright 2005-2009 The RE2 Authors. All Rights Reserved. 12 namespace re2 { namespace 27 } // namespace re2
|
utf.h | 15 * in name space re2. 22 namespace re2 { namespace 41 } // namespace re2
|
flags.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 14 namespace re2 { type FLAGS_##name = deflt; } 17 namespace re2 { extern type FLAGS_##name; }
|
random.cc | 1 // Copyright 2005-2009 The RE2 Authors. All Rights Reserved. 9 namespace re2 { namespace 34 } // namespace re2
|
test.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 24 namespace re2 { namespace 30 } // namespace re2
|
test.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 53 namespace re2 { namespace 55 } // namespace re2
|
/external/regex-re2/re2/ |
set.cc | 1 // Copyright 2010 The RE2 Authors. All Rights Reserved. 5 #include "re2/set.h" 8 #include "re2/stringpiece.h" 9 #include "re2/prog.h" 10 #include "re2/re2.h" 11 #include "re2/regexp.h" 13 using namespace re2; 15 RE2::Set::Set(const RE2::Options& options, RE2::Anchor anchor) [all...] |
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
|
unicode_groups.h | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 23 namespace re2 { namespace 62 } // namespace re2
|
make_perl_groups.pl | 2 # Copyright 2008 The RE2 Authors. All Rights Reserved. 98 #include "re2/unicode_groups.h" 100 namespace re2 { 109 } // 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
|
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...] |
prefilter_tree.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 22 namespace re2 { namespace
|
re2.cc | 1 // Copyright 2003-2009 The RE2 Authors. All Rights Reserved. 5 // Regular expression interface RE2. 10 #include "re2/re2.h" 19 #include "re2/prog.h" 20 #include "re2/regexp.h" 22 DEFINE_bool(trace_re2, false, "trace RE2 execution"); 24 namespace re2 { namespace 30 const VariadicFunction2<bool, const StringPiece&, const RE2&, RE2::Arg, RE2::FullMatchN> RE2::FullMatch [all...] |
re2.h | 1 // Copyright 2003-2009 The RE2 Authors. All Rights Reserved. 8 // C++ interface to the re2 regular-expression library. 9 // RE2 supports Perl-style regular expressions (with extensions like 15 // This module uses the re2 library and hence supports 20 // See http://code.google.com/p/re2/wiki/Syntax for the syntax 21 // supported by RE2, and a comparison with PCRE and PERL regexps. 40 // CHECK(RE2::FullMatch("hello", "h.*o")); 43 // CHECK(!RE2::FullMatch("hello", "e")); 49 // The RE2::Latin1 option causes them to be interpreted as Latin-1. 52 // CHECK(RE2::FullMatch(utf8_string, RE2(utf8_pattern))) 189 namespace re2 { namespace [all...] |
/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...] |
/external/stlport/src/ |
complex_trig.cpp | 107 _Tp re2 = 2.f * z._M_re; local 113 _Tp den = ::cos(re2) + ::cosh(im2); 114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den); 171 _Tp re2 = 2.f * z._M_re; local 173 if (::abs(re2) > Tp_limit) 174 return complex<_Tp>((re2 > 0 ? 1.f : -1.f), 0.f); 176 _Tp den = ::cosh(re2) + ::cos(im2); 177 return complex<_Tp>(::sinh(re2) / den, ::sin(im2) / den);
|
/ndk/sources/cxx-stl/stlport/src/ |
complex_trig.cpp | 107 _Tp re2 = 2.f * z._M_re; local 113 _Tp den = ::cos(re2) + ::cosh(im2); 114 return complex<_Tp>(::sin(re2) / den, ::sinh(im2) / den); 171 _Tp re2 = 2.f * z._M_re; local 173 if (::abs(re2) > Tp_limit) 174 return complex<_Tp>((re2 > 0 ? 1.f : -1.f), 0.f); 176 _Tp den = ::cosh(re2) + ::cos(im2); 177 return complex<_Tp>(::sinh(re2) / den, ::sin(im2) / den);
|