/third_party/boost/libs/property_map/example/ |
D | compose_property_map_example.cpp | 15 boost::compose_property_map<double*, const int*> cpm(v, idx); in main() local 18 std::cout << get(cpm, i) << " "; in main() 22 ++cpm[i]; in main() 25 std::cout << get(cpm, i) << " "; in main() 29 put(cpm, i, 42.); in main() 32 std::cout << get(cpm, i) << " "; in main()
|
/third_party/boost/libs/property_map/test/ |
D | compose_property_map_test.cpp | 63 boost::compose_property_map<double*, const int*> cpm(v, idx); in pointer_pmap_check() local 66 BOOST_CHECK(get(cpm, i) == static_cast<double>(i)); in pointer_pmap_check() 67 ++cpm[i]; in pointer_pmap_check() 68 BOOST_CHECK(cpm[i] == static_cast<double>(i + 1)); in pointer_pmap_check() 69 put(cpm, i, 42.); in pointer_pmap_check() 70 BOOST_CHECK(cpm[i] == 42.); in pointer_pmap_check() 87 cpm(modulo_add_one(5), modulo_add_one(5)); in readable_pmap_checks() local 90 BOOST_CHECK(get(cpm, i) == (i + 2) % 5); in readable_pmap_checks()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Raster.cpp | 297 sk_sp<SkImage> SkMakeImageFromRasterBitmapPriv(const SkBitmap& bm, SkCopyPixelsMode cpm, in SkMakeImageFromRasterBitmapPriv() argument 299 if (kAlways_SkCopyPixelsMode == cpm || (!bm.isImmutable() && kNever_SkCopyPixelsMode != cpm)) { in SkMakeImageFromRasterBitmapPriv() 308 return sk_make_sp<SkImage_Raster>(bm, kNever_SkCopyPixelsMode == cpm); in SkMakeImageFromRasterBitmapPriv() 311 sk_sp<SkImage> SkMakeImageFromRasterBitmap(const SkBitmap& bm, SkCopyPixelsMode cpm) { in SkMakeImageFromRasterBitmap() argument 316 return SkMakeImageFromRasterBitmapPriv(bm, cpm, kNeedNewImageUniqueID); in SkMakeImageFromRasterBitmap()
|
D | SkSurface_Raster.cpp | 111 SkCopyPixelsMode cpm = kIfMutable_SkCopyPixelsMode; in onNewImageSnapshot() local 119 cpm = kAlways_SkCopyPixelsMode; in onNewImageSnapshot() 124 return SkMakeImageFromRasterBitmap(fBitmap, cpm); in onNewImageSnapshot()
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | h263parse.c | 190 guint8 cpm; in gst_h263_parse_get_params() local 261 if (!gst_bit_reader_get_bits_uint8 (&br, &cpm, 1)) in gst_h263_parse_get_params() 263 GST_DEBUG (" Continuous Presence Multipoint and Video Multiplex : %d", cpm); in gst_h263_parse_get_params() 265 if (cpm) { in gst_h263_parse_get_params() 430 guint8 cpm; in gst_h263_parse_get_params() local 432 if (!gst_bit_reader_get_bits_uint8 (&br, &cpm, 1)) in gst_h263_parse_get_params() 434 GST_DEBUG (" Continuous Presence Multipoint and Video Multiplex : %d", cpm); in gst_h263_parse_get_params() 436 if (cpm) { in gst_h263_parse_get_params()
|
/third_party/skia/src/image/ |
D | SkImage_Raster.cpp | 351 sk_sp<SkImage> SkMakeImageFromRasterBitmapPriv(const SkBitmap& bm, SkCopyPixelsMode cpm, in SkMakeImageFromRasterBitmapPriv() argument 353 if (kAlways_SkCopyPixelsMode == cpm || (!bm.isImmutable() && kNever_SkCopyPixelsMode != cpm)) { in SkMakeImageFromRasterBitmapPriv() 362 return sk_make_sp<SkImage_Raster>(bm, kNever_SkCopyPixelsMode == cpm); in SkMakeImageFromRasterBitmapPriv() 365 sk_sp<SkImage> SkMakeImageFromRasterBitmap(const SkBitmap& bm, SkCopyPixelsMode cpm) { in SkMakeImageFromRasterBitmap() argument 370 return SkMakeImageFromRasterBitmapPriv(bm, cpm, kNeedNewImageUniqueID); in SkMakeImageFromRasterBitmap()
|
D | SkSurface_Raster.cpp | 100 SkCopyPixelsMode cpm = kIfMutable_SkCopyPixelsMode; in onNewImageSnapshot() local 108 cpm = kAlways_SkCopyPixelsMode; in onNewImageSnapshot() 113 return SkMakeImageFromRasterBitmap(fBitmap, cpm); in onNewImageSnapshot()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtph263pay.h | 82 guint8 cpm; member
|
D | gstrtph263pay.c | 1480 if (context->cpm == 1) in gst_rtp_h263_pay_mode_B_fragment() 1508 if (context->cpm == 1) in gst_rtp_h263_pay_mode_B_fragment() 1691 context->cpm = rtph263pay->data[6] >> 7; in gst_rtp_h263_pay_flush() 1693 GST_DEBUG_OBJECT (rtph263pay, "CPM: %d", context->cpm); in gst_rtp_h263_pay_flush()
|
/third_party/flutter/skia/src/shaders/ |
D | SkImageShader.cpp | 271 const SkMatrix* localMatrix, SkCopyPixelsMode cpm) { in SkMakeBitmapShader() argument 272 return SkImageShader::Make(SkMakeImageFromRasterBitmap(src, cpm), in SkMakeBitmapShader()
|