Home
last modified time | relevance | path

Searched refs:pi2 (Results 1 – 17 of 17) sorted by relevance

/third_party/boost/libs/smart_ptr/test/
Dlsp_array_cast_test.cpp26 boost::local_shared_ptr<int[3]> pi2 = boost::static_pointer_cast<int[3]>( pv ); in static_cast_test() local
27 BOOST_TEST( pi2.get() == 0 ); in static_cast_test()
40 boost::local_shared_ptr<int[]> pi2 = boost::static_pointer_cast<int[]>( pv ); in static_cast_test() local
41 BOOST_TEST(pi.get() == pi2.get()); in static_cast_test()
42 BOOST_TEST(!(pi < pi2 || pi2 < pi)); in static_cast_test()
144 boost::local_shared_ptr<int[3]> pi2 = boost::reinterpret_pointer_cast<int[3]>( pi ); in reinterpret_cast_test() local
145 BOOST_TEST( pi2.get() == 0 ); in reinterpret_cast_test()
147 boost::local_shared_ptr<int[6]> pi3 = boost::reinterpret_pointer_cast<int[6]>( pi2 ); in reinterpret_cast_test()
165 boost::local_shared_ptr<int[2]> pi2 = boost::reinterpret_pointer_cast<int[2]>( pi ); in reinterpret_cast_test() local
166 BOOST_TEST(pi.get() == pi2.get()); in reinterpret_cast_test()
[all …]
Dsp_array_cast_test.cpp26 boost::shared_ptr<int[3]> pi2 = boost::static_pointer_cast<int[3]>( pv ); in static_cast_test() local
27 BOOST_TEST( pi2.get() == 0 ); in static_cast_test()
40 boost::shared_ptr<int[]> pi2 = boost::static_pointer_cast<int[]>( pv ); in static_cast_test() local
41 BOOST_TEST(pi.get() == pi2.get()); in static_cast_test()
42 BOOST_TEST(!(pi < pi2 || pi2 < pi)); in static_cast_test()
144 boost::shared_ptr<int[3]> pi2 = boost::reinterpret_pointer_cast<int[3]>( pi ); in reinterpret_cast_test() local
145 BOOST_TEST( pi2.get() == 0 ); in reinterpret_cast_test()
147 boost::shared_ptr<int[6]> pi3 = boost::reinterpret_pointer_cast<int[6]>( pi2 ); in reinterpret_cast_test()
165 boost::shared_ptr<int[2]> pi2 = boost::reinterpret_pointer_cast<int[2]>( pi ); in reinterpret_cast_test() local
166 BOOST_TEST(pi.get() == pi2.get()); in reinterpret_cast_test()
[all …]
Dshared_ptr_reinterpret_pointer_cast_test.cpp33 boost::shared_ptr<int> pi2 = boost::reinterpret_pointer_cast<int>(pc); in main() local
34 BOOST_TEST(pi.get() == pi2.get()); in main()
35 BOOST_TEST(!(pi < pi2 || pi2 < pi)); in main()
38 BOOST_TEST(pi2.use_count() == 3); in main()
Dshared_ptr_test.cpp510 boost::shared_ptr<int> pi2(pi); in copy_constructor() local
511 BOOST_TEST(pi2 == pi); in copy_constructor()
512 BOOST_TEST(pi2? false: true); in copy_constructor()
513 BOOST_TEST(!pi2); in copy_constructor()
514 BOOST_TEST(pi2.get() == 0); in copy_constructor()
515 BOOST_TEST(pi2.use_count() == pi.use_count()); in copy_constructor()
564 boost::shared_ptr<int> pi2(pi); in copy_constructor() local
565 BOOST_TEST(pi2 == pi); in copy_constructor()
566 BOOST_TEST(pi2? false: true); in copy_constructor()
567 BOOST_TEST(!pi2); in copy_constructor()
[all …]
Dweak_ptr_test.cpp1279 boost::shared_ptr<int> pi2(new int); in test() local
1285 vi.push_back(pi2); in test()
1287 vi.push_back(pi2); in test()
1291 vi.push_back(pi2); in test()
/third_party/skia/tests/graphite/
DProgramCacheTest.cpp39 sk_sp<ProgramCache::ProgramInfo> pi2 = cache->findOrCreateProgram(c2); in DEF_GRAPHITE_TEST_FOR_CONTEXTS() local
40 REPORTER_ASSERT(reporter, pi2->id() != ProgramCache::kInvalidProgramID); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
41 REPORTER_ASSERT(reporter, pi2->id() == pi1->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
42 REPORTER_ASSERT(reporter, pi2->combo() == c2); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
43 sk_sp<ProgramCache::ProgramInfo> lookup = cache->lookup(pi2->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
44 REPORTER_ASSERT(reporter, lookup->id() == pi2->id()); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/boost/boost/numeric/interval/
Dtransc.hpp61 const R pi2 = interval_lib::pi_twice<R>(); in cos() local
62 R tmp = fmod((const R&)x, pi2); in cos()
63 if (width(tmp) >= pi2.lower()) in cos()
74 else if (u <= pi2.lower()) in cos()
75 …return I(static_cast<T>(-1), rnd.cos_up(min BOOST_PREVENT_MACRO_SUBSTITUTION(rnd.sub_down(pi2.lowe… in cos()
/third_party/boost/libs/math/example/
Dfloat128_example.cpp143 …float128 pi2 = boost::math::constants::pi<__float128>(); // Constant of type __float128 gets conve… in main() local
144 std::cout << sqrt(pi2) << std::endl; // 1.77245385090551602729816748334114514 in main()
/third_party/ffmpeg/libavcodec/
Dqtrle.c207 uint8_t pi1, pi2, pi3, pi4; /* 4 palette indexes */ in qtrle_decode_8bpp() local
228 pi2 = bytestream2_get_byte(&s->g); in qtrle_decode_8bpp()
236 rgb[pixel_ptr++] = pi2; in qtrle_decode_8bpp()
/third_party/boost/libs/thread/test/
Dtest_futures.cpp103 boost::promise<int> pi2; in BOOST_AUTO_TEST_CASE() local
105 boost::unique_future<int> fi2(BOOST_THREAD_MAKE_RV_REF(pi2.get_future())); in BOOST_AUTO_TEST_CASE()
107 boost::thread(set_promise_thread,&pi2); in BOOST_AUTO_TEST_CASE()
526 boost::promise<int> pi2(::cast_to_rval(pi)); in BOOST_AUTO_TEST_CASE() local
529 pi2.set_value(3); in BOOST_AUTO_TEST_CASE()
544 boost::promise<void> pi2(::cast_to_rval(pi)); in BOOST_AUTO_TEST_CASE() local
547 pi2.set_value(); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/multiprecision/test/
Dtest_float_io.cpp326 float128 pi2(s); in test_hexadecimal_floating_point() local
327 BOOST_CHECK_EQUAL(pi1, pi2); in test_hexadecimal_floating_point()
/third_party/glslang/Test/
DstringToDouble.vert98 float pi2 = 3.14159265358979f;
/third_party/glslang/Test/baseResults/
DstringToDouble.vert.out450 0:98 'pi2' ( temp float)
974 0:98 'pi2' ( temp float)
/third_party/boost/libs/property_tree/test/
Dtest_property_tree.hpp1023 real pi2 = pt.get_value<real>(); in test_precision() local
1027 real error = abs(pi - pi2) * in test_precision()
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dcanvas.dart565 const double pi2 = 2.0 * pi;
573 if (sweepAngle <= -pi2) {
579 sweepAngle += pi2;
581 while (sweepAngle >= pi2) {
587 sweepAngle -= pi2;
/third_party/node/doc/changelogs/
DCHANGELOG_V5.md519 …hub.com/nodejs/node/commit/e6210d5f50)] - **test**: prevent flakey test on pi2 (Trevor Norris) [#5…
DCHANGELOG_V4.md2052 …hub.com/nodejs/node/commit/85f927a774)] - **test**: prevent flakey test on pi2 (Trevor Norris) [#5…