/external/chromium_org/content/browser/renderer_host/ |
D | compositing_iosurface_transformer_mac_unittest.cc | 246 const gfx::Size& dst_size) { in ImagePlaneDifference() argument 250 for (int y = 0; y < dst_size.height(); ++y) { in ImagePlaneDifference() 251 const uint8* p = expected + y * dst_size.width(); in ImagePlaneDifference() 252 const uint8* const p_end = p + dst_size.width(); in ImagePlaneDifference() 291 const gfx::Size& dst_size) { in RunResizeTest() argument 295 << "]; dst_size=[" << dst_size.width() << 'x' in RunResizeTest() 296 << dst_size.height() << ']'); in RunResizeTest() 303 original_texture, src_rect, dst_size, &scaled_texture)); in RunResizeTest() 307 ReadBackTexture(scaled_texture, dst_size, GL_BGRA); in RunResizeTest() 314 ScaleBitmapWithSkia(src_bitmap, src_rect, dst_size); in RunResizeTest() [all …]
|
D | compositing_iosurface_transformer_mac.cc | 27 void SetTransformationsForOffScreenRendering(const gfx::Size& dst_size) { in SetTransformationsForOffScreenRendering() argument 28 glViewport(0, 0, dst_size.width(), dst_size.height()); in SetTransformationsForOffScreenRendering() 31 glOrtho(0, dst_size.width(), 0, dst_size.height(), -1, 1); in SetTransformationsForOffScreenRendering() 128 GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, in ResizeBilinear() argument 130 if (src_subrect.IsEmpty() || dst_size.IsEmpty()) in ResizeBilinear() 137 PrepareTexture(RGBA_OUTPUT, dst_size); in ResizeBilinear() 147 texture_target_, src_subrect.size() == dst_size ? GL_NEAREST : GL_LINEAR, in ResizeBilinear() 152 SetTransformationsForOffScreenRendering(dst_size); in ResizeBilinear() 156 dst_size.width(), dst_size.height()); in ResizeBilinear() 169 const gfx::Size& dst_size, in TransformRGBToYV12() argument [all …]
|
D | compositing_iosurface_transformer_mac.h | 54 const gfx::Size& dst_size, GLuint* texture); 82 const gfx::Size& dst_size,
|
/external/chromium_org/ui/surface/ |
D | accelerated_surface_transformer_win.cc | 72 const gfx::Size& dst_size) { in GetResampleCount() argument 78 while (width > dst_size.width()) { in GetResampleCount() 84 while (height > dst_size.height()) { in GetResampleCount() 255 const gfx::Size& dst_size) { in CopyInverted() argument 256 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, -1.0f); in CopyInverted() 262 const gfx::Size& dst_size) { in Copy() argument 263 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, 1.0f); in Copy() 269 const gfx::Size& dst_size, in CopyWithTextureScale() argument 287 dst_size.width(), dst_size.height(), in CopyWithTextureScale() 292 if (d3d_utils::GetSize(src_texture) == dst_size) { in CopyWithTextureScale() [all …]
|
D | accelerated_surface_transformer_win.h | 52 const gfx::Size& dst_size); 58 const gfx::Size& dst_size); 99 const gfx::Size& dst_size, 147 const gfx::Size& dst_size, 161 const gfx::Size& dst_size, 176 const gfx::Size& dst_size, 186 const gfx::Size& dst_size, 202 void DrawScreenAlignedQuad(const gfx::Size& dst_size);
|
D | accelerated_surface_transformer_win_unittest.cc | 339 const gfx::Size& dst_size, in DoResizeBilinearTest() argument 346 dst_size.width(), dst_size.height(), in DoResizeBilinearTest() 356 device(), dst_size, &dst)) in DoResizeBilinearTest() 362 gfx::Rect(dst_size))); in DoResizeBilinearTest() 364 AssertSymmetry(dst, dst_size); in DoResizeBilinearTest() 447 const gfx::Size& dst_size) { in DoYUVConversionScaleTest() argument 452 DoYUVConversionTest(gpu_ops, src_size, dst_size, 4, true)); in DoYUVConversionScaleTest() 455 DoYUVConversionTest(gpu_ops, src_size, dst_size, 4, false)); in DoYUVConversionScaleTest() 460 const gfx::Size& dst_size, in DoYUVConversionTest() argument 486 ASSERT_TRUE(gpu_ops->AllocYUVBuffers(dst_size, in DoYUVConversionTest() [all …]
|
D | accelerated_surface_win.cc | 418 const gfx::Size& dst_size, in AsyncCopyTo() argument 425 dst_size, in AsyncCopyTo() 446 const gfx::Size& dst_size, in DoCopyToAndAcknowledge() argument 450 bool result = DoCopyToARGB(src_subrect, dst_size, &target); in DoCopyToAndAcknowledge() 467 const gfx::Size& dst_size, in DoCopyToARGB() argument 471 "width", dst_size.width(), in DoCopyToARGB() 472 "height", dst_size.height()); in DoCopyToARGB() 509 dst_size, in DoCopyToARGB() 520 final_surface, gfx::Rect(dst_size))) { in DoCopyToARGB() 526 bitmap->setConfig(SkBitmap::kARGB_8888_Config, dst_size.width(), in DoCopyToARGB() [all …]
|
D | accelerated_surface_win.h | 80 const gfx::Size& dst_size, 109 const gfx::Size& dst_size, 120 const gfx::Size& dst_size, 196 const gfx::Size& dst_size,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | realloc_unittest.cc | 91 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in main() local 94 unsigned char* dst = (unsigned char*) realloc(src, dst_size); in main() 95 CHECK(Valid(dst, min(src_size, dst_size))); in main() 96 Fill(dst, dst_size); in main() 97 CHECK(Valid(dst, dst_size)); in main()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | realloc_unittest.cc | 91 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in main() local 94 unsigned char* dst = (unsigned char*) realloc(src, dst_size); in main() 95 CHECK(Valid(dst, min(src_size, dst_size))); in main() 96 Fill(dst, dst_size); in main() 97 CHECK(Valid(dst, dst_size)); in main()
|
/external/chromium_org/content/common/gpu/client/ |
D | gl_helper.cc | 140 const gfx::Size& dst_size, 152 const gfx::Size& dst_size, 167 const gfx::Size& dst_size, 175 const gfx::Size& dst_size, 230 const gfx::Size& dst_size, 268 const gfx::Size& dst_size, 305 const gfx::Size& dst_size, 335 const gfx::Size& dst_size, in CreateScaler() argument 342 dst_size, in CreateScaler() 351 const gfx::Size& dst_size, in ScaleTexture() argument [all …]
|
D | gl_helper_benchmark.cc | 143 const gfx::Size dst_size(output_sizes[outsize], in TEST_F() local 154 dst_size.width(), in TEST_F() 155 dst_size.height()); in TEST_F() 164 dst_size.width(), in TEST_F() 165 dst_size.height(), in TEST_F() 187 dst_size, in TEST_F() 220 dst_size.width(), in TEST_F() 221 dst_size.height(), in TEST_F() 273 const gfx::Size dst_size(input.width() * percents[p] / 100, in TEST_F() local 278 dst_size, in TEST_F() [all …]
|
D | gl_helper_scaling.cc | 62 const gfx::Size& dst_size, 207 spec_.dst_size, in Execute() 211 context_->viewport(0, 0, spec_.dst_size.width(), spec_.dst_size.height()); in Execute() 247 return spec_.dst_size; in DstSize() 272 dst_size(dst_size_), in ScalerStage() 293 const gfx::Size& dst_size, in ConvertScalerOpsToScalerStages() argument 415 const gfx::Size& dst_size, in ComputeScalerStages() argument 420 src_subrect.size() == dst_size) { in ComputeScalerStages() 424 dst_size, in ComputeScalerStages() 433 dst_size.width(), in ComputeScalerStages() [all …]
|
D | gl_helper_scaling.h | 59 const gfx::Size& dst_size, 66 const gfx::Size& dst_size, 73 const gfx::Size& dst_size, 150 gfx::Size dst_size; member 161 const gfx::Size& dst_size, 173 const gfx::Size& dst_size,
|
D | gl_helper.h | 230 const gfx::Size& dst_size, 248 const gfx::Size& dst_size, 274 const gfx::Size& dst_size, 346 const gfx::Size& dst_size, 362 const gfx::Size& dst_size,
|
/external/chromium/base/allocator/ |
D | allocator_unittests.cc | 418 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in TEST() local 422 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); in TEST() 423 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST() 424 Fill(dst, dst_size); in TEST() 425 EXPECT_TRUE(Valid(dst, dst_size)); in TEST() 468 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in TEST() local 474 reinterpret_cast<unsigned char*>(_recalloc(src, 1, dst_size)); in TEST() 475 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST() 476 Fill(dst, dst_size); in TEST() 477 EXPECT_TRUE(Valid(dst, dst_size)); in TEST()
|
/external/chromium_org/base/allocator/ |
D | allocator_unittests.cc | 417 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in TEST() local 421 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); in TEST() 422 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST() 423 Fill(dst, dst_size); in TEST() 424 EXPECT_TRUE(Valid(dst, dst_size)); in TEST() 467 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { in TEST() local 473 reinterpret_cast<unsigned char*>(_recalloc(src, 1, dst_size)); in TEST() 474 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST() 475 Fill(dst, dst_size); in TEST() 476 EXPECT_TRUE(Valid(dst, dst_size)); in TEST()
|
/external/opencv/cvaux/src/ |
D | cvlines.cpp | 125 uchar * dst, int dst_step, CvSize dst_size, CvPoint start, CvPoint end ) 131 if( !src || !dst || (dst_size.width | dst_size.height) < 0 || 132 dst_step < dst_size.width * 3 || 133 (unsigned) start.x >= (unsigned) dst_size.width || 134 (unsigned) start.y >= (unsigned) dst_size.height || 135 (unsigned) end.x >= (unsigned) dst_size.width || 136 (unsigned) end.y >= (unsigned) dst_size.height ) 247 CvSize dst_size, /* dest image size */ in icvPostWarpImage8uC3R() argument 262 cvInitMatHeader( &mat, dst_size.height, dst_size.width, CV_8UC3, dst, dst_step ); in icvPostWarpImage8uC3R() 292 dst_size, /* dest image size */ in icvPostWarpImage8uC3R()
|
/external/chromium_org/third_party/ots/src/ |
D | woff2.cc | 277 uint8_t* dst, size_t dst_size, size_t* glyph_size) { in StorePoints() argument 316 if (flag_offset >= dst_size) { in StorePoints() 321 if (flag_offset >= dst_size) { in StorePoints() 333 if (flag_offset >= dst_size) { in StorePoints() 341 flag_offset + xy_bytes > dst_size) { in StorePoints() 430 size_t dst_size, size_t* glyph_size, bool* have_instructions) { in ProcessComposite() argument 458 if (composite_glyph_size + kCompositeGlyphBegin > dst_size) { in ProcessComposite() 472 uint8_t* dst, size_t dst_size) { in StoreLoca() argument 479 if (offset_size * loca_size > dst_size) { in StoreLoca() 496 uint8_t* dst, size_t dst_size, in ReconstructGlyf() argument [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace.h | 40 void CopyTo(uptr *dst, uptr dst_size) { in CopyTo() 41 for (uptr i = 0; i < size && i < dst_size; i++) in CopyTo() 43 for (uptr i = size; i < dst_size; i++) in CopyTo()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_vlc.h | 70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src,… in vl_vlc_init_table() argument 72 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table() 74 assert(dst && dst_size); in vl_vlc_init_table() 77 for (i=0;i<dst_size;++i) { in vl_vlc_init_table()
|
/external/chromium_org/ppapi/cpp/ |
D | rect.cc | 11 void AdjustAlongAxis(int32_t dst_origin, int32_t dst_size, in AdjustAlongAxis() argument 15 *size = std::min(dst_size, *size); in AdjustAlongAxis() 17 *size = std::min(dst_size, *size); in AdjustAlongAxis() 18 *origin = std::min(dst_origin + dst_size, *origin + *size) - *size; in AdjustAlongAxis()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
D | vl_vlc.h | 70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src,… in vl_vlc_init_table() argument 72 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table() 74 assert(dst && dst_size); in vl_vlc_init_table() 77 for (i=0;i<dst_size;++i) { in vl_vlc_init_table()
|
/external/chromium_org/base/strings/ |
D | string_util.cc | 915 size_t lcpyT(CHAR* dst, const CHAR* src, size_t dst_size) { in lcpyT() argument 916 for (size_t i = 0; i < dst_size; ++i) { in lcpyT() 922 if (dst_size != 0) in lcpyT() 923 dst[dst_size - 1] = 0; in lcpyT() 926 while (src[dst_size]) ++dst_size; in lcpyT() 927 return dst_size; in lcpyT() 932 size_t base::strlcpy(char* dst, const char* src, size_t dst_size) { in strlcpy() argument 933 return lcpyT<char>(dst, src, dst_size); in strlcpy() 935 size_t base::wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size) { in wcslcpy() argument 936 return lcpyT<wchar_t>(dst, src, dst_size); in wcslcpy()
|
/external/pixman/test/ |
D | scaling-crash-test.c | 131 do_test (int32_t dst_size, in do_test() argument 143 if (run_test (dst_size, 1, in do_test() 157 if (run_test (1, dst_size, in do_test()
|