/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
realloc_unittest.cc | 91 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 94 unsigned char* dst = (unsigned char*) realloc(src, dst_size); 95 CHECK(Valid(dst, min(src_size, dst_size))); 96 Fill(dst, dst_size); 97 CHECK(Valid(dst, dst_size));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
realloc_unittest.cc | 91 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 94 unsigned char* dst = (unsigned char*) realloc(src, dst_size); 95 CHECK(Valid(dst, min(src_size, dst_size))); 96 Fill(dst, dst_size); 97 CHECK(Valid(dst, dst_size));
|
/external/chromium_org/content/browser/renderer_host/ |
compositing_iosurface_transformer_mac.cc | 26 // size dst_size, with coordinates starting at (0, 0). 27 void SetTransformationsForOffScreenRendering(const gfx::Size& dst_size) { 28 glViewport(0, 0, dst_size.width(), dst_size.height()); 31 glOrtho(0, dst_size.width(), 0, dst_size.height(), -1, 1); 128 GLuint src_texture, const gfx::Rect& src_subrect, const gfx::Size& dst_size, 130 if (src_subrect.IsEmpty() || dst_size.IsEmpty()) 137 PrepareTexture(RGBA_OUTPUT, dst_size); 147 texture_target_, src_subrect.size() == dst_size ? GL_NEAREST : GL_LINEAR [all...] |
compositing_iosurface_transformer_mac_unittest.cc | 246 const gfx::Size& dst_size) { 250 for (int y = 0; y < dst_size.height(); ++y) { 251 const uint8* p = expected + y * dst_size.width(); 252 const uint8* const p_end = p + dst_size.width(); 291 const gfx::Size& dst_size) { 295 << "]; dst_size=[" << dst_size.width() << 'x' 296 << dst_size.height() << ']'); 303 original_texture, src_rect, dst_size, &scaled_texture)); 307 ReadBackTexture(scaled_texture, dst_size, GL_BGRA) [all...] |
compositing_iosurface_transformer_mac.h | 54 const gfx::Size& dst_size, GLuint* texture); 75 // If |src_subrect|'s size does not match |dst_size|, the source will be 82 const gfx::Size& dst_size,
|
/external/chromium_org/ui/surface/ |
accelerated_surface_transformer_win.cc | 68 // Calculate the number necessary to transform |src_subrect| into |dst_size| 72 const gfx::Size& dst_size) { 78 while (width > dst_size.width()) { 84 while (height > dst_size.height()) { 255 const gfx::Size& dst_size) { 256 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, -1.0f); 262 const gfx::Size& dst_size) { 263 return CopyWithTextureScale(src_texture, dst_surface, dst_size, 1.0f, 1.0f); 269 const gfx::Size& dst_size, 287 dst_size.width(), dst_size.height() 358 gfx::Size dst_size = dst_rect.size(); local [all...] |
accelerated_surface_transformer_win.h | 52 const gfx::Size& dst_size); 58 const gfx::Size& dst_size); 87 // |dst_y| : width and height exactly |dst_size| 88 // |dst_u| : width and height are each half of |dst_size|, rounded up. 89 // |dst_v| : width and height are each half of |dst_size|, rounded up. 91 // If |src_texture|'s dimensions do not match |dst_size|, the source will be 99 const gfx::Size& dst_size, 147 const gfx::Size& dst_size, 161 const gfx::Size& dst_size, 176 const gfx::Size& dst_size, [all...] |
accelerated_surface_win.h | 80 const gfx::Size& dst_size, 115 const gfx::Size& dst_size, 126 const gfx::Size& dst_size, 202 const gfx::Size& dst_size,
|
accelerated_surface_transformer_win_unittest.cc | 339 const gfx::Size& dst_size, 346 dst_size.width(), dst_size.height(), 356 device(), dst_size, &dst)) 362 gfx::Rect(dst_size))); 364 AssertSymmetry(dst, dst_size); 447 const gfx::Size& dst_size) { 452 DoYUVConversionTest(gpu_ops, src_size, dst_size, 4, true)); 455 DoYUVConversionTest(gpu_ops, src_size, dst_size, 4, false)); 460 const gfx::Size& dst_size, [all...] |
accelerated_surface_win.cc | 422 const gfx::Size& dst_size, 429 dst_size, 450 const gfx::Size& dst_size, 454 bool result = DoCopyToARGB(src_subrect, dst_size, &target); 471 const gfx::Size& dst_size, 475 "width", dst_size.width(), 476 "height", dst_size.height()); 513 dst_size, 524 final_surface, gfx::Rect(dst_size))) { 531 dst_size.width(), dst_size.height()) 547 gfx::Size dst_size = frame->coded_size(); local [all...] |
/external/chromium_org/content/common/gpu/client/ |
gl_helper.cc | 138 const gfx::Size& dst_size, 148 // Note that dst_size is specified in bytes, not pixels. 150 const gfx::Size& dst_size, 151 int32 bytes_per_row, // generally dst_size.width() * 4 152 int32 row_stride_bytes, // generally dst_size.width() * 4 165 const gfx::Size& dst_size, 173 const gfx::Size& dst_size, 228 const gfx::Size& dst_size, 266 const gfx::Size& dst_size, 297 // scales it to |dst_size|, writes it into a texture, and returns its ID [all...] |
gl_helper_benchmark.cc | 142 const gfx::Size dst_size(output_sizes[outsize], 153 dst_size.width(), 154 dst_size.height()); 163 dst_size.width(), 164 dst_size.height(), 186 dst_size, 219 dst_size.width(), 220 dst_size.height(), 272 const gfx::Size dst_size(input.width() * percents[p] / 100, 277 dst_size, [all...] |
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 in struct:content::GLHelperScaling::ScalerStage 161 const gfx::Size& dst_size, 173 const gfx::Size& dst_size,
|
gl_helper_scaling.cc | 62 const gfx::Size& dst_size, 109 // |dst_size| is the size of the output texutre in pixels. 207 spec_.dst_size, 211 context_->viewport(0, 0, spec_.dst_size.width(), spec_.dst_size.height()); 247 return spec_.dst_size; 272 dst_size(dst_size_), 293 const gfx::Size& dst_size, 415 const gfx::Size& dst_size, 420 src_subrect.size() == dst_size) { [all...] |
gl_helper.h | 217 // scales it to |dst_size|, and writes it into |out|. 228 const gfx::Size& dst_size, 233 // scales it to |dst_size|, and writes it into |out|. 246 const gfx::Size& dst_size, 266 // the texture and |dst_size| is the size of the resulting copy. 272 const gfx::Size& dst_size, 330 const gfx::Size& dst_size, 338 // on some platforms. All values in |dst_size| and |dst_subrect| must be 346 const gfx::Size& dst_size,
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace.h | 40 void CopyTo(uptr *dst, uptr dst_size) { 41 for (uptr i = 0; i < size && i < dst_size; i++) 43 for (uptr i = size; i < dst_size; i++)
|
/external/opencv/cvaux/src/ |
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 */ 262 cvInitMatHeader( &mat, dst_size.height, dst_size.width, CV_8UC3, dst, dst_step ) [all...] |
/external/chromium/base/allocator/ |
allocator_unittests.cc | 418 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 422 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); 423 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); 424 Fill(dst, dst_size); 425 EXPECT_TRUE(Valid(dst, dst_size)); 468 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) [all...] |
/external/chromium_org/base/allocator/ |
allocator_unittests.cc | 417 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 421 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); 422 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); 423 Fill(dst, dst_size); 424 EXPECT_TRUE(Valid(dst, dst_size)); 467 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_vlc.h | 70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) 72 unsigned i, bits = util_logbase2(dst_size); 74 assert(dst && dst_size); 77 for (i=0;i<dst_size;++i) {
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vlc.h | 70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) 72 unsigned i, bits = util_logbase2(dst_size); 74 assert(dst && dst_size); 77 for (i=0;i<dst_size;++i) {
|
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 403 size_t dst_size = 10; local 404 char dst[dst_size]; 408 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 414 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 422 size_t dst_size = 5; local 423 char dst[dst_size]; 427 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 433 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size))
|
/frameworks/native/cmds/installd/ |
utils.c | 42 size_t dst_size = PKG_PATH_MAX; local 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 45 || append_and_increment(&dst, pkgname, &dst_size) < 0 46 || append_and_increment(&dst, postfix, &dst_size) < 0) { 78 size_t dst_size = sizeof(prefix); local 80 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 0 81 || append_and_increment(&dst, userid_prefix, &dst_size) < 0) { 87 int ret = snprintf(dst, dst_size, "%d/", userid); 119 size_t dst_size = PKG_PATH_MAX; local 121 if (append_and_increment(&dst, android_data_dir.path, &dst_size) < 866 size_t dst_size = path_len + 2; local [all...] |
/external/chromium_org/third_party/ots/src/ |
woff2.cc | 287 uint8_t* dst, size_t dst_size, size_t* glyph_size) { 326 if (flag_offset >= dst_size) { 331 if (flag_offset >= dst_size) { 343 if (flag_offset >= dst_size) { 351 flag_offset + xy_bytes > dst_size) { 440 size_t dst_size, size_t* glyph_size, bool* have_instructions) { 468 if (composite_glyph_size + kCompositeGlyphBegin > dst_size) { 482 uint8_t* dst, size_t dst_size) { 489 if (offset_size * loca_size > dst_size) { 506 uint8_t* dst, size_t dst_size, [all...] |
/external/pixman/test/ |
scaling-crash-test.c | 131 do_test (int32_t dst_size, 143 if (run_test (dst_size, 1, 157 if (run_test (1, dst_size,
|