Searched refs:dst_size (Results 1 - 25 of 63) sorted by relevance

123

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Drealloc_unittest.cc91 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/
H A Drealloc_unittest.cc91 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/boringssl/src/crypto/buf/
H A Dbuf.c194 size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size) { argument
197 for (; dst_size > 1 && *src; dst_size--) {
202 if (dst_size) {
209 size_t BUF_strlcat(char *dst, const char *src, size_t dst_size) { argument
211 for (; dst_size > 0 && *dst; dst_size--, dst++) {
214 return l + BUF_strlcpy(dst, src, dst_size);
217 void *BUF_memdup(const void *data, size_t dst_size) { argument
224 ret = OPENSSL_malloc(dst_size);
[all...]
/external/chromium_org/content/common/gpu/client/
H A Dgl_helper_benchmark.cc141 const gfx::Size dst_size(output_sizes[outsize],
147 output_pixels.allocN32Pixels(dst_size.width(), dst_size.height());
154 dst_size.width(),
155 dst_size.height(),
177 dst_size,
210 dst_size.width(),
211 dst_size.height(),
263 const gfx::Size dst_size(input.width() * percents[p] / 100,
268 dst_size,
[all...]
H A Dgl_helper.cc143 const gfx::Size& dst_size,
155 const gfx::Size& dst_size,
161 // Note that dst_size is specified in bytes, not pixels.
162 void ReadbackAsync(const gfx::Size& dst_size,
163 int32 bytes_per_row, // generally dst_size.width() * 4
164 int32 row_stride_bytes, // generally dst_size.width() * 4
181 const gfx::Size& dst_size,
189 const gfx::Size& dst_size,
247 const gfx::Size& dst_size,
285 const gfx::Size& dst_size,
369 CreateScaler(ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle) argument
384 ScaleTexture( GLuint src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, SkColorType color_type, GLHelper::ScalerQuality quality) argument
464 ReadbackAsync( const gfx::Size& dst_size, int32 bytes_per_row, int32 row_stride_bytes, unsigned char* out, GLenum format, GLenum type, size_t bytes_per_pixel, const base::Callback<void(bool)>& callback) argument
504 CropScaleReadbackAndCleanTexture( GLuint src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const SkColorType out_color_type, const base::Callback<void(bool)>& callback, GLHelper::ScalerQuality quality) argument
636 ReadbackTextureAsync( GLuint texture, const gfx::Size& dst_size, unsigned char* out, SkColorType color_type, const base::Callback<void(bool)>& callback) argument
670 CopyAndScaleTexture( GLuint src_texture, const gfx::Size& src_size, const gfx::Size& dst_size, bool vertically_flip_texture, GLHelper::ScalerQuality quality) argument
768 CropScaleReadbackAndCleanTexture( GLuint src_texture, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const SkColorType out_color_type, const base::Callback<void(bool)>& callback, GLHelper::ScalerQuality quality) argument
788 CropScaleReadbackAndCleanMailbox( const gpu::Mailbox& src_mailbox, uint32 sync_point, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, unsigned char* out, const SkColorType out_color_type, const base::Callback<void(bool)>& callback, GLHelper::ScalerQuality quality) argument
818 ReadbackTextureAsync( GLuint texture, const gfx::Size& dst_size, unsigned char* out, SkColorType color_type, const base::Callback<void(bool)>& callback) argument
838 CopyAndScaleTexture(GLuint texture, const gfx::Size& src_size, const gfx::Size& dst_size, bool vertically_flip_texture, ScalerQuality quality) argument
1026 ReadbackYUVImpl( GLES2Interface* gl, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, ReadbackSwizzle swizzle) argument
1153 ReadbackYUV_MRT( GLES2Interface* gl, CopyTextureToImpl* copy_impl, GLHelperScaling* scaler_impl, GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, ReadbackSwizzle swizzle) argument
1299 CreateReadbackPipelineYUV( GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, bool use_mrt) argument
1345 CreateReadbackPipelineYUV( ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, const gfx::Rect& dst_subrect, bool flip_vertically, bool use_mrt) argument
[all...]
H A Dgl_helper_scaling.h63 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,
H A Dgl_helper_scaling.cc61 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) {
274 ConvertScalerOpsToScalerStages( GLHelper::ScalerQuality quality, gfx::Size src_size, gfx::Rect src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, std::deque<GLHelperScaling::ScaleOp>* x_ops, std::deque<GLHelperScaling::ScaleOp>* y_ops, std::vector<ScalerStage>* scaler_stages) argument
395 ComputeScalerStages( GLHelper::ScalerQuality quality, const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, std::vector<ScalerStage>* scaler_stages) argument
438 CreateScaler( GLHelper::ScalerQuality quality, gfx::Size src_size, gfx::Rect src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle) argument
461 CreatePlanarScaler( const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, const float color_weights[4]) argument
478 CreateYuvMrtShader( const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool vertically_flip_texture, bool swizzle, ShaderType shader) argument
874 UseProgram(const gfx::Size& src_size, const gfx::Rect& src_subrect, const gfx::Size& dst_size, bool scale_x, bool flip_y, GLfloat color_weights[4]) argument
[all...]
H A Dgl_helper.h162 // 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/opencv/cvaux/src/
H A Dcvlines.cpp125 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
242 icvPostWarpImage8uC3R( int numLines, uchar * src, int *src_nums, uchar * dst, int dst_step, CvSize dst_size, int *scanlines ) argument
[all...]
/external/chromium_org/third_party/brotli/src/woff2/
H A Dglyph.h64 // 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);
H A Dfont.h59 // 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);
H A Dglyph.cc247 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) { argument
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
246 StorePoints(const Glyph& glyph, size_t* offset, uint8_t* dst, size_t dst_size) argument
[all...]
H A Dfont.cc93 bool WriteFont(const Font& font, uint8_t* dst, size_t dst_size) { argument
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) {
H A Dwoff2_dec.cc201 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,
199 StorePoints(const std::vector<Point>& points, unsigned int n_contours, unsigned int instruction_length, uint8_t* dst, size_t dst_size, size_t* glyph_size) argument
353 ProcessComposite(Buffer* composite_stream, uint8_t* dst, size_t dst_size, size_t* glyph_size, bool* have_instructions) argument
395 StoreLoca(const std::vector<uint32_t>& loca_values, int index_format, uint8_t* dst, size_t dst_size) argument
418 ReconstructGlyf(const uint8_t* data, size_t data_size, uint8_t* dst, size_t dst_size, uint8_t* loca_buf, size_t loca_size) argument
664 Woff2Uncompress(uint8_t* dst_buf, size_t dst_size, const uint8_t* src_buf, size_t src_size) argument
[all...]
/external/chromium_org/base/allocator/
H A Dallocator_unittest.cc427 for (int dst_size = 0; dst_size >= 0; dst_size = NextSize(dst_size)) {
431 reinterpret_cast<unsigned char*>(realloc(src, dst_size));
432 EXPECT_TRUE(Valid(dst, min(src_size, dst_size)));
433 Fill(dst, dst_size);
434 EXPECT_TRUE(Valid(dst, dst_size));
477 for (int dst_size = 0; dst_size >
[all...]
/external/chromium_org/third_party/boringssl/src/include/openssl/
H A Dbuf.h105 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_vlc.h70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) argument
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/
H A Dvl_vlc.h70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) argument
72 unsigned i, bits = util_logbase2(dst_size);
74 assert(dst && dst_size);
77 for (i=0;i<dst_size;++i) {
/external/pixman/test/
H A Dscaling-crash-test.c131 do_test (int32_t dst_size, argument
143 if (run_test (dst_size, 1,
157 if (run_test (1, dst_size,
/external/chromium_org/third_party/ots/src/
H A Dwoff2.cc305 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,
303 StorePoints(const std::vector<Point>& points, unsigned int n_contours, unsigned int instruction_length, uint8_t* dst, size_t dst_size, size_t* glyph_size) argument
457 ProcessComposite(ots::Buffer* composite_stream, uint8_t* dst, size_t dst_size, size_t* glyph_size, bool* have_instructions) argument
499 StoreLoca(const std::vector<uint32_t>& loca_values, int index_format, uint8_t* dst, size_t dst_size) argument
523 ReconstructGlyf(const uint8_t* data, size_t data_size, uint8_t* dst, size_t dst_size, uint8_t* loca_buf, size_t loca_size) argument
777 Woff2Uncompress(uint8_t* dst_buf, size_t dst_size, const uint8_t* src_buf, size_t src_size, uint32_t compression_type) argument
[all...]
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_capturer_adapter.cc156 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/content/renderer/pepper/
H A Dpepper_media_stream_video_track_host.cc96 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
94 ConvertFromMediaVideoFrame(const scoped_refptr<media::VideoFrame>& src, PP_VideoFrame_Format dst_format, const gfx::Size& dst_size, uint8_t* dst) argument
[all...]
/external/kernel-headers/original/uapi/rdma/
H A Drdma_user_cm.h126 __u16 dst_size; member in struct:rdma_ucm_resolve_addr
165 __u16 dst_size; member in struct:rdma_ucm_query_addr_resp
/external/lldb/source/Plugins/Process/MacOSX-Kernel/
H A DCommunicationKDP.h172 uint32_t dst_size,
192 uint32_t dst_size,
/external/chromium_org/content/child/npapi/
H A Dwebplugin_ime_win.h132 DWORD dst_size);

Completed in 7768 milliseconds

123