/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);
|
/external/regex-re2/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" 18 #include "re2/prog.h" 19 #include "re2/regexp.h" 21 DEFINE_bool(trace_re2, false, "trace RE2 execution"); 23 namespace re2 { namespace 29 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...] |
unicode_casefold.cc | 5 #include "re2/unicode_casefold.h" 7 namespace re2 { namespace 467 } // namespace re2
|
stringpiece.h | 1 // Copyright 2001-2010 The RE2 Authors. All Rights Reserved. 27 namespace re2 { namespace 177 } // namespace re2 180 extern std::ostream& operator<<(std::ostream& o, const re2::StringPiece& piece);
|
make_unicode_groups.py | 2 # Copyright 2008 The RE2 Authors. All Rights Reserved. 15 #include "re2/unicode_groups.h" 17 namespace re2 { 23 } // namespace re2
|
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
|
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...] |
/external/regex-re2/re2/testing/ |
regexp_generator.h | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 15 #include "re2/stringpiece.h" 17 namespace re2 { namespace 68 } // namespace re2
|
compile_test.cc | 1 // Copyright 2007 The RE2 Authors. All Rights Reserved. 10 #include "re2/regexp.h" 11 #include "re2/prog.h" 15 namespace re2 { namespace 107 const re2::Test& t = tests[i]; 171 } // namespace re2
|
exhaustive3_test.cc | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 8 #include "re2/testing/exhaustive_tester.h" 10 namespace re2 { namespace 93 } // namespace re2
|
exhaustive_tester.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 11 #include "re2/testing/regexp_generator.h" 12 #include "re2/testing/string_generator.h" 14 namespace re2 { namespace 83 } // namespace re2
|
random_test.cc | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 9 #include "re2/testing/exhaustive_tester.h" 16 namespace re2 { namespace 94 } // namespace re2
|
re2_arg_test.cc | 1 // Copyright 2005 The RE2 Authors. All Rights Reserved. 8 // supported by RE2::Arg class 11 #include "re2/re2.h" 13 namespace re2 { namespace 96 RE2::Arg arg(&r); \ 133 } // namespace re2
|
required_prefix_test.cc | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 6 #include "re2/regexp.h" 8 namespace re2 { namespace 67 } // namespace re2
|
simplify_test.cc | 1 // Copyright 2006 The RE2 Authors. All Rights Reserved. 10 #include "re2/regexp.h" 12 namespace re2 { namespace 167 } // namespace re2
|
string_generator.cc | 1 // Copyright 2008 The RE2 Authors. All Rights Reserved. 12 #include "re2/testing/string_generator.h" 14 namespace re2 { namespace 112 } // namespace re2
|
regexp_test.cc | 1 // Copyright 2006 The RE2 Authors. All Rights Reserved. 10 #include "re2/regexp.h" 12 namespace re2 { namespace 81 } // namespace re2
|
/external/regex-re2/util/ |
test.h | 1 // Copyright 2009 The RE2 Authors. All Rights Reserved. 53 namespace re2 { namespace 55 } // 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
|
/external/v8/test/webkit/fast/regex/ |
alternative-length-miscalculation.js | 32 var re2 = /[^a]|ab/; variable 33 shouldBe("re2.test('')", "false");
|