/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...] |
/external/chromium_org/content/common/gpu/client/ |
gl_helper_benchmark.cc | 141 const gfx::Size dst_size(output_sizes[outsize], 152 dst_size.width(), 153 dst_size.height()); 162 dst_size.width(), 163 dst_size.height(), 185 dst_size, 218 dst_size.width(), 219 dst_size.height(), 271 const gfx::Size dst_size(input.width() * percents[p] / 100, 276 dst_size, [all...] |
gl_helper.cc | 142 const gfx::Size& dst_size, 154 const gfx::Size& dst_size, 160 // Note that dst_size is specified in bytes, not pixels. 161 void ReadbackAsync(const gfx::Size& dst_size, 162 int32 bytes_per_row, // generally dst_size.width() * 4 163 int32 row_stride_bytes, // generally dst_size.width() * 4 179 const gfx::Size& dst_size, 187 const gfx::Size& dst_size, 241 const gfx::Size& dst_size, 279 const gfx::Size& dst_size, [all...] |
gl_helper_scaling.h | 63 const gfx::Size& dst_size, 70 const gfx::Size& dst_size, 78 const gfx::Size& dst_size, 156 gfx::Size dst_size; member in struct:content::GLHelperScaling::ScalerStage 167 const gfx::Size& dst_size, 179 const gfx::Size& dst_size,
|
gl_helper_scaling.cc | 61 const gfx::Size& dst_size, 108 // |dst_size| is the size of the output texutre in pixels. 197 spec_.dst_size, 201 gl_->Viewport(0, 0, spec_.dst_size.width(), spec_.dst_size.height()); 235 virtual const gfx::Size& DstSize() OVERRIDE { return spec_.dst_size; } 258 dst_size(dst_size_), 278 const gfx::Size& dst_size, 399 const gfx::Size& dst_size, 404 src_subrect.size() == dst_size) { [all...] |
gl_helper.h | 162 // scales it to |dst_size|, and writes it into |out|. 173 const gfx::Size& dst_size, 180 // scales it to |dst_size|, and writes it into |out|. 193 const gfx::Size& dst_size, 210 const gfx::Size& dst_size, 221 // the texture and |dst_size| is the size of the resulting copy. 226 const gfx::Size& dst_size, 299 const gfx::Size& dst_size, 307 // on some platforms. All values in |dst_size| and |dst_subrect| must be 314 const gfx::Size& dst_size, [all...] |
/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/third_party/brotli/src/woff2/ |
font.h | 59 // Writes the font into the specified dst buffer. The dst_size should be the 61 // should not happen if dst_size was computed by FontFileSize()). 62 bool WriteFont(const Font& font, uint8_t* dst, size_t dst_size);
|
glyph.cc | 247 uint8_t* dst, size_t dst_size) { 282 if (*offset >= dst_size) { 287 if (*offset >= dst_size) { 299 if (*offset >= dst_size) { 305 if (*offset + x_bytes + y_bytes > dst_size) { 342 bool StoreGlyph(const Glyph& glyph, uint8_t* dst, size_t* dst_size) { 346 if (*dst_size < ((10ULL + glyph.composite_data_size) + 362 if (*dst_size < ((12ULL + 2 * glyph.contours.size()) + 372 if (!StorePoints(glyph, &offset, dst, *dst_size)) { 376 *dst_size = offset [all...] |
glyph.h | 64 // Stores the glyph into the specified dst buffer. The *dst_size is the buffer 67 bool StoreGlyph(const Glyph& glyph, uint8_t* dst, size_t* dst_size);
|
woff2_dec.cc | 201 uint8_t* dst, size_t dst_size, size_t* glyph_size) { 240 if (flag_offset >= dst_size) { 245 if (flag_offset >= dst_size) { 257 if (flag_offset >= dst_size) { 265 flag_offset + xy_bytes > dst_size) { 354 size_t dst_size, size_t* glyph_size, bool* have_instructions) { 382 if (composite_glyph_size + kCompositeGlyphBegin > dst_size) { 396 uint8_t* dst, size_t dst_size) { 402 if (offset_size * loca_size > dst_size) { 419 uint8_t* dst, size_t dst_size, [all...] |
font.cc | 93 bool WriteFont(const Font& font, uint8_t* dst, size_t dst_size) { 94 if (dst_size < 12ULL + 16ULL * font.num_tables) { 113 dst_size < table.offset + table.length) { 119 dst_size < table.offset + table.length + padding_size) {
|
/external/chromium_org/base/allocator/ |
allocator_unittest.cc | 416 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) { 420 reinterpret_cast<unsigned char*>(realloc(src, dst_size)); 421 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); 422 Fill(dst, dst_size); 423 EXPECT_TRUE(Valid(dst, dst_size)); 466 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) [all...] |
/art/runtime/ |
dex_file_verifier_test.cc | 58 static inline byte* DecodeBase64(const char* src, size_t* dst_size) { 70 *dst_size = 0; 75 *dst_size = 0; 91 *dst_size = 0; 95 if (dst_size != nullptr) { 96 *dst_size = tmp.size(); 98 *dst_size = 0;
|
/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...] |
/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) < 1001 size_t dst_size = path_len + 2; local [all...] |
/external/chromium_org/content/renderer/media/webrtc/ |
webrtc_video_capturer_adapter.cc | 156 const size_t dst_size = local 159 if (dst_size != buffer_size_) { 162 base::AlignedAlloc(dst_size + media::VideoFrame::kFrameSizePadding, 164 buffer_size_ = dst_size;
|
/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) {
|
/external/chromium_org/content/renderer/pepper/ |
pepper_media_stream_video_track_host.cc | 96 const gfx::Size& dst_size, 100 if (src->coded_size() == dst_size) { 108 dst_size.width() * 4, 109 dst_size.width(), 110 dst_size.height()); 118 dst_size.width(), 119 dst_size.height(), 122 dst_size.width() * 4, 136 int dst_width = dst_size.width(); 137 int dst_height = dst_size.height() [all...] |
/external/chromium_org/third_party/ots/src/ |
woff2.cc | 305 uint8_t* dst, size_t dst_size, size_t* glyph_size) { 344 if (flag_offset >= dst_size) { 349 if (flag_offset >= dst_size) { 361 if (flag_offset >= dst_size) { 369 flag_offset + xy_bytes > dst_size) { 458 size_t dst_size, size_t* glyph_size, bool* have_instructions) { 486 if (composite_glyph_size + kCompositeGlyphBegin > dst_size) { 500 uint8_t* dst, size_t dst_size) { 507 if (offset_size * loca_size > dst_size) { 524 uint8_t* dst, size_t dst_size, [all...] |
/external/kernel-headers/original/uapi/rdma/ |
rdma_user_cm.h | 126 __u16 dst_size; member in struct:rdma_ucm_resolve_addr 165 __u16 dst_size; member in struct:rdma_ucm_query_addr_resp
|
/frameworks/native/cmds/installd/tests/ |
installd_utils_test.cpp | 449 size_t dst_size = 10; local 450 char dst[dst_size]; 454 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 460 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 468 size_t dst_size = 5; local 469 char dst[dst_size]; 473 EXPECT_EQ(0, append_and_increment(&dstp, src, &dst_size)) 479 EXPECT_EQ(-1, append_and_increment(&dstp, src, &dst_size))
|