/third_party/boost/libs/smart_ptr/test/ |
D | lsp_array_cast_test.cpp | 26 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 …]
|
D | sp_array_cast_test.cpp | 26 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 …]
|
D | shared_ptr_reinterpret_pointer_cast_test.cpp | 33 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()
|
D | shared_ptr_test.cpp | 510 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 …]
|
D | weak_ptr_test.cpp | 1279 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/ |
D | ProgramCacheTest.cpp | 39 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/ |
D | transc.hpp | 61 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/ |
D | float128_example.cpp | 143 …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/ |
D | qtrle.c | 207 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/ |
D | test_futures.cpp | 103 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/ |
D | test_float_io.cpp | 326 float128 pi2(s); in test_hexadecimal_floating_point() local 327 BOOST_CHECK_EQUAL(pi1, pi2); in test_hexadecimal_floating_point()
|
/third_party/glslang/Test/ |
D | stringToDouble.vert | 98 float pi2 = 3.14159265358979f;
|
/third_party/glslang/Test/baseResults/ |
D | stringToDouble.vert.out | 450 0:98 'pi2' ( temp float) 974 0:98 'pi2' ( temp float)
|
/third_party/boost/libs/property_tree/test/ |
D | test_property_tree.hpp | 1023 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/ |
D | canvas.dart | 565 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/ |
D | CHANGELOG_V5.md | 519 …hub.com/nodejs/node/commit/e6210d5f50)] - **test**: prevent flakey test on pi2 (Trevor Norris) [#5…
|
D | CHANGELOG_V4.md | 2052 …hub.com/nodejs/node/commit/85f927a774)] - **test**: prevent flakey test on pi2 (Trevor Norris) [#5…
|