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

12

/external/strace/tests/
H A Dhexdump_strdup.c39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
H A Dhexquote_strndup.c39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
/external/strace/tests-m32/
H A Dhexdump_strdup.c39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
H A Dhexquote_strndup.c39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
/external/strace/tests-mx32/
H A Dhexdump_strdup.c39 size_t dst_size = 3 * len + 2; local
40 assert(dst_size > len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
H A Dhexquote_strndup.c39 const size_t dst_size = 4 * src_len + 1; local
40 assert(dst_size > src_len);
42 char *dst = malloc(dst_size);
44 perror_msg_and_fail("malloc(%zu)", dst_size);
/external/boringssl/src/crypto/buf/
H A Dbuf.c203 size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size) { argument
206 for (; dst_size > 1 && *src; dst_size--) {
211 if (dst_size) {
218 size_t BUF_strlcat(char *dst, const char *src, size_t dst_size) { argument
220 for (; dst_size > 0 && *dst; dst_size--, dst++) {
223 return l + BUF_strlcpy(dst, src, dst_size);
226 void *BUF_memdup(const void *data, size_t dst_size) { argument
229 if (dst_size
[all...]
/external/mesa3d/src/mesa/main/
H A Dformat_utils.h162 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size) argument
164 return MIN2(src, MAX_UINT(dst_size));
168 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size) argument
170 return MIN2(src, (unsigned)MAX_INT(dst_size));
174 _mesa_signed_to_signed(int src, unsigned dst_size) argument
176 return CLAMP(src, MIN_INT(dst_size), MAX_INT(dst_size));
180 _mesa_signed_to_unsigned(int src, unsigned dst_size) argument
182 return CLAMP(src, 0, MAX_UINT(dst_size));
/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...]
H A D_cvvm.h117 CvSize dst_size,
/external/pdfium/core/fxcodec/lbmp/
H A Dfx_bmp.cpp703 uint32_t& dst_size) {
712 dst_size += size;
713 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_size);
781 dst_size = dst_pos;
786 uint32_t& dst_size) {
788 bmp_encode_bitfields(bmp_ptr, dst_buf, dst_size);
796 dst_size += size;
797 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_size);
805 dst_size = dst_pos;
820 uint32_t& dst_size) {
701 bmp_encode_bitfields(bmp_compress_struct_p bmp_ptr, uint8_t*& dst_buf, uint32_t& dst_size) argument
784 bmp_encode_rgb(bmp_compress_struct_p bmp_ptr, uint8_t*& dst_buf, uint32_t& dst_size) argument
818 bmp_encode_rle8(bmp_compress_struct_p bmp_ptr, uint8_t*& dst_buf, uint32_t& dst_size) argument
863 bmp_encode_rle4(bmp_compress_struct_p bmp_ptr, uint8_t*& dst_buf, uint32_t& dst_size) argument
899 bmp_encode_image(bmp_compress_struct_p bmp_ptr, uint8_t*& dst_buf, uint32_t& dst_size) argument
[all...]
H A Dfx_bmp.h150 uint32_t& dst_size);
/external/boringssl/include/openssl/
H A Dbuf.h112 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
/external/boringssl/src/include/openssl/
H A Dbuf.h112 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy_structures.c146 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size) argument
154 *dst = realloc(*dst, src_size + *dst_size);
158 memcpy(*dst + *dst_size, src, src_size);
159 *dst_size += src_size;
H A Dmhd2spdy_structures.h294 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size);
/external/libevent/
H A Dbufferevent_pair.c154 size_t src_size, dst_size; local
161 dst_size = evbuffer_get_length(dst->input);
162 if (dst_size < dst->wm_read.high) {
163 n = dst->wm_read.high - dst_size;
186 dst_size = evbuffer_get_length(dst->input);
188 if (dst_size >= dst->wm_read.low) {
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_vlc.h69 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) argument
71 unsigned i, bits = util_logbase2(dst_size);
73 assert(dst && dst_size);
76 for (i=0;i<dst_size;++i) {
/external/kernel-headers/original/uapi/rdma/
H A Drdma_user_cm.h127 __u16 dst_size; member in struct:rdma_ucm_resolve_addr
166 __u16 dst_size; member in struct:rdma_ucm_query_addr_resp
/external/libyuv/files/util/
H A Dyuvconvert.cc233 const int dst_size = dst_width * dst_height * 4; // ARGB scaled local
246 uint8* const ch_dst = new uint8[dst_size];
338 fwrite(ch_dst, sizeof(uint8), static_cast<size_t>(dst_size),
340 if (bytes_rec < static_cast<size_t>(dst_size))
/external/webrtc/webrtc/base/
H A Dautodetectproxy.cc26 size_t dst_size) {
27 strncpy(dst, src.c_str(), dst_size - 1);
28 dst[dst_size - 1] = '\0';
24 SaveStringToStack(char *dst, const std::string &src, size_t dst_size) argument
/external/libchrome/base/strings/
H A Dstring_util.cc973 size_t lcpyT(CHAR* dst, const CHAR* src, size_t dst_size) { argument
974 for (size_t i = 0; i < dst_size; ++i) {
979 // We were left off at dst_size. We over copied 1 byte. Null terminate.
980 if (dst_size != 0)
981 dst[dst_size - 1] = 0;
984 while (src[dst_size]) ++dst_size;
985 return dst_size;
990 size_t strlcpy(char* dst, const char* src, size_t dst_size) { argument
991 return lcpyT<char>(dst, src, dst_size);
993 wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size) argument
[all...]
/external/opencv/cv/src/
H A Dcvpyramids.cpp497 arrtype *dst, int dst_step, CvSize dst_size, int channels ) \
506 int Wd = dst_size.width, Hd = dst_size.height; \
1041 CvSize src_size, src_size2, dst_size; local
1063 dst_size = cvGetMatSize(dst);
1067 if( (unsigned)(dst_size.width - src_size.width/2) > 1 ||
1068 (unsigned)(dst_size.height - src_size.height/2) > 1 )
1072 if( (src_size.width <= 2 && dst_size.width != 1) ||
1073 (src_size.height <= 2 && dst_size.height != 1) )
1121 if( src_size.width != dst_size
[all...]
H A Dcvpyrsegmentation.cpp288 CvSize dst_size = { size.width/2+1, size.height/2+1 }; local
290 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC1 );
297 //_CV_CHECK( icvPyrDownBorder_32f_CnR( pyramida, step, size, pyramida, step, dst_size, 1 ));
300 size.width = dst_size.width - 1;
301 size.height = dst_size.height - 1;
707 CvSize dst_size = { size.width/2 + 1, size.height/2 + 1 }; local
709 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC3 );
716 //_CV_CHECK( icvPyrDownBorder_32f_CnR( pyramida, step, size, pyramida, step, dst_size,
1836 CvSize src_size, dst_size; local
[all...]
/external/libunwind/src/
H A Delfxx.c463 uint8_t** dst, size_t* dst_size) {
477 *dst_size = 2 * src_size;
480 *dst_size *= 2;
481 *dst = realloc(*dst, *dst_size);
488 dst_remaining = *dst_size - dst_offset;
508 *dst_size = dst_offset;
509 *dst = realloc(*dst, *dst_size);
462 xz_decompress(uint8_t* src, size_t src_size, uint8_t** dst, size_t* dst_size) argument

Completed in 781 milliseconds

12