/third_party/boost/libs/math/example/ |
D | binomial_coinflip_example.cpp | 68 binomial flip(flips, success_fraction); in main() local 75 << mean(flip) << " heads (or tails)." << endl; in main() 76 cout << "Mode is " << mode(flip) << endl; in main() 77 cout << "Standard deviation is " << standard_deviation(flip) << endl; in main() 79 << ceil(mean(flip) - standard_deviation(flip)) << " and " in main() 80 << floor(mean(flip) + standard_deviation(flip)) << " correct." << endl; in main() 81 cout << "Skewness is " << skewness(flip) << endl; in main() 85 cout << "Skewness if success_fraction is " << flip.success_fraction() in main() 86 << " is " << skewness(flip) << endl << endl; // Expect zero for a 'fair' coin. in main() 90 cout << "For " << flip.trials() << " coin flips: " << endl; in main() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglvideoflip.c | 162 gst_gl_video_flip_init (GstGLVideoFlip * flip) in gst_gl_video_flip_init() argument 167 flip->aspect = 1.0; in gst_gl_video_flip_init() 169 flip->input_capsfilter = gst_element_factory_make ("capsfilter", NULL); in gst_gl_video_flip_init() 170 res &= gst_bin_add (GST_BIN (flip), flip->input_capsfilter); in gst_gl_video_flip_init() 172 flip->transformation = gst_element_factory_make ("gltransformation", NULL); in gst_gl_video_flip_init() 173 g_object_set (flip->transformation, "ortho", TRUE, NULL); in gst_gl_video_flip_init() 174 res &= gst_bin_add (GST_BIN (flip), flip->transformation); in gst_gl_video_flip_init() 176 flip->output_capsfilter = gst_element_factory_make ("capsfilter", NULL); in gst_gl_video_flip_init() 177 res &= gst_bin_add (GST_BIN (flip), flip->output_capsfilter); in gst_gl_video_flip_init() 180 gst_element_link_pads (flip->input_capsfilter, "src", in gst_gl_video_flip_init() [all …]
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2vidorient.h | 35 gboolean gst_v4l2_video_orientation_get_hflip (GstV4l2Object *v4l2object, gboolean *flip); 36 gboolean gst_v4l2_video_orientation_get_vflip (GstV4l2Object *v4l2object, gboolean *flip); 40 gboolean gst_v4l2_video_orientation_set_hflip (GstV4l2Object *v4l2object, gboolean flip); 41 gboolean gst_v4l2_video_orientation_set_vflip (GstV4l2Object *v4l2object, gboolean flip); 48 …interface_as_function ## _video_orientation_get_hflip (GstVideoOrientation *vo, gboolean *flip) … 51 return gst_v4l2_video_orientation_get_hflip (this->v4l2object, flip); \ 55 …interface_as_function ## _video_orientation_get_vflip (GstVideoOrientation *vo, gboolean *flip) … 58 return gst_v4l2_video_orientation_get_vflip (this->v4l2object, flip); \ 76 …interface_as_function ## _video_orientation_set_hflip (GstVideoOrientation *vo, gboolean flip) … 79 return gst_v4l2_video_orientation_set_hflip (this->v4l2object, flip); \ [all …]
|
D | gstv4l2vidorient.c | 46 gboolean * flip) in gst_v4l2_video_orientation_get_hflip() argument 49 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_get_hflip() 54 gboolean * flip) in gst_v4l2_video_orientation_get_vflip() argument 56 return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VFLIP, flip); in gst_v4l2_video_orientation_get_vflip() 76 gst_v4l2_video_orientation_set_hflip (GstV4l2Object * v4l2object, gboolean flip) in gst_v4l2_video_orientation_set_hflip() argument 78 return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HFLIP, flip); in gst_v4l2_video_orientation_set_hflip() 82 gst_v4l2_video_orientation_set_vflip (GstV4l2Object * v4l2object, gboolean flip) in gst_v4l2_video_orientation_set_vflip() argument 84 return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VFLIP, flip); in gst_v4l2_video_orientation_set_vflip()
|
/third_party/boost/libs/hof/test/ |
D | flip.cpp | 13 BOOST_HOF_TEST_CHECK(3 == boost::hof::flip(boost::hof::_ - boost::hof::_)(2, 5)); in BOOST_HOF_TEST_CASE() 14 BOOST_HOF_STATIC_TEST_CHECK(3 == boost::hof::flip(boost::hof::_ - boost::hof::_)(2, 5)); in BOOST_HOF_TEST_CASE() 24 BOOST_HOF_TEST_CHECK(2 == boost::hof::flip(boost::hof::arg(one{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 25 BOOST_HOF_STATIC_TEST_CHECK(2 == boost::hof::flip(boost::hof::arg(one{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 29 BOOST_HOF_TEST_CHECK(1 == boost::hof::flip(boost::hof::arg(two{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 30 BOOST_HOF_STATIC_TEST_CHECK(1 == boost::hof::flip(boost::hof::arg(two{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 34 BOOST_HOF_TEST_CHECK(3 == boost::hof::flip(boost::hof::arg(three{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 35 BOOST_HOF_STATIC_TEST_CHECK(3 == boost::hof::flip(boost::hof::arg(three{}))(1, 2, 3, 4)); in BOOST_HOF_TEST_CASE() 54 static_assert(boost::hof::flip(boost::hof::_ - boost::hof::_)(2, 5), "noexcept flip"); in BOOST_HOF_TEST_CASE() 60 BOOST_HOF_TEST_CHECK(boost::hof::flip(f())(nullptr, 2) == 2); in BOOST_HOF_TEST_CASE()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | videoorientation.h | 69 gboolean (* get_hflip) (GstVideoOrientation *video_orientation, gboolean *flip); 70 gboolean (* get_vflip) (GstVideoOrientation *video_orientation, gboolean *flip); 74 gboolean (* set_hflip) (GstVideoOrientation *video_orientation, gboolean flip); 75 gboolean (* set_vflip) (GstVideoOrientation *video_orientation, gboolean flip); 86 gboolean gst_video_orientation_get_hflip (GstVideoOrientation *video_orientation, gboolean *flip); 89 gboolean gst_video_orientation_get_vflip (GstVideoOrientation *video_orientation, gboolean *flip); 98 gboolean gst_video_orientation_set_hflip (GstVideoOrientation *video_orientation, gboolean flip); 101 gboolean gst_video_orientation_set_vflip (GstVideoOrientation *video_orientation, gboolean flip);
|
D | videoorientation.c | 72 gboolean * flip) in gst_video_orientation_get_hflip() argument 78 return iface->get_hflip (video_orientation, flip); in gst_video_orientation_get_hflip() 93 gboolean * flip) in gst_video_orientation_get_vflip() argument 99 return iface->get_vflip (video_orientation, flip); in gst_video_orientation_get_vflip() 156 gboolean flip) in gst_video_orientation_set_hflip() argument 162 return iface->set_hflip (video_orientation, flip); in gst_video_orientation_set_hflip() 177 gboolean flip) in gst_video_orientation_set_vflip() argument 183 return iface->set_vflip (video_orientation, flip); in gst_video_orientation_set_vflip()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vflip.c | 46 FlipContext *flip = link->dst->priv; in config_input() local 49 flip->vsub = desc->log2_chroma_h; in config_input() 56 FlipContext *flip = link->dst->priv; in get_video_buffer() local 65 int vsub = i == 1 || i == 2 ? flip->vsub : 0; in get_video_buffer() 79 FlipContext *flip = link->dst->priv; in filter_frame() local 83 int vsub = i == 1 || i == 2 ? flip->vsub : 0; in filter_frame()
|
/third_party/boost/libs/icl/doc/ |
D | functions_symmetric_difference.qbk | 18 [[`T& T::flip(const P&)`] [__ei] [__bp] [ ] [__b] ] 19 [[`T& flip(T&, const P&)`] [__ei] [__bp] [__e] [__b] ] 44 by the function `T& flip(T&, const P& operand)`. 47 flip(y,x) 53 For icl containers flip is also availabel as memeber function 54 `T& T::flip(const P& operand)`. 59 `T& T::flip(const P&)` can be summarized in the 64 T& T::flip(const P&) ---+-------- 65 T& flip(T&, const P&) s | s 71 The next table contains complexity characteristics for functions `flip`. [all …]
|
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/ |
D | flip.hpp.txt | 3 flip.h 11 /// flip 17 /// The `flip` function adaptor swaps the first two parameters. 23 /// flip_adaptor<F> flip(F f); 28 /// assert(flip(f)(x, y, xs...) == f(y, x, xs...)); 52 /// int r = boost::hof::flip(boost::hof::_ - boost::hof::_)(2, 5); 103 BOOST_HOF_DECLARE_STATIC_VAR(flip, detail::make<flip_adaptor>);
|
/third_party/boost/libs/unordered/test/helpers/ |
D | metafunctions.hpp | 21 static char flip(typename Container::iterator const&); 22 static long flip(std::pair<typename Container::iterator, bool> const&); 25 sizeof(flip(
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | ityp_bitset.h | 82 return bitset(*this).flip(); 101 bitset& flip() noexcept { in flip() function 102 return static_cast<bitset&>(Base::flip()); in flip() 105 bitset& flip(Index i) { in flip() function 106 return static_cast<bitset&>(Base::flip(static_cast<I>(i))); in flip()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ITypBitsetTests.cpp | 102 bits.flip(Key(4)); in TEST_F() 103 bits.flip(Key(1)); // false in TEST_F() 104 bits.flip(Key(6)); in TEST_F() 105 bits.flip(Key(5)); in TEST_F() 108 bits.flip(); in TEST_F()
|
/third_party/boost/libs/hana/example/functional/ |
D | flip.cpp | 17 BOOST_HANA_CONSTEXPR_CHECK(hana::flip(minus)(3, 0) == 0 - 3); in main() 20 BOOST_HANA_CONSTEXPR_CHECK(hana::flip(minus)(3, 0, 1) == 0 - 3 - 1); in main()
|
/third_party/boost/libs/dynamic_bitset/test/ |
D | dyn_bitset_unit_tests3.cpp | 243 a[long_string.size()/2].flip(); in run_test_cases() 248 b[long_string.size()/2].flip(); in run_test_cases() 271 a[long_string.size()/2].flip(); in run_test_cases() 276 b[long_string.size()/2].flip(); in run_test_cases() 425 a[long_string.size()/2].flip(); in run_test_cases() 430 b[long_string.size()/2].flip(); in run_test_cases() 453 a[long_string.size()/2].flip(); in run_test_cases() 458 b[long_string.size()/2].flip(); in run_test_cases() 493 a[long_string.size()/2].flip(); in run_test_cases() 498 b[long_string.size()/2].flip(); in run_test_cases() [all …]
|
/third_party/ffmpeg/libavdevice/ |
D | oss.c | 46 char *flip = getenv("AUDIO_FLIP_LEFT"); in ff_oss_audio_open() local 57 if (flip && *flip == '1') { in ff_oss_audio_open()
|
/third_party/boost/boost/hana/ |
D | reverse_fold.hpp | 26 hana::flip(static_cast<F&&>(f))); in operator ()() 32 hana::flip(static_cast<F&&>(f))); in operator ()()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DecodeUtf8Test.java | 202 direct.flip(); in assertInvalid() 218 heap.flip(); in assertInvalid() 249 direct.flip(); in assertInvalidSlice() 265 heap.flip(); in assertInvalidSlice() 296 direct.flip(); in assertRoundTrips() 304 heap.flip(); in assertRoundTrips()
|
/third_party/uboot/u-boot-2020.01/drivers/input/ |
D | input.c | 265 int flip = -1; in process_modifier() local 269 flip = FLAG_SCROLL_LOCK; in process_modifier() 272 flip = FLAG_NUM_LOCK; in process_modifier() 275 flip = FLAG_CAPS_LOCK; in process_modifier() 279 if (flip != -1) { in process_modifier() 282 config->flags ^= flip; in process_modifier() 290 config->leds_changed = flip; in process_modifier()
|
/third_party/boost/boost/icl/concept/ |
D | element_set.hpp | 84 flip(Type& object, const typename Type::value_type& operand) in flip() function 98 return icl::flip(object, operand); in operator ^=() 110 icl::flip(object, *it_++); in operator ^=()
|
/third_party/skia/src/core/ |
D | SkM44.cpp | 145 const sk4f flip{1.f, 1.f, -1.f, -1.f}; in map_rect_affine() local 148 sk4f c0 = skvx::shuffle<0,1,0,1>(sk2f::Load(mat + 0)) * flip; in map_rect_affine() 149 sk4f c1 = skvx::shuffle<0,1,0,1>(sk2f::Load(mat + 4)) * flip; in map_rect_affine() 154 sk4f minMax = c3 + flip * min(min(c0 * src.fLeft + c1 * src.fTop, in map_rect_affine() 181 const sk4f flip{1.f, 1.f, -1.f, -1.f}; in map_rect_perspective() local 182 auto project = [&flip](const sk4f& p0, const sk4f& p1, const sk4f& p2) { in map_rect_perspective() 186 return flip * skvx::shuffle<0,1,0,1>(p0) / w0; in map_rect_perspective() 195 return flip * skvx::shuffle<0,1,0,1>(c); in map_rect_perspective() 209 sk4f minMax = flip * min(min(project(tl, tr, bl), project(tr, br, tl)), in map_rect_perspective()
|
/third_party/skia/third_party/externals/tint/test/bug/tint/ |
D | 942.wgsl | 14 [[group(1), binding(3)]] var<uniform> flip : Flip; 17 // |flip.value| is 0 or 1. 48 if (flip.value != 0u) { 63 if (flip.value != 0u) {
|
/third_party/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 120 bool flip = false; in get_edge_dist_coverage() local 128 flip = true; in get_edge_dist_coverage() 132 if (flip) { in get_edge_dist_coverage() 137 const SkPoint* lines = flip ? insetLines : outsetLines; in get_edge_dist_coverage() 142 SkScalar d = (flip ? 1 : -1) * signed_distance(point, lines[i * 2], lines[i * 2 + 1]); in get_edge_dist_coverage() 161 bool flip = signed_distance(t0, t1, t2) < 0.f; in inside_triangle() local 163 SkScalar d0 = (flip ? -1 : 1) * signed_distance(point, t0, t1); in inside_triangle() 164 SkScalar d1 = (flip ? -1 : 1) * signed_distance(point, t1, t2); in inside_triangle() 165 SkScalar d2 = (flip ? -1 : 1) * signed_distance(point, t2, t0); in inside_triangle()
|
/third_party/flutter/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 114 bool flip = false; in get_edge_dist_coverage() local 122 flip = true; in get_edge_dist_coverage() 126 if (flip) { in get_edge_dist_coverage() 131 const SkPoint* lines = flip ? insetLines : outsetLines; in get_edge_dist_coverage() 136 SkScalar d = (flip ? 1 : -1) * signed_distance(point, lines[i * 2], lines[i * 2 + 1]); in get_edge_dist_coverage() 155 bool flip = signed_distance(t0, t1, t2) < 0.f; in inside_triangle() local 157 SkScalar d0 = (flip ? -1 : 1) * signed_distance(point, t0, t1); in inside_triangle() 158 SkScalar d1 = (flip ? -1 : 1) * signed_distance(point, t1, t2); in inside_triangle() 159 SkScalar d2 = (flip ? -1 : 1) * signed_distance(point, t2, t0); in inside_triangle()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBufferGDI.hpp | 29 void flip(sw::Surface *source) override; 32 void flip(HWND windowOverride, sw::Surface *source) override;
|