HomeSort by relevance Sort by last modified time
    Searched refs:dst_size (Results 1 - 25 of 84) sorted by null

1 2 3 4

  /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/boringssl/src/crypto/buf/
buf.c 194 size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size) {
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) {
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) {
224 ret = OPENSSL_malloc(dst_size);
    [all...]
  /external/chromium_org/content/common/gpu/client/
gl_helper_benchmark.cc 141 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...]
gl_helper.cc 143 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,
    [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/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_org/third_party/brotli/src/woff2/
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);
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...]
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) {
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...]
  /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;
dex_file_test.cc 63 static inline byte* DecodeBase64(const char* src, size_t* dst_size) {
75 *dst_size = 0;
80 *dst_size = 0;
96 *dst_size = 0;
100 if (dst_size != nullptr) {
101 *dst_size = tmp.size();
103 *dst_size = 0;
  /external/chromium_org/base/allocator/
allocator_unittest.cc 427 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 >= 0; dst_size = NextSize(dst_size))
    [all...]
  /external/chromium_org/third_party/boringssl/src/include/openssl/
buf.h 105 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/
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 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))
  /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/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,
  /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/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;

Completed in 722 milliseconds

1 2 3 4