Home
last modified time | relevance | path

Searched refs:dst_size (Results 1 – 25 of 32) sorted by relevance

12

/external/boringssl/src/crypto/buf/
Dbuf.c197 size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size) { in BUF_strlcpy() argument
200 for (; dst_size > 1 && *src; dst_size--) { in BUF_strlcpy()
205 if (dst_size) { in BUF_strlcpy()
212 size_t BUF_strlcat(char *dst, const char *src, size_t dst_size) { in BUF_strlcat() argument
214 for (; dst_size > 0 && *dst; dst_size--, dst++) { in BUF_strlcat()
217 return l + BUF_strlcpy(dst, src, dst_size); in BUF_strlcat()
220 void *BUF_memdup(const void *data, size_t dst_size) { in BUF_memdup() argument
223 if (dst_size == 0) { in BUF_memdup()
227 ret = OPENSSL_malloc(dst_size); in BUF_memdup()
233 memcpy(ret, data, dst_size); in BUF_memdup()
/external/llvm/test/Transforms/MemCpyOpt/
Dmemset-memcpy-redundant-memset.ll7 ; CHECK-DAG: [[ULE:%[0-9]+]] = icmp ule i64 %dst_size, %src_size
8 ; CHECK-DAG: [[SIZEDIFF:%[0-9]+]] = sub i64 %dst_size, %src_size
13 define void @test(i8* %src, i64 %src_size, i8* %dst, i64 %dst_size, i8 %c) {
14 call void @llvm.memset.p0i8.i64(i8* %dst, i8 %c, i64 %dst_size, i32 1, i1 false)
20 ; CHECK-DAG: [[DSTSIZE:%[0-9]+]] = zext i32 %dst_size to i64
28 define void @test_different_types_i32_i64(i8* %dst, i8* %src, i32 %dst_size, i64 %src_size, i8 %c) {
29 call void @llvm.memset.p0i8.i32(i8* %dst, i8 %c, i32 %dst_size, i32 1, i1 false)
37 ; CHECK-DAG: [[ULE:%[0-9]+]] = icmp ule i128 %dst_size, [[SRCSIZE]]
38 ; CHECK-DAG: [[SIZEDIFF:%[0-9]+]] = sub i128 %dst_size, [[SRCSIZE]]
43 define void @test_different_types_i128_i32(i8* %dst, i8* %src, i128 %dst_size, i32 %src_size, i8 %c…
[all …]
/external/opencv/cvaux/src/
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 */ in icvPostWarpImage8uC3R() argument
262 cvInitMatHeader( &mat, dst_size.height, dst_size.width, CV_8UC3, dst, dst_step ); in icvPostWarpImage8uC3R()
292 dst_size, /* dest image size */ in icvPostWarpImage8uC3R()
D_cvvm.h117 CvSize dst_size,
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp724 FX_DWORD& dst_size) { in _bmp_encode_bitfields() argument
733 dst_size += size; in _bmp_encode_bitfields()
734 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_size); in _bmp_encode_bitfields()
805 dst_size = dst_pos; in _bmp_encode_bitfields()
810 FX_DWORD& dst_size) { in _bmp_encode_rgb() argument
813 _bmp_encode_bitfields(bmp_ptr, dst_buf, dst_size); in _bmp_encode_rgb()
822 dst_size += size; in _bmp_encode_rgb()
823 dst_buf = FX_Realloc(uint8_t, dst_buf, dst_size); in _bmp_encode_rgb()
834 dst_size = dst_pos; in _bmp_encode_rgb()
849 FX_DWORD& dst_size) { in _bmp_encode_rle8() argument
[all …]
Dfx_bmp.h155 FX_DWORD& dst_size);
/external/libmicrohttpd/src/examples/
Dmhd2spdy_structures.c146 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size) in copy_buffer() argument
154 *dst = realloc(*dst, src_size + *dst_size); in copy_buffer()
158 memcpy(*dst + *dst_size, src, src_size); in copy_buffer()
159 *dst_size += src_size; in copy_buffer()
Dmhd2spdy_structures.h294 copy_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size);
/external/libevent/
Dbufferevent_pair.c154 size_t src_size, dst_size; in be_pair_transfer() local
161 dst_size = evbuffer_get_length(dst->input); in be_pair_transfer()
162 if (dst_size < dst->wm_read.high) { in be_pair_transfer()
163 n = dst->wm_read.high - dst_size; in be_pair_transfer()
186 dst_size = evbuffer_get_length(dst->input); in be_pair_transfer()
188 if (dst_size >= dst->wm_read.low) { in be_pair_transfer()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h70 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src,… in vl_vlc_init_table() argument
72 unsigned i, bits = util_logbase2(dst_size); in vl_vlc_init_table()
74 assert(dst && dst_size); in vl_vlc_init_table()
77 for (i=0;i<dst_size;++i) { in vl_vlc_init_table()
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Drsync.py400 src_md5, dst_url_str, dst_size, dst_crc32c, argument
427 if dst_size > TEN_MIB:
438 if dst_size > TEN_MIB:
754 dst_url_str, dst_size, dst_crc32c, dst_md5): argument
776 if src_size != dst_size:
781 dst_size, dst_crc32c, dst_md5)
829 (dst_url_str, dst_size, dst_crc32c, dst_md5) = (
852 dst_url_str, dst_size, dst_crc32c, dst_md5):
/external/libchrome/base/strings/
Dstring_util.cc977 size_t lcpyT(CHAR* dst, const CHAR* src, size_t dst_size) { in lcpyT() argument
978 for (size_t i = 0; i < dst_size; ++i) { in lcpyT()
984 if (dst_size != 0) in lcpyT()
985 dst[dst_size - 1] = 0; in lcpyT()
988 while (src[dst_size]) ++dst_size; in lcpyT()
989 return dst_size; in lcpyT()
994 size_t strlcpy(char* dst, const char* src, size_t dst_size) { in strlcpy() argument
995 return lcpyT<char>(dst, src, dst_size); in strlcpy()
997 size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size) { in wcslcpy() argument
998 return lcpyT<wchar_t>(dst, src, dst_size); in wcslcpy()
Dstring_util.h66 BASE_EXPORT size_t strlcpy(char* dst, const char* src, size_t dst_size);
67 BASE_EXPORT size_t wcslcpy(wchar_t* dst, const wchar_t* src, size_t dst_size);
/external/webrtc/webrtc/base/
Dautodetectproxy.cc26 size_t dst_size) { in SaveStringToStack() argument
27 strncpy(dst, src.c_str(), dst_size - 1); in SaveStringToStack()
28 dst[dst_size - 1] = '\0'; in SaveStringToStack()
/external/opencv/cv/src/
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; in cvPyrDown() local
1063 dst_size = cvGetMatSize(dst); in cvPyrDown()
1067 if( (unsigned)(dst_size.width - src_size.width/2) > 1 || in cvPyrDown()
1068 (unsigned)(dst_size.height - src_size.height/2) > 1 ) in cvPyrDown()
1072 if( (src_size.width <= 2 && dst_size.width != 1) || in cvPyrDown()
1073 (src_size.height <= 2 && dst_size.height != 1) ) in cvPyrDown()
1121 if( src_size.width != dst_size.width*2 || src_size.height != dst_size.height*2 ) in cvPyrDown()
1130 dst->data.ptr, dst->step, dst_size, CV_MAT_CN(type) )); in cvPyrDown()
Dcvpyrsegmentation.cpp288 CvSize dst_size = { size.width/2+1, size.height/2+1 }; in icvPyrSegmentation8uC1R() local
290 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC1 ); in icvPyrSegmentation8uC1R()
300 size.width = dst_size.width - 1; in icvPyrSegmentation8uC1R()
301 size.height = dst_size.height - 1; in icvPyrSegmentation8uC1R()
707 CvSize dst_size = { size.width/2 + 1, size.height/2 + 1 }; in icvPyrSegmentation8uC3R() local
709 CvMat next_level = cvMat( dst_size.height, dst_size.width, CV_32FC3 ); in icvPyrSegmentation8uC3R()
719 size.width = dst_size.width - 1; in icvPyrSegmentation8uC3R()
720 size.height = dst_size.height - 1; in icvPyrSegmentation8uC3R()
1836 CvSize src_size, dst_size; in cvPyrSegmentation() local
1854 cvGetRawData( dst, &dst_data, &dst_step, &dst_size ); in cvPyrSegmentation()
[all …]
Dcvsamplers.cpp546 CvSize src_size, dst_size; in cvGetRectSubPix() local
569 dst_size = cvGetMatSize( dst ); in cvGetRectSubPix()
573 if( dst_size.width > src_size.width || dst_size.height > src_size.height ) in cvGetRectSubPix()
592 dst->data.ptr, dst_step, dst_size, center )); in cvGetRectSubPix()
816 CvSize src_size, dst_size; in cvGetQuadrangleSubPix() local
843 dst_size = cvGetMatSize( dst ); in cvGetQuadrangleSubPix()
888 dst->data.ptr, dst->step, dst_size, m )); in cvGetQuadrangleSubPix()
/external/libunwind/src/
Delfxx.c463 uint8_t** dst, size_t* dst_size) { in elf_w()
477 *dst_size = 2 * src_size; in elf_w()
480 *dst_size *= 2; in elf_w()
481 *dst = realloc(*dst, *dst_size); in elf_w()
488 dst_remaining = *dst_size - dst_offset; in elf_w()
508 *dst_size = dst_offset; in elf_w()
509 *dst = realloc(*dst, *dst_size); in elf_w()
/external/kernel-headers/original/uapi/rdma/
Drdma_user_cm.h127 __u16 dst_size; member
166 __u16 dst_size; member
/external/boringssl/src/include/openssl/
Dbuf.h108 OPENSSL_EXPORT size_t BUF_strlcpy(char *dst, const char *src, size_t dst_size);
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dimgutils.h177 int av_image_copy_to_buffer(uint8_t *dst, int dst_size,
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dwarpers_inl.hpp109 Size dst_size, OutputArray dst) in warpBackward() argument
114 detectResultRoi(dst_size, src_tl, src_br); in warpBackward()
119 Mat xmap(dst_size, CV_32F); in warpBackward()
120 Mat ymap(dst_size, CV_32F); in warpBackward()
123 for (int y = 0; y < dst_size.height; ++y) in warpBackward()
125 for (int x = 0; x < dst_size.width; ++x) in warpBackward()
133 dst.create(dst_size, src.type()); in warpBackward()
/external/libweave/third_party/chromium/base/strings/
Dstring_util.h64 size_t strlcpy(char* dst, const char* src, size_t dst_size);
/external/libmicrohttpd/src/spdy2http/
Dproxy.c312 store_in_buffer(const void *src, size_t src_size, void **dst, size_t *dst_size) in store_in_buffer() argument
320 *dst = realloc(*dst, src_size + *dst_size); in store_in_buffer()
324 memcpy(*dst + *dst_size, src, src_size); in store_in_buffer()
325 *dst_size += src_size; in store_in_buffer()
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp.cpp1169 CvSize src_size, dst_size; in get_test_array_types_and_sizes() local
1179 dst_size.width = cvRound(sqrt(cvtest::randReal(rng)*src_size.width) + 1); in get_test_array_types_and_sizes()
1180 dst_size.height = cvRound(sqrt(cvtest::randReal(rng)*src_size.height) + 1); in get_test_array_types_and_sizes()
1181 dst_size.width = MIN(dst_size.width,src_size.width); in get_test_array_types_and_sizes()
1182 dst_size.height = MIN(dst_size.width,src_size.height); in get_test_array_types_and_sizes()
1183 sizes[INPUT_OUTPUT][0] = sizes[REF_INPUT_OUTPUT][0] = dst_size; in get_test_array_types_and_sizes()

12